mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-02 02:27:33 +03:00
Merge pull request #126941 from dotlambda/goalzero-init
This commit is contained in:
commit
e694e36873
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 ];
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -407,6 +407,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"geonetnz_volcano"
|
||||
"gios"
|
||||
"glances"
|
||||
"goalzero"
|
||||
"gogogate2"
|
||||
"google"
|
||||
"google_assistant"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user