From c8bf47edff382b35f73cf1e0c0b301da08e2139e Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Tue, 24 Sep 2024 16:31:06 +1000 Subject: [PATCH] Add wire --- wire.hcl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 wire.hcl diff --git a/wire.hcl b/wire.hcl new file mode 100644 index 00000000..185af276 --- /dev/null +++ b/wire.hcl @@ -0,0 +1,18 @@ +description = "Compile-time Dependency Injection for Go" +homepage = "https://github.com/google/wire" +binaries = ["wire"] +strip = 1 +source = "https://github.com/cashapp/hermit-build/releases/download/go-tools/wire-v${version}-${os}-${arch}.bz2" + +on unpack { + rename { from = "${root}/wire-v${version}-${os}-${arch}" to = "${root}/wire" } +} + +version "0.6.0" { +} + +sha256sums = { + "https://github.com/cashapp/hermit-build/releases/download/go-tools/wire-v0.6.0-linux-amd64.bz2": "57ba767c0b557052cf55c099b95b513faa3b374e4dcc5d502df2ab309e8f5cd8", + "https://github.com/cashapp/hermit-build/releases/download/go-tools/wire-v0.6.0-darwin-amd64.bz2": "55e752d14e597b7b4439264c8c4eceb528e7db7ebaa588854b2d1f81809408dc", + "https://github.com/cashapp/hermit-build/releases/download/go-tools/wire-v0.6.0-darwin-arm64.bz2": "4fabc8b4e9bf8fa305656e615665a4468c0950ed727fdb5541c940ac988fdab9", +}