2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, base, cmdliner, ocaml_lwt,
|
2019-11-17 21:37:57 +00:00
|
|
|
rdkafka, zlib }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "kafka";
|
|
|
|
version = "0.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "didier-wenzek";
|
|
|
|
repo = "ocaml-kafka";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0lb8x0wh7sf8v9mjwhq32azjz54kw49fsjfb7m76z4nhxfkjw5hy";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ base cmdliner ocaml_lwt zlib ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ rdkafka zlib ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
|
2019-11-17 21:37:57 +00:00
|
|
|
description = "OCaml bindings for Kafka";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rixed ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|