Subject: [PATCH 14/16] gnu: Add ocaml-zmq.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Sep 2024 10:03:10 +0200

* gnu/packages/ocaml.scm (ocaml-zmq): Add variable.

Change-Id: I3b51d45fb966f945487323a83f4363720ad0dc19
---
 gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7450f25f12..cc3d18b6af 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9791,6 +9791,32 @@ (define-public ocaml-guile
 3.0, supporting easy interop between OCaml and GNU Guile Scheme.")
     (license license:gpl3+)))
 
+(define-public ocaml-zmq
+  (package
+    (name "ocaml-zmq")
+    (version "5.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/issuu/ocaml-zmq/releases"
+                           "/download/" version "/zmq-" version ".tbz"))
+       (sha256
+        (base32 "1a7vfnq8jhrk08jar5406m7wfahwankc1k71cy3zbvrnb2cl5sxm"))))
+    (build-system dune-build-system)
+    (arguments (list #:package "zmq"))
+    (propagated-inputs (list dune-configurator ocaml-odoc zeromq))
+    (native-inputs (list ocaml-async-kernel
+                         ocaml-base
+                         ocaml5.0-eio-main
+                         ocaml-ounit2))
+    (home-page "https://github.com/issuu/ocaml-zmq")
+    (synopsis "OCaml bindings for ZeroMQ 4.x")
+    (description
+     "This library contains basic bindings for ZMQ. Lwt aware bindings to zmq are
+availble though package zmq-lwt Async aware bindings to zmq are available though
+package zmq-async.")
+    (license license:expat)))
+
 ;;;
 ;;; 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
-- 
2.45.2