diff options
author | Katherine Cox-Buday <cox.katherine.e@gmail.com> | 2019-03-29 15:35:00 -0500 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2019-04-07 11:23:14 +0800 |
commit | a7b1ae38d3bcd503e00bbd05ddf0540ee90d5b76 (patch) | |
tree | 86d8b8b8baba18e2d1fe60d6cfbe9d7018f7242e /gnu | |
parent | 2005104eb2a829145b622ca9e7ad3fce34482ddd (diff) | |
download | guix-a7b1ae38d3bcd503e00bbd05ddf0540ee90d5b76.tar guix-a7b1ae38d3bcd503e00bbd05ddf0540ee90d5b76.tar.gz |
gnu: Add cl-utilities.
* gnu/packages/lisp.scm (sbcl-utilities, cl-utilities): New variables.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 94f7a6deba..2f5bbbd17a 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -4312,3 +4312,45 @@ SLIME.") (define-public cl-syntax-annot (sbcl-package->cl-source-package sbcl-syntax-annot)) + +(define-public sbcl-utilities + (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b") + (revision "1")) + (package + (name "sbcl-utilities") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method url-fetch) + (uri + (string-append + "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/" + "archive/" commit "/cl-utilities-" commit ".tar.gz")) + (sha256 + (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2")))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:asd-file "cl-utilities.asd" + #:asd-system-name "cl-utilities" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "rotate-byte.lisp" + (("in-package :cl-utilities)" all) + "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)"))))))) + (home-page "http://common-lisp.net/project/cl-utilities") + (synopsis "A collection of semi-standard utilities") + (description + "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there +is a collection of Common Lisp Utilities, things that everybody writes since +they're not part of the official standard. There are some very useful things +there; the only problems are that they aren't implemented as well as you'd +like (some aren't implemented at all) and they aren't conveniently packaged +and maintained. It takes quite a bit of work to carefully implement utilities +for common use, commented and documented, with error checking placed +everywhere some dumb user might make a mistake.") + (license license:public-domain)))) + +(define-public cl-utilities + (sbcl-package->cl-source-package sbcl-utilities)) |