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, newTar(
		"https://ftpmirror.gnu.org/gnu/nettle/nettle-"+version+".tar.gz",
		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,
	}
}
