diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-09-17 21:50:41 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-10-01 17:56:00 +0200 |
commit | b6b09a93fd0d2177e702f43c566bb2b4c2d300c8 (patch) | |
tree | 44b7d6d4033600f03456a38973051c9e0ef62191 /gnu/packages | |
parent | 16be8d4e7be7aff7d68b2845599842dd7ab30fa4 (diff) | |
download | guix-b6b09a93fd0d2177e702f43c566bb2b4c2d300c8.tar.gz guix-b6b09a93fd0d2177e702f43c566bb2b4c2d300c8.zip |
gnu: Add python-timeout-decorator.
* gnu/packages/python-xyz.scm (python-timeout-decorator): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 57942331b2..34d6aa5ea0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11217,6 +11217,23 @@ checksums. It implement more than a hundred checksum routines.") blocks or callables with two context managers and two decorators.") (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 (package (name "python-straight-plugin") |