diff options
author | Fis Trivial <ybbs.daans@hotmail.com> | 2017-12-31 17:35:41 +0000 |
---|---|---|
committer | Kei Kebreau <kkebreau@posteo.net> | 2018-01-07 20:20:26 -0500 |
commit | 18a4d6df24b135d7bb448f799acc85d838c99bfd (patch) | |
tree | 0dee397b68d4d0c1d036060cc91184337b193511 /gnu/packages/check.scm | |
parent | c04ffadbed7412545555b8be6b78f23eed150d26 (diff) | |
download | patches-18a4d6df24b135d7bb448f799acc85d838c99bfd.tar patches-18a4d6df24b135d7bb448f799acc85d838c99bfd.tar.gz |
gnu: Add python-pyhamcrest.
* gnu/packages/check.scm (python-pyhamcrest, python2-pyhamcrest): New
variables.
Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r-- | gnu/packages/check.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 05ed3eea32..40cce18f92 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1766,3 +1766,37 @@ retried.") (define-public python2-flaky (package-with-python2 python-flaky)) + +(define-public python-pyhamcrest + (package + (name "python-pyhamcrest") + (version "1.9.0") + (source (origin + (method url-fetch) + (uri + (string-append + "https://github.com/hamcrest/PyHamcrest/archive/V" + version + ".tar.gz")) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lqjajhwf7x7igvvnj5p1cm31y9njy07qby94w18kl6zwbdjqrwy")))) + (native-inputs ; All native inputs are for tests + `(("python-pytest-cov" ,python-pytest-cov) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest-3.0) + ("python-hypothesis" ,python-hypothesis))) + (propagated-inputs + `(("python-six" ,python-six))) + (build-system python-build-system) + (home-page "http://hamcrest.org/") + (synopsis "Hamcrest matchers for Python") + (description + "PyHamcrest is a framework for writing matcher objects, + allowing you to declaratively define \"match\" rules.") + (license license:bsd-3))) + +(define-public python2-pyhamcrest + (package-with-python2 python-pyhamcrest)) |