cask 'eclipse-installer' do
  version :latest
  sha256 :no_check

  url 'http://eclipse.org/downloads/download.php?file=/oomph/products/eclipse-inst-mac64.tar.gz&r=1'
  name 'Eclipse Installer'
  homepage 'https://eclipse.org/'
  license :eclipse

  depends_on :macos => '>= :leopard'
  depends_on :arch => :x86_64

  app 'Eclipse Installer.app'

  caveats <<-EOS.undent
    #{token} requires Java. You can install the latest version with
      brew cask install java
  EOS
end

cask 'eclipse-installer' do
  version :latest
  sha256 :no_check

  url 'http://eclipse.org/downloads/download.php?file=/oomph/epp/mars/R1a/eclipse-inst-mac64.tar.gz&r=1'
  name 'Eclipse Installer'
  homepage 'https://eclipse.org/'
  license :eclipse

  depends_on :macos => '>= :leopard'
  depends_on :arch => :x86_64

  app 'Eclipse Installer.app'

  caveats <<-EOS.undent
    #{token} requires Java. You can install the latest version with
      brew cask install java
  EOS
end

Update Eclipse Installer to Mars.1
Update Eclipse Installer to Mars.1