3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add python-pytest-datadir.

* gnu/packages/check.scm (python-pytest-datadir): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Hugo Lecomte 2021-07-05 09:29:26 +02:00 committed by Ludovic Courtès
parent 68a33f3d19
commit 778ae273e9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -36,6 +36,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -2918,3 +2919,26 @@ to mark some tests as dependent from other tests. These tests will then be
skipped if any of the dependencies did fail or has been skipped.")
(license license:asl2.0)))
(define-public python-pytest-datadir
(package
(name "python-pytest-datadir")
(version "1.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-datadir" version))
(sha256
(base32
"066bg6wlzgq2pqnjp73dfrcmk8951xw3aqcxa3p1axgqimrixbyk"))))
(build-system python-build-system)
(native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm)))
(propagated-inputs
`(("python-pytest" ,python-pytest)
("python-wheel" ,python-wheel)))
(home-page "https://github.com/gabrielcnr/pytest-datadir")
(synopsis "Pytest plugin for manipulating test data directories and files")
(description
"This package provides a Pytest plugin for manipulating test data
directories and files.")
(license license:expat)))