python3Packages.html-text: use finalAttrs

This commit is contained in:
Bruno BELANYI
2026-01-05 12:36:42 +00:00
parent 15e10e8c9b
commit 8425d3c63c
@@ -9,7 +9,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "html-text";
version = "0.6.2";
pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "zytedata";
repo = "html-text";
tag = version;
tag = finalAttrs.version;
hash = "sha256-e9gkibQv8mn1Jbt77UmpauOeTqhJQhY9R5Sge/iYi+U=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "Extract text from HTML";
homepage = "https://github.com/zytedata/html-text";
changelog = "https://github.com/zytedata/html-text/blob/${version}/CHANGES.rst";
changelog = "https://github.com/zytedata/html-text/blob/${finalAttrs.version}/CHANGES.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ambroisie ];
};
}
})