aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-11-17 05:45:55 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2021-11-19 10:48:42 +0100
commit4cc345faf950fe47afd38ce9657ce8d5d69acaf9 (patch)
treef84fdb5f2288e543b0437baf0b5e15bbd8abdd85
parent04ed4a0e05c13c4fec499fe1f952f535c00c4000 (diff)
downloadguix-4cc345faf950fe47afd38ce9657ce8d5d69acaf9.tar
guix-4cc345faf950fe47afd38ce9657ce8d5d69acaf9.tar.gz
gnu: Add cl-trivial-raw-io.
* gnu/packages/lisp-xyz.scm (cl-trivial-raw-io, ecl-trivial-raw-io, sbcl-trivial-raw-io): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 8440f31e43..128aefb979 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18921,6 +18921,38 @@ 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
+ "This library exports three symbols: @code{with-raw-io},
+@code{read-char}, and @code{read-line}, to provide raw POSIX I/O in Common
+Lisp.")
+ (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")