aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/nettle3.go
blob: df27e70094d1df50faae67e52a0eb0131478d20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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,
		},
	})
}