forked from mirrors/nixpkgs
25 lines
593 B
Nix
25 lines
593 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, rdkafka, zlib }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "kafka";
|
|
version = "0.5";
|
|
|
|
useDune2 = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|