aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2017-01-25 16:02:16 +0300
committerMuriithi Frederick Muriuki2017-01-25 16:02:16 +0300
commitcba8a3e085bb7f83ebd75dfa9ccf0ba37bfc9bc2 (patch)
tree23161e1a164646ff0b03f39f5a28946bf3975aca /gn
parent775b9e6bbfa0fab13de92e49a8917d77ef20f15a (diff)
downloadguix-bioinformatics-cba8a3e085bb7f83ebd75dfa9ccf0ba37bfc9bc2.tar.gz
python.scm: Add new package python-ddt
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/python.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 8b73df6..366511a 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -599,3 +599,31 @@ numpy package, though some legacy software still uses the older versions.")
thresholds can be set for the complexity of code. It will fail (i.e. it will exit with
a non-zero exit code) when any of these requirements is not met")
(license license:expat)))
+
+(define-public python-ddt
+ (package
+ (name "python-ddt")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/83/96/21a2cef2962a07768854d411a97366292669"
+ "3173887560895e962cf952c9/ddt-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-six" ,python-six)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)))
+ (home-page "https://github.com/txels/ddt")
+ (synopsis "Data-Driven/Decorated Tests")
+ (description "DDT (Data-Driven Tests) allows you to multiply one test case by running
+ it with different test data, and make it appear as multiple test cases")
+ (license (license:non-copyleft
+ "https://github.com/txels/ddt/blob/master/LICENSE.md"))))