gnu: Add python-flexmock and python2-flexmock.

* gnu/packages/python.scm (python-flexmock, python2-flexmock): New variables.
This commit is contained in:
宋文武 2016-06-25 22:50:12 +08:00
parent b49504fd8c
commit 347175a27c
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 23 additions and 0 deletions

View File

@ -9594,3 +9594,26 @@ YAML-serialized data.")
(define-public python2-pyaml (define-public python2-pyaml
(package-with-python2 python-pyaml)) (package-with-python2 python-pyaml))
(define-public python-flexmock
(package
(name "python-flexmock")
(version "0.10.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "flexmock" version))
(sha256
(base32
"0arc6njvs6i9v9hgvzk5m50296g7zy5m9d7pyb43vdsdgxrci5gy"))))
(build-system python-build-system)
(native-inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "https://flexmock.readthedocs.org")
(synopsis "Testing library for Python")
(description
"flexmock is a testing library for Python that makes it easy to create
mocks, stubs and fakes.")
(license bsd-3)))
(define-public python2-flexmock
(package-with-python2 python-flexmock))