[PATCH] gnu: Add cl-duologue.

  • Done
  • quality assurance status badge
Details
2 participants
  • Guillaume Le Vaillant
  • jgart
Owner
unassigned
Submitted by
jgart
Severity
normal
J
J
jgart wrote on 1 Dec 2022 14:33
(address . guix-patches@gnu.org)(name . jgart)(address . jgart@dismail.de)
20221201133345.12672-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-duologue, ecl-duologue, sbcl-duologue):
New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 02844cd870..093364392f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -255,6 +255,47 @@ (define-public cl-langutils
(define-public ecl-langutils
(sbcl-package->ecl-package sbcl-langutils))
+(define-public sbcl-duologue
+ (let ((commit "9c31c1761dd1fc009f2f4c6bf47a88826d87498b")
+ (revision "0"))
+ (package
+ (name "sbcl-duologue")
+ (version (git-version "20220605" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mmontone/duologue")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03ypcdz4gl8i82ivvnzc5ng4m9b8rkifyl13ik2grlcl5x2wq7ih"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-stefil))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-clavier
+ sbcl-chronicity
+ sbcl-drakma
+ sbcl-cl-ansi-text
+ sbcl-cl-fad))
+ (home-page "https://github.com/mmontone/duologue/")
+ (synopsis "High level user interaction library")
+ (description
+"Duologue is high-level interaction library for Common Lisp. It features
+coloured printing via @code{cl-ansi-text} and readline completion.")
+ (license (list license:expat
+ ;; https://github.com/mmontone/duologue/issues/9
+ license:gpl3+))))
+
+(define-public cl-duologue
+ (sbcl-package->cl-source-package sbcl-duologue))
+
+;; https://github.com/mmontone/duologue/issues/10
+#;(define-public ecl-duologue
+ (sbcl-package->ecl-package sbcl-duologue))
+
(define-public sbcl-alea
(package
(name "sbcl-alea")
--
2.38.1
J
J
jgart wrote on 1 Dec 2022 14:38
[PATCH v2] gnu: Add cl-duologue.
(address . 59740@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20221201133835.13235-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-duologue, ecl-duologue, sbcl-duologue):
New variables.

hi,

v2 adds missing paren to sbcl-duologue

all best,

jgart
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 02844cd870..d7dbb77b06 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -255,6 +255,47 @@ (define-public cl-langutils
(define-public ecl-langutils
(sbcl-package->ecl-package sbcl-langutils))
+(define-public sbcl-duologue
+ (let ((commit "9c31c1761dd1fc009f2f4c6bf47a88826d87498b")
+ (revision "0"))
+ (package
+ (name "sbcl-duologue")
+ (version (git-version "20220605" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mmontone/duologue")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "03ypcdz4gl8i82ivvnzc5ng4m9b8rkifyl13ik2grlcl5x2wq7ih"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-stefil))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-clavier
+ sbcl-chronicity
+ sbcl-drakma
+ sbcl-cl-ansi-text
+ sbcl-cl-fad))
+ (home-page "https://github.com/mmontone/duologue/")
+ (synopsis "High level user interaction library")
+ (description
+"Duologue is high-level interaction library for Common Lisp. It features
+coloured printing via @code{cl-ansi-text} and readline completion.")
+ (license (list license:expat
+ ;; https://github.com/mmontone/duologue/issues/9
+ license:gpl3+)))))
+
+(define-public cl-duologue
+ (sbcl-package->cl-source-package sbcl-duologue))
+
+;; https://github.com/mmontone/duologue/issues/10
+#;(define-public ecl-duologue
+ (sbcl-package->ecl-package sbcl-duologue))
+
(define-public sbcl-alea
(package
(name "sbcl-alea")
--
2.38.1
J
J
jgart wrote on 2 Dec 2022 06:16
[PATCH v2 1/2] gnu: sbcl-clavier: Update to 9b1424e.
(address . 59740@debbugs.gnu.org)
20221202051624.11931-1-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (sbcl-clavier): Update to 9b1424e.

hi,

v2 also updates clavier because tests were failing for ecl.

see this issue for more context:


all best,

jgart
---
gnu/packages/lisp-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 592c9518b5..1e4f6b8e13 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -455,7 +455,7 @@ (define-public ecl-meta
(sbcl-package->ecl-package sbcl-meta))
(define-public sbcl-clavier
- (let ((commit "048bea40cac0a89480f8c41ae542be45945f3268")
+ (let ((commit "9b1424eaad131e114a45b400784079124b5e2321")
(revision "0"))
(package
(name "sbcl-clavier")
@@ -468,7 +468,7 @@ (define-public sbcl-clavier
(commit commit)))
(file-name (git-file-name "cl-clavier" version))
(sha256
- (base32 "0734xia2hf7lqkm59gjhyvpsp0vl50djyhy4llwwbzbwwdkdihw4"))))
+ (base32 "1gjd0rhxs2x7gn3fw1hnxivmm4ca4f1wxlg0fqv8fdfabgzsvl5y"))))
(build-system asdf-build-system/sbcl)
(native-inputs (list sbcl-stefil))
(inputs
--
2.38.1
J
J
jgart wrote on 2 Dec 2022 06:16
[PATCH v2 2/2] gnu: Add cl-duologue.
(address . 59740@debbugs.gnu.org)(name . jgart)(address . jgart@dismail.de)
20221202051624.11931-2-jgart@dismail.de
* gnu/packages/lisp-xyz.scm (cl-duologue, ecl-duologue, sbcl-duologue):
New variables.
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)

Toggle diff (53 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1e4f6b8e13..6893cac8e5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -255,6 +255,46 @@ (define-public cl-langutils
(define-public ecl-langutils
(sbcl-package->ecl-package sbcl-langutils))
+(define-public sbcl-duologue
+ (let ((commit "ea1ada244a81da65f85b548823c9a6d7c9c145e1")
+ (revision "0"))
+ (package
+ (name "sbcl-duologue")
+ (version (git-version "20220605" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mmontone/duologue")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1yg7f27im9h0m6jihcay1p7alfhzm9hafwm5dw5hsyacy8f2cwk2"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-stefil))
+ (inputs
+ (list sbcl-alexandria
+ sbcl-anaphora
+ sbcl-clavier
+ sbcl-chronicity
+ sbcl-drakma
+ sbcl-cl-ansi-text
+ sbcl-cl-fad))
+ (home-page "https://github.com/mmontone/duologue/")
+ (synopsis "High level user interaction library")
+ (description
+"Duologue is high-level interaction library for Common Lisp. It features
+coloured printing via @code{cl-ansi-text} and readline completion.")
+ (license (list license:expat
+ ;; https://github.com/mmontone/duologue/issues/9
+ license:gpl3+)))))
+
+(define-public cl-duologue
+ (sbcl-package->cl-source-package sbcl-duologue))
+
+(define-public ecl-duologue
+ (sbcl-package->ecl-package sbcl-duologue))
+
(define-public sbcl-alea
(package
(name "sbcl-alea")
--
2.38.1
G
G
Guillaume Le Vaillant wrote on 5 Dec 2022 14:16
(name . jgart)(address . jgart@dismail.de)(address . 59740-done@debbugs.gnu.org)
87cz8y2dn2.fsf@kitej
Patches pushed as 8c440538d5b109dbb0b4ee93919b7bf904757586 and
following.
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY43vcQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j9HXQD+PgzyAbjQs3Na62CXxkazgCe8pntp53O14ny2
jehgWEgA/2/80Pt6V+PdhXXFOHSk87xQpDFnHZ8I/82MRWLitsFq
=0FiZ
-----END PGP SIGNATURE-----

Closed
?