nixpkgs/pkgs/development/ocaml-modules/kafka/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
593 B
Nix
Raw Normal View History

2021-01-31 22:54:02 +01:00
{ lib, fetchurl, buildDunePackage
, rdkafka, zlib }:
2019-11-17 22:37:57 +01:00
buildDunePackage rec {
pname = "kafka";
2021-01-31 22:54:02 +01:00
version = "0.5";
2019-11-17 22:37:57 +01:00
2021-01-31 22:54:02 +01:00
useDune2 = true;
2019-11-17 22:37:57 +01:00
2021-01-31 22:54:02 +01:00
src = fetchurl {
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
};
2019-11-17 22:37:57 +01:00
propagatedBuildInputs = [ rdkafka zlib ];
meta = with lib; {
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
2019-11-17 22:37:57 +01:00
description = "OCaml bindings for Kafka";
license = licenses.mit;
2021-01-31 22:54:02 +01:00
maintainers = [ maintainers.vbgl ];
2019-11-17 22:37:57 +01:00
};
}