From 2ea6fbd4104373cfcfbf53a5829d0a5d3be73089 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Apr 2026 18:41:49 +0200 Subject: [PATCH] python3Packages.cwl-utils: migrate to finalAttrs --- pkgs/development/python-modules/cwl-utils/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ]; }; -} +})