3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pygtfs/default.nix

45 lines
695 B
Nix
Raw Normal View History

2021-05-30 15:16:55 +01:00
{ lib
, buildPythonPackage
, docopt
, fetchPypi
, nose
, pytz
, setuptools-scm
, six
, sqlalchemy
}:
buildPythonPackage rec {
pname = "pygtfs";
version = "0.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "0nx2idgza07kmvj7pcgpj3pqhw53v5rq63paw2ly51cjas2fv5pr";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
docopt
pytz
six
sqlalchemy
];
checkInputs = [
nose
];
pythonImportsCheck = [ "pygtfs" ];
meta = with lib; {
description = "Python module for GTFS";
homepage = "https://github.com/jarondl/pygtfs";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}