sharlatan pushed a commit to branch python-team
in repository guix.

commit 0fff33202a9f3274ec91dff85e0533c25a53f0c5
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Nov 22 13:19:29 2024 +0000

    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 b9f8bfd75a..bb54b3786a 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")

Reply via email to