From cc2b236e3777c0f7c758805289f42b3932668c57 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 5 Feb 2025 17:25:21 +0000 Subject: [PATCH] gnu: Add python-takethetime. This is a refreshed proposal from #35979 submitted on <20219-05-29>. * gnu/packages/python-xyz.scm (python-takethetime): New variable. Change-Id: I1384acdee68a46f7d97b217e609b5d2af69c6086 Co-authored-by: h.nasajpour --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1c835103af0d5058d3003b55938da9fd89454a43..63eff843ad124953cd6242ae98e70e41153f9fe6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -600,6 +600,29 @@ comparison operators, as defined in the original edit distance algorithm for Python in Cython for high performance.") (license license:bsd-3))) +(define-public python-takethetime + (package + (name "python-takethetime") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "TakeTheTime" version)) + (sha256 + (base32 "1y9gzqb9l1f2smx8783ccjzjvby5mphshgrfks7s75mml59h9qyv")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; tests are time dependent and not provided in PyPI + (native-inputs + (list python-setuptools + python-wheel)) + (home-page "https://github.com/ErikBjare/TakeTheTime") + (synopsis "Timing chunks of code") + (description + "This package implements a functionality for time taking using context +managers.") + (license license:expat))) + (define-public python-trubar (package (name "python-trubar")