diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-10-04 15:03:48 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-04 15:19:52 +0200 |
commit | 63aa8558ada81b291723796d940d430067ac7270 (patch) | |
tree | ae915d196ae64036876e163ac2290f49d0b82268 /gnu | |
parent | cb91edebdaef4d9512100ed5328b09a151d83d65 (diff) | |
download | patches-63aa8558ada81b291723796d940d430067ac7270.tar patches-63aa8558ada81b291723796d940d430067ac7270.tar.gz |
gnu: Add python-parameterized.
* gnu/packages/check.scm (python-parameterized, python2-parameterized): New
variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/check.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index fcfedb99aa..45ac7d786c 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2017 ng0 <ng0@infotropique.org> +;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -294,3 +295,26 @@ generation.") C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project.") (license bsd-3))) + +(define-public python-parameterized + (package + (name "python-parameterized") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "parameterized" version)) + (sha256 + (base32 + "1qj1939shm48d9ql6fm1nrdy4p7sdyj8clz1szh5swwpf1qqxxfa")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; there are no tests + (home-page "https://github.com/wolever/parameterized") + (synopsis "Parameterized testing with any Python test framework") + (description + "Parameterized is a Python library that aims to fix parameterized testing +for every Python test framework. It supports nose, py.test, and unittest.") + (license bsd-2))) + +(define-public python2-parameterized + (package-with-python2 python-parameterized)) |