python311Packages.govee-local-api: init at 1.4.4

Module to interact with the Govee Local API

https://github.com/Galorhallen/govee-local-api
This commit is contained in:
Fabian Affolter 2024-02-18 16:58:14 +01:00
parent 7dfa5ad068
commit 639536d823
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, poetry-dynamic-versioning
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "govee-local-api";
version = "1.4.4";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "Galorhallen";
repo = "govee-local-api";
rev = "refs/tags/v${version}";
hash = "sha256-J4SG4n6LIZ/G6pEXAzliV7uTWzqsH7rtFe3Y7BJ2dWE=";
};
nativeBuildInputs = [
poetry-core
poetry-dynamic-versioning
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"govee_local_api"
];
meta = with lib; {
description = "";
homepage = "https://github.com/Galorhallen/govee-local-api";
changelog = "https://github.com/Galorhallen/govee-local-api/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -4850,6 +4850,8 @@ self: super: with self; {
govee-led-wez = callPackage ../development/python-modules/govee-led-wez { };
govee-local-api = callPackage ../development/python-modules/govee-local-api { };
goveelights = callPackage ../development/python-modules/goveelights { };
gpapi = callPackage ../development/python-modules/gpapi { };