summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2022-09-29 18:47:18 +0200
committerGuix Patches Tester <>2022-10-24 00:36:12 +0100
commite831f1ecbd540f91287bd619d5e0acdf403ae2a5 (patch)
treef0fc7de4c6db36d78ada4f5cadf79ea09bed5fe2
parent96e819867845c8c8e17edd065dae6bd1f98bd76a (diff)
downloadguix-patches-e831f1ecbd540f91287bd619d5e0acdf403ae2a5.tar
guix-patches-e831f1ecbd540f91287bd619d5e0acdf403ae2a5.tar.gz
gnu: Add ocaml-ipaddr.issue-58173
* gnu/packages/ocaml-mirage.scm (ocaml-ipaddr): New variable.
-rw-r--r--gnu/packages/ocaml-mirage.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/ocaml-mirage.scm b/gnu/packages/ocaml-mirage.scm
index b1389507d5..488d46fcf5 100644
--- a/gnu/packages/ocaml-mirage.scm
+++ b/gnu/packages/ocaml-mirage.scm
@@ -92,3 +92,16 @@ length of domain names are preserved throughout the module.")
`Macaddr_sexp` library
@end itemize")
(license license:isc)))
+
+(define-public ocaml-ipaddr
+ ;; same repo and versions as ocaml-macaddr
+ (package
+ (inherit ocaml-macaddr)
+ (name "ocaml-ipaddr")
+ (arguments (ipaddr-arguments "macaddr"))
+ (propagated-inputs (list ocaml-macaddr ocaml-domain-name))
+ (synopsis
+ "Library for manipulation of IP (and MAC) address representations")
+ (description
+ "IP address types with serialization, supporting a wide range of RFCs.")
+ (license license:isc)))