kcat 1.7.0 (new formula)

Closes #84136.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Michael Cho <20700669+cho-m@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Rui Chen 2021-08-28 00:15:40 -04:00 committed by BrewTestBot
parent a3217d665b
commit de2633c8b3
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
3 changed files with 27 additions and 34 deletions

View File

@ -1,34 +0,0 @@
class Kafkacat < Formula
desc "Generic command-line non-JVM Apache Kafka producer and consumer"
homepage "https://github.com/edenhill/kafkacat"
url "https://github.com/edenhill/kafkacat.git",
tag: "1.6.0",
revision: "3cd845bf782296b3e8eb382020173782281746d2"
license "BSD-2-Clause"
bottle do
sha256 cellar: :any, arm64_big_sur: "e57ada6783bdc01f55704d0f166d9fb90634bb1036dbdd7f9197097696a35990"
sha256 cellar: :any, big_sur: "7be256a4f0a2a853b80fd5ded94cd397034e36ec2df13e106d7c766ede8ca4fb"
sha256 cellar: :any, catalina: "b24a6909714b2d35a1255dd938964ebf200b6f6107c8b385596eb94c7111bddd"
sha256 cellar: :any, mojave: "37db83112a083daec2d6d91c50e256ca899d43de19e8cd9e58f31a4cf630cab5"
sha256 cellar: :any, high_sierra: "12e0795c76f11c17bfd32f3d59c16ce81025084b925a1ed0cb4e676fc5be76b3"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4cd951d6a634b72b68226041189782bf9798f5be8d1313b2e583b07edf535997"
end
depends_on "avro-c"
depends_on "librdkafka"
depends_on "libserdes"
depends_on "yajl"
def install
system "./configure", "--prefix=#{prefix}",
"--enable-json",
"--enable-avro"
system "make"
system "make", "install"
end
test do
system bin/"kafkacat", "-X", "list"
end
end

26
Formula/kcat.rb Normal file
View File

@ -0,0 +1,26 @@
class Kcat < Formula
desc "Generic command-line non-JVM Apache Kafka producer and consumer"
homepage "https://github.com/edenhill/kcat"
url "https://github.com/edenhill/kcat.git",
tag: "1.7.0",
revision: "f2236ae5d985b9f31631b076df24ca6c33542e61"
license "BSD-2-Clause"
head "https://github.com/edenhill/kcat.git", branch: "master"
depends_on "avro-c"
depends_on "librdkafka"
depends_on "libserdes"
depends_on "yajl"
def install
system "./configure", "--prefix=#{prefix}",
"--enable-json",
"--enable-avro"
system "make"
system "make", "install"
end
test do
system bin/"kcat", "-X", "list"
end
end

View File

@ -72,6 +72,7 @@
"juju2": "juju",
"juju@2.0": "juju",
"jupyter": "jupyterlab",
"kafkacat": "kcat",
"kde-extra-cmake-modules": "extra-cmake-modules",
"kde-karchive": "karchive",
"kde-kdoctools": "kdoctools",