Add ‘tym’ package

Tym is a terminal emulator that can be configured through Lua, which means it
can be configured through Fennel.
This commit is contained in:
Tom Willemse 2024-01-30 13:26:03 -08:00
parent 0aa0b23962
commit ce63d1fc5b
2 changed files with 42 additions and 1 deletions

View file

@ -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

View file

@ -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)))