blob: cb92ca9806d0ead071005f3035b73af1178ee062 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytz,
setuptools,
}:
buildPythonPackage rec {
pname = "nsapi";
version = "3.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "aquatix";
repo = "ns-api";
tag = "v${version}";
hash = "sha256-Buhc0643WeX/4ZU/RkzNWiFjfEAJUtNL6uJ98unTnCg=";
};
build-system = [ setuptools ];
dependencies = [ pytz ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "ns_api" ];
meta = {
description = "Python module to query routes of the Dutch railways";
homepage = "https://github.com/aquatix/ns-api/";
changelog = "https://github.com/aquatix/ns-api/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|