1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "niluclient"; 11 version = "0.1.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "11ymn0cr4lchrcnf2xxlgljw223gwln01gxwr7mcgf95yc4006iq"; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "niluclient" ]; 27 28 meta = with lib; { 29 description = "Python client for getting air pollution data from NILU sensor stations"; 30 homepage = "https://github.com/hfurubotten/niluclient"; 31 license = with licenses; [ mit ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}