nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 787 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 protobuf, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "gtfs-realtime-bindings"; 11 version = "2.0.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "gtfs_realtime_bindings"; 16 inherit version; 17 hash = "sha256-hhqdz0xA+aWVIARNhw4zawCJStVji88sSpuZiSNUO0I="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ protobuf ]; 23 24 # Tests are not shipped, only a tarball for Java is present 25 doCheck = false; 26 27 pythonImportsCheck = [ "google.transit" ]; 28 29 meta = { 30 description = "Python bindings generated from the GTFS Realtime protocol buffer spec"; 31 homepage = "https://github.com/MobilityData/gtfs-realtime-bindings"; 32 license = lib.licenses.asl20; 33 maintainers = with lib.maintainers; [ fab ]; 34 }; 35}