All checks were successful
Test / Create distribution (push) Successful in 3m36s
Test / ShareFS (push) Successful in 8m53s
Test / Sandbox (race detector) (push) Successful in 9m28s
Test / Hakurei (race detector) (push) Successful in 10m25s
Test / Sandbox (push) Successful in 1m37s
Test / Hakurei (push) Successful in 2m27s
Test / Flake checks (push) Successful in 1m19s
This also removes manually resolved indirect dependencies. Signed-off-by: Ophestra <cat@gensokyo.uk>
36 lines
718 B
Go
36 lines
718 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newNettle() (pkg.Artifact, string) {
|
|
const (
|
|
version = "4.0"
|
|
checksum = "6agC-vHzzoqAlaX3K9tX8yHgrm03HLqPZzVzq8jh_ePbuPMIvpxereu_uRJFmQK7"
|
|
)
|
|
return t.NewPackage("nettle", version, pkg.NewHTTPGetTar(
|
|
nil, "https://ftpmirror.gnu.org/gnu/nettle/nettle-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), nil, (*MakeHelper)(nil),
|
|
M4,
|
|
Diffutils,
|
|
|
|
GMP,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Nettle] = Metadata{
|
|
f: Toolchain.newNettle,
|
|
|
|
Name: "nettle",
|
|
Description: "a low-level cryptographic library",
|
|
Website: "https://www.lysator.liu.se/~nisse/nettle/",
|
|
|
|
Dependencies: P{
|
|
GMP,
|
|
},
|
|
|
|
ID: 2073,
|
|
}
|
|
}
|