aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2024-01-30 13:26:03 -0800
committerGravatar Tom Willemse2024-01-30 13:26:03 -0800
commitce63d1fc5b3e69f2b4beb4b3251a46dbae42c31a (patch)
treeda7a664e70f65cf5713e2217e2b1a04735468ea6
parent0aa0b2396219aaa5b1ac3f31d8260cbc2606f61a (diff)
downloadnew-dotfiles-ce63d1fc5b3e69f2b4beb4b3251a46dbae42c31a.tar.gz
new-dotfiles-ce63d1fc5b3e69f2b4beb4b3251a46dbae42c31a.zip
Add ‘tym’ package
Tym is a terminal emulator that can be configured through Lua, which means it can be configured through Fennel.
-rw-r--r--oni/home/config/rincewind.scm6
-rw-r--r--oni/packages/terminals.scm37
2 files changed, 42 insertions, 1 deletions
diff --git a/oni/home/config/rincewind.scm b/oni/home/config/rincewind.scm
index 4191d40..9d9e83a 100644
--- a/oni/home/config/rincewind.scm
+++ b/oni/home/config/rincewind.scm
@@ -206,6 +206,8 @@
#:select (shutdown-rofi))
#:use-module ((oni packages stumpwm)
#:select (stumpwm+swank))
+ #:use-module ((oni packages terminals)
+ #:select (tym))
#:use-module ((oop goops)
#:select (make)))
@@ -327,7 +329,9 @@
;; Might be needed for certain icons?
hicolor-icon-theme
;; Might be needed for cetrificates
- nss-certs))
+ nss-certs
+
+ tym))
(services
(list
diff --git a/oni/packages/terminals.scm b/oni/packages/terminals.scm
new file mode 100644
index 0000000..dc74fc1
--- /dev/null
+++ b/oni/packages/terminals.scm
@@ -0,0 +1,37 @@
+(define-module (oni packages terminals)
+ #:use-module (guix packages)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system gnu)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages lua)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages pkg-config))
+
+(define-public tym
+ (package
+ (name "tym")
+ (version "3.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/endaaman/tym.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "084db9nvzw5dj671m1qnp4yq1h7xp74gka5x5pyhzin7v167fxb9"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list
+ luajit
+ vte
+ autoconf
+ automake
+ pkg-config))
+ (arguments
+ '(#:configure-flags '("--enable-luajit")))
+ (home-page "https://github.com/endaaman/tym/")
+ (synopsis "Lua-configurable terminal emulator")
+ (description "tym is a Lua-configurable terminal emulator base on VTE.")
+ (license license:expat)))