python310Packages.co2signal: init at 0.4.2

This commit is contained in:
Pierre Labadens 2022-01-20 18:15:08 +01:00
parent 634bcb85e2
commit fa3190a16c
No known key found for this signature in database
GPG key ID: F55814E4D6874375
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "co2signal";
version = "0.4.2";
src = fetchPypi {
inherit version;
pname = "CO2Signal";
hash = "sha256-8YdYbknLICRrZloGUZuscv5e1LIDZBcCPKZs6EMaNuo=";
};
propagatedBuildInputs = [ requests ];
# Modules has no tests
doCheck = false;
pythonImportsCheck = [ "CO2Signal" ];
meta = with lib; {
description = "A package to access the CO2 Signal API ";
homepage = "https://github.com/danielsjf/CO2Signal";
license = licenses.gpl3Only;
maintainers = with maintainers; [ plabadens ];
};
}

View file

@ -1705,6 +1705,8 @@ in {
cnvkit = callPackage ../development/python-modules/cnvkit { };
co2signal = callPackage ../development/python-modules/co2signal { };
coapthon3 = callPackage ../development/python-modules/coapthon3 { };
coconut = callPackage ../development/python-modules/coconut { };