diff mbox series

[bug#51481] gnu: Add cl-clinenoise

Message ID SG2PR01MB216000E23F27FF8D252E2B228D879@SG2PR01MB2160.apcprd01.prod.exchangelabs.com
State New
Headers show
Series [bug#51481] gnu: Add cl-clinenoise | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Foo Chuan Wei Oct. 29, 2021, 2:13 p.m. UTC
* gnu/packages/lisp-xyz.scm (cl-clinenoise, ecl-clinenoise,
  sbcl-clinenoise): New variables.
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)


base-commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675

Comments

Guillaume Le Vaillant Oct. 30, 2021, 9:13 a.m. UTC | #1
Patch pushed as d7a1eb2a663503954000293b361b835ba8a02ed7.
Thanks.
diff mbox series

Patch

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))