All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m57s
Test / ShareFS (push) Successful in 3m45s
Test / Hakurei (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 5m19s
Test / Hakurei (race detector) (push) Successful in 6m31s
Test / Flake checks (push) Successful in 1m17s
This cleans up many function signatures. Signed-off-by: Ophestra <cat@gensokyo.uk>
38 lines
758 B
Go
38 lines
758 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newRdfind() (pkg.Artifact, string) {
|
|
const (
|
|
version = "1.8.0"
|
|
checksum = "PoaeJ2WIG6yyfe5VAYZlOdAQiR3mb3WhAUMj2ziTCx_IIEal4640HMJUb4SzU9U3"
|
|
)
|
|
return t.NewPackage("rdfind", version, newTar(
|
|
"https://rdfind.pauldreik.se/rdfind-"+version+".tar.gz",
|
|
checksum,
|
|
pkg.TarGzip,
|
|
), nil, &MakeHelper{
|
|
// test suite hard codes /bin/echo
|
|
ScriptCheckEarly: `
|
|
ln -s ../system/bin/toybox /bin/echo
|
|
`,
|
|
},
|
|
Nettle,
|
|
), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newRdfind,
|
|
|
|
Name: "rdfind",
|
|
Description: "a program that finds duplicate files",
|
|
Website: "https://rdfind.pauldreik.se/",
|
|
|
|
Dependencies: P{
|
|
Nettle,
|
|
},
|
|
|
|
ID: 231641,
|
|
})
|
|
}
|