python313Packages.aiodns: switch to finalAttrs

This commit is contained in:
Sandro Jäckel
2026-03-27 04:08:07 +01:00
parent 2ea1307ea5
commit 7ff22e016c
@@ -6,7 +6,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aiodns";
version = "4.0.0";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "saghul";
repo = "aiodns";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-/iYkhzN01+NaUfMXaM39IvlEKfoKc29+f0S4y0y3GG8=";
};
@@ -30,8 +30,8 @@ buildPythonPackage rec {
meta = {
description = "Simple DNS resolver for asyncio";
homepage = "https://github.com/saghul/aiodns";
changelog = "https://github.com/saghul/aiodns/releases/tag/${src.tag}";
changelog = "https://github.com/saghul/aiodns/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})