GNU bug report logs - #73466
[PATCH 01/16] gnu: Add ocaml-jsonrpc.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Wed, 25 Sep 2024 07:56:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 73466 <at> debbugs.gnu.org
Cc: Julien Lepiller <julien <at> lepiller.eu>, pukkamustard <pukkamustard <at> posteo.net>
Subject: [bug#73466] [PATCH v2 04/15] gnu: Add ocaml-zmq.
Date: Thu, 26 Sep 2024 09:23:34 +0200
* gnu/packages/ocaml.scm (ocaml-zmq): Add variable.

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 580d48e354..b7160cab36 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages ocaml)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages networking)
   #:use-module (gnu packages node)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -9488,6 +9489,33 @@ (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 git-fetch)
+       (uri (git-reference
+              (url "https://github.com/issuu/ocaml-zmq")
+              (commit version)))
+       (sha256
+        (base32 "0siialyjxr7qhns6g0xi6v4z042y40240z6fkh775fi6q1mhslxh"))))
+    (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 available 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





This bug report was last modified 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.