From 1305fc004a7d150f3dc6647343d9d8f0d3bc4652 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 22 Nov 2024 13:19:29 +0000 Subject: [PATCH] gnu: Add python-pytest-lazy-fixtures. * gnu/packages/check.scm (python-pytest-lazy-fixtures): New variable. Change-Id: I366ede16bf72f99b38b1edc43535a2c969822787 --- gnu/packages/check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 13aabb577cd643248df998a1ed0007b8bb6eb690..42a1957de3db2536a8e421a1a134050d6d54ab50 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2002,6 +2002,29 @@ Python's @code{random.seed}.") @code{pytest.mark.parametrize}.") (license license:expat))) +(define-public python-pytest-lazy-fixtures + (package + (name "python-pytest-lazy-fixtures") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest_lazy_fixtures" version)) + (sha256 + (base32 "1v819n9jrgf0rk2fidn6fkdzz68r4jin94lvy9fbb9gf546iymhc")))) + (native-inputs + (list python-poetry-core)) + (propagated-inputs + (list python-pytest)) + (build-system pyproject-build-system) + (home-page "https://github.com/dev-petrov/pytest-lazy-fixtures") + (synopsis "Use fixtures in @code{pytest.mark.parametrize}") + (description + "This plugin helps to use fixtures in @code{pytest.mark.parametrize}, +inspied by @url{https://github.com/TvoroG/pytest-lazy-fixture, +pytest-lazy-fixture}.") + (license license:expat))) + (define-public python-pytest-mock (package (name "python-pytest-mock")