Merge pull request #126941 from dotlambda/goalzero-init

This commit is contained in:
Martin Weinelt 2021-06-16 15:30:23 +02:00 committed by GitHub
commit e694e36873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 1 deletions

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

View file

@ -312,7 +312,7 @@
"glances" = ps: with ps; [ glances-api ];
"gntp" = ps: with ps; [ gntp ];
"goalfeed" = ps: with ps; [ ]; # missing inputs: pysher
"goalzero" = ps: with ps; [ ]; # missing inputs: goalzero
"goalzero" = ps: with ps; [ goalzero ];
"gogogate2" = ps: with ps; [ ismartgate ];
"google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ];
"google_assistant" = ps: with ps; [ aiohttp-cors ];

View file

@ -407,6 +407,7 @@ in with py.pkgs; buildPythonApplication rec {
"geonetnz_volcano"
"gios"
"glances"
"goalzero"
"gogogate2"
"google"
"google_assistant"

View file

@ -2868,6 +2868,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 { };