homebrew-core/Formula/nifi.rb
2019-11-05 09:08:00 -05:00

23 lines
605 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.10.0/nifi-1.10.0-bin.tar.gz"
sha256 "fd4f0750d18137bb1c21cd0fd5ab8951ccd450e6f673b8988db93ea2ff408288"
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