2015-08-21 15:43:56 +00:00
|
|
|
class Nifi < Formula
|
|
|
|
desc "Easy to use, powerful, and reliable system to process and distribute data."
|
|
|
|
homepage "https://nifi.apache.org"
|
2016-02-28 04:20:18 +00:00
|
|
|
url "https://www.apache.org/dyn/closer.cgi?path=/nifi/0.5.1/nifi-0.5.1-bin.tar.gz"
|
|
|
|
sha256 "783b753968bfa6e489cd82b4c5a08d82c9ff4205768dd3b06bc67c06288431f3"
|
2015-08-21 15:43:56 +00:00
|
|
|
|
2015-10-22 13:57:44 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2015-08-21 15:43:56 +00:00
|
|
|
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
|