2021-01-31 21:54:02 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, rdkafka, zlib }:
|
2019-11-17 21:37:57 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "kafka";
|
2021-01-31 21:54:02 +00:00
|
|
|
version = "0.5";
|
2019-11-17 21:37:57 +00:00
|
|
|
|
2021-01-31 21:54:02 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
|
|
|
|
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
|
|
|
|
};
|
2019-11-17 21:37:57 +00:00
|
|
|
|
|
|
|
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;
|
2021-01-31 21:54:02 +00:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
2019-11-17 21:37:57 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|