python3Packages.gtfs-realtime-bindings: init at 0.0.7
This commit is contained in:
parent
ac827d4610
commit
5bfa982206
2 changed files with 38 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, protobuf
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gtfs-realtime-bindings";
|
||||
version = "0.0.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vav7ah6gpkpi44rk202bwpl345rydg6n9zibzx5p7gcsblcwd45";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
protobuf
|
||||
];
|
||||
|
||||
# Tests are not shipped, only a tarball for Java is present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "google.transit" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings generated from the GTFS Realtime protocol buffer spec";
|
||||
homepage = "https://github.com/andystewart999/TransportNSW";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3259,6 +3259,8 @@ in {
|
|||
gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
|
||||
};
|
||||
|
||||
gtfs-realtime-bindings = callPackage ../development/python-modules/gtfs-realtime-bindings { };
|
||||
|
||||
gtimelog = callPackage ../development/python-modules/gtimelog { };
|
||||
|
||||
gtts = callPackage ../development/python-modules/gtts { };
|
||||
|
|
Loading…
Reference in a new issue