python3Packages.scmrepo: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-03 11:00:34 +02:00
parent 0a672be559
commit b33f9cf1f8
@@ -16,7 +16,7 @@
tqdm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "scmrepo";
version = "3.6.2";
pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "iterative";
repo = "scmrepo";
tag = version;
tag = finalAttrs.version;
hash = "sha256-E7BHdLDS57r/UbSA62lfr3z+5sqFTPRzwfFLIITeSs0=";
};
@@ -54,8 +54,8 @@ buildPythonPackage rec {
meta = {
description = "SCM wrapper and fsspec filesystem";
homepage = "https://github.com/iterative/scmrepo";
changelog = "https://github.com/iterative/scmrepo/releases/tag/${src.tag}";
changelog = "https://github.com/iterative/scmrepo/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})