guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp.


From: Marius Bakke
Subject: [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp.
Date: Fri, 30 Aug 2019 16:25:30 +0200

* gnu/packages/check.scm (python-pytest-aiohttp): New public variable.
---
 gnu/packages/check.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e81cd50b66..fa9de0761d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -791,6 +791,28 @@ and many external plugins.")
      ;; XXX: Tests require similarly ancient versions of many dependencies.
      `(#:tests? #f))))
 
+(define-public python-pytest-aiohttp
+  (package
+    (name "python-pytest-aiohttp")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-aiohttp" version))
+              (sha256
+               (base32
+                "0kx4mbs9bflycd8x9af0idcjhdgnzri3nw1qb0vpfyb3751qaaf9"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (propagated-inputs
+     `(("python-aiohttp" ,python-aiohttp)))
+    (home-page "https://github.com/aio-libs/pytest-aiohttp/";)
+    (synopsis "Pytest plugin for aiohttp support")
+    (description
+     "This library allows using the @code{aiohttp} pytest plugin without having
+to explicitly load it like @code{pytest_plugins = aiohttp.pytest_plugin}.")
+    (license license:asl2.0)))
+
 (define-public python-pytest-cov
   (package
     (name "python-pytest-cov")
-- 
2.22.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]