7b7d072ff4
Closes #42940. Signed-off-by: Chongyu Zhu <i@lembacon.com>
22 lines
649 B
Ruby
22 lines
649 B
Ruby
class Fpp < Formula
|
|
desc "CLI program that accepts piped input and presents files for selection"
|
|
homepage "https://facebook.github.io/PathPicker/"
|
|
url "https://github.com/facebook/PathPicker/releases/download/0.8.2/fpp.0.8.2.tar.gz"
|
|
sha256 "dea4fcd470c24c4a5a804307c86948da2a8d5fa5faaefe5892418f4ddae89c75"
|
|
head "https://github.com/facebook/pathpicker.git"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "python@2"
|
|
|
|
def install
|
|
# we need to copy the bash file and source python files
|
|
libexec.install Dir["*"]
|
|
# and then symlink the bash file
|
|
bin.install_symlink libexec/"fpp"
|
|
end
|
|
|
|
test do
|
|
system bin/"fpp", "--help"
|
|
end
|
|
end
|