python3Packages.aioopenexchangerates: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-13 09:26:33 +02:00
parent 4efedc535c
commit 2975f3bf8f
@@ -11,7 +11,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "aioopenexchangerates";
version = "0.7.0";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "MartinHjelmare";
repo = "aioopenexchangerates";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-pNjpeoXBlz2bdUeEsOlW7RJmbKTZGuBVTLHymGHwAiY=";
};
@@ -44,8 +44,8 @@ buildPythonPackage rec {
meta = {
description = "Library for the Openexchangerates API";
homepage = "https://github.com/MartinHjelmare/aioopenexchangerates";
changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/MartinHjelmare/aioopenexchangerates/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})