mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: Add python-ratelimiter.
* gnu/packages/python.scm (python-ratelimiter, python2-ratelimiter): New variables. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
b89e3c77c6
commit
9d0866ce1b
1 changed files with 24 additions and 0 deletions
|
@ -16843,3 +16843,27 @@ (define-public python-traceback2
|
||||||
|
|
||||||
(define-public python2-traceback2
|
(define-public python2-traceback2
|
||||||
(package-with-python2 python-traceback2))
|
(package-with-python2 python-traceback2))
|
||||||
|
|
||||||
|
(define-public python-ratelimiter
|
||||||
|
(package
|
||||||
|
(name "python-ratelimiter")
|
||||||
|
(version "1.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "ratelimiter" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1dhz85mj5bqd2mij84ncs6pz32hgidr79hay4aqfmzaa4rbb497p"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f)) ; There are no tests in the pypi archive.
|
||||||
|
(home-page "https://github.com/RazerM/ratelimiter")
|
||||||
|
(synopsis "Simple rate limiting object")
|
||||||
|
(description
|
||||||
|
"The @code{ratelimiter} module ensures that an operation will not be
|
||||||
|
executed more than a given number of times during a given period.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public python2-ratelimiter
|
||||||
|
(package-with-python2 python-ratelimiter))
|
||||||
|
|
Loading…
Reference in a new issue