diff options
| author | 宋文武 <iyzsong@gmail.com> | 2016-06-23 23:06:52 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@gmail.com> | 2016-06-25 20:49:59 +0800 |
| commit | 9250b0f3bf05da7e3f8b1cfaf9ce0c603ed72abf (patch) | |
| tree | 313743d34ded861d41aa23e3ec6b06ab6646d46a /gnu/packages/python.scm | |
| parent | 8ea8e8d3c332d2b187c26762c8e9e7930f6c2cb7 (diff) | |
gnu: Add python-chai and python2-chai.
* gnu/packages/python.scm (python-chai, python2-chai): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8c34ff2e46c..0c9bd22ee6d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> | 21 | ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> |
| 22 | ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> | 22 | ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> |
| 23 | ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org> | 23 | ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org> |
| 24 | ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com> | ||
| 24 | ;;; | 25 | ;;; |
| 25 | ;;; This file is part of GNU Guix. | 26 | ;;; This file is part of GNU Guix. |
| 26 | ;;; | 27 | ;;; |
| @@ -9291,3 +9292,27 @@ It supports both the original 1.0 specification, as well as the | |||
| 9291 | new (proposed) 2.0 spec, which includes batch submission, keyword arguments, | 9292 | new (proposed) 2.0 spec, which includes batch submission, keyword arguments, |
| 9292 | etc.") | 9293 | etc.") |
| 9293 | (license asl2.0))) | 9294 | (license asl2.0))) |
| 9295 | |||
| 9296 | (define-public python-chai | ||
| 9297 | (package | ||
| 9298 | (name "python-chai") | ||
| 9299 | (version "1.1.1") | ||
| 9300 | (source (origin | ||
| 9301 | (method url-fetch) | ||
| 9302 | (uri (pypi-uri "chai" version)) | ||
| 9303 | (sha256 | ||
| 9304 | (base32 | ||
| 9305 | "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl")))) | ||
| 9306 | (build-system python-build-system) | ||
| 9307 | (native-inputs | ||
| 9308 | `(("python-setuptools" ,python-setuptools))) | ||
| 9309 | (home-page "https://github.com/agoragames/chai") | ||
| 9310 | (synopsis "Mocking framework for Python") | ||
| 9311 | (description | ||
| 9312 | "Chai provides an api for mocking, stubbing and spying your python | ||
| 9313 | objects, patterned after the Mocha library for Ruby.") | ||
| 9314 | (license bsd-3))) | ||
| 9315 | |||
| 9316 | (define-public python2-chai | ||
| 9317 | (package-with-python2 python-chai)) | ||
| 9318 | |||
