From 7af8a3ad8d440de7a69ef6a6e25e1fb82838ff14 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 18 Mar 2025 12:12:43 +0100 Subject: [PATCH] gnu: Add python-throttler. * gnu/packages/python-xyz.scm (python-throttler): New variable. Change-Id: I04a07281d4ba77d880d7c8176b1a3269713b9b63 --- 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 727d8c1c190a0ba243bf58f87731001e202b627f..0ab7ffc089745b1aea1226d886cf215f44948270 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15176,6 +15176,33 @@ character level, as opposed to most VCS systems, which opt for a line-based 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)))) + (sha256 + (base32 "1gn21x0zkm7rr7qijlz7nvw7z0mm1j2r0r2lslg7wln1z36gjkbw")))) + (build-system pyproject-build-system) + (native-inputs (list python-aiohttp + python-codecov + python-flake8 + python-pytest + python-pytest-asyncio + python-pytest-cov + python-setuptools + python-wheel)) + (home-page "https://github.com/uburuntu/throttler") + (synopsis "Throttling with asyncio support") + (description + "This is a Python package for easy throttling with asyncio support.") + (license license:expat))) + (define-public snakemake (package (name "snakemake")