Skip to content

Commit fe3e162

Browse files
committed
wassette 0.3.0 (new formula)
Signed-off-by: Rui Chen <[email protected]>
1 parent a4e0011 commit fe3e162

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Formula/w/wassette.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
class Wassette < Formula
2+
desc "Security-oriented runtime that runs WebAssembly Components via MCP"
3+
homepage "https://github.com/microsoft/wassette"
4+
url "https://github.com/microsoft/wassette/archive/refs/tags/v0.3.0.tar.gz"
5+
sha256 "552e5a31431abf37a7476ad343bbfc194d81b5b421dec1546345cdcc09fb5faa"
6+
license "MIT"
7+
head "https://github.com/microsoft/wassette.git", branch: "main"
8+
9+
depends_on "pkgconf" => :build
10+
depends_on "rust" => :build
11+
12+
on_linux do
13+
depends_on "openssl@3"
14+
end
15+
16+
def install
17+
system "cargo", "install", *std_cargo_args
18+
end
19+
20+
test do
21+
assert_match version.to_s, shell_output("#{bin}/wassette --version")
22+
23+
output = shell_output("#{bin}/wassette component list")
24+
assert_equal "0", JSON.parse(output)["total"].to_s
25+
end
26+
end

0 commit comments

Comments
 (0)