gnu: Add python-pytest-forked
authorLars-Dominik Braun <ldb@leibniz-psychology.org>
Fri, 27 Mar 2020 12:57:00 +0000 (13:57 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 1 Apr 2020 22:06:26 +0000 (00:06 +0200)
* gnu/packages/check.scm (python-pytest-forked): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/check.scm

index c5a886e..2cfaddb 100644 (file)
@@ -1026,6 +1026,31 @@ result back.")
 timeout has been exceeded.")
     (license license:expat)))
 
+(define-public python-pytest-forked
+  (package
+    (name "python-pytest-forked")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-forked" version))
+       (sha256
+        (base32
+         "000i4q7my2fq4l49n8idx2c812dql97qv6qpm2vhrrn9v6g6j18q"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pytest" ,python-pytest)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/pytest-dev/pytest-forked")
+    (synopsis
+     "Run tests in isolated forked subprocesses")
+    (description
+     "Pytest plugin which will run each test in a subprocess and will report if
+a test crashed the process.")
+    (license license:expat)))
+
 (define-public python-scripttest
   (package
     (name "python-scripttest")