Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1017 B
Nix
53 lines
1017 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|