2021-04-01 01:09:41 +02:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, async-timeout
|
|
|
|
, buildPythonPackage
|
|
|
|
, defusedxml
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, python-didl-lite
|
|
|
|
, pythonOlder
|
|
|
|
, voluptuous
|
|
|
|
}:
|
2020-08-02 03:24:27 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "async-upnp-client";
|
2021-04-01 01:09:41 +02:00
|
|
|
version = "0.16.0";
|
2020-08-02 03:24:27 +02:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "StevenLooman";
|
|
|
|
repo = "async_upnp_client";
|
|
|
|
rev = version;
|
2021-04-01 01:09:41 +02:00
|
|
|
sha256 = "sha256-vgy/zn1Xm7Fm7u/YMe/nJa3tyRNKx/WHz0AHfhFaVKo=";
|
2020-08-02 03:24:27 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
async-timeout
|
|
|
|
defusedxml
|
|
|
|
python-didl-lite
|
|
|
|
voluptuous
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-03-12 23:27:52 +01:00
|
|
|
pytestCheckHook
|
2020-08-02 03:24:27 +02:00
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
2021-04-01 01:09:41 +02:00
|
|
|
pythonImportsCheck = [ "async_upnp_client" ];
|
|
|
|
|
2020-08-02 03:24:27 +02:00
|
|
|
meta = with lib; {
|
2021-04-01 01:09:41 +02:00
|
|
|
description = "Asyncio UPnP Client library for Python";
|
2020-08-02 03:24:27 +02:00
|
|
|
homepage = "https://github.com/StevenLooman/async_upnp_client";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|