python3.pkgs.govee-led-wez: init at 0.0.15

This commit is contained in:
Sandro Jäckel 2023-10-21 00:38:28 +02:00
parent eeee184c00
commit a478af89f1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,55 @@
{ lib
, aiohttp
, bleak
, bleak-retry-connector
, buildPythonPackage
, certifi
, fetchFromGitHub
, hatchling
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage {
pname = "govee-led-wez";
version = "0.0.15";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "wez";
repo = "govee-py";
# https://github.com/wez/govee-py/issues/2
rev = "931273e3689838613d63bc1bcc65ee744fa999f4";
hash = "sha256-VMH7sot9e2SYMyBNutyW6oCCjp2N+EKukxn1Dla3AlY=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
aiohttp
bleak
bleak-retry-connector
certifi
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"govee_led_wez"
];
meta = with lib; {
description = "Control Govee Lights from Python";
homepage = "https://github.com/wez/govee-py";
license = with licenses; [ mit ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

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