Merge pull request #124964 from fabaff/pygtfs

This commit is contained in:
Sandro 2021-05-30 19:11:18 +02:00 committed by GitHub
commit 1788d3d015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View 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 ];
};
}

View file

@ -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

View file

@ -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 { };