Skip to content

Commit

Permalink
Update 23.12 to include upstream bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
conner committed Feb 19, 2024
1 parent 4170816 commit 4d57a5c
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions Formula/clickhouse@23.12.rb
@@ -1,20 +1,31 @@
class ClickhouseAT2312 < Formula
desc "Free analytics DBMS for big data with SQL interface"
homepage "https://clickhouse.com"
url "https://github.com/ClickHouse/ClickHouse/releases/download/v23.12.4.15-stable/clickhouse-macos-aarch64",
verified: "github.com/ClickHouse/ClickHouse/"
license "Apache-2.0"

sha256 "30bcae2490fb5d9cdfd52ba9b25c4ad12efacc8882a6676a6a994e651c5aedee"
url "https://github.com/ClickHouse/ClickHouse/releases/download/v23.12.2.59-stable/clickhouse-macos-aarch64",
verified: "github.com/ClickHouse/ClickHouse/"
sha256 "4770192072bce7afdbc49f33e90e04154b360de94d0307fdff432996b5474bcb"

Check failure on line 8 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, arm64)

FormulaAudit/ComponentsOrder: `sha256` (line 8) should be put before `license` (line 6)

Check failure on line 8 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, x64)

FormulaAudit/ComponentsOrder: `sha256` (line 8) should be put before `license` (line 6)

livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+[._-](lts|stable))$/i)
end

def install
system "chmod +x ./clickhouse-macos-aarch64"
system "./clickhouse-macos-aarch64", "install", "--prefix", HOMEBREW_PREFIX, "--binary-path", prefix/"bin", "--user", "", "--group", ""
chmod "+x", "./clickhouse-macos-aarch64"
system(
"./clickhouse-macos-aarch64",
"install",
"--prefix",
HOMEBREW_PREFIX,
"--binary-path",
prefix/"bin",
"--user",
"",
"--group",
"",
)

# Relax the permissions when packaging.
Dir.glob([
Expand Down

0 comments on commit 4d57a5c

Please sign in to comment.