1{ lib
2, buildPythonPackage
3, docopt
4, fetchPypi
5, nose
6, pytz
7, setuptools-scm
8, six
9, sqlalchemy
10}:
11
12buildPythonPackage rec {
13 pname = "pygtfs";
14 version = "0.1.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "0nx2idgza07kmvj7pcgpj3pqhw53v5rq63paw2ly51cjas2fv5pr";
19 };
20
21 nativeBuildInputs = [
22 setuptools-scm
23 ];
24
25 propagatedBuildInputs = [
26 docopt
27 pytz
28 six
29 sqlalchemy
30 ];
31
32 checkInputs = [
33 nose
34 ];
35
36 pythonImportsCheck = [ "pygtfs" ];
37
38 meta = with lib; {
39 description = "Python module for GTFS";
40 homepage = "https://github.com/jarondl/pygtfs";
41 license = with licenses; [ mit ];
42 maintainers = with maintainers; [ fab ];
43 };
44}