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.4'
sha256 '5beb72577afda123e7e2cb6fa887c4bd6dd17a92f208603325cabcc9af9476ff'
# 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: 'd3ec8e64d2ac3afcef0735d9616ca48f0ba915c3f5cb935d68b7c565b9d8f1eb'
end
name 'OpenSesame'
homepage 'https://osdoc.cogsci.nl/'
app 'opensesame.app'
end