27 lines
872 B
Ruby
27 lines
872 B
Ruby
cask "knime" do
|
|
version "4.7.1"
|
|
sha256 "30ddcd3459a64d920fe6e8ef7a87d699b8e175398bd39cf3ebe5154da7bd216c"
|
|
|
|
url "https://download.knime.org/analytics-platform/macosx/knime_#{version}.app.macosx.cocoa.x86_64.dmg",
|
|
verified: "download.knime.org/analytics-platform/macosx/"
|
|
name "KNIME Analytics Platform"
|
|
desc "Software to create and productionize data science"
|
|
homepage "https://www.knime.com/"
|
|
|
|
livecheck do
|
|
url "https://download.knime.org/analytics-platform/macosx/knime-latest-app.macosx.cocoa.x86_64.dmg"
|
|
strategy :header_match
|
|
regex(/knime[._-]v?(\d+(?:\.\d+)+).*?\.dmg/i)
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "KNIME #{version}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Caches/org.knime.product",
|
|
"~/Library/Preferences/org.knime.product.plist",
|
|
"~/Library/Saved Application State/org.knime.product.savedState",
|
|
]
|
|
end
|