ocamlPackages.zmq: use Dune 2
This commit is contained in:
parent
69dd7d2068
commit
bc85b5b992
@ -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 ];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildDunePackage {
|
||||
pname = "zmq-lwt";
|
||||
inherit (zmq) version src meta;
|
||||
inherit (zmq) version src useDune2 meta;
|
||||
|
||||
propagatedBuildInputs = [ zmq ocaml_lwt ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user