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