mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-contexttimer.
* gnu/packages/python-xyz.scm (python-contexttimer): New variable. Change-Id: I1ed35f1d0190f0e3a60095c7627b6c17552cb4cc Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
4881c7d697
commit
b8f6b013b9
1 changed files with 23 additions and 0 deletions
|
@ -17497,6 +17497,29 @@ managers. It also contains additional features that are not part of
|
||||||
the standard library.")
|
the standard library.")
|
||||||
(license license:psfl)))
|
(license license:psfl)))
|
||||||
|
|
||||||
|
(define-public python-contexttimer
|
||||||
|
(package
|
||||||
|
(name "python-contexttimer")
|
||||||
|
(version "0.3.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/brouberol/contexttimer")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "00a9h06a1wj66935n863qlk4jpl9gvdvzkkhl8xmgqwdkwv0js54"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(propagated-inputs (list python-decorator python-unittest2))
|
||||||
|
(native-inputs (list python-mock))
|
||||||
|
(home-page "https://github.com/brouberol/contexttimer")
|
||||||
|
(synopsis "Timer as a context manager")
|
||||||
|
(description
|
||||||
|
"This package offers utilities to measure code block or function
|
||||||
|
execution time.")
|
||||||
|
(license license:gpl3)))
|
||||||
|
|
||||||
(define-public python-texttable
|
(define-public python-texttable
|
||||||
(package
|
(package
|
||||||
(name "python-texttable")
|
(name "python-texttable")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue