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 | |
| 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>
| -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 @@ | |||
| 21 | ;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> | 21 | ;;; Copyright © 2022, 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> |
| 22 | ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> | 22 | ;;; Copyright © 2024 Paul A. Patience <paul@apatience.com> |
| 23 | ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> | 23 | ;;; Copyright © 2024 Raven Hallsby <karl@hallsby.com> |
| 24 | ;;; Copyright © 2024 Hartmut Goebel <h.goebel@crazy-compilers.com> | ||
| 24 | ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> | 25 | ;;; Copyright © 2025 Zheng Junjie <873216071@qq.com> |
| 25 | ;;; Copyright © 2025 Julian Flake <julian@flake.de> | 26 | ;;; Copyright © 2025 Julian Flake <julian@flake.de> |
| 26 | ;;; | 27 | ;;; |
| @@ -11927,6 +11928,35 @@ protocol-independent framework to build mail and messaging applications.") | |||
| 11927 | disk storage or off-heap memory.") | 11928 | disk storage or off-heap memory.") |
| 11928 | (license license:bsd-3))) | 11929 | (license license:bsd-3))) |
| 11929 | 11930 | ||
| 11931 | (define-public java-mime4j-core | ||
| 11932 | (package | ||
| 11933 | (name "java-mime4j-core") | ||
| 11934 | (version "0.8.13") | ||
| 11935 | (source (origin | ||
| 11936 | (method url-fetch) | ||
| 11937 | (uri (string-append "mirror://apache/james/mime4j/" version | ||
| 11938 | "/james-mime4j-sources-" version ".zip")) | ||
| 11939 | (sha256 | ||
| 11940 | (base32 | ||
| 11941 | "0f1r0ywa1qdw2b227c93v3fksqp9bgll00bqw1md1894v3szm9ca")))) | ||
| 11942 | (build-system ant-build-system) | ||
| 11943 | (arguments | ||
| 11944 | `(#:tests? #f ;; has no tests | ||
| 11945 | #:source-dir "core/src/main/java" | ||
| 11946 | #:jar-name "apache-mime4j-core.jar")) | ||
| 11947 | (native-inputs | ||
| 11948 | (list java-commons-io-latest ;; requries >= 2.7 | ||
| 11949 | java-junit | ||
| 11950 | unzip)) | ||
| 11951 | (home-page "https://james.apache.org/mime4j/apache-mime4j-core/") | ||
| 11952 | (synopsis "Java stream based MIME message parser") | ||
| 11953 | (description "Apache James Mime4J provides a parser, MimeStreamParser, for | ||
| 11954 | e-mail message streams in plain rfc822 and MIME format. The parser uses a | ||
| 11955 | callback mechanism to report parsing events such as the start of an entity | ||
| 11956 | header, the start of a body, etc. If you are familiar with the SAX XML parser | ||
| 11957 | interface you should have no problem getting started with mime4j.") | ||
| 11958 | (license license:asl2.0))) | ||
| 11959 | |||
| 11930 | (define-public java-jeromq | 11960 | (define-public java-jeromq |
| 11931 | (package | 11961 | (package |
| 11932 | (name "java-jeromq") | 11962 | (name "java-jeromq") |
