depot/third_party/nixpkgs/pkgs/development/python-modules/goalzero/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

37 lines
663 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "goalzero";
version = "0.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-PveHE317p5fGSxgx7LQkpRYF55HwdzpZFY8/F8s3CBQ=";
};
propagatedBuildInputs = [
aiohttp
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [
"goalzero"
];
meta = with lib; {
description = "Goal Zero Yeti REST Api Library";
homepage = "https://github.com/tkdrob/goalzero";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}