mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
python3Packages.cdcs: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user