mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: Add python-pytest-dotenv.
* gnu/packages/check.scm (python-pytest-dotenv): New variable.
This commit is contained in:
parent
755a995710
commit
687a1fdaae
1 changed files with 25 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
|
||||
;;; Copyright © 2023 Reza Housseini <reza@housseini.me>
|
||||
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
|
||||
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1416,6 +1417,30 @@ (define-public python-pytest-cov
|
|||
supports coverage of subprocesses.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-pytest-dotenv
|
||||
(package
|
||||
(name "python-pytest-dotenv")
|
||||
(version "0.5.2")
|
||||
(source
|
||||
(origin
|
||||
;; No tests in the PyPI tarball.
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/quiqua/pytest-dotenv")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0bdxwaak5clhsd63b9q65nf2amqqv5hfn7dskfakyldxsqnnh0y6"))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-dotenv))
|
||||
(native-inputs (list python-pytest))
|
||||
(home-page "https://github.com/quiqua/pytest-dotenv")
|
||||
(synopsis "Automatically detect and load a .env file before running tests")
|
||||
(description
|
||||
"This Pytest plugin automatically detects and loads environment variables
|
||||
from a .env file before running tests.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-pytest-httpserver
|
||||
(package
|
||||
(name "python-pytest-httpserver")
|
||||
|
|
Loading…
Reference in a new issue