ocamlPackages.zmq: use Dune 2

This commit is contained in:
Vincent Laporte 2021-02-08 09:04:07 +01:00 committed by Vincent Laporte
parent 69dd7d2068
commit bc85b5b992
2 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,12 @@
{ lib, fetchFromGitHub, buildDunePackage, czmq, stdint }:
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, czmq, stdint }:
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "zmq";
version = "20180726";
useDune2 = true;
src = fetchFromGitHub {
owner = "issuu";
repo = "ocaml-zmq";
@ -11,7 +14,7 @@ buildDunePackage rec {
sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
};
buildInputs = [ czmq ];
buildInputs = [ czmq dune-configurator ];
propagatedBuildInputs = [ stdint ];

View File

@ -2,7 +2,7 @@
buildDunePackage {
pname = "zmq-lwt";
inherit (zmq) version src meta;
inherit (zmq) version src useDune2 meta;
propagatedBuildInputs = [ zmq ocaml_lwt ];
}