1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 requests, 6}: 7 8buildPythonPackage rec { 9 pname = "co2signal"; 10 version = "0.4.2"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "CO2Signal"; 16 hash = "sha256-8YdYbknLICRrZloGUZuscv5e1LIDZBcCPKZs6EMaNuo="; 17 }; 18 19 propagatedBuildInputs = [ requests ]; 20 # Modules has no tests 21 doCheck = false; 22 23 pythonImportsCheck = [ "CO2Signal" ]; 24 25 meta = with lib; { 26 description = "Package to access the CO2 Signal API"; 27 homepage = "https://github.com/danielsjf/CO2Signal"; 28 license = licenses.gpl3Only; 29 maintainers = with maintainers; [ plabadens ]; 30 }; 31}