From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51912@debbugs.gnu.org
Subject: [bug#51912] [PATCH 1/2] gnu: Add cl-trivial-raw-io.
Date: Wed, 17 Nov 2021 05:45:55 +0000 [thread overview]
Message-ID: <PU1PR01MB21550C2A474AE80CCAD03DF28D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <PU1PR01MB2155517A3ED67D04A6DFAA3C8D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com>
* gnu/packages/lisp-xyz.scm (cl-trivial-raw-io, ecl-trivial-raw-io,
sbcl-trivial-raw-io): New variables.
---
gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..b63c89012a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18719,6 +18719,37 @@ terminals.")
(define-public ecl-clinenoise
(sbcl-package->ecl-package sbcl-clinenoise))
+(define-public sbcl-trivial-raw-io
+ (let ((commit "b1a3c876305baa0dead419841de7b3e433a75867")
+ (revision "1"))
+ (package
+ (name "sbcl-trivial-raw-io")
+ (version (git-version "0.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kingcons/trivial-raw-io")
+ (commit commit)))
+ (file-name (git-file-name "trivial-raw-io" version))
+ (sha256
+ (base32 "19290zw2b64k78wr62gv30pp7cmqg07q85vfwjknaffjdd73xwi1"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("sbcl-alexandria" ,sbcl-alexandria)))
+ (home-page "https://github.com/kingcons/trivial-raw-io")
+ (synopsis "Trivial portability for raw *nix IO in Common Lisp")
+ (description
+ "For all your portable CL raw POSIX I/O needs! We export three simple
+symbols: @code{with-raw-io}, @code{read-char}, and @code{read-line}.")
+ (license license:bsd-2))))
+
+(define-public cl-trivial-raw-io
+ (sbcl-package->cl-source-package sbcl-trivial-raw-io))
+
+(define-public ecl-trivial-raw-io
+ (sbcl-package->ecl-package sbcl-trivial-raw-io))
+
(define-public sbcl-periodic-table
(package
(name "sbcl-periodic-table")
--
2.25.1
next prev parent reply other threads:[~2021-11-17 5:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 5:44 [bug#51912] [PATCH 0/2] gnu: Add cl-terminal-keypress Foo Chuan Wei
2021-11-17 5:45 ` Foo Chuan Wei [this message]
2021-11-17 5:46 ` [bug#51912] [PATCH 2/2] " Foo Chuan Wei
2021-11-19 10:04 ` bug#51912: [PATCH 0/2] " 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB21550C2A474AE80CCAD03DF28D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=51912@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).