2021-02-13 14:23:35 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, czmq, stdint }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
pname = "zmq";
|
|
|
|
version = "20180726";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "issuu";
|
|
|
|
repo = "ocaml-zmq";
|
|
|
|
rev = "d312a8458d6b688f75470248f11875fbbfa5bb1a";
|
|
|
|
sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
|
|
|
|
};
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
buildInputs = [ czmq dune-configurator ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ stdint ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "ZeroMQ bindings for OCaml";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ akavel ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|