From 6c086fe2dfe547742f7aedf17fb99ece6623b097 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 26 May 2026 06:08:49 +0000 Subject: [PATCH 1/2] python3Packages.color-operations: 0.2.0 -> 0.3.0 --- pkgs/development/python-modules/color-operations/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/color-operations/default.nix b/pkgs/development/python-modules/color-operations/default.nix index d50282718c1f..3e57d0f2797b 100644 --- a/pkgs/development/python-modules/color-operations/default.nix +++ b/pkgs/development/python-modules/color-operations/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "color-operations"; - version = "0.2.0"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "vincentsarago"; repo = "color-operations"; tag = version; - hash = "sha256-LUO9PxrXCkFqyguvX4GT6vmlALMyfkDqXeGZAQG76vw="; + hash = "sha256-hDxbyhelsl/EvsesD4Rux5CQM86squ4gHevVK/UP8Y8="; }; build-system = [ From f5f8da561d346643f419ee830b6a076b47d2304d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 26 May 2026 12:16:10 +0200 Subject: [PATCH 2/2] python3Packages.color-operations: migrate to finalAttrs --- .../python-modules/color-operations/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/color-operations/default.nix b/pkgs/development/python-modules/color-operations/default.nix index 3e57d0f2797b..dadf385564e6 100644 --- a/pkgs/development/python-modules/color-operations/default.nix +++ b/pkgs/development/python-modules/color-operations/default.nix @@ -16,7 +16,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "color-operations"; version = "0.3.0"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "vincentsarago"; repo = "color-operations"; - tag = version; + tag = finalAttrs.version; hash = "sha256-hDxbyhelsl/EvsesD4Rux5CQM86squ4gHevVK/UP8Y8="; }; @@ -50,8 +50,8 @@ buildPythonPackage rec { meta = { description = "Apply basic color-oriented image operations. Fork of rio-color"; homepage = "https://github.com/vincentsarago/color-operations"; - changelog = "https://github.com/vincentsarago/color-operations/releases/tag/${src.tag}"; + changelog = "https://github.com/vincentsarago/color-operations/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; teams = [ lib.teams.geospatial ]; }; -} +})