forked from mirrors/nixpkgs
python3Packages.goalzero: init at 0.1.7
This commit is contained in:
parent
e264354b61
commit
9b307dd741
36
pkgs/development/python-modules/goalzero/default.nix
Normal file
36
pkgs/development/python-modules/goalzero/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, ratelimit
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "goalzero";
|
||||
version = "0.1.7";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f6a2755a745ea14e65d6bf3e56bd090a508bf6f63ccb76b9b89ce3d844a2160";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
ratelimit
|
||||
];
|
||||
|
||||
# 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 ];
|
||||
};
|
||||
}
|
|
@ -2862,6 +2862,8 @@ in {
|
|||
|
||||
gnureadline = callPackage ../development/python-modules/gnureadline { };
|
||||
|
||||
goalzero = callPackage ../development/python-modules/goalzero { };
|
||||
|
||||
goobook = callPackage ../development/python-modules/goobook { };
|
||||
|
||||
goocalendar = callPackage ../development/python-modules/goocalendar { };
|
||||
|
|
Loading…
Reference in a new issue