python3Packages.augeas: convert to finalAttrs

This commit is contained in:
Harinn
2026-06-03 21:29:17 +07:00
parent 51e463b046
commit 212e75a8b4
@@ -9,7 +9,7 @@
pkgs, # for libxml2
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "augeas";
version = "1.2.0";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "hercules-team";
repo = "python-augeas";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Lq8ckra3sqN38zo1d5JsEq6U5TtLKRmqysoWNwR9J9A=";
};
@@ -37,10 +37,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "augeas" ];
meta = {
changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${version}";
changelog = "https://github.com/hercules-team/python-augeas/releases/tag/v${finalAttrs.version}";
description = "Pure python bindings for augeas";
homepage = "https://github.com/hercules-team/python-augeas";
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.unix;
};
}
})