Subject: [bug#47730] [PATCH 3/4] gnu: Add python-pytest-datafiles.

From: Sebastian Gibb <[email-masked]>
Date: Mon, 12 Apr 2021 17:48:51 +0200

* gnu/packages/python-check.scm (python-pytest-datafiles): New variable.
---
 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 961d245630..b086218313 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1310,3 +1310,23 @@ help in debugging failures and optimizing the scheduler to improve speed.")
     (description "A pytest plugin for Sanic.  It helps you to test your
 code asynchronously.")
     (license license:expat)))
+
+(define-public python-pytest-datafiles
+  (package
+    (name "python-pytest-datafiles")
+    (version "2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-datafiles" version))
+              (sha256
+               (base32
+                "1yfvaqbqvjfikz215kwn6qiwwn9girka93zq4jphgfyvn75jjcql"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/omarkohl/pytest-datafiles")
+    (synopsis "Pytest plugin to create a tmpdir")
+    (description
+     "A pytest plugin to create a tmpdir containing a preconfigured set of
+files and/or directories.")
+    (license license:expat)))
-- 
2.31.1