1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 protobuf, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "gtfs-realtime-bindings"; 11 version = "1.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-LoztiQRADMk6t+hSCttpNM+mAe2sxvWT/Cy0RIZiu0c="; 19 }; 20 21 propagatedBuildInputs = [ protobuf ]; 22 23 # Tests are not shipped, only a tarball for Java is present 24 doCheck = false; 25 26 pythonImportsCheck = [ "google.transit" ]; 27 28 meta = with lib; { 29 description = "Python bindings generated from the GTFS Realtime protocol buffer spec"; 30 homepage = "https://github.com/MobilityData/gtfs-realtime-bindings"; 31 license = with licenses; [ asl20 ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}