3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/kafka/default.nix

25 lines
593 B
Nix
Raw Normal View History

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
useDune2 = true;
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 ];
meta = with lib; {
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
};
}