Merge pull request #151291 from fabaff/goveelights

python3Packages.goveelights: init at 0.1.0
This commit is contained in:
Fabian Affolter 2021-12-20 08:02:43 +01:00 committed by GitHub
commit 9770285bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

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

View file

@ -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 { };