nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 1.0 kB view raw
1{ 2 lib, 3 aiodns, 4 aiohttp, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pytest-asyncio, 8 pytest-cov-stub, 9 pytestCheckHook, 10 setuptools, 11 zeroconf, 12}: 13 14buildPythonPackage rec { 15 pname = "aiohttp-asyncmdnsresolver"; 16 version = "0.1.1"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "aio-libs"; 21 repo = "aiohttp-asyncmdnsresolver"; 22 rev = "v${version}"; 23 hash = "sha256-gtB5vnlOVeAFACnhR5DIS5p3caZkOXrollXFINl/7hQ="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aiodns 30 aiohttp 31 zeroconf 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-asyncio 36 pytest-cov-stub 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "aiohttp_asyncmdnsresolver" ]; 41 42 meta = { 43 description = "Module to resolve mDNS with aiohttp"; 44 homepage = "https://github.com/aio-libs/aiohttp-asyncmdnsresolver"; 45 changelog = "https://github.com/aio-libs/aiohttp-asyncmdnsresolver/blob/${src.rev}/CHANGES.rst"; 46 license = lib.licenses.asl20; 47 maintainers = with lib.maintainers; [ fab ]; 48 }; 49}