guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49867] [PATCH 04/29] gnu: Add ocaml-ipaddr.


From: pukkamustard
Subject: [bug#49867] [PATCH 04/29] gnu: Add ocaml-ipaddr.
Date: Wed, 4 Aug 2021 07:15:20 +0000

* gnu/packages/ocaml.scm (ocaml-ipaddr): New variable.
---
 gnu/packages/ocaml.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 46adb95b93..08c45f46a7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7229,6 +7229,25 @@ another.")
 address representations.")
     (license license:isc)))
 
+(define-public ocaml-ipaddr
+  (package
+    (inherit ocaml-macaddr)
+    (name "ocaml-ipaddr")
+    (arguments `(#:package "ipaddr"
+                 #:test-target "."))
+    (propagated-inputs
+     `(("ocaml-macaddr" ,ocaml-macaddr)
+       ("ocaml-stdlib-shims" ,ocaml-stdlib-shims)
+       ("ocaml-cstruct" ,ocaml-cstruct)
+       ("ocaml-domain-name" ,ocaml-domain-name)))
+    (native-inputs
+     `(("ocaml-ounit" ,ocaml-ounit)
+       ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)))
+    (synopsis "OCaml library for manipulation of IP address representations")
+    (description "This OCaml library provides functions for manipulating IP
+address representations.  It supports IPv4 and IPv6.")
+    (license license:isc)))
+
 (define-public js-of-ocaml
   (package
     (name "js-of-ocaml")
-- 
2.32.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]