From 89c431eff475cea7431320169a01c9459281263b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 May 2026 22:06:41 +0000 Subject: [PATCH 1/2] python3Packages.notifications-python-client: 10.0.1 -> 12.1.0 --- .../python-modules/notifications-python-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/notifications-python-client/default.nix b/pkgs/development/python-modules/notifications-python-client/default.nix index 678c3b4f7dc0..4386b785c5f0 100644 --- a/pkgs/development/python-modules/notifications-python-client/default.nix +++ b/pkgs/development/python-modules/notifications-python-client/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "notifications-python-client"; - version = "10.0.1"; + version = "12.1.0"; pyproject = true; src = fetchFromGitHub { owner = "alphagov"; repo = "notifications-python-client"; tag = version; - hash = "sha256-k4q6FS3wjolt4+qtDQlunBLmCCPgLgrhr8zgOMEX4QU="; + hash = "sha256-jaNALtQQBxBE2ofBw9ZXC4z5VCnclAAHYvPMTBK74tY="; }; postPatch = '' From cee90fd7d5905e6f91ab73f8ec4727a9827fac50 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 29 May 2026 01:02:13 +0200 Subject: [PATCH 2/2] python3packages.notifications-python-client: migrate to finalAttrs --- .../notifications-python-client/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/notifications-python-client/default.nix b/pkgs/development/python-modules/notifications-python-client/default.nix index 4386b785c5f0..dbbd27abbc67 100644 --- a/pkgs/development/python-modules/notifications-python-client/default.nix +++ b/pkgs/development/python-modules/notifications-python-client/default.nix @@ -13,7 +13,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "notifications-python-client"; version = "12.1.0"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "alphagov"; repo = "notifications-python-client"; - tag = version; + tag = finalAttrs.version; hash = "sha256-jaNALtQQBxBE2ofBw9ZXC4z5VCnclAAHYvPMTBK74tY="; }; @@ -51,8 +51,8 @@ buildPythonPackage rec { meta = { description = "Python client for the GOV.UK Notify API"; homepage = "https://github.com/alphagov/notifications-python-client"; - changelog = "https://github.com/alphagov/notifications-python-client/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/alphagov/notifications-python-client/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})