package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newNettle3(s *S) (pkg.Artifact, string) { const ( version = "3.10.2" checksum = "07aXlj10X5llf67jIqRQAA1pgLSgb0w_JYggZVPuKNoc-B-_usb5Kr8FrfBe7g1S" ) return s.NewPackage(t, "nettle", version, newTar( "https://ftpmirror.gnu.org/gnu/nettle/nettle-"+version+".tar.gz", checksum, pkg.TarGzip, ), nil, (*MakeHelper)(nil), M4, Diffutils, GMP, ), version } func init() { native.MustRegister(&Artifact{ f: Toolchain.newNettle3, Name: "nettle3", Description: "a low-level cryptographic library", Website: "https://www.lysator.liu.se/~nisse/nettle/", Dependencies: P{ GMP, }, }) }