nixpkgs-suyu/pkgs/development/tools/kafkacat/default.nix
R. RyanTM aff9d8b1a2 kafkacat: 1.4.0 -> 1.5.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kafkacat/versions
2019-09-26 14:24:59 -07:00

30 lines
731 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, zlib, rdkafka, yajl }:
stdenv.mkDerivation rec {
pname = "kafkacat";
version = "1.5.0";
src = fetchFromGitHub {
owner = "edenhill";
repo = "kafkacat";
rev = version;
sha256 = "0lf2pf3zqncd4a44h0mjm66qnw02k9kvz1hjkah6p6gp7mx3ksjv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib rdkafka yajl ];
preConfigure = ''
patchShebangs ./configure
'';
meta = with stdenv.lib; {
description = "A generic non-JVM producer and consumer for Apache Kafka";
homepage = https://github.com/edenhill/kafkacat;
license = licenses.bsd2;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ nyarly ];
};
}