2 desc "Generate WireGuard profile from Cloudflare Warp account"
3 homepage "https://github.com/ViRb3/wgcf"
4 url "https://github.com/ViRb3/wgcf/archive/refs/tags/v2.2.24.tar.gz"
5 sha256 "f4ebecc1df2235190dde2f8876f1811e9064cbac8b113db1f63e7f20b828358a"
7 head "https://github.com/ViRb3/wgcf.git", branch: "master"
10 sha256 cellar: :any_skip_relocation, arm64_sequoia: "c56f4c91cec0dd2847d79ea2ea2bb6058f5074b071251dd319334c6cdcbffea9"
11 sha256 cellar: :any_skip_relocation, arm64_sonoma: "c56f4c91cec0dd2847d79ea2ea2bb6058f5074b071251dd319334c6cdcbffea9"
12 sha256 cellar: :any_skip_relocation, arm64_ventura: "c56f4c91cec0dd2847d79ea2ea2bb6058f5074b071251dd319334c6cdcbffea9"
13 sha256 cellar: :any_skip_relocation, sonoma: "a46299d7984157151643e57b0add53bcbf851047bff8356f7751e0400dab24d5"
14 sha256 cellar: :any_skip_relocation, ventura: "a46299d7984157151643e57b0add53bcbf851047bff8356f7751e0400dab24d5"
15 sha256 cellar: :any_skip_relocation, x86_64_linux: "f8f54a5b2684df99cb051007a25888871134cbb54bca6c0b07c7248ab175823c"
18 depends_on "go" => :build
21 system "go", "build", *std_go_args(ldflags: "-s -w")
23 generate_completions_from_executable(bin/"wgcf", "completion")
27 system bin/"wgcf", "trace"