about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-12-14 10:54:56 +0300
committerMuriithi Frederick Muriuki2018-12-14 10:54:56 +0300
commitc5ab676cc6202cbb36842ce3d898362367860e7a (patch)
tree7bc3fec9402ee86eff91c6374ccb16d12a7b751c
parentf0cbb378438314e9369fa95cd47cebd2a16f8d01 (diff)
downloadguix-bioinformatics-c5ab676cc6202cbb36842ce3d898362367860e7a.tar.gz
gn: python-pytest-timeout
* gn/packages/edash.scm (python-pytest-timeout): New variable.
-rw-r--r--gn/packages/edash.scm26
1 files changed, 25 insertions, 1 deletions
diff --git a/gn/packages/edash.scm b/gn/packages/edash.scm
index bbd7d15..d7c749b 100644
--- a/gn/packages/edash.scm
+++ b/gn/packages/edash.scm
@@ -262,6 +262,29 @@ necessary.")
      "Timeout context manager for asyncio programs")
     (license license:asl2.0)))
 
+(define-public python-pytest-timeout
+  (package
+    (name "python-pytest-timeout")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-timeout" version))
+       (sha256
+        (base32
+         "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pytest" ,python-pytest)))
+    (arguments `(#:tests? #f))
+    (home-page
+     "http://bitbucket.org/pytest-dev/pytest-timeout/")
+    (synopsis
+     "py.test plugin to abort hanging tests")
+    (description
+     "py.test plugin to abort hanging tests")
+    (license license:expat)))
+
 (define-public python-pytest-aiohttp
   (package
     (name "python-pytest-aiohttp")
@@ -276,7 +299,8 @@ necessary.")
     (build-system python-build-system)
     (propagated-inputs
      `(("python-aiohttp" ,python-aiohttp)
-       ("python-pytest" ,python-pytest)))
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-timeout" ,python-pytest-timeout)))
     (home-page
      "https://github.com/aio-libs/pytest-aiohttp/")
     (synopsis "pytest plugin for aiohttp support")