23 lines
603 B
Ruby
23 lines
603 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.7.1/nifi-1.7.1-bin.tar.gz"
|
|
sha256 "14441c02c47541981746adc8a6c5d8759a9bf8324a08bc03c8487b1112e2c515"
|
|
|
|
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
|