ocaml-kafka: init at 0.4

This commit is contained in:
Cedric Cellier 2019-11-17 22:37:57 +01:00 committed by Vincent Laporte
parent 084eaa4987
commit 724133984f
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, buildDunePackage, base, cmdliner, ocaml_lwt,
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 ];
meta = with stdenv.lib; {
homepage = https://github.com/didier-wenzek/ocaml-kafka;
description = "OCaml bindings for Kafka";
license = licenses.mit;
maintainers = [ maintainers.rixed ];
};
}

View File

@ -374,6 +374,8 @@ let
jsonm = callPackage ../development/ocaml-modules/jsonm { };
kafka = callPackage ../development/ocaml-modules/kafka { };
ke = callPackage ../development/ocaml-modules/ke { };
lablgl = callPackage ../development/ocaml-modules/lablgl { };