depot/third_party/nixpkgs/pkgs/development/ocaml-modules/zmq/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

24 lines
644 B
Nix

{ lib, fetchurl, buildDunePackage, dune-configurator, czmq, stdint }:
buildDunePackage rec {
pname = "zmq";
version = "5.1.5";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-lwt-${version}.tbz";
sha256 = "sha256-mUfRPatLPFeSzWDwCIoFaVl85VkvDch4i6pOn3Kme1Y=";
};
buildInputs = [ czmq dune-configurator ];
propagatedBuildInputs = [ stdint ];
meta = {
description = "ZeroMQ bindings for OCaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ akavel ];
homepage = "https://engineering.issuu.com/ocaml-zmq/";
};
}