Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
941 B · 52 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, docopt, fetchPypi, nose, pytz, pythonOlder, setuptools-scm, six, sqlalchemy,}:
buildPythonPackage rec { pname = "pygtfs"; version = "0.1.9"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-J5vu51OOMabWd8h60PpvvBiCnwQlhEnBywNXxy9hOuA="; };
postPatch = '' # https://github.com/jarondl/pygtfs/pull/72 substituteInPlace setup.py \ --replace "pytz>=2012d" "pytz" '';
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ docopt pytz six sqlalchemy ];
nativeCheckInputs = [ nose ];
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 ]; };}