diff --git a/pkgs/development/python-modules/cwl-utils/default.nix b/pkgs/development/python-modules/cwl-utils/default.nix index 37392acb299a..e91507d1815b 100644 --- a/pkgs/development/python-modules/cwl-utils/default.nix +++ b/pkgs/development/python-modules/cwl-utils/default.nix @@ -16,7 +16,7 @@ schema-salad, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "cwl-utils"; version = "0.41"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "common-workflow-language"; repo = "cwl-utils"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-78Kx+LCEcPE7qsV6MFtfSY6tVj5KZhifFOib7beCU2c="; }; @@ -65,8 +65,8 @@ buildPythonPackage rec { meta = { description = "Utilities for CWL"; homepage = "https://github.com/common-workflow-language/cwl-utils"; - changelog = "https://github.com/common-workflow-language/cwl-utils/releases/tag/v${version}"; + changelog = "https://github.com/common-workflow-language/cwl-utils/releases/tag/v${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})