All checks were successful
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m47s
Test / Hakurei (push) Successful in 3m39s
Test / ShareFS (push) Successful in 3m44s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 6m13s
Test / Flake checks (push) Successful in 1m23s
Optional dependency of p11-kit. Signed-off-by: Ophestra <cat@gensokyo.uk>
39 lines
798 B
Go
39 lines
798 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newP11Kit() (pkg.Artifact, string) {
|
|
const (
|
|
version = "0.26.2"
|
|
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"
|
|
)
|
|
return t.NewPackage("p11-kit", version, t.NewViaGit(
|
|
"p11-kit-src", "https://github.com/p11-glue/p11-kit.git",
|
|
"refs/tags/"+version, mustDecode(checksum),
|
|
), nil, &MesonHelper{
|
|
Setup: []KV{
|
|
{"Dsystemd", "disabled"},
|
|
},
|
|
},
|
|
Coreutils,
|
|
Diffutils,
|
|
|
|
Libtasn1,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[P11Kit] = Metadata{
|
|
f: Toolchain.newP11Kit,
|
|
|
|
Name: "p11-kit",
|
|
Description: "provides a way to load and enumerate PKCS#11 modules",
|
|
Website: "https://p11-glue.freedesktop.org/p11-kit.html",
|
|
|
|
Dependencies: P{
|
|
Libtasn1,
|
|
},
|
|
|
|
ID: 2582,
|
|
}
|
|
}
|