homebrew-core/Formula/confluent-oss.rb

24 lines
729 B
Ruby
Raw Normal View History

class ConfluentOss < Formula
desc "Developer-optimized distribution of Apache Kafka"
homepage "https://www.confluent.io/product/confluent-open-source/"
2018-06-14 06:49:44 +00:00
url "https://packages.confluent.io/archive/4.1/confluent-oss-4.1.1-2.11.tar.gz"
version "4.1.1"
sha256 "e00eb4c6c7445ad7a43c9cd237778d1cd184322aebf5ff64a8e9806ba2cc27aa"
depends_on :java => "1.8"
2018-05-30 23:06:23 +00:00
conflicts_with "kafka", :because => "kafka also ships with identically named Kafka related executables"
def install
prefix.install "bin"
rm_rf "#{bin}/windows"
prefix.install "etc"
2018-06-14 06:49:44 +00:00
prefix.install "share"
end
test do
system "#{bin}/confluent", "current"
2018-05-30 23:06:23 +00:00
assert_match "schema-registry", shell_output("#{bin}/confluent list")
end
end