aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/terminals.scm
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-22 15:39:19 +0200
committerDavid Craven <david@craven.ch>2016-08-22 22:48:49 +0200
commitaf39609bece22cb14dd5f502596a0b1b724b1809 (patch)
treebb37af0e57afebfb2588cfd10b08552c108234f1 /gnu/packages/terminals.scm
parentc598e35c52faba051f6a3e8155f65f1db79247db (diff)
downloadguix-af39609bece22cb14dd5f502596a0b1b724b1809.tar
guix-af39609bece22cb14dd5f502596a0b1b724b1809.tar.gz
gnu: Add libtsm.
* gnu/packages/terminals.scm (libtsm): New variable.
Diffstat (limited to 'gnu/packages/terminals.scm')
-rw-r--r--gnu/packages/terminals.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 98f0060c0d..55d864b073 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Mckinley Olsen <mck.olsen@gmail.com>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2016 David Craven <david@craven.ch>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -159,3 +160,27 @@ insert mode and command mode where keybindings have different functions.")
Forget screen recording apps and blurry video. Enjoy a lightweight, purely
text-based approach to terminal recording.")
(license license:gpl3)))
+
+(define-public libtsm
+ (package
+ (name "libtsm")
+ (version "3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://freedesktop.org/software/kmscon/releases/"
+ "libtsm-" version ".tar.xz"))
+ (sha256
+ (base32
+ "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libxkbcommon" ,libxkbcommon)))
+ (synopsis "Xterm state machine library")
+ (description "TSM is a state machine for DEC VT100-VT520 compatible
+terminal emulators. It tries to support all common standards while keeping
+compatibility to existing emulators like xterm, gnome-terminal, konsole, etc.")
+ (home-page "https://www.freedesktop.org/wiki/Software/libtsm")
+ (license (list license:expat license:public-domain))))