python313Packages.{aiodns,pycares}: switch to finalAttrs (#503935)

This commit is contained in:
Fabian Affolter
2026-03-29 11:53:04 +00:00
committed by GitHub
2 changed files with 8 additions and 8 deletions
@@ -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 ];
};
}
})
@@ -11,13 +11,13 @@
tornado,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pycares";
version = "5.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-WjwknIMEMmMUOYFfmoGEY0FvKoy9semI54dX3prnUIE=";
};
@@ -47,8 +47,8 @@ buildPythonPackage rec {
meta = {
description = "Python interface for c-ares";
homepage = "https://github.com/saghul/pycares";
changelog = "https://github.com/saghul/pycares/releases/tag/v${version}";
changelog = "https://github.com/saghul/pycares/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})