nifi 0.2.1 (new formula)
Closes Homebrew/homebrew#43153. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
1ac2ad2dca
commit
87dfdb8716
1 changed files with 21 additions and 0 deletions
21
Formula/nifi.rb
Normal file
21
Formula/nifi.rb
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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.2.1/nifi-0.2.1-bin.tar.gz"
|
||||||
|
sha256 "e151dab553a8ea466f7462d75145e2aa08ced938499aef184850aa4d3209c605"
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in a new issue