summaryrefslogtreecommitdiff
path: root/gnu/packages/java-xml.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2024-12-22 18:44:06 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:25:14 +0100
commitbee338a65d36b56e539f35865ecd471e57f74168 (patch)
tree9d0cfc94f6bf1652d10914510f763d42103797ad /gnu/packages/java-xml.scm
parent594d95260ef5384590a2623cd40dc34bf92f6071 (diff)
gnu: Add java-axiom-base64-utils.
* gnu/packages/java-xml.scm (%axiom-version): New variable. (axiom-source): New variable. (java-axiom-base64-utils): New variable. Change-Id: Ic66817f220fd3cf66ad773a092f9181f8360c78c Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/java-xml.scm')
-rw-r--r--gnu/packages/java-xml.scm35
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 0153e26ef8c..13b65cacea6 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021 Léo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2022 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
+;;; Copyright © 2024, 2025 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -733,12 +734,34 @@ changes of the Plexus fork. It is an implementation of the XMLPULL V1 API
(parser only).")
(license (license:non-copyleft "file://LICENSE.txt"))))
+;;; ----- Apache Axiom ------
+(define %axiom-version "1.4.0")
+(define axiom-source
+ (let ((version %axiom-version))
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/ws/axiom/" version
+ "/axiom-" version "-src.zip"))
+ (sha256
+ (base32
+ "0wig9s1s089d0zq8kjny1f34za23vb47k515iab72bnkq62bbm8y")))))
-
-
-
-
-
-
+(define-public java-axiom-base64-utils
+ (package
+ (name "java-axiom-base64-utils")
+ (version %axiom-version)
+ (source axiom-source)
+ (build-system ant-build-system)
+ (arguments
+ `(#:source-dir "components/base64-utils/src/main"
+ #:tests? #f ;; has no tests
+ #:jar-name "axiom-base64-utils.jar"))
+ (native-inputs
+ (list unzip))
+ (home-page "https://ws.apache.org/axiom/")
+ (synopsis "Apache Axiom base64 decoder and encoder")
+ (description "This package provides utility methods to work with base64
+encoded data.")
+ (license license:asl2.0)))