blob: c6d2d246f4c876980fa3b9e458712b1a2db8a5dd (
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
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.10";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bOG/bXz97eWM77AprQvEgtl9g2fQbbKcwniF1fAC0d0=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
docopt
pytz
six
sqlalchemy
];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "pygtfs/test/test.py" ];
pythonImportsCheck = [ "pygtfs" ];
meta = {
description = "Python module for GTFS";
mainProgram = "gtfs2db";
homepage = "https://github.com/jarondl/pygtfs";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|