guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: Add address@hidden


From: Ludovic Courtès
Subject: 02/06: gnu: Add address@hidden
Date: Thu, 20 Jul 2017 05:57:21 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 742242a5bede366819fa2058b8897072ba710c94
Author: Gábor Boskovits <address@hidden>
Date:   Wed Jul 5 17:48:51 2017 +0200

    gnu: Add address@hidden
    
    * gnu/packages/java.scm(java-commons-cli-1.2): New variable.
    
    Co-authored-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f231380..de992c6 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4672,3 +4672,28 @@ generate classes, directly in binary form.  The provided 
common
 transformations and analysis algorithms allow to easily assemble custom
 complex transformations and code analysis tools.")
     (license license:bsd-3)))
+
+(define-public java-commons-cli-1.2
+  ;; This is a bootstrap dependency for Maven2.
+  (package
+    (inherit java-commons-cli)
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://apache/commons/cli/source/"
+                                  "commons-cli-" version "-src.tar.gz"))
+              (sha256
+               (base32
+                "0rvfgzgv2pc1m091dfj3ih9ddsjjppr1f1wf0qmc3bk6b1kwv2dm"))))
+    (arguments
+     `(#:jar-name "commons-cli.jar"
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'fix-build-xml
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "build.xml"
+               (("dir=\"\\$\\{test.home\\}/java\"")
+                "dir=\"${test.home}\""))
+             #t)))))
+    (native-inputs
+     `(("java-junit" ,java-junit)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]