homebrew-core/Formula/planck.rb
2017-06-23 00:12:08 -04:00

32 lines
1,004 B
Ruby

class Planck < Formula
desc "Stand-alone ClojureScript REPL"
homepage "http://planck-repl.org/"
url "https://github.com/mfikes/planck/archive/2.5.0.tar.gz"
sha256 "f3a1b9041c38c0d9e4e42aa2791e237562296e942986173d6df0efc6bd226cc7"
revision 1
head "https://github.com/mfikes/planck.git"
bottle do
cellar :any
sha256 "f8b6f93ec5aadcc6a7091cc5bca9b0d728546478b58465171b0b4c132a506bb1" => :sierra
sha256 "287e93bdefba1a33e952228e2d6525a0431f8bdbc4723c3b55c8a4902341b91e" => :el_capitan
sha256 "8a472520407b30c16dea4656f39561f90cb1e4711b6fe465e3e54a270accd79e" => :yosemite
end
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "leiningen" => :build
depends_on :xcode => :build
depends_on "libzip"
depends_on "icu4c"
depends_on :macos => :mavericks
def install
system "./script/build-sandbox"
bin.install "planck-c/build/planck"
end
test do
assert_equal "0", shell_output("#{bin}/planck -e '(- 1 1)'").chomp
end
end