From b8f827e85b73b65a4beb44520b3794932ebaa2c1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 4 Oct 2023 21:59:26 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.zmq:=205.1.5=20=E2=86=92=205.2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/zmq/default.nix | 10 +++------- pkgs/development/ocaml-modules/zmq/lwt.nix | 5 ++--- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/development/ocaml-modules/zmq/default.nix b/pkgs/development/ocaml-modules/zmq/default.nix index 267566d7ba0a..b92d8e6cb867 100644 --- a/pkgs/development/ocaml-modules/zmq/default.nix +++ b/pkgs/development/ocaml-modules/zmq/default.nix @@ -2,19 +2,15 @@ buildDunePackage rec { pname = "zmq"; - version = "5.1.5"; - - duneVersion = "3"; + version = "5.2.1"; src = fetchurl { - url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-lwt-${version}.tbz"; - sha256 = "sha256-mUfRPatLPFeSzWDwCIoFaVl85VkvDch4i6pOn3Kme1Y="; + url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-${version}.tbz"; + hash = "sha256-hVKfaTrUFqEBsv5hFB7JwsR630M0DKnqhB0QHpxcHKc="; }; buildInputs = [ czmq dune-configurator ]; - propagatedBuildInputs = [ stdint ]; - meta = { description = "ZeroMQ bindings for OCaml"; license = lib.licenses.mit; diff --git a/pkgs/development/ocaml-modules/zmq/lwt.nix b/pkgs/development/ocaml-modules/zmq/lwt.nix index f6408933452c..1bbc1b7ad63e 100644 --- a/pkgs/development/ocaml-modules/zmq/lwt.nix +++ b/pkgs/development/ocaml-modules/zmq/lwt.nix @@ -1,9 +1,8 @@ -{ buildDunePackage, zmq, ocaml_lwt }: +{ buildDunePackage, zmq, lwt }: buildDunePackage { pname = "zmq-lwt"; inherit (zmq) version src meta; - duneVersion = "3"; - propagatedBuildInputs = [ zmq ocaml_lwt ]; + propagatedBuildInputs = [ zmq lwt ]; }