summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-04-05 21:21:23 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:10:40 +0200
commit031516d69a4cd8d4d5c4ed6989b1f5b39eb607c1 (patch)
treee8aca0b89fdde0a83b0fa768204053be91cfcd2e
parent30b7704a57001aabe3335c9feed8b35fe87ddbb8 (diff)
downloadguix-031516d69a4cd8d4d5c4ed6989b1f5b39eb607c1.tar.gz
gnu: Add java-hamcrest-library.
* gnu/packages/java.scm (java-hamcrest-library): New variable.
-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")