homebrew-cask/Casks/opensesame.rb

20 lines
818 B
Ruby

cask 'opensesame' do
if MacOS.version <= :snow_leopard
version '0.26'
sha256 'b2a37cfd1c514b2ae8ddd0be09a274844420bfa432318ef87df308fdd3b6a770'
url "https://files.cogsci.nl/software/opensesame/opensesame_#{version}-macos-2.zip"
else
version '3.1.9'
sha256 '593664ae5b88f03e845a837cf0cd062a6ebca97fcfb47e7017adf00c5f44b274'
# github.com/smathot/OpenSesame was verified as official when first introduced to the cask
url "https://github.com/smathot/OpenSesame/releases/download/release/#{version}/opensesame_#{version}-py2.7-macos-1.dmg"
appcast 'https://github.com/smathot/OpenSesame/releases.atom',
checkpoint: 'dd285e93f1cfd611c42e135a837ee7239bf55819bf99f4f9a228d75ca9f0f68c'
end
name 'OpenSesame'
homepage 'https://osdoc.cogsci.nl/'
app 'opensesame.app'
end