guix-commits
[Top][All Lists]
Advanced

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

16/18: gnu: Add python-pytest-env.


From: guix-commits
Subject: 16/18: gnu: Add python-pytest-env.
Date: Sat, 25 Jul 2020 12:49:19 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit a5d27dbe8e44f7d9054f88ee49963a290ee5be24
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Fri Jul 24 09:01:43 2020 -0300

    gnu: Add python-pytest-env.
    
    * gnu/packages/python-check.scm (python-pytest-env): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 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 f71eef0..e96ce9e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -673,6 +673,26 @@ service processes for your tests with pytest.")
      "This pytest plugin provides fixtures to simplify Flask app testing.")
     (license license:expat)))
 
+(define-public python-pytest-env
+  (package
+    (name "python-pytest-env")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-env" version))
+       (sha256
+        (base32 "1hl0ln0cicdid4qjk7mv90lw9xkb0v71dlj7q7rn89vzxxm9b53y"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/MobileDynasty/pytest-env";)
+    (synopsis "Pytest plugin that allows you to add environment variables")
+    (description
+     "This is a @code{py.test} plugin that enables you to set environment
+variables in the @file{pytest.ini} file.")
+    (license license:expat)))
+
 (define-public python-codacy-coverage
   (package
     (name "python-codacy-coverage")



reply via email to

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