From bee338a65d36b56e539f35865ecd471e57f74168 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 22 Dec 2024 18:44:06 +0100 Subject: 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 --- gnu/packages/java-xml.scm | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) (limited to 'gnu') 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 ;;; Copyright © 2022 Christopher Baines ;;; Copyright © 2023 Frank Pursel +;;; Copyright © 2024, 2025 Hartmut Goebel ;;; ;;; 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))) -- cgit v1.3