2022-10-21 06:39:26 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, dune-configurator, czmq, stdint }:
|
2018-10-16 19:38:57 +00:00
|
|
|
|
2019-03-20 10:37:16 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "zmq";
|
2022-10-21 06:39:26 +00:00
|
|
|
version = "5.1.5";
|
2021-02-08 08:04:07 +00:00
|
|
|
|
2022-10-21 06:39:26 +00:00
|
|
|
duneVersion = "3";
|
2021-02-08 08:04:07 +00:00
|
|
|
|
2022-10-21 06:39:26 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-lwt-${version}.tbz";
|
|
|
|
sha256 = "sha256-mUfRPatLPFeSzWDwCIoFaVl85VkvDch4i6pOn3Kme1Y=";
|
2018-10-16 19:38:57 +00:00
|
|
|
};
|
|
|
|
|
2021-02-08 08:04:07 +00:00
|
|
|
buildInputs = [ czmq dune-configurator ];
|
2018-11-08 17:17:43 +00:00
|
|
|
|
2018-10-16 19:38:57 +00:00
|
|
|
propagatedBuildInputs = [ stdint ];
|
|
|
|
|
2019-03-20 10:37:16 +00:00
|
|
|
meta = {
|
2018-10-16 19:38:57 +00:00
|
|
|
description = "ZeroMQ bindings for OCaml";
|
2019-03-20 10:37:16 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ akavel ];
|
2022-10-21 06:39:26 +00:00
|
|
|
homepage = "https://engineering.issuu.com/ocaml-zmq/";
|
2018-10-16 19:38:57 +00:00
|
|
|
};
|
|
|
|
}
|