cask :v1 => 'julia-nightly' do version '0.5.0-e6cb310f0a' sha256 '13abfa698b416c811a7cae0f33f1b06f8c5fa6c5a61106332b7408b5d6c6de16' # amazonaws.com is the official download host per vendor homepage url "https://s3.amazonaws.com/julianightlies/bin/osx/x64/#{version.sub(%r{(\d+\.\d+).*},'\1')}/julia-#{version}-osx.dmg" name 'Julia' homepage 'http://julialang.org' license :mit app "Julia-#{version.sub(%r{(.+)-(.+)},'\1-dev-\2')}.app" binary "Julia-#{version.sub(%r{(.+)-(.+)},'\1-dev-\2')}.app/Contents/Resources/julia/bin/julia" depends_on :macos => '>= :lion' zap :delete => '~/.julia' end