Subject: [bug#76835] [PATCH v3 33/40] gnu: Add python-throttler.

From: Nicolas Graves <[email-masked]>
Date: Mon, 10 Mar 2025 03:16:38 +0100

* gnu/packages/python-xyz.scm (python-throttler): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6d90fe1ac..540ea1b379 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14869,6 +14869,33 @@ (define-public python-three-merge
 approach.")
     (license license:expat)))
 
+(define-public python-throttler
+  (package
+    (name "python-throttler")
+    (version "1.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uburuntu/throttler")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1gn21x0zkm7rr7qijlz7nvw7z0mm1j2r0r2lslg7wln1z36gjkbw"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-aiohttp
+                         python-pytest
+                         python-pytest-asyncio
+                         python-pytest-cov
+                         python-setuptools
+                         python-wheel))
+    (home-page "https://github.com/uburuntu/throttler")
+    (synopsis "Throttling with asyncio support in Python")
+    (description
+     "This package provides a zero-dependency Python package for easy
+throttling with asyncio support.")
+    (license license:expat)))
+
 (define-public snakemake
   (package
     (name "snakemake")
-- 
2.48.1