forked from security/hakurei
internal/rosa: provide package metadata
This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"hakurei.app/internal/pkg"
|
||||
)
|
||||
|
||||
func (t Toolchain) newTamaGo() pkg.Artifact {
|
||||
func (t Toolchain) newTamaGo() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.26.0"
|
||||
checksum = "5XkfbpTpSdPJfwtTfUegfdu4LUy8nuZ7sCondiRIxTJI9eQONi8z_O_dq9yDkjw8"
|
||||
@@ -35,6 +35,14 @@ rm \
|
||||
"tamago-go"+version+".tar.gz",
|
||||
mustDecode(checksum),
|
||||
pkg.TarGzip,
|
||||
)))
|
||||
))), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[TamaGo] = Metadata{
|
||||
f: Toolchain.newTamaGo,
|
||||
|
||||
Name: "tamago",
|
||||
Description: "a Go toolchain extended with support for bare metal execution",
|
||||
Website: "https://github.com/usbarmory/tamago-go",
|
||||
}
|
||||
}
|
||||
func init() { artifactsF[TamaGo] = Toolchain.newTamaGo }
|
||||
|
||||
Reference in New Issue
Block a user