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:
@@ -2,7 +2,7 @@ package rosa
|
||||
|
||||
import "hakurei.app/internal/pkg"
|
||||
|
||||
func (t Toolchain) newZlib() pkg.Artifact {
|
||||
func (t Toolchain) newZlib() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.3.1"
|
||||
checksum = "E-eIpNzE8oJ5DsqH4UuA_0GDKuQF5csqI8ooDx2w7Vx-woJ2mb-YtSbEyIMN44mH"
|
||||
@@ -20,6 +20,14 @@ func (t Toolchain) newZlib() pkg.Artifact {
|
||||
|
||||
Host: `""`,
|
||||
Build: `""`,
|
||||
})
|
||||
}), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[Zlib] = Metadata{
|
||||
f: Toolchain.newZlib,
|
||||
|
||||
Name: "zlib",
|
||||
Description: "lossless data-compression library",
|
||||
Website: "https://zlib.net/",
|
||||
}
|
||||
}
|
||||
func init() { artifactsF[Zlib] = Toolchain.newZlib }
|
||||
|
||||
Reference in New Issue
Block a user