From 083f5c6346a3ef0ba563f8825b4eb203fc7675bc Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 8 Mar 2026 22:01:29 +0000 Subject: [PATCH] python3Packages.correctionlib: 2.7.0 -> 2.8.0 Diff: https://github.com/cms-nanoAOD/correctionlib/compare/v2.7.0...v2.8.0 Changelog: https://github.com/cms-nanoAOD/correctionlib/releases/tag/v2.8.0 --- .../python-modules/correctionlib/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/correctionlib/default.nix b/pkgs/development/python-modules/correctionlib/default.nix index 96ea87b952fd..ca0d6a987256 100644 --- a/pkgs/development/python-modules/correctionlib/default.nix +++ b/pkgs/development/python-modules/correctionlib/default.nix @@ -28,17 +28,17 @@ scipy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "correctionlib"; - version = "2.7.0"; + version = "2.8.0"; pyproject = true; src = fetchFromGitHub { owner = "cms-nanoAOD"; repo = "correctionlib"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-aLTeyDOo80p8xzl/IPnpT3BOjS2qOYn/Z7pidcLoEY8="; + hash = "sha256-zIKxMulID6JomaSDuI57cHA7xAZIfGBOOYCKS7Xrkaw="; }; postPatch = '' @@ -81,8 +81,8 @@ buildPythonPackage rec { description = "Provides a well-structured JSON data format for a wide variety of ad-hoc correction factors encountered in a typical HEP analysis"; mainProgram = "correction"; homepage = "https://cms-nanoaod.github.io/correctionlib/"; - changelog = "https://github.com/cms-nanoAOD/correctionlib/releases/tag/v${version}"; + changelog = "https://github.com/cms-nanoAOD/correctionlib/releases/tag/${finalAttrs.src.tag}"; license = with lib.licenses; [ bsd3 ]; maintainers = with lib.maintainers; [ veprbl ]; }; -} +})