gnu: Add python-timeout-decorator.

* gnu/packages/python-xyz.scm (python-timeout-decorator): New variable.
This commit is contained in:
Liliana Marie Prikler 2022-09-17 21:50:41 +02:00
parent 16be8d4e7b
commit b6b09a93fd
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -11217,6 +11217,23 @@ (define-public python-stopit
blocks or callables with two context managers and two decorators.") blocks or callables with two context managers and two decorators.")
(license license:expat))) (license license:expat)))
(define-public python-timeout-decorator
(package
(name "python-timeout-decorator")
(version "0.5.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "timeout-decorator" version))
(sha256
(base32
"1mxk2qyydhzncm93z08kvj5ssxq3fr2n7pkrrji28nqwvdc2ybva"))))
(build-system python-build-system)
(home-page "https://github.com/pnpnpn/timeout-decorator")
(synopsis "Timeout decorator")
(description "This package provides a decorator that raises an error
when an operation takes longer than expected.")
(license license:expat)))
(define-public python-straight-plugin (define-public python-straight-plugin
(package (package
(name "python-straight-plugin") (name "python-straight-plugin")