From 915552a63830b3e9bf1da68a96a31a77940d8cd6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 19 Feb 2025 13:07:23 +0100 Subject: [PATCH] gnu: Add python-hiro. * gnu/packages/python-check.scm (python-hiro): New variable. Change-Id: Ie3ac28190fac514a6af72c16085b2fc025f1af08 --- gnu/packages/python-check.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 22ffbd8d929..2438a5938f9 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")