diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-10-24 22:08:38 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-11-02 13:06:41 +0100 |
commit | 045124ae2fd959dd1860170b03c89a0dd9d0ebe0 (patch) | |
tree | edd9e932a63fdddead75734efb4aa8712a6c7a5f /gnu | |
parent | 11bc385b7b3a1e2a06ca93f39dc211572c4e5d89 (diff) | |
download | patches-045124ae2fd959dd1860170b03c89a0dd9d0ebe0.tar patches-045124ae2fd959dd1860170b03c89a0dd9d0ebe0.tar.gz |
gnu: Add java-jmock.
* gnu/packages/java.scm (java-jmock): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index a9df37ee4e..ac1f1bf0bb 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2539,6 +2539,31 @@ The jMock library @end itemize\n") (license license:bsd-3))) +(define-public java-jmock + (package + (inherit java-jmock-1) + (name "java-jmock") + (version "2.8.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jmock-developers/" + "jmock-library/archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18650a9g8xffcsdb6w91pbswa7f40fp2sh6s3nclkclz5dbzq8f0")))) + (inputs + `(("java-hamcrest-all" ,java-hamcrest-all) + ("java-asm" ,java-asm) + ("java-bsh" ,java-bsh) + ("java-junit" ,java-junit))) + (native-inputs + `(("cglib" ,java-cglib))) + (arguments + `(#:jar-name "java-jmock.jar" + #:source-dir "jmock/src/main/java" + #:test-dir "jmock/src/test")))) + (define-public java-hamcrest-all (package (inherit java-hamcrest-core) (name "java-hamcrest-all") |