all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 75038@debbugs.gnu.org
Subject: [bug#75038] [PATCH 04/14] gnu: Add java-mime4j-core.
Date: Sun, 22 Dec 2024 23:51:36 +0100	[thread overview]
Message-ID: <da65a7d781a497f14d71840d3227ffa8677ff000.1734907747.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <3f1bdcf8236ffb1a8719bbaef20997c1228945c0.1734907747.git.h.goebel@crazy-compilers.com>

* gnu/packages/java.scm (java-mime4j-core): New variable.
---
 gnu/packages/java.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ed895d8dbf..e7b72eeb0d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2022 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>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11835,6 +11836,35 @@ (define-public java-mapdb
 disk storage or off-heap memory.")
     (license license:bsd-3)))
 
+(define-public java-mime4j-core
+  (package
+    (name "java-mime4j-core")
+    (version "0.8.11")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://apache/james/mime4j/" version
+                                  "/james-mime4j-sources-" version ".zip"))
+              (sha256
+               (base32
+                "1ba1cglpjll3dggahadh8x23s6bwfzpgljyl0scspyn8g26k9ha4"))))
+    (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")
-- 
2.41.1





  parent reply	other threads:[~2024-12-22 22:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-22 22:50 [bug#75038] [PATCH 01/14] gnu: Add apache-parent-pom-33 Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 02/14] gnu: Add apache-commons-parent-pom-78 Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 03/14] gnu: Add java-commons-io-2.18 Hartmut Goebel
2024-12-22 22:51 ` Hartmut Goebel [this message]
2024-12-22 22:51 ` [bug#75038] [PATCH 05/14] gnu: Add java-jakarta-activation-api Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 06/14] gnu: Add java-axiom-base64-utils Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 07/14] gnu: Add java-axiom-xml-utils Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 08/14] gnu: Add java-axiom-core-streams Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 09/14] gnu: Add java-axiom-weaver-annotations Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 10/14] gnu: Add java-axiom-api Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 11/14] gnu: Add java-axiom-core-mixins Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 12/14] gnu: Add java-axiom-om-mixins Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 13/14] gnu: Add java-axiom-impl Hartmut Goebel
2024-12-22 22:51 ` [bug#75038] [PATCH 14/14] gnu: Add java-saxon-he-10 Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da65a7d781a497f14d71840d3227ffa8677ff000.1734907747.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=75038@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.