1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, defusedxml
6, fetchFromGitHub
7, pytest-asyncio
8, pytestCheckHook
9, python-didl-lite
10, pythonOlder
11, voluptuous
12}:
13
14buildPythonPackage rec {
15 pname = "async-upnp-client";
16 version = "0.17.0";
17 disabled = pythonOlder "3.5";
18
19 src = fetchFromGitHub {
20 owner = "StevenLooman";
21 repo = "async_upnp_client";
22 rev = version;
23 sha256 = "sha256-k71fpwL999Qz/vOsmpxykMVKgASzHis/exY/8aDoAkg=";
24 };
25
26 propagatedBuildInputs = [
27 aiohttp
28 async-timeout
29 defusedxml
30 python-didl-lite
31 voluptuous
32 ];
33
34 checkInputs = [
35 pytestCheckHook
36 pytest-asyncio
37 ];
38
39 pythonImportsCheck = [ "async_upnp_client" ];
40
41 meta = with lib; {
42 description = "Asyncio UPnP Client library for Python";
43 homepage = "https://github.com/StevenLooman/async_upnp_client";
44 license = licenses.asl20;
45 maintainers = with maintainers; [ hexa ];
46 };
47}