1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 06:45:55 +02:00

gnu: Add java-mime4j-core.

* gnu/packages/java.scm (java-mime4j-core): New variable.

Change-Id: Ib8428083de309baccfc0c0480937be52a466928a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Hartmut Goebel
2024-12-22 18:42:01 +01:00
committed by Rutherther
parent ecd2182563
commit 072eae9260
+30
View File
@@ -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")