cask 'julia-nightly' do version '0.6.0-52607b07f6' sha256 'd3ee3e25b3d6c04ff81fd25f64e2bcde3c61d0e3cd18d9d746eb925bc86da21d' # amazonaws.com/julianightlies was verified as official when first introduced to the cask url "https://s3.amazonaws.com/julianightlies/bin/osx/x64/#{version.sub(%r{(\d+\.\d+).*}, '\1')}/julia-#{version}-osx.dmg" name 'Julia' homepage 'https://julialang.org/' depends_on macos: '>= :lion' app "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app" binary "#{appdir}/Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app/Contents/Resources/julia/bin/julia" zap delete: '~/.julia' end