python313Packages.gitpython: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-13 09:48:46 +02:00
parent f6798a1080
commit 4e0ae8e893
@@ -8,7 +8,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "gitpython";
version = "3.1.46";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "gitpython-developers";
repo = "GitPython";
tag = version;
tag = finalAttrs.version;
hash = "sha256-ymuJlxGEmWwvmVFYiIW23k5Gl2h09ugFLPosnUWg5S0=";
};
@@ -41,8 +41,8 @@ buildPythonPackage rec {
meta = {
description = "Python Git Library";
homepage = "https://github.com/gitpython-developers/GitPython";
changelog = "https://github.com/gitpython-developers/GitPython/blob/${src.tag}/doc/source/changes.rst";
changelog = "https://github.com/gitpython-developers/GitPython/blob/${finalAttrs.src.tag}/doc/source/changes.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
})