blob: a11fb1a9fd0dfdb4954378284f42af8c03c27f86 (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-aiohttp,
pytest-asyncio_0,
pytest-cov-stub,
pytest-timeout,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hyperion-py";
version = "0.7.6";
pyproject = true;
src = fetchFromGitHub {
owner = "dermotduffy";
repo = "hyperion-py";
tag = "v${version}";
hash = "sha256-14taFSrtmgTBiie0eY2fSRkZndJSZ4GJNRx3MonrTzs=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-asyncio_0
(pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; })
pytest-cov-stub
pytest-timeout
pytestCheckHook
];
pythonImportsCheck = [ "hyperion" ];
meta = {
description = "Python package for Hyperion Ambient Lighting";
homepage = "https://github.com/dermotduffy/hyperion-py";
changelog = "https://github.com/dermotduffy/hyperion-py/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|