unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27588] [PATCH] Add java-commons-cli-1.2.
@ 2017-07-05 15:48 Gábor Boskovits
       [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
  2017-07-20  9:00 ` bug#27588: [PATCH] Add java-commons-cli-1.2 Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2017-07-05 15:48 UTC (permalink / raw)
  To: 27588; +Cc: Gábor Boskovits

* gnu/packages/java.scm(java-commons-cli-1.2): New variable.
---
 gnu/packages/java.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e074dab46..c39c85177 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4570,3 +4570,27 @@ 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)))
+
+;;maven2 bootstrap dependecies
+(define-public java-commons-cli-1.2
+  (package (inherit java-commons-cli)
+    (name "java-commons-cli-1.2")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://archive.apache.org/dist/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}\"")))))))
+    (native-inputs
+     `(("java-junit",java-junit)))))
+;;end of maven2 bootstrap dependecies
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-20  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 15:48 [bug#27588] [PATCH] Add java-commons-cli-1.2 Gábor Boskovits
     [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
2017-07-05 15:58   ` [bug#27588] Acknowledgement ([PATCH] Add java-commons-cli-1.2.) Gábor Boskovits
2017-07-20  9:00 ` bug#27588: [PATCH] Add java-commons-cli-1.2 Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).