3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/zmq/default.nix
2022-10-28 07:55:49 +02:00

25 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/";
};
}