File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments