homebrew-core/Formula/nifi.rb
Alec Wenzowski ce5e88c8ed
nifi 1.1.0
Closes #7400.

Signed-off-by: William Woodruff <william@tuffbizz.com>
2016-11-30 22:00:30 -05:00

23 lines
604 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.1.0/nifi-1.1.0-bin.tar.gz"
sha256 "3190d5b27d2668cf9a61ad458f666a686b315241025b1b4fb2f4e40f121ffb81"
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