summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-10-12 05:05:32 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2021-10-13 10:01:21 +0200
commit880390140e272b05cfec14c684c658616a9b4a3e (patch)
tree01c36f543fa6e34e7b41617cc9e8ddb7e23b62c8 /gnu
parent37832406bef8e9b61b1c3b533988d5a873cb9a21 (diff)
gnu: Add cl-terminfo.
* gnu/packages/lisp-xyz.scm (sbcl-terminfo, cl-terminfo, ecl-terminfo): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5d9db448d0..cc1c0121c0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -18841,3 +18842,33 @@ formats within this framework.")
(define-public cl-feeder
(sbcl-package->cl-source-package sbcl-feeder))
+
+(define-public sbcl-terminfo
+ (let ((commit "b8b2e3ed786bfcf9f1aa4a264cee2e93135080f5")
+ (revision "1"))
+ (package
+ (name "sbcl-terminfo")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/npatrick04/terminfo")
+ (commit commit)))
+ (file-name (git-file-name "terminfo" version))
+ (sha256
+ (base32 "1nmin9rr6f75xdhxysba66xa1dh62fh27w9ad1cvmj0062armf6b"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "Terminfo database front end in Common Lisp")
+ (home-page "https://github.com/npatrick04/terminfo")
+ (description
+ "This is a terminfo database front end in Common Lisp. The package
+provides a method for determining which capabilities a terminal
+(e.g. \"xterm\") has and methods to compile or put commands to a stream.")
+ (license license:expat))))
+
+(define-public cl-terminfo
+ (sbcl-package->cl-source-package sbcl-terminfo))
+
+(define-public ecl-terminfo
+ (sbcl-package->ecl-package sbcl-terminfo))