guix-commits
[Top][All Lists]
Advanced

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

06/08: gnu: Add java-jakarta-oro.


From: julien lepiller
Subject: 06/08: gnu: Add java-jakarta-oro.
Date: Thu, 5 Apr 2018 13:48:15 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit f7b512c0842f19c415c4ada666b30ed7235effcb
Author: Julien Lepiller <address@hidden>
Date:   Wed Mar 14 16:25:50 2018 +0100

    gnu: Add java-jakarta-oro.
    
    * gnu/packages/java.scm (java-jakarta-oro): New variable.
---
 gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 9efb8d2..2806011 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9423,3 +9423,37 @@ different file systems.  It presents a uniform view of 
the files from various
 different sources, such as the files on local disk, on an HTTP server, or
 inside a Zip archive.")
     (license license:asl2.0)))
+
+(define-public java-jakarta-oro
+  (package
+    (name "java-jakarta-oro")
+    (version "2.0.8")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"https://archive.apache.org/dist/jakarta/oro/";
+                                  "jakarta-oro-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0rpmnsskiwmsy8r0sckz5n5dbvh3vkxx8hpm177c754r8xy3qksc"))
+              (modules '((guix build utils)))
+              (snippet
+               `(begin
+                  (delete-file (string-append "jakarta-oro-" ,version ".jar"))
+                  #t))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:build-target "package"
+       #:tests? #f; tests are run as part of the build process
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (install-jars ,(string-append "jakarta-oro-" version))))))
+    (home-page "https://jakarta.apache.org/oro/";)
+    (synopsis "Text-processing for Java")
+    (description "The Jakarta-ORO Java classes are a set of text-processing
+Java classes that provide Perl5 compatible regular expressions, AWK-like
+regular expressions, glob expressions, and utility classes for performing
+substitutions, splits, filtering filenames, etc.  This library is the successor
+of the OROMatcher, AwkTools, PerlTools, and TextTools libraries originally
+from ORO, Inc.")
+    (license license:asl1.1)))



reply via email to

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