My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/co2signal/default.nix

29 lines
618 B

{ 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 ];
};
}