blob: b272f1c7c7e1e0be72439fe417c12ab9fb530333 (
plain)
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
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
mock,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
zeroconf,
}:
buildPythonPackage rec {
pname = "pydeako";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "DeakoLights";
repo = "pydeako";
tag = version;
hash = "sha256-GEYuVKE3DOXJzCqTW2Ngoi6l0e4JvE9lUnZtjrNXTVk=";
};
build-system = [ setuptools ];
dependencies = [ zeroconf ];
# Module has no tests
#doCheck = false;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pydeako" ];
meta = {
description = "Module used to discover and communicate with Deako devices over the network locally";
homepage = "https://github.com/DeakoLights/pydeako";
changelog = "https://github.com/DeakoLights/pydeako/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|