159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
37 lines
873 B
Nix
37 lines
873 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "govee-local-api";
|
|
version = "1.5.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Galorhallen";
|
|
repo = "govee-local-api";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-sxxw/XAPENtNeY/64+pxnPgMBBM7+lpF52ixRm18d48=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "govee_local_api" ];
|
|
|
|
meta = with lib; {
|
|
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/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|