blob: b1511a9ced1cd25f0791f278f1512f55bc09e895 (
about) (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytest-asyncio,
pytestCheckHook,
syrupy,
}:
buildPythonPackage rec {
pname = "pyheos";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "andrewsayre";
repo = "pyheos";
tag = version;
hash = "sha256-sVh0mxhC0v1xtov4UNPMXGgYgMMTLZJaai11AOCMdiU=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
syrupy
];
disabledTests = [
# accesses network
"test_connect_timeout"
];
pythonImportsCheck = [ "pyheos" ];
meta = {
changelog = "https://github.com/andrewsayre/pyheos/releases/tag/${src.tag}";
description = "Async python library for controlling HEOS devices through the HEOS CLI Protocol";
homepage = "https://github.com/andrewsayre/pyheos";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|