guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51481] [PATCH] gnu: Add cl-clinenoise


From: Foo Chuan Wei
Subject: [bug#51481] [PATCH] gnu: Add cl-clinenoise
Date: Fri, 29 Oct 2021 14:13:15 +0000

* gnu/packages/lisp-xyz.scm (cl-clinenoise, ecl-clinenoise,
  sbcl-clinenoise): 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 e4e13b7ed7..3bac98cc25 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18595,3 +18595,34 @@ higher-level lispier interface.")
 
 (define-public ecl-cl-charms
   (sbcl-package->ecl-package sbcl-cl-charms))
+
+(define-public sbcl-clinenoise
+  (let ((commit "46e21f99d06a55d93eaa382cf652d55d457032ef")
+        (revision "1"))
+    (package
+      (name "sbcl-clinenoise")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/jasom/clinenoise";)
+                       (commit commit)))
+                (file-name (git-file-name "cl-clinenoise" version))
+                (sha256
+                  (base32
+                    "0ydlirfk4dbpqqjwwph99v5swcrhd8v9g8q24fvs35wn2vm08lh1"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("alexandria" ,sbcl-alexandria)
+                ("cffi" ,sbcl-cffi)
+                ("split-sequence" ,sbcl-split-sequence)))
+      (home-page "https://github.com/jasom/clinenoise";)
+      (synopsis "Straight port of linenoise to Common Lisp")
+      (description
+        "A trivial line-input library for VT-like terminals.")
+      (license license:bsd-2))))
+
+(define-public cl-clinenoise
+  (sbcl-package->cl-source-package sbcl-clinenoise))
+
+(define-public ecl-clinenoise
+  (sbcl-package->ecl-package sbcl-clinenoise))

base-commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675
-- 
2.25.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]