gnu: ocaml5: Add ocaml-ipaddr.

* gnu/packages/ocaml5.scm (ocaml-ipaddr): New variable.

Change-Id: I4ec2fe34374f4d994cde735e7cbd0bd25d861b0a
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Jason Conroy
2026-02-16 10:31:56 -05:00
committed by Julien Lepiller
parent f94a40ec1e
commit 0e8345bb86

View File

@@ -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