diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-13 15:18:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-13 15:20:51 +0900 |
| commit | eeaf26e7a24c5c51c64fc333284015224e851e8c (patch) | |
| tree | 88c24355b0b4d9ea3bf2b5548c63282d50c44729 /internal/rosa/libxslt.go | |
| parent | b587caf2e863902eb04a6540462db5852fd1a0b5 (diff) | |
internal/rosa: wrapper around git helper
This results in much cleaner call site for the majority of use cases.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libxslt.go')
| -rw-r--r-- | internal/rosa/libxslt.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/rosa/libxslt.go b/internal/rosa/libxslt.go index c905d68c..f7e6812c 100644 --- a/internal/rosa/libxslt.go +++ b/internal/rosa/libxslt.go @@ -7,10 +7,9 @@ func (t Toolchain) newLibxslt() (pkg.Artifact, string) { version = "1.1.45" checksum = "MZc_dyUWpHChkWDKa5iycrECxBsRd4ZMbYfL4VojTbung593mlH2tHGmxYB6NFYT" ) - return t.NewPackage("libxslt", version, t.NewViaGit( + return t.NewPackage("libxslt", version, t.newTagRemote( "https://gitlab.gnome.org/GNOME/libxslt.git", - "refs/tags/v"+version, - mustDecode(checksum), + "v"+version, checksum, ), nil, &MakeHelper{ Generate: "NOCONFIGURE=1 ./autogen.sh", |
