[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#58172] [PATCH 3/3] gnu: Add ocaml-ipaddr.
From: |
raingloom |
Subject: |
[bug#58172] [PATCH 3/3] gnu: Add ocaml-ipaddr. |
Date: |
Thu, 29 Sep 2022 18:47:18 +0200 |
* gnu/packages/ocaml-mirage.scm (ocaml-ipaddr): New variable.
---
This is the first of a number of packages needed to get MirageOS building under
Guix.
gnu/packages/ocaml-mirage.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
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 @@ (define-public ocaml-macaddr
`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)))
--
2.37.3