Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 75 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system setuptools,
# dependencies aiohttp, async-timeout, defusedxml, python-didl-lite, voluptuous,
# tests pytest-aiohttp, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage rec { pname = "async-upnp-client"; version = "0.38.3"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "StevenLooman"; repo = "async_upnp_client"; rev = "refs/tags/${version}"; hash = "sha256-RmpQOVZ/s3Zv2e+iS7LTI5Wh/g0yy0Xv0M8ppsbYZPg="; };
build-system = [ setuptools ];
dependencies = [ aiohttp async-timeout defusedxml python-didl-lite voluptuous ];
nativeCheckInputs = [ pytestCheckHook pytest-aiohttp pytest-asyncio ];
disabledTests = [ # socket.gaierror: [Errno -2] Name or service not known "test_async_get_local_ip" "test_get_local_ip" ] ++ lib.optionals stdenv.isDarwin [ "test_deferred_callback_url" ];
disabledTestPaths = [ # Tries to bind to multicast socket and fails to find proper interface "tests/test_ssdp_listener.py" ];
pythonImportsCheck = [ "async_upnp_client" ];
meta = with lib; { description = "Asyncio UPnP Client library for Python"; homepage = "https://github.com/StevenLooman/async_upnp_client"; changelog = "https://github.com/StevenLooman/async_upnp_client/blob/${version}/CHANGES.rst"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; mainProgram = "upnp-client"; };}