diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2024-12-22 18:42:01 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:25:12 +0100 |
| commit | 072eae92600b0c992fd31c6fcb85628d3f6475b6 (patch) | |
| tree | ff1f766dc436dd9227e6f3c3b77e274b70f88fce /gnu | |
| parent | ecd2182563712a3d62db0b43a94e8a8920c55814 (diff) | |
gnu: Add java-mime4j-core.
* gnu/packages/java.scm (java-mime4j-core): New variable.
Change-Id: Ib8428083de309baccfc0c0480937be52a466928a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/java.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f18d1afc140..07adcb2429d 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> +;;; Copyright © 2024 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2025 Julian Flake <julian@flake.de> ;;; @@ -11927,6 +11928,35 @@ protocol-independent framework to build mail and messaging applications.") disk storage or off-heap memory.") (license license:bsd-3))) +(define-public java-mime4j-core + (package + (name "java-mime4j-core") + (version "0.8.13") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/james/mime4j/" version + "/james-mime4j-sources-" version ".zip")) + (sha256 + (base32 + "0f1r0ywa1qdw2b227c93v3fksqp9bgll00bqw1md1894v3szm9ca")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f ;; has no tests + #:source-dir "core/src/main/java" + #:jar-name "apache-mime4j-core.jar")) + (native-inputs + (list java-commons-io-latest ;; requries >= 2.7 + java-junit + unzip)) + (home-page "https://james.apache.org/mime4j/apache-mime4j-core/") + (synopsis "Java stream based MIME message parser") + (description "Apache James Mime4J provides a parser, MimeStreamParser, for +e-mail message streams in plain rfc822 and MIME format. The parser uses a +callback mechanism to report parsing events such as the start of an entity +header, the start of a body, etc. If you are familiar with the SAX XML parser +interface you should have no problem getting started with mime4j.") + (license license:asl2.0))) + (define-public java-jeromq (package (name "java-jeromq") |
