diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-02-19 13:07:23 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-02-19 13:24:32 +0100 |
commit | 915552a63830b3e9bf1da68a96a31a77940d8cd6 (patch) | |
tree | 14b93f836c4163a64af63499b5a4b72a123d459f /gnu/packages/python-check.scm | |
parent | 0a10ad674481d6e2a4603f3cbfa25fafc93207e1 (diff) |
gnu: Add python-hiro.
* gnu/packages/python-check.scm (python-hiro): New variable.
Change-Id: Ie3ac28190fac514a6af72c16085b2fc025f1af08
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r-- | gnu/packages/python-check.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 22ffbd8d92..2438a5938f 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2266,6 +2266,26 @@ The main usage is to use the @code{qtbot} fixture, responsible for handling interaction, like key presses and mouse clicks.") (license license:expat))) +(define-public python-hiro + (package + (name "python-hiro") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hiro" version)) + (sha256 + (base32 "0s2xz72i7kbm0l75vr04cqq2war74p3p376wm76999f93npkjcys")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://hiro.readthedocs.io/") + (synopsis "Time manipulation utilities for testing in Python") + (description "Hiro provides context managers and utilities to either +freeze, accelerate or decelerate and jump between different points in time. +Functions exposed by the standard library’s @code{time}, @code{datetime} and +@code{date} modules are patched within the contexts exposed.") + (license license:expat))) + (define-public python-httmock (package (name "python-httmock") |