Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder 2, voluptuous, aiohttp, async-timeout, python-didl-lite, defusedxml 3, pytest, pytest-asyncio }: 4 5buildPythonPackage rec { 6 pname = "async-upnp-client"; 7 version = "0.14.14"; 8 disabled = pythonOlder "3.5"; 9 10 src = fetchFromGitHub { 11 owner = "StevenLooman"; 12 repo = "async_upnp_client"; 13 rev = version; 14 sha256 = "1ysj72l4z78h427ar95x7af0jw0xq1cbca0k8b34vqyyhgs8wc6y"; 15 }; 16 17 propagatedBuildInputs = [ 18 aiohttp 19 async-timeout 20 defusedxml 21 python-didl-lite 22 voluptuous 23 ]; 24 25 checkInputs = [ 26 pytest 27 pytest-asyncio 28 ]; 29 30 meta = with lib; { 31 description = "Asyncio UPnP Client library for Python/asyncio."; 32 homepage = "https://github.com/StevenLooman/async_upnp_client"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ hexa ]; 35 }; 36}