From ce63d1fc5b3e69f2b4beb4b3251a46dbae42c31a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 30 Jan 2024 13:26:03 -0800 Subject: Add ‘tym’ package Tym is a terminal emulator that can be configured through Lua, which means it can be configured through Fennel. --- oni/home/config/rincewind.scm | 6 +++++- oni/packages/terminals.scm | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 oni/packages/terminals.scm (limited to 'oni') 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))) -- cgit v1.2.3-54-g00ecf