python3Packages.html-text: use finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user