forked from mirrors/nixpkgs
48 lines
918 B
Nix
48 lines
918 B
Nix
{ lib
|
|
, aiohttp
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, defusedxml
|
|
, fetchFromGitHub
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, python-didl-lite
|
|
, pythonOlder
|
|
, voluptuous
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "async-upnp-client";
|
|
version = "0.18.0";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "StevenLooman";
|
|
repo = "async_upnp_client";
|
|
rev = version;
|
|
sha256 = "sha256-pntOy7J4dPtAS8ZzxLLV79VQ36r+0sXMImJFhDk9bQw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
async-timeout
|
|
defusedxml
|
|
python-didl-lite
|
|
voluptuous
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
];
|
|
|
|
pythonImportsCheck = [ "async_upnp_client" ];
|
|
|
|
meta = with lib; {
|
|
description = "Asyncio UPnP Client library for Python";
|
|
homepage = "https://github.com/StevenLooman/async_upnp_client";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|