mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
Merge pull request #124964 from fabaff/pygtfs
This commit is contained in:
commit
1788d3d015
44
pkgs/development/python-modules/pygtfs/default.nix
Normal file
44
pkgs/development/python-modules/pygtfs/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -331,7 +331,7 @@
|
|||
"group" = ps: with ps; [ ];
|
||||
"growatt_server" = ps: with ps; [ ]; # missing inputs: growattServer
|
||||
"gstreamer" = ps: with ps; [ ]; # missing inputs: gstreamer-player
|
||||
"gtfs" = ps: with ps; [ ]; # missing inputs: pygtfs
|
||||
"gtfs" = ps: with ps; [ pygtfs ];
|
||||
"guardian" = ps: with ps; [ aioguardian ];
|
||||
"habitica" = ps: with ps; [ ]; # missing inputs: habitipy
|
||||
"hangouts" = ps: with ps; [ ]; # missing inputs: hangups
|
||||
|
|
|
@ -5759,6 +5759,8 @@ in {
|
|||
|
||||
pygrok = callPackage ../development/python-modules/pygrok { };
|
||||
|
||||
pygtfs = callPackage ../development/python-modules/pygtfs { };
|
||||
|
||||
pygtail = callPackage ../development/python-modules/pygtail { };
|
||||
|
||||
pygtrie = callPackage ../development/python-modules/pygtrie { };
|
||||
|
|
Loading…
Reference in a new issue