fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
31 lines
649 B
Nix
31 lines
649 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "co2signal";
|
|
version = "0.4.2";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|