at master 838 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 docopt, 5 fetchPypi, 6 pytz, 7 setuptools, 8 setuptools-scm, 9 six, 10 sqlalchemy, 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "pygtfs"; 16 version = "0.1.10"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-bOG/bXz97eWM77AprQvEgtl9g2fQbbKcwniF1fAC0d0="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 docopt 31 pytz 32 six 33 sqlalchemy 34 ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 enabledTestPaths = [ "pygtfs/test/test.py" ]; 38 39 pythonImportsCheck = [ "pygtfs" ]; 40 41 meta = with lib; { 42 description = "Python module for GTFS"; 43 mainProgram = "gtfs2db"; 44 homepage = "https://github.com/jarondl/pygtfs"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}