Commit: 7ebb6e58bd20dd2bcf69f78254005aef6ba2844e
Parent: dc098637a58e821adff5a93cd60ccd3ddf33c4bc
Author: Randy Palamar
Date: Sun, 24 Sep 2023 18:04:30 -0600
add editors/hyx
Diffstat:
7 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/pkg/editors/gen.lua b/pkg/editors/gen.lua
@@ -1 +1,2 @@
-subgen('vis')
-\ No newline at end of file
+subgen('hyx')
+subgen('vis')
diff --git a/pkg/editors/hyx/.gitignore b/pkg/editors/hyx/.gitignore
@@ -0,0 +1,2 @@
+/hyx-2021.06.09.tar.xz
+/src
diff --git a/pkg/editors/hyx/gen.lua b/pkg/editors/hyx/gen.lua
@@ -0,0 +1,14 @@
+cflags({'-std=c99 -pedantic -Wall -Wextra -DNDEBUG'})
+
+exe('hyx', {
+ 'blob.c',
+ 'common.c',
+ 'history.c',
+ 'hyx.c',
+ 'input.c',
+ 'view.c',
+})
+
+file('bin/hyx', '755', '$outdir/hyx')
+
+fetch('curl')
diff --git a/pkg/editors/hyx/sha256 b/pkg/editors/hyx/sha256
@@ -0,0 +1 @@
+8d4f14e58584d6cc8f04e43ca38042eed218882a389249c20b086730256da5eb hyx-2021.06.09.tar.xz
diff --git a/pkg/editors/hyx/url b/pkg/editors/hyx/url
@@ -0,0 +1 @@
+url = "https://yx7.cc/code/hyx/hyx-2021.06.09.tar.xz"
diff --git a/pkg/editors/hyx/ver b/pkg/editors/hyx/ver
@@ -0,0 +1 @@
+2021.06.09 r0
diff --git a/sets.lua b/sets.lua
@@ -2,6 +2,7 @@ local S = {}
S.bin = {
'awk',
+ 'hyx',
'pwgen',
'samurai',
'skeleton',