2021-02-08 09:04:07 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, czmq, stdint }:
|
2018-10-16 21:38:57 +02:00
|
|
|
|
2019-03-20 11:37:16 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
pname = "zmq";
|
2018-11-08 18:17:43 +01:00
|
|
|
version = "20180726";
|
2021-02-08 09:04:07 +01:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
2018-10-16 21:38:57 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "issuu";
|
|
|
|
repo = "ocaml-zmq";
|
|
|
|
rev = "d312a8458d6b688f75470248f11875fbbfa5bb1a";
|
|
|
|
sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
|
|
|
|
};
|
|
|
|
|
2021-02-08 09:04:07 +01:00
|
|
|
buildInputs = [ czmq dune-configurator ];
|
2018-11-08 18:17:43 +01:00
|
|
|
|
2018-10-16 21:38:57 +02:00
|
|
|
propagatedBuildInputs = [ stdint ];
|
|
|
|
|
2019-03-20 11:37:16 +01:00
|
|
|
meta = {
|
2018-10-16 21:38:57 +02:00
|
|
|
description = "ZeroMQ bindings for OCaml";
|
2019-03-20 11:37:16 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ akavel ];
|
2018-10-16 21:38:57 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|