e088543c0a
Closes #26295. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
23 lines
603 B
Ruby
23 lines
603 B
Ruby
class Nifi < Formula
|
|
desc "Easy to use, powerful, and reliable system to process and distribute data"
|
|
homepage "https://nifi.apache.org"
|
|
url "https://www.apache.org/dyn/closer.cgi?path=/nifi/1.6.0/nifi-1.6.0-bin.tar.gz"
|
|
sha256 "fcd8ded6e95214a282289c0bf61352337f389830fa26903ae66a81d2e9d6ad15"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8+"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
|
|
ENV["NIFI_HOME"] = libexec
|
|
|
|
bin.install libexec/"bin/nifi.sh" => "nifi"
|
|
bin.env_script_all_files libexec/"bin/", :NIFI_HOME => libexec
|
|
end
|
|
|
|
test do
|
|
system bin/"nifi", "status"
|
|
end
|
|
end
|