Skip to content

Commit

Permalink
ocaml-kafka: init at 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rixed authored and vbgl committed Nov 29, 2019
1 parent 084eaa4 commit 7241339
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/ocaml-modules/kafka/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 7241339

Please sign in to comment.