aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libev.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-02 23:35:01 +0900
committerOphestra <cat@gensokyo.uk>2026-04-02 23:35:01 +0900
commit9b99650eb16c88a33eecd660100fbd296e2e0bba (patch)
tree0a9b1d1c36b23538e1d6e1c03cbc9f1d9bac0cf1 /internal/rosa/libev.go
parent15bff9e1a687b9bc4c53f336bfc8fd70528d872f (diff)
internal/rosa: libev artifact
Required by gnutls. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libev.go')
-rw-r--r--internal/rosa/libev.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/libev.go b/internal/rosa/libev.go
new file mode 100644
index 00000000..b4c7fe8a
--- /dev/null
+++ b/internal/rosa/libev.go
@@ -0,0 +1,26 @@
+package rosa
+
+import "hakurei.app/internal/pkg"
+
+func (t Toolchain) newLibev() (pkg.Artifact, string) {
+ const (
+ version = "4.33"
+ checksum = "774eSXV_4k8PySRprUDChbEwsw-kzjIFnJ3MpNOl5zDpamBRvC3BqPyRxvkwcL6_"
+ )
+ return t.NewPackage("libev", version, pkg.NewHTTPGetTar(
+ nil, "https://dist.schmorp.de/libev/Attic/libev-"+version+".tar.gz",
+ mustDecode(checksum),
+ pkg.TarGzip,
+ ), nil, (*MakeHelper)(nil)), version
+}
+func init() {
+ artifactsM[Libev] = Metadata{
+ f: Toolchain.newLibev,
+
+ Name: "libev",
+ Description: "a full-featured and high-performance event loop",
+ Website: "http://libev.schmorp.de/",
+
+ ID: 1605,
+ }
+}