blob: 6cf2fa9b29c208377c5dde6706c19645c73e7fd6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
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 ];
};
}
|