sharlatan pushed a commit to branch python-team
in repository guix.
commit c69b9b2cee7111b8b6f3452612d49148f2f3608d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jan 23 22:38:33 2025 +0000
gnu: Add python-pytest-freezer.
* gnu/packages/python-check.scm (python-pytest-freezer): New variable.
Change-Id: I54a50df8279d5831029c1996e8488f6ca471adcb
---
gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 46c6326c49..9e0f52a662 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -213,6 +213,29 @@ updating the value you want to compare with. The value is
converted with
Python code formatter \"black\".")
(license license:expat)))
+(define-public python-pytest-freezer
+ (package
+ (name "python-pytest-freezer")
+ (version "0.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_freezer" version))
+ (sha256
+ (base32 "0an8y6ri3bhij4137gphdw2yg6rq7if4nb1qjj7zjsy4kjy1dgr1"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-flit-core))
+ (propagated-inputs
+ (list python-freezegun
+ python-pytest))
+ (home-page "https://github.com/pytest-dev/pytest-freezer/")
+ (synopsis "Pytest plugin providing a fixture interface for
spulec/freezegun")
+ (description
+ "Pytest plugin providing a fixture interface for
+@url{https://github.com/spulec/freezegun, freezegun}.")
+ (license license:expat)))
+
(define-public python-robotframework-jsonlibrary
(package
(name "python-robotframework-jsonlibrary")