From b8a264a88f4986a20d8231896e08ca5adc2acadd Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 6 Mar 2026 14:47:29 +0000 Subject: [PATCH 1/2] python3Packages.requests-ratelimiter: 0.9.0 -> 0.9.2 --- .../python-modules/requests-ratelimiter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/requests-ratelimiter/default.nix b/pkgs/development/python-modules/requests-ratelimiter/default.nix index cecee5a35e69..6cf4ac8e62a2 100644 --- a/pkgs/development/python-modules/requests-ratelimiter/default.nix +++ b/pkgs/development/python-modules/requests-ratelimiter/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "requests-ratelimiter"; - version = "0.9.0"; + version = "0.9.2"; pyproject = true; src = fetchFromGitHub { owner = "JWCook"; repo = "requests-ratelimiter"; tag = "v${version}"; - hash = "sha256-jmHXD3UJwzZSLXS7NXvCM/+lOFreSqb1QIl/jvO8lWc="; + hash = "sha256-6Uw6JPArOzKD7va6mthumCDW/G0Yn/C1d+1VflrJ/JY="; }; build-system = [ hatchling ]; From 9f6bce3ccc57a71c504462b097b429d734b95803 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 6 Mar 2026 16:26:03 +0100 Subject: [PATCH 2/2] python3Packages.requests-ratelimiter: migrate to finalAttrs --- .../python-modules/requests-ratelimiter/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/requests-ratelimiter/default.nix b/pkgs/development/python-modules/requests-ratelimiter/default.nix index 6cf4ac8e62a2..51936c926f3e 100644 --- a/pkgs/development/python-modules/requests-ratelimiter/default.nix +++ b/pkgs/development/python-modules/requests-ratelimiter/default.nix @@ -10,7 +10,7 @@ requests-cache, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "requests-ratelimiter"; version = "0.9.2"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "JWCook"; repo = "requests-ratelimiter"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-6Uw6JPArOzKD7va6mthumCDW/G0Yn/C1d+1VflrJ/JY="; }; @@ -42,8 +42,8 @@ buildPythonPackage rec { broken = lib.versionOlder pyrate-limiter.version "4"; description = "Module for rate-limiting for requests"; homepage = "https://github.com/JWCook/requests-ratelimiter"; - changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${src.tag}/HISTORY.md"; + changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${finalAttrs.src.tag}/HISTORY.md"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})