aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/hwdata.go
blob: 454cec284c9e062cc288d3c2686cf03fa4126bf8 (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
package rosa

import "hakurei.app/internal/pkg"

func (t Toolchain) newHwdata() (pkg.Artifact, string) {
	const (
		version  = "0.407"
		checksum = "6p1XD0CRuzt6hLfjv4ShKBW934BexmoPkRrmwxD4J63fBVCzVBRHyF8pVJdW_Xjm"
	)
	return t.NewPackage("hwdata", version, newFromGitHub(
		"vcrhonek/hwdata",
		"v"+version, checksum,
	), &PackageAttr{
		Writable:    true,
		EnterSource: true,
	}, &MakeHelper{
		// awk: fatal: cannot open file `hwdata.spec' for reading: No such file or directory
		InPlace: true,

		// lspci: Unknown option 'A' (see "lspci --help")
		SkipCheck: true,
	}), version
}
func init() {
	native.mustRegister(Toolchain.newHwdata, &Metadata{
		Name:        "hwdata",
		Description: "contains various hardware identification and configuration data",
		Website:     "https://github.com/vcrhonek/hwdata",

		ID: 5387,
	})
}