homebrew-core/Formula/docker-machine-nfs.rb

22 lines
660 B
Ruby

class DockerMachineNfs < Formula
desc "Activates NFS on docker-machine"
homepage "https://github.com/adlogix/docker-machine-nfs"
url "https://github.com/adlogix/docker-machine-nfs/archive/0.5.4.tar.gz"
sha256 "ecb8d637524eaeb1851a0e12da797d4ffdaec7007aa28a0692f551e9223a71b7"
license "MIT"
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, all: "60013891064b34bbcf702f8d811d5e64ba9046efd057c7a9d65f9082edab8b8c"
end
def install
inreplace "docker-machine-nfs.sh", "/usr/local", HOMEBREW_PREFIX
bin.install "docker-machine-nfs.sh" => "docker-machine-nfs"
end
test do
system "#{bin}/docker-machine-nfs"
end
end