From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51908@debbugs.gnu.org
Subject: [bug#51908] [PATCH] gnu: Add cl-terminal-size.
Date: Wed, 17 Nov 2021 05:42:48 +0000 [thread overview]
Message-ID: <PU1PR01MB2155AF06FAF2E11E1B9F2F698D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
* gnu/packages/lisp-xyz.scm (cl-terminal-size, ecl-terminal-size,
sbcl-terminal-size): New variables.
---
gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..9fef9ed153 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18347,6 +18347,39 @@ tasks in Common Lisp. It is fork of SWANK-BACKEND.")
(define-public ecl-conium
(sbcl-package->ecl-package sbcl-conium))
+(define-public sbcl-terminal-size
+ (let ((commit "e0b3d56a9dd3366baf2a05d84381da5747a2ef4a")
+ (revision "1"))
+ (package
+ (name "sbcl-terminal-size")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eudoxia0/terminal-size")
+ (commit commit)))
+ (file-name (git-file-name "cl-terminal-size" version))
+ (sha256
+ (base32 "1212wbadms9jzrqgarpj3d9xh9w4dab8jhx4k2aryqgf116zs42h"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("osicat" ,sbcl-osicat)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (home-page "https://github.com/eudoxia0/terminal-size")
+ (synopsis "Get the size of the terminal from Common Lisp")
+ (description
+ "Get the size of the terminal using @{(terminal-size:size)}.")
+ (license license:expat))))
+
+(define-public cl-terminal-size
+ (sbcl-package->cl-source-package sbcl-terminal-size))
+
+(define-public ecl-terminal-size
+ (sbcl-package->ecl-package sbcl-terminal-size))
+
(define-public sbcl-cl-readline
(let ((commit "8438c9ebd92ccc95ebab9cc9cbe6c72d44fccc58")
(revision "1"))
base-commit: 02a67810e566e8402e0b927c81ae39391762767d
--
2.25.1
next reply other threads:[~2021-11-17 5:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 5:42 Foo Chuan Wei [this message]
2021-11-19 9:59 ` bug#51908: [PATCH] gnu: Add cl-terminal-size Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB2155AF06FAF2E11E1B9F2F698D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=51908@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.