Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, aiodns, aiohttp, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, zeroconf,}:
buildPythonPackage rec { pname = "aiohttp-asyncmdnsresolver"; version = "0.1.1"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "aio-libs"; repo = "aiohttp-asyncmdnsresolver"; rev = "v${version}"; hash = "sha256-gtB5vnlOVeAFACnhR5DIS5p3caZkOXrollXFINl/7hQ="; };
build-system = [ setuptools ];
dependencies = [ aiodns aiohttp zeroconf ];
nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "aiohttp_asyncmdnsresolver" ];
meta = { description = "Module to resolve mDNS with aiohttp"; homepage = "https://github.com/aio-libs/aiohttp-asyncmdnsresolver"; changelog = "https://github.com/aio-libs/aiohttp-asyncmdnsresolver/blob/${src.rev}/CHANGES.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };}