1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "pytransportnsw"; 11 version = "0.1.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 pname = "PyTransportNSW"; 18 inherit version; 19 sha256 = "00jklgjirmc58hiaqqc2n2rgixvx91bgrd6lv6hv28k51kid10f3"; 20 }; 21 22 propagatedBuildInputs = [ requests ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "TransportNSW" ]; 28 29 meta = with lib; { 30 description = "Python module to access Transport NSW information"; 31 homepage = "https://github.com/Dav0815/TransportNSW"; 32 license = with licenses; [ gpl3Only ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}