guix_mirror_bot pushed a commit to branch next-master
in repository guix.
commit 6bfab7b3fbf7b725f6eb0eeb069e0038246f761d
Author: Hartmut Goebel <[email protected]>
AuthorDate: Sun Dec 22 18:44:06 2024 +0100
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
---
gnu/packages/java-xml.scm | 35 +++++++++++++++++++++++++++++------
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 0153e26ef8..13b65cacea 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021 Léo Le Bouter <[email protected]>
;;; Copyright © 2022 Christopher Baines <[email protected]>
;;; Copyright © 2023 Frank Pursel <[email protected]>
+;;; Copyright © 2024, 2025 Hartmut Goebel <[email protected]>
;;;
;;; 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)))