1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/development/ocaml-modules/kafka/default.nix
2021-02-07 14:07:54 +01:00

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