41fa03ba10
Updating nifi to 0.6.0 Closes Homebrew/homebrew#50464. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
23 lines
604 B
Ruby
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.6.0/nifi-0.6.0-bin.tar.gz"
|
|
sha256 "22929482be3b0057aefcb191300e127258ced889f241dac3eab71351d1e1dd1b"
|
|
|
|
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
|