python3Packages.cdcs: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-08-03 08:24:26 +02:00
parent 27e42de605
commit b7b76ef778

View File

@@ -12,7 +12,7 @@
tqdm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cdcs";
version = "0.2.6";
pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "usnistgov";
repo = "pycdcs";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-P6fFL9yqnVbeUNBejnTcFowcf9xZP6XwheHwNUZKKlM=";
};
@@ -50,8 +50,8 @@ buildPythonPackage rec {
meta = {
description = "Python client for performing REST calls to configurable data curation system (CDCS) databases";
homepage = "https://github.com/usnistgov/pycdcs";
changelog = "https://github.com/usnistgov/pycdcs/releases/tag/v${version}";
changelog = "https://github.com/usnistgov/pycdcs/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})