From 71d73d36be1429757ad123608e88f6df0f517d87 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 31 Jul 2026 21:56:11 +0200 Subject: [PATCH 1/2] python3Packages.pygitguardian: 1.32.0 -> 1.33.1 Diff: https://github.com/GitGuardian/py-gitguardian/compare/v1.32.0...v1.33.1 Changelog: https://github.com/GitGuardian/py-gitguardian/blob/refs/tags/v1.33.1/CHANGELOG.md --- pkgs/development/python-modules/pygitguardian/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix index 51cccda9e2e1..6d207c8631f9 100644 --- a/pkgs/development/python-modules/pygitguardian/default.nix +++ b/pkgs/development/python-modules/pygitguardian/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pygitguardian"; - version = "1.32.0"; + version = "1.33.1"; pyproject = true; src = fetchFromGitHub { owner = "GitGuardian"; repo = "py-gitguardian"; tag = "v${version}"; - hash = "sha256-f8DkRwgtwaB5R78zklAI0ZvA2gfSwsHFOS3IgDgcEEo="; + hash = "sha256-K0hsOfU0tCvjTjOFaDrYNATO31YgbfgAYkZh1DxQNIw="; }; build-system = [ pdm-backend ]; From 7065be0403e58ad5d17a40207d5ca45ebdddddc8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 31 Jul 2026 21:59:39 +0200 Subject: [PATCH 2/2] python3Packages.pygitguardian: migrate to finalAttrs --- pkgs/development/python-modules/pygitguardian/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pygitguardian/default.nix b/pkgs/development/python-modules/pygitguardian/default.nix index 6d207c8631f9..4762d13a4298 100644 --- a/pkgs/development/python-modules/pygitguardian/default.nix +++ b/pkgs/development/python-modules/pygitguardian/default.nix @@ -13,7 +13,7 @@ vcrpy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pygitguardian"; version = "1.33.1"; pyproject = true; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "GitGuardian"; repo = "py-gitguardian"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-K0hsOfU0tCvjTjOFaDrYNATO31YgbfgAYkZh1DxQNIw="; }; @@ -48,8 +48,8 @@ buildPythonPackage rec { meta = { description = "Library to access the GitGuardian API"; homepage = "https://github.com/GitGuardian/py-gitguardian"; - changelog = "https://github.com/GitGuardian/py-gitguardian/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/GitGuardian/py-gitguardian/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})