depot/third_party/nixpkgs/pkgs/development/python-modules/async-upnp-client/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

36 lines
872 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, voluptuous, aiohttp, async-timeout, python-didl-lite, defusedxml
, pytestCheckHook, pytest-asyncio }:
buildPythonPackage rec {
pname = "async-upnp-client";
version = "0.14.15";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "StevenLooman";
repo = "async_upnp_client";
rev = version;
sha256 = "1mr65msdc51wq7326z3q41x79yi9dsmcjrmyzkgj9h9vgpxdk2nw";
};
propagatedBuildInputs = [
aiohttp
async-timeout
defusedxml
python-didl-lite
voluptuous
];
checkInputs = [
pytestCheckHook
pytest-asyncio
];
meta = with lib; {
description = "Asyncio UPnP Client library for Python/asyncio.";
homepage = "https://github.com/StevenLooman/async_upnp_client";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}