diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index 39d24f9..70d60a9 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -1,26 +1,21 @@ class Risingwave < Formula desc "Distributed SQL database for stream processing" homepage "https://github.com/risingwavelabs/risingwave" - url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.8.1.tar.gz" - sha256 "bb4c2a7c6bcc3f8509e1ae25a06cf12bfec87f52bbc2a1e3e840bdea77e76353" + url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.1.tar.gz" + sha256 "a2ad286cde11891906082f54ca5edb997382df639acee83e096b921b0d29a642" license "Apache-2.0" head "https://github.com/risingwavelabs/risingwave.git", branch: "main" - bottle do - root_url "https://github.com/risingwavelabs/homebrew-risingwave/releases/download/risingwave-1.8.1" - sha256 cellar: :any, arm64_ventura: "630e3202368b421b5675b2ce23bdb33c2bbbceb7ff666f585a84b0e99266212c" - sha256 cellar: :any, ventura: "d0017953eb91e9db7ef99da639b6b560a9f6485fe6b37d7e12a5d8ade87b7563" - end - depends_on "cmake" => :build + depends_on "node@20" => :build depends_on "protobuf" => :build depends_on "rustup-init" => :build depends_on "java11" depends_on "openssl@3" resource "connector" do - url "https://github.com/risingwavelabs/risingwave/releases/download/v1.8.0/risingwave-v1.8.0-x86_64-unknown-linux-all-in-one.tar.gz" - sha256 "341fd43fe75535732e67f11dee544cf309b30a30ad76370a6d5313dc6a5147e5" + url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.1/risingwave-v1.9.1-x86_64-unknown-linux-all-in-one.tar.gz" + sha256 "8f88a4754aebd94196e49f67300180ddf2236d88d93da96cd9e053b2f7487fc8" end def install @@ -51,6 +46,9 @@ def install s.gsub!(/"-Clink-arg=.*ld64.lld",?/, "") end + # Enable building embedded dashboard. + ENV["ENABLE_BUILD_DASHBOARD"] = "1" + system "cargo", "install", "--bin", "risingwave", "--features", "rw-static-link",