homebrew-core/Formula/fpp.rb

27 lines
792 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.9.2/fpp.0.9.2.tar.gz"
sha256 "f2b233b1e18bdafb1cd1728305e926aabe217406e65091f1e58589e6157e1952"
license "MIT"
revision 2
head "https://github.com/facebook/pathpicker.git"
bottle do
sha256 cellar: :any_skip_relocation, all: "2a149cfef3d217abcd20e567872aa5930c47b959b1e9647ec7bb48c2041e5a07"
end
depends_on "python@3.9"
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