guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit 8e01dd2f4d76acc2d5d0760a5a44110c297f9c5c
Author: Jason Conroy <[email protected]>
AuthorDate: Mon Feb 16 10:31:56 2026 -0500

    gnu: ocaml5: Add ocaml-ipaddr.
    
    * gnu/packages/ocaml5.scm (ocaml-ipaddr): New variable.
    
    Change-Id: I4ec2fe34374f4d994cde735e7cbd0bd25d861b0a
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 821acf07d7..82a31145ee 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3291,6 +3291,31 @@ Parsers are backtracking by default and support 
unbounded lookahead.")
 @end itemize")
     (license license:isc)))
 
+(define-public ocaml-ipaddr
+  (package
+    (name "ocaml5-ipaddr")
+    (version "5.3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mirage/ocaml-ipaddr/";)
+             (commit (string-append "v" version))))
+       (file-name name)
+       (sha256
+        (base32 "1zgwx0ms3l4k4dzwnkrwq4zzqjrddjsvqn66mbd0rm6aq1ib019d"))))
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "ipaddr"))
+    (propagated-inputs (list ocaml-macaddr ocaml-domain-name))
+    (native-inputs (list ocaml-ounit2 ocaml-ppx-sexp-conv))
+    (home-page "https://github.com/mirage/ocaml-ipaddr";)
+    (synopsis "Manipulates IP address representations")
+    (description
+     "This library provides IP address types with serialization, supporting a 
wide
+range of RFCs.")
+    (license license:isc)))
+
 ;;;
 ;;; 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

Reply via email to