From af39609bece22cb14dd5f502596a0b1b724b1809 Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 22 Aug 2016 15:39:19 +0200 Subject: [PATCH] gnu: Add libtsm. * gnu/packages/terminals.scm (libtsm): New variable. --- gnu/packages/terminals.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 ;;; Copyright © 2016 Mckinley Olsen ;;; Copyright © 2016 Alex Griffin +;;; Copyright © 2016 David Craven ;;; ;;; 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))))