kcat(previously kafkacat): 1.6.0 -> 1.7.0

Fixed the 1.7.0 build and renamed the package per upstream.
(3fc21aa1e9)
This commit is contained in:
Souvik Sen 2021-10-06 23:14:34 -04:00
parent ea4524e6cc
commit 01a85ce48b
3 changed files with 10 additions and 9 deletions

View File

@ -1,18 +1,18 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl, avro-c, libserdes }:
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl, avro-c, libserdes, which }:
stdenv.mkDerivation rec {
pname = "kafkacat";
pname = "kcat";
version = "1.6.0";
version = "1.7.0";
src = fetchFromGitHub {
owner = "edenhill";
repo = "kafkacat";
repo = "kcat";
rev = version;
sha256 = "0z3bw00s269myfd1xqksjyznmgp74xfs09xqlq347adsgby3cmfs";
sha256 = "sha256-koDhj/RQc9fhfqjrJylhURw6tppPELhLlBGbNVJsii8=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config which ];
buildInputs = [ zlib rdkafka yajl avro-c libserdes ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A generic non-JVM producer and consumer for Apache Kafka";
homepage = "https://github.com/edenhill/kafkacat";
homepage = "https://github.com/edenhill/kcat";
license = licenses.bsd2;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ nyarly ];

View File

@ -373,6 +373,7 @@ mapAliases ({
jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream";
joseki = apache-jena-fuseki; # added 2016-02-28
json_glib = json-glib; # added 2018-02-25
kafkacat = kcat; # added 2021-10-07
kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # 2020-06-16
k9copy = throw "k9copy has been removed from nixpkgs, as there is no upstream activity"; # 2020-11-06
kodiGBM = kodi-gbm;

View File

@ -14434,10 +14434,10 @@ with pkgs;
k2tf = callPackage ../development/tools/misc/k2tf { };
kafkacat = callPackage ../development/tools/kafkacat { };
kati = callPackage ../development/tools/build-managers/kati { };
kcat = callPackage ../development/tools/kcat { };
kcc = libsForQt5.callPackage ../applications/graphics/kcc { };
kconfig-frontends = callPackage ../development/tools/misc/kconfig-frontends {