nixpkgs/pkgs/development/ocaml-modules/kafka/default.nix
2023-10-06 08:11:06 +02:00

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 ];
};
}