guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit c3124f07bf99cc7821a3f05548d23e4187439d4c
Author: Jason Conroy <[email protected]>
AuthorDate: Mon Feb 16 08:38:55 2026 -0500
gnu: ocaml5: Add ocaml-emile.
* gnu/packages/ocaml5.scm (ocaml-emile): New variable.
Change-Id: I8cecea2216848ff62c6c9106c2581ddbb0614723
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 6f1b066fd8..c48c6bff32 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3734,6 +3734,35 @@ according to RFC2045 and RFC2047 (about encoded-word).
Useful to translate
contents of emails.")
(license license:expat)))
+(define-public ocaml-emile
+ (package
+ (name "ocaml5-emile")
+ (version "1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mirage/emile/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gc442gncngwai2y0y5bb018mp5450rg0x0g1cgi384kp07mmn0z"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-angstrom
+ ocaml-ipaddr
+ ocaml-base64
+ ocaml-pecu
+ ocaml-bigstringaf
+ ocaml-uutf))
+ (native-inputs (list ocaml-alcotest))
+ (home-page "https://github.com/mirage/emile")
+ (synopsis "RFC822 emaila address parser")
+ (description
+ "This package provides a parser of email addresses according to RFC822,
+RFC2822, RFC5321 and RFC6532. It handles UTF-8 email addresses and
+encoded-word according to RFC2047.")
+ (license license:expat)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar