depot/third_party/nixpkgs/pkgs/development/python-modules/co2signal/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

31 lines
646 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 = "Package to access the CO2 Signal API";
homepage = "https://github.com/danielsjf/CO2Signal";
license = licenses.gpl3Only;
maintainers = with maintainers; [ plabadens ];
};
}