at master 687 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 requests, 5 fetchPypi, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "rjpl"; 11 version = "0.3.6"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-GLNIpZuM3yuCnPyjBa8KjdaL5cFK8InluuY+LTCrimc="; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 # Module has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "rjpl" ]; 27 28 meta = with lib; { 29 description = "Library for interacting with the Rejseplanen API"; 30 homepage = "https://github.com/tomatpasser/python-rejseplanen"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}