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