mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 07:17:29 +00:00
ocaml-kafka: init at 0.4
This commit is contained in:
parent
084eaa4987
commit
724133984f
26
pkgs/development/ocaml-modules/kafka/default.nix
Normal file
26
pkgs/development/ocaml-modules/kafka/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user