gnu: Add python-paramunittest

* gnu/packages/python.scm (python-paramunittest, python2-paramunittest): New
variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Muriithi Frederick Muriuki 2017-03-26 12:23:34 +03:00 committed by Leo Famulari
parent 3061b33190
commit 5d0c3ba856
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -13914,3 +13914,29 @@ (define-public python2-pylint
,python2-backports-functools-lru-cache)
("python2-configparser" ,python2-configparser)
,@(package-propagated-inputs pylint))))))
(define-public python-paramunittest
(package
(name "python-paramunittest")
(version "0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ParamUnittest" version))
(sha256
(base32
"0kp793hws5xv1wvycxq7jw2pwy36f35k39jg8hx5qikij5a0jid1"))))
(build-system python-build-system)
(home-page
"https://github.com/rik0/ParamUnittest")
(synopsis
"Simple extension to have parametrized unit tests")
(description
"This package allows to create parametrized unit-tests that work with the standard
unittest package. A parametrized test case is automatically converted to multiple test
cases. Since they are TestCase subclasses, they work with other test suites that
recognize TestCases.")
(license license:bsd-2)))
(define-public python2-python-paramunittest
(package-with-python2 python-paramunittest))