[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/67: gnu: Add cl-ansi-text.
From: |
Pierre Neidhardt |
Subject: |
33/67: gnu: Add cl-ansi-text. |
Date: |
Wed, 17 Oct 2018 04:20:17 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser2
in repository guix.
commit fab0f08df77705b3d14ab4ad02cb7c57da8a8124
Author: Pierre Neidhardt <address@hidden>
Date: Mon Oct 1 15:30:47 2018 +0200
gnu: Add cl-ansi-text.
* gnu/packages/lisp.scm (cl-ansi-text, ecl-cl-ansi-text,
sbcl-cl-ansi-text): New variables.
---
gnu/packages/lisp.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3508176..6fbb006 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2487,6 +2487,44 @@ This library is no longer supported by its author.")
(define-public ecl-cl-colors
(sbcl-package->ecl-package sbcl-cl-colors))
+(define-public sbcl-cl-ansi-text
+ (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
+ (package
+ (name "sbcl-cl-ansi-text")
+ (version (git-version "1.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pnathan/cl-ansi-text")
+ (commit commit)))
+ (sha256
+ (base32
+ "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
+ (file-name (git-file-name "cl-ansi-text" version))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("cl-colors" ,sbcl-cl-colors)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (synopsis "ANSI terminal color implementation for Common Lisp")
+ (description
+ "@command{cl-ansi-text} provides utilities which enable printing to an
+ANSI terminal with colored text. It provides the macro @command{with-color}
+which causes everything printed in the body to be displayed with the provided
+color. It further provides functions which will print the argument with the
+named color.")
+ (home-page "https://github.com/pnathan/cl-ansi-text")
+ ;; REVIEW: The actual license is LLGPL. Should we add it to Guix?
+ (license license:lgpl3+))))
+
+(define-public cl-ansi-text
+ (sbcl-package->cl-source-package sbcl-cl-ansi-text))
+
+(define-public ecl-cl-ansi-text
+ (sbcl-package->ecl-package sbcl-cl-ansi-text))
+
(define-public sbcl-ascii-strings
(let ((revision "1")
(changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
- 14/67: gnu: Add 3bmd., (continued)
- 14/67: gnu: Add 3bmd., Pierre Neidhardt, 2018/10/17
- 24/67: gnu: Add cl-string-match., Pierre Neidhardt, 2018/10/17
- 23/67: gnu: Add ascii-strings., Pierre Neidhardt, 2018/10/17
- 22/67: gnu: Add mgl-pax., Pierre Neidhardt, 2018/10/17
- 21/67: gnu: Add pythonic-string-reader., Pierre Neidhardt, 2018/10/17
- 28/67: gnu: Add lisp-unit., Pierre Neidhardt, 2018/10/17
- 27/67: slime-swank (FIX), Pierre Neidhardt, 2018/10/17
- 26/67: gnu: Add sbcl-slime-swank., Pierre Neidhardt, 2018/10/17
- 34/67: gnu: Add prove-asdf., Pierre Neidhardt, 2018/10/17
- 29/67: gnu: Add anaphora., Pierre Neidhardt, 2018/10/17
- 33/67: gnu: Add cl-ansi-text.,
Pierre Neidhardt <=
- 30/67: gnu: Add lift., Pierre Neidhardt, 2018/10/17
- 25/67: mgl-pax (FIX), Pierre Neidhardt, 2018/10/17
- 32/67: gnu: Add cl-colors., Pierre Neidhardt, 2018/10/17
- 31/67: gnu: Add let-plus., Pierre Neidhardt, 2018/10/17
- 35/67: gnu: Add prove., Pierre Neidhardt, 2018/10/17
- 41/67: gnu: Add queues., Pierre Neidhardt, 2018/10/17
- 43/67: gnu: Add queues.simple-cqueue., Pierre Neidhardt, 2018/10/17
- 36/67: gnu: Add proc-parse., Pierre Neidhardt, 2018/10/17
- 50/67: gnu: Add sbcl-cffi., Pierre Neidhardt, 2018/10/17
- 49/67: gnu: Add sbcl-cffi-grovel., Pierre Neidhardt, 2018/10/17