From 33db1681816e8e1ce2df685e2c29e255d33fdf58 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 25 Oct 2017 23:38:36 +0200 Subject: gnu: Add java-powermock-modules-junit4. * gnu/packages/java.scm (java-powermock-modules-junit4): New variable. --- gnu/packages/java.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 77e34a2f90..329d2ad815 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6874,3 +6874,25 @@ (define-public java-powermock-modules-junit4-common ("reflect" ,java-powermock-reflect) ("hamcrest" ,java-hamcrest-core) ("cglib" ,java-cglib))))) + +(define-public java-powermock-modules-junit4 + (package + (inherit java-powermock-reflect) + (name "java-powermock-modules-junit4") + (build-system ant-build-system) + (arguments + `(#:jar-name "java-powermock-modules-junit4.jar" + #:jdk ,icedtea-8 + #:source-dir "powermock-modules/powermock-module-junit4/src/main/java" + #:test-dir "powermock-modules/powermock-module-junit4/src/test")) + (inputs + `(("core" ,java-powermock-core) + ("reflect" ,java-powermock-reflect) + ("common" ,java-powermock-modules-junit4-common) + ("cglib" ,java-cglib))) + (native-inputs + `(("easymock" ,java-easymock) + ("hamcrest" ,java-hamcrest-core) + ("objenesis" ,java-objenesis) + ("asm" ,java-asm) + ("junit" ,java-junit))))) -- cgit v1.2.3