summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-02-10 18:47:34 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-02-10 19:04:44 +0100
commit73a1f10a80397597436d08e1992412148dbceea8 (patch)
treed97d3e74f608a0fa95dd20eefc1d6e8194891f2b /gnu/packages/java.scm
parent7ac4f054e74acdf45edac0d3e454e4eeb0dd33cc (diff)
downloadguix-73a1f10a80397597436d08e1992412148dbceea8.tar.gz
gnu: Add java-xmlunit-legacy.
* gnu/packages/java.scm (java-xmlunit-legacy): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index edc6f2aaca..e714a031c8 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8334,3 +8334,17 @@ emit is the one you want to create.  It provides helpers to validate against
 an XML Schema, assert the values of XPath queries or compare XML documents
 against expected outcomes.")
     (license license:asl2.0)))
+
+(define-public java-xmlunit-legacy
+  (package
+    (inherit java-xmlunit)
+    (name "java-xmlunit-legacy")
+    (arguments
+     `(#:jar-name "java-xmlunit-legacy.jar"
+       #:source-dir "xmlunit-legacy/src/main/java"
+       #:test-dir "xmlunit-legacy/src/test"))
+    (inputs
+     `(("java-xmlunit" ,java-xmlunit)
+       ("java-junit" ,java-junit)))
+    (native-inputs
+     `(("java-mockito-1" ,java-mockito-1)))))