homebrew-core/Formula/nifi.rb
Aldrin Piri 6444a6c62d nifi 0.4.0
Updating Apache NiFi formula to reflect released version 0.4.0.

Closes Homebrew/homebrew#46943.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-12-13 00:05:19 +00: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/0.4.0/nifi-0.4.0-bin.tar.gz"
sha256 "01226e19ac20ceea9e840889f8fa238289834c61380f7af5ec60a94b5c21348d"
bottle :unneeded
depends_on :java => "1.7+"
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