From d2c6d486b06073aa88ee1912d3587f657cd57304 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 4 Mar 2026 18:01:18 +0900 Subject: internal/rosa: provide package metadata This had to be done out-of-band because there was no way to efficiently represent these within Artifact. Signed-off-by: Ophestra --- internal/rosa/procps.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'internal/rosa/procps.go') diff --git a/internal/rosa/procps.go b/internal/rosa/procps.go index 51c39501..a7397fb9 100644 --- a/internal/rosa/procps.go +++ b/internal/rosa/procps.go @@ -2,7 +2,7 @@ package rosa import "hakurei.app/internal/pkg" -func (t Toolchain) newProcps() pkg.Artifact { +func (t Toolchain) newProcps() (pkg.Artifact, string) { const ( version = "4.0.6" checksum = "pl_fZLvDlv6iZTkm8l_tHFpzTDVFGCiSJEs3eu0zAX6u36AV36P_En8K7JPScRWM" @@ -27,6 +27,14 @@ func (t Toolchain) newProcps() pkg.Artifact { Gzip, PkgConfig, - ) + ), version +} +func init() { + artifactsM[Procps] = Metadata{ + f: Toolchain.newProcps, + + Name: "procps", + Description: "command line and full screen utilities for browsing procfs", + Website: "https://gitlab.com/procps-ng/procps", + } } -func init() { artifactsF[Procps] = Toolchain.newProcps } -- cgit v1.3.1