blob: b4a404dc209f8309879566bc8d43f9f7386d49b4 (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
docopt,
fetchPypi,
pytz,
setuptools,
setuptools-scm,
six,
sqlalchemy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pygtfs";
version = "0.1.9";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-J5vu51OOMabWd8h60PpvvBiCnwQlhEnBywNXxy9hOuA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
docopt
pytz
six
sqlalchemy
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "pygtfs/test/test.py" ];
pythonImportsCheck = [ "pygtfs" ];
meta = with lib; {
description = "Python module for GTFS";
mainProgram = "gtfs2db";
homepage = "https://github.com/jarondl/pygtfs";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|