homebrew-core/Formula/nifi.rb
Aldrin Piri fce8403e0b nifi 0.5.1
Updating nifi to 0.5.1

Closes Homebrew/homebrew#49615.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-28 19:16:16 +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.5.1/nifi-0.5.1-bin.tar.gz"
sha256 "783b753968bfa6e489cd82b4c5a08d82c9ff4205768dd3b06bc67c06288431f3"
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