python3Packages.std-uritemplate: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-07-08 09:13:03 +02:00
committed by GitHub
parent d45ebfd1ac
commit c774789fb2
@@ -5,14 +5,14 @@
poetry-core,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "std-uritemplate";
version = "2.0.11";
pyproject = true;
src = fetchPypi {
pname = "std_uritemplate";
inherit version;
inherit (finalAttrs) version;
hash = "sha256-afqeUkc41RG7S5Sz4jk8oFJKrRGOVJJZxU2zZ+BdmFI=";
};
@@ -26,8 +26,8 @@ buildPythonPackage rec {
meta = {
description = "Std-uritemplate implementation for Python";
homepage = "https://github.com/std-uritemplate/std-uritemplate";
changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}";
changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})