Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 40 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pytestCheckHook,}:
buildPythonPackage rec { pname = "govee-local-api"; version = "2.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "Galorhallen"; repo = "govee-local-api"; tag = "v${version}"; hash = "sha256-BLM1lZ/2ZUpwP8/OpgcMdwjryEcmTBKYCeMm0FoCG8A="; };
postPatch = '' # dont depend on poetry at runtime # https://github.com/Galorhallen/govee-local-api/pull/75/files#r1943826599 sed -i '/poetry = "^1.8.5"/d' pyproject.toml '';
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "govee_local_api" ];
meta = { description = "Library to communicate with Govee local API"; homepage = "https://github.com/Galorhallen/govee-local-api"; changelog = "https://github.com/Galorhallen/govee-local-api/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };}