~ruther/guix-local

347175a27c4e37aa2f8acb8024cadb5d28b11cac — 宋文武 9 years ago b49504f
gnu: Add python-flexmock and python2-flexmock.

* gnu/packages/python.scm (python-flexmock, python2-flexmock): New variables.
1 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +23 -0
@@ 9594,3 9594,26 @@ YAML-serialized data.")
(define-public python2-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))