From 49426923b2a32efb48fb86b7917d2703c6852e26 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 Apr 2026 16:45:52 +0200 Subject: [PATCH 1/2] python3Packages.rfc3161-client: 1.0.5 -> 1.0.6 Diff: https://github.com/trailofbits/rfc3161-client/compare/v1.0.5...v1.0.6 Changelog: https://github.com/trailofbits/rfc3161-client/releases/tag/v1.0.6 https://github.com/trailofbits/rfc3161-client/security/advisories/GHSA-3xxc-pwj6-jgrj --- pkgs/development/python-modules/rfc3161-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rfc3161-client/default.nix b/pkgs/development/python-modules/rfc3161-client/default.nix index ab9df7c1aadd..3d567f11904d 100644 --- a/pkgs/development/python-modules/rfc3161-client/default.nix +++ b/pkgs/development/python-modules/rfc3161-client/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "rfc3161-client"; - version = "1.0.5"; + version = "1.0.6"; pyproject = true; src = fetchFromGitHub { owner = "trailofbits"; repo = "rfc3161-client"; tag = "v${version}"; - hash = "sha256-EF4d9MnBhWt99vy2MOK+u0aUQ3ZEH/8mYezlWQtGvhU="; + hash = "sha256-8OjohrHqUgsKXRZ28Au6Un6Wlzh81XVSQosoQC2f+Fs="; }; cargoDeps = rustPlatform.fetchCargoVendor { From 5defe9e445f179e8283a08cc84828a078502223f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 Apr 2026 16:51:27 +0200 Subject: [PATCH 2/2] python3Packages.rfc3161-client: migrate to finalAttrs --- .../python-modules/rfc3161-client/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/rfc3161-client/default.nix b/pkgs/development/python-modules/rfc3161-client/default.nix index 3d567f11904d..9d8dfdc33826 100644 --- a/pkgs/development/python-modules/rfc3161-client/default.nix +++ b/pkgs/development/python-modules/rfc3161-client/default.nix @@ -9,7 +9,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "rfc3161-client"; version = "1.0.6"; pyproject = true; @@ -17,12 +17,12 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "trailofbits"; repo = "rfc3161-client"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-8OjohrHqUgsKXRZ28Au6Un6Wlzh81XVSQosoQC2f+Fs="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit src pname; + inherit (finalAttrs) src pname; hash = "sha256-jQsogV+qR0jAkHz/Slg9oBO/f96osU8YcjuaX4ZJQTk="; }; @@ -50,7 +50,7 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ bot-wxt1221 ]; license = lib.licenses.asl20; platforms = lib.platforms.all; - changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/v${version}"; + changelog = "https://github.com/trailofbits/rfc3161-client/releases/tag/${finalAttrs.src.tag}"; description = "Opinionated Python RFC3161 Client"; }; -} +})