kafkacat: enable Avro message deserialization

kafkacat supports Avro message deserialization using the
Confluent Schema-Registry if libavro-c and libserdes are available.
This commit is contained in:
Olli Helenius 2021-06-20 11:54:43 +03:00
parent 9770439689
commit cc604f2d90
No known key found for this signature in database
GPG key ID: 65B7BEC581BD1DD1

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl }:
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl, avro-c, libserdes }:
stdenv.mkDerivation rec {
pname = "kafkacat";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib rdkafka yajl ];
buildInputs = [ zlib rdkafka yajl avro-c libserdes ];
preConfigure = ''
patchShebangs ./configure