depot/third_party/nixpkgs/pkgs/development/python-modules/async-upnp-client/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

47 lines
919 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.16.2";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "StevenLooman";
repo = "async_upnp_client";
rev = version;
sha256 = "0raq3jgh2aqllycvvi0x2j5f602vv8ggmyd3879jzqbz2znngsgb";
};
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 ];
};
}