11class Kubo < Formula
22 desc "Peer-to-peer hypermedia protocol"
33 homepage "https://docs.ipfs.tech/how-to/command-line-quick-start/"
4- url "https://github.com/ipfs/kubo/archive/refs/tags/v0.39 .0.tar.gz"
5- sha256 "eb46fd70743049384a1b3ea8b07fa9c80db10811bc0bc64f0ba7e52d6c9d60bf "
4+ url "https://github.com/ipfs/kubo/archive/refs/tags/v0.40 .0.tar.gz"
5+ sha256 "0640c0721a9e34688a8c16d793818dbae4d27f94a83534806fd7c332d7cafed2 "
66 license all_of : [
77 "MIT" ,
88 any_of : [ "MIT" , "Apache-2.0" ] ,
@@ -15,22 +15,16 @@ class Kubo < Formula
1515 end
1616
1717 bottle do
18- sha256 cellar : :any_skip_relocation , arm64_tahoe : "6fafb4b11cd40c9552ff50782000b4cd3582b742995d27da775c44e8a9ebee94 "
19- sha256 cellar : :any_skip_relocation , arm64_sequoia : "e55dad3da85e1983f50f3039dc46a88e8ddb449a7850593e2aff3009f2137593 "
20- sha256 cellar : :any_skip_relocation , arm64_sonoma : "fdef8ec73d0ce0f5a690a229930c8d9648c3598402aed43dbdb6ff60745ceafc "
21- sha256 cellar : :any_skip_relocation , sonoma : "9ea3fe7f705fcf2425ec60f485b7df938c3f2a5f6c3096d11150f041e2ec1b8f "
22- sha256 cellar : :any_skip_relocation , arm64_linux : "05f0196e054936ae401b64ec8541c615c4319aa608e7b4684b9d672b6c8ab92a "
23- sha256 cellar : :any_skip_relocation , x86_64_linux : "e9f9e599789c54d8b74054a8701d927601d76f7440e49503035c0092e752585b "
18+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "9a57ff83aa1fd88ff3e5653747e38907595ef3d835b851cb7b6abd7ef351ee8c "
19+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "ef39f07a46dda4f31c9245d61969c33e29d7a351f132a866e1a2c2a8a4ab2f99 "
20+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "42dac9e9c97b2cc4f4ca8516dc4f30252496fd6e0e83099d94473f6917d96906 "
21+ sha256 cellar : :any_skip_relocation , sonoma : "847d1975c8eb3944bda94605f38788855abdf1fcb6eae0171aff976e67e0d3be "
22+ sha256 cellar : :any_skip_relocation , arm64_linux : "4f7e36b3f3984a21054501b24f4434a0942e436f5a64e138bcab7799a8949205 "
23+ sha256 cellar : :any_skip_relocation , x86_64_linux : "3aeac66fd695aa76cde284dbd6863e3f7ba7fc4999aa97eefbc2112c4f3bb5fd "
2424 end
2525
2626 depends_on "go" => :build
2727
28- # bump cockroachdb/swiss for Go 1.26 support, upstream pr ref, https://github.com/ipfs/kubo/pull/11124
29- patch do
30- url "https://github.com/ipfs/kubo/commit/ecf967de3a0ac32c0e2c4f2391518b64741376df.patch?full_index=1"
31- sha256 "2ed099b25219f9fde686461e684ff8fbe26fb8ab66b2e6cb213975e84e82dee1"
32- end
33-
3428 def install
3529 ldflags = "-s -w -X github.com/ipfs/kubo.CurrentCommit=#{ tap . user } "
3630 system "go" , "build" , *std_go_args ( ldflags :, output : bin /"ipfs" ) , "./cmd/ipfs"
0 commit comments