blob: 3c53f5f5832221a1c6b9b49e9ebf315d1ca0b2f8 (
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
42
43
44
45
46
47
48
49
50
|
{
lib,
aioresponses,
async-upnp-client,
buildPythonPackage,
fetchFromGitHub,
lxml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "openhomedevice";
version = "2.2";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bazwilliams";
repo = "openhomedevice";
rev = "refs/tags/${version}";
hash = "sha256-GGp7nKFH01m1KW6yMkKlAdd26bDi8JDWva6OQ0CWMIw=";
};
build-system = [ setuptools ];
dependencies = [
async-upnp-client
lxml
];
nativeCheckInputs = [
aioresponses
pytestCheckHook
];
pythonImportsCheck = [ "openhomedevice" ];
pytestFlagsArray = [ "tests/*.py" ];
meta = with lib; {
description = "Python module to access Linn Ds and Openhome devices";
homepage = "https://github.com/bazwilliams/openhomedevice";
changelog = "https://github.com/bazwilliams/openhomedevice/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|