python312Packages.aiohttp-asyncmdnsresolver: init at 0.0.3

Module to resolve mDNS with aiohttp

https://github.com/aio-libs/aiohttp-asyncmdnsresolver
This commit is contained in:
Fabian Affolter
2025-02-06 18:55:24 +01:00
committed by Martin Weinelt
parent 4801c84015
commit df1b63548a
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
lib,
aiodns,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
zeroconf,
}:
buildPythonPackage rec {
pname = "aiohttp-asyncmdnsresolver";
version = "0.0.3";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiohttp-asyncmdnsresolver";
rev = "v${version}";
hash = "sha256-YtBPMhRbilLY0VV1qVIPBYT0w91MbsUo2nbr4ODgCZA=";
};
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 ];
};
}
+2
View File
@@ -259,6 +259,8 @@ self: super: with self; {
aiohttp-apispec = callPackage ../development/python-modules/aiohttp-apispec { };
aiohttp-asyncmdnsresolver = callPackage ../development/python-modules/aiohttp-asyncmdnsresolver { };
aiohttp-basicauth = callPackage ../development/python-modules/aiohttp-basicauth { };
aiohttp-client-cache = callPackage ../development/python-modules/aiohttp-client-cache { };