python313Packages.jsonargparse: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-08 10:21:38 +01:00
committed by GitHub
parent 8a25a9a1fb
commit 9e2d239797
@@ -21,7 +21,7 @@
typeshed-client,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "jsonargparse";
version = "4.46.0";
pyproject = true;
@@ -29,7 +29,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "omni-us";
repo = "jsonargparse";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-YLryV70RV4TH86ysllMXyCsZp7xr1LRFwKU1PjvoilA=";
};
@@ -79,8 +79,8 @@ buildPythonPackage rec {
meta = {
description = "Module to implement minimal boilerplate CLIs derived from various sources";
homepage = "https://github.com/omni-us/jsonargparse";
changelog = "https://github.com/omni-us/jsonargparse/blob/${src.tag}/CHANGELOG.rst";
changelog = "https://github.com/omni-us/jsonargparse/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})