Merge pull request #151291 from fabaff/goveelights
python3Packages.goveelights: init at 0.1.0
This commit is contained in:
commit
9770285bfe
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/goveelights/default.nix
Normal file
37
pkgs/development/python-modules/goveelights/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "goveelights";
|
||||
version = "0.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4j4iBT4PIpk6BbHwJF7+sp/PeIlHw+8dsOK1Ecfuwtc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"goveelights"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for interacting with the Govee API";
|
||||
homepage = "https://github.com/arcanearronax/govee_lights";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3350,6 +3350,8 @@ in {
|
|||
|
||||
gorilla = callPackage ../development/python-modules/gorilla { };
|
||||
|
||||
goveelights = callPackage ../development/python-modules/goveelights { };
|
||||
|
||||
gpapi = callPackage ../development/python-modules/gpapi { };
|
||||
|
||||
gplaycli = callPackage ../development/python-modules/gplaycli { };
|
||||
|
|
Loading…
Reference in a new issue