aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Hinsen <konrad.hinsen@fastmail.net>2024-09-02 17:49:23 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2024-09-03 15:28:12 +0200
commit677b70633850a6ba316014f6593324640a9ac8ed (patch)
tree0d128c82ec2c3b63ebf55dbd444c91837623cd7c
parentb3919445432f35d779d342fcd63f5ca8ca757234 (diff)
downloadguix-677b70633850a6ba316014f6593324640a9ac8ed.tar.gz
guix-677b70633850a6ba316014f6593324640a9ac8ed.zip
gnu: Add cl-termp.
* gnu/packages/lisp-xyz.scm (sbcl-termp, cl-termp, ecl-termp): New variables. Change-Id: I224bff2ef056cfb46153570dde430840fa425581 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 70be0a8367..2399b60a8a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27981,6 +27981,36 @@ provides a method for determining which capabilities a terminal
(define-public ecl-terminfo
(sbcl-package->ecl-package sbcl-terminfo))
+(define-public sbcl-termp
+ (let ((commit "29789fe83db624679b6f341e3fae3f2577ce6a45")
+ (revision "0"))
+ (package
+ (name "sbcl-termp")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vindarel/termp")
+ (commit commit)))
+ (file-name (git-file-name "cl-termp" version))
+ (sha256
+ (base32 "03r5cv01q4yg0a2dv2ckn2xys53y9isrq3hkp0dqa96q8wrindlh"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "Test for real vs. dumb terminal window")
+ (description
+ "This is a trivial utility for distinguishing between a process running
+in a real terminal window and a process running in a dumb one, e.g.
+emacs-slime.")
+ (home-page "https://github.com/vindarel/termp")
+ (license license:expat))))
+
+(define-public cl-termp
+ (sbcl-package->cl-source-package sbcl-termp))
+
+(define-public ecl-termp
+ (sbcl-package->ecl-package sbcl-termp))
+
(define-public sbcl-terrable
(let ((commit "e4fe23ffa08e8d53a8168105b413861da59cc786")
(revision "1"))