From dafea3508d1316c75ca0d29b776db4630927a72f Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 3 Sep 2023 15:56:52 +0100 Subject: [PATCH] Add clickhouse-client 23.8.1.2992-lts Co-authored-by: Miccal Matthews --- Casks/c/clickhouse.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Casks/c/clickhouse.rb diff --git a/Casks/c/clickhouse.rb b/Casks/c/clickhouse.rb new file mode 100644 index 0000000000..8ffcf737b9 --- /dev/null +++ b/Casks/c/clickhouse.rb @@ -0,0 +1,23 @@ +cask "clickhouse" do + arch arm: "-aarch64" + + version "23.8.1.2992-lts" + sha256 arm: "990d2a07498e5da91184c826ca6868ea06ae6fff388da30e2f706203c063bee8", + intel: "d9b93b7cca481c50c046693f8b54df5ce73c04798a7bf1bc1113d1d6135c0a89" + + url "https://github.com/ClickHouse/ClickHouse/releases/download/v#{version}/clickhouse-macos#{arch}", + verified: "github.com/ClickHouse/ClickHouse/" + name "Clickhouse" + desc "Column-oriented database management system" + homepage "https://clickhouse.com/" + + livecheck do + url :stable + regex(/^v?(\d+(?:\.\d+)+[._-](lts|stable))$/i) + strategy :github_releases + end + + binary "clickhouse-macos#{arch}", target: "clickhouse" + + # No zap stanza required +end