python3Packages.adax: use finalAttrs

This commit is contained in:
Sigmanificient
2026-05-24 20:11:48 +02:00
parent 6cf2462ea8
commit b7cc9fe261
@@ -7,7 +7,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "adax";
version = "0.4.0";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyadax";
tag = version;
tag = finalAttrs.version;
hash = "sha256-wmcZtiML02i1XfqpFzni2WDrxutTvP5laVvTAGtNg0Y=";
};
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = {
description = "Python module to communicate with Adax";
homepage = "https://github.com/Danielhiversen/pyAdax";
changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${version}";
changelog = "https://github.com/Danielhiversen/pyAdax/releases/tag/${finalAttrs.version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
})