23 lines
573 B
Nix
23 lines
573 B
Nix
|
{ lib, fetchurl, buildDunePackage
|
||
|
, rdkafka, zlib }:
|
||
|
|
||
|
buildDunePackage rec {
|
||
|
pname = "kafka";
|
||
|
version = "0.5";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
|
||
|
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ rdkafka zlib ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
|
||
|
description = "OCaml bindings for Kafka";
|
||
|
license = licenses.mit;
|
||
|
maintainers = [ maintainers.vbgl ];
|
||
|
};
|
||
|
}
|
||
|
|