aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5f80b1342c..a3781a2da5 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3702,6 +3702,16 @@ declaratively, to be used in other frameworks. Typical scenarios include
testing frameworks, mocking libraries and UI validation rules.")
(license license:bsd-2)))
+(define-public java-hamcrest-library
+ (package
+ (inherit java-hamcrest-core)
+ (name "java-hamcrest-library")
+ (arguments
+ (substitute-keyword-arguments (package-arguments java-hamcrest-core)
+ ((#:build-target _) "library")))
+ (propagated-inputs
+ `(("java-hamcrest-core" ,java-hamcrest-core)))))
+
(define-public java-junit
(package
(name "java-junit")