python3Packages.rstcheck-core: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-07-29 11:15:18 +02:00
parent 1468593990
commit 1be3372ff3

View File

@@ -12,7 +12,7 @@
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "rstcheck-core";
version = "1.3.1";
pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "rstcheck";
repo = "rstcheck-core";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-4NvaBG2LQqHJgDLcUpjVjknkc0unVyAM8d5Z8SlZ2jw=";
};
@@ -52,8 +52,8 @@ buildPythonPackage rec {
meta = {
description = "Library for checking syntax of reStructuredText";
homepage = "https://github.com/rstcheck/rstcheck-core";
changelog = "https://github.com/rstcheck/rstcheck-core/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/rstcheck/rstcheck-core/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})