From b622c42ead8635486e66e326fa0239eac2e8450b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 26 May 2026 05:51:28 +0000 Subject: [PATCH 1/2] python3Packages.color-parser-py: 0.1.6 -> 0.1.7 --- pkgs/development/python-modules/color-parser-py/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/color-parser-py/default.nix b/pkgs/development/python-modules/color-parser-py/default.nix index 9f4ae2bc0b00..50746001ec3b 100644 --- a/pkgs/development/python-modules/color-parser-py/default.nix +++ b/pkgs/development/python-modules/color-parser-py/default.nix @@ -8,19 +8,19 @@ buildPythonPackage rec { pname = "color-parser-py"; - version = "0.1.6"; + version = "0.1.7"; pyproject = true; # PyPI has Cargo.lock src = fetchPypi { pname = "color_parser_py"; inherit version; - hash = "sha256-m1qhVAwQNtCwz+DLSAdfKhzkohMLMjvPHxynKhlJfN8="; + hash = "sha256-C3Q9vaOa/SE0PtQu5Gw/sk1JMRIlhgbA5VTW+2aC5dU="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-tKXA6sd5gLCJUaqxzFcZ3lePK41Wk2TbLp0HXBacOyo="; + hash = "sha256-nyl0Nmf0DNLH3j2XrTTO1u3erBCbRyp/xO0w/USjDHE="; }; nativeBuildInputs = [ From 800c51ccfc0b4794cbf9a312ebacb17270ef6784 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 26 May 2026 12:18:22 +0200 Subject: [PATCH 2/2] python3Packages.color-parser-py: migrate to finalAttrs --- .../python-modules/color-parser-py/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/color-parser-py/default.nix b/pkgs/development/python-modules/color-parser-py/default.nix index 50746001ec3b..77862d5041ae 100644 --- a/pkgs/development/python-modules/color-parser-py/default.nix +++ b/pkgs/development/python-modules/color-parser-py/default.nix @@ -6,7 +6,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "color-parser-py"; version = "0.1.7"; pyproject = true; @@ -14,12 +14,12 @@ buildPythonPackage rec { # PyPI has Cargo.lock src = fetchPypi { pname = "color_parser_py"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-C3Q9vaOa/SE0PtQu5Gw/sk1JMRIlhgbA5VTW+2aC5dU="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; + inherit (finalAttrs) pname version src; hash = "sha256-nyl0Nmf0DNLH3j2XrTTO1u3erBCbRyp/xO0w/USjDHE="; }; @@ -38,7 +38,8 @@ buildPythonPackage rec { meta = { description = "Python bindings for color parsing and conversion"; homepage = "https://github.com/rusiaaman/color-parser-py"; + changelog = "https://github.com/rusiaaman/color-parser-py/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ aleksana ]; }; -} +})