1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 John Darrington <jmd@gnu.org>
3 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
6 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
7 ;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
8 ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
9 ;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
10 ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
11 ;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
12 ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
13 ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
14 ;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
15 ;;; Copyright © 2019 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
17 ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
18 ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 ;;; This file only contains Common Lisp libraries.
36 ;;; Common Lisp compilers and tooling go to lisp.scm.
37 ;;; Common Lisp applications should go to the most appropriate file,
38 ;;; e.g. StumpWM is in wm.scm.
40 (define-module (gnu packages lisp-xyz)
41 #:use-module (gnu packages)
42 #:use-module ((guix licenses) #:prefix license:)
43 #:use-module (guix packages)
44 #:use-module (guix download)
45 #:use-module (guix git-download)
46 #:use-module (guix hg-download)
47 #:use-module (guix utils)
48 #:use-module (guix build-system asdf)
49 #:use-module (guix build-system trivial)
50 #:use-module (gnu packages c)
51 #:use-module (gnu packages compression)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages gtk)
54 #:use-module (gnu packages libffi)
55 #:use-module (gnu packages lisp)
56 #:use-module (gnu packages pkg-config)
57 #:use-module (gnu packages python)
58 #:use-module (gnu packages python-xyz)
59 #:use-module (gnu packages sqlite)
60 #:use-module (gnu packages tls)
61 #:use-module (gnu packages webkit)
62 #:use-module (gnu packages xdisorg)
63 #:use-module (ice-9 match)
64 #:use-module (srfi srfi-19))
66 (define-public sbcl-alexandria
68 (commit "3b849bc0116ea70f215ee6b2fbf354e862aaa9dd"))
70 (name "sbcl-alexandria")
71 (version (git-version "1.0.0" revision commit))
76 (url "https://gitlab.common-lisp.net/alexandria/alexandria.git")
80 "04amwvx2vl691f0plcfbqqwxgib9zimih7jrn5zl7mbwvrxy022b"))
81 (file-name (git-file-name name version))))
82 (build-system asdf-build-system/sbcl)
85 (synopsis "Collection of portable utilities for Common Lisp")
87 "Alexandria is a collection of portable utilities. It does not contain
88 conceptual extensions to Common Lisp. It is conservative in scope, and
89 portable between implementations.")
90 (home-page "https://common-lisp.net/project/alexandria/")
91 (license license:public-domain))))
93 (define-public cl-alexandria
94 (sbcl-package->cl-source-package sbcl-alexandria))
96 (define-public ecl-alexandria
97 (sbcl-package->ecl-package sbcl-alexandria))
99 (define-public sbcl-net.didierverna.asdf-flv
101 (name "sbcl-net.didierverna.asdf-flv")
107 (url "https://github.com/didierverna/asdf-flv")
108 (commit (string-append "version-" version))))
109 (file-name (git-file-name "asdf-flv" version))
111 (base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj"))))
112 (build-system asdf-build-system/sbcl)
113 (synopsis "Common Lisp ASDF extension to provide support for file-local variables")
114 (description "ASDF-FLV provides support for file-local variables through
115 ASDF. A file-local variable behaves like @code{*PACKAGE*} and
116 @code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
117 dynamic binding is created before processing the file, so that any
118 modification to the variable becomes essentially file-local.
120 In order to make one or several variables file-local, use the macros
121 @code{SET-FILE-LOCAL-VARIABLE(S)}.")
122 (home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv")
123 (license (license:non-copyleft
124 "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"
125 "GNU All-Permissive License"))))
127 (define-public cl-net.didierverna.asdf-flv
128 (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv))
130 (define-public ecl-net.didierverna.asdf-flv
131 (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
133 (define-public sbcl-fiveam
141 (url "https://github.com/sionescu/fiveam.git")
142 (commit (string-append "v" version))))
143 (file-name (git-file-name "fiveam" version))
145 (base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli"))))
147 `(("alexandria" ,sbcl-alexandria)
148 ("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv)
149 ("trivial-backtrace" ,sbcl-trivial-backtrace)))
150 (build-system asdf-build-system/sbcl)
151 (synopsis "Common Lisp testing framework")
152 (description "FiveAM is a simple (as far as writing and running tests
153 goes) regression testing framework. It has been designed with Common Lisp's
154 interactive development model in mind.")
155 (home-page "https://common-lisp.net/project/fiveam/")
156 (license license:bsd-3)))
158 (define-public cl-fiveam
159 (sbcl-package->cl-source-package sbcl-fiveam))
161 (define-public ecl-fiveam
162 (sbcl-package->ecl-package sbcl-fiveam))
164 (define-public sbcl-bordeaux-threads
165 (let ((commit "5dce49fbc829f4d136a734f5ef4f5d599660984f")
168 (name "sbcl-bordeaux-threads")
169 (version (git-version "0.8.6" revision commit))
173 (url "https://github.com/sionescu/bordeaux-threads.git")
176 (base32 "1gkh9rz7zw57n3110ikcf4835950wr4hgp8l79id5ai6nd86x7wv"))
178 (git-file-name "bordeaux-threads" version))))
179 (inputs `(("alexandria" ,sbcl-alexandria)))
180 (native-inputs `(("fiveam" ,sbcl-fiveam)))
181 (build-system asdf-build-system/sbcl)
182 (synopsis "Portable shared-state concurrency library for Common Lisp")
183 (description "BORDEAUX-THREADS is a proposed standard for a minimal
184 MP/Threading interface. It is similar to the CLIM-SYS threading and lock
186 (home-page "https://common-lisp.net/project/bordeaux-threads/")
187 (license license:x11))))
189 (define-public cl-bordeaux-threads
190 (sbcl-package->cl-source-package sbcl-bordeaux-threads))
192 (define-public ecl-bordeaux-threads
193 (sbcl-package->ecl-package sbcl-bordeaux-threads))
195 (define-public sbcl-trivial-gray-streams
197 (commit "0483ade330508b4b2edeabdb47d16ec9437ee1cb"))
199 (name "sbcl-trivial-gray-streams")
200 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
206 (url "https://github.com/trivial-gray-streams/trivial-gray-streams.git")
209 (base32 "0m3rpf2x0zmdk3nf1qfa01j6a55vj7gkwhyw78qslcgbjlgh8p4d"))
211 (string-append "trivial-gray-streams-" version "-checkout"))))
212 (build-system asdf-build-system/sbcl)
213 (synopsis "Compatibility layer for Gray streams implementations")
214 (description "Gray streams is an interface proposed for inclusion with
215 ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
216 popular CL implementations implement it. This package provides an extremely
217 thin compatibility layer for gray streams.")
218 (home-page "http://www.cliki.net/trivial-gray-streams")
219 (license license:x11))))
221 (define-public cl-trivial-gray-streams
222 (sbcl-package->cl-source-package sbcl-trivial-gray-streams))
224 (define-public ecl-trivial-gray-streams
225 (sbcl-package->ecl-package sbcl-trivial-gray-streams))
227 (define-public sbcl-fiasco
228 (let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
232 (version (git-version "0.0.1" revision commit))
237 (url "https://github.com/joaotavora/fiasco.git")
239 (file-name (git-file-name "fiasco" version))
242 "1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
243 (build-system asdf-build-system/sbcl)
245 `(("alexandria" ,sbcl-alexandria)
246 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
247 (synopsis "Simple and powerful test framework for Common Lisp")
248 (description "A Common Lisp test framework that treasures your failures,
249 logical continuation of Stefil. It focuses on interactive debugging.")
250 (home-page "https://github.com/joaotavora/fiasco")
251 ;; LICENCE specifies this is public-domain unless the legislation
252 ;; doesn't allow or recognize it. In that case it falls back to a
253 ;; permissive licence.
254 (license (list license:public-domain
255 (license:x11-style "file://LICENCE"))))))
257 (define-public cl-fiasco
258 (sbcl-package->cl-source-package sbcl-fiasco))
260 (define-public ecl-fiasco
261 (sbcl-package->ecl-package sbcl-fiasco))
263 (define-public sbcl-flexi-streams
265 (name "sbcl-flexi-streams")
271 (url "https://github.com/edicl/flexi-streams.git")
272 (commit (string-append "v" version))))
273 (file-name (git-file-name "flexi-streams" version))
275 (base32 "0gvykjlmja060zqq6nn6aqxlshh6r6ijahmmgf20q0d839rwpgxc"))))
276 (build-system asdf-build-system/sbcl)
279 (modify-phases %standard-phases
280 (add-after 'unpack 'make-git-checkout-writable
282 (for-each make-file-writable (find-files "."))
284 (inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
285 (synopsis "Implementation of virtual bivalent streams for Common Lisp")
286 (description "Flexi-streams is an implementation of \"virtual\" bivalent
287 streams that can be layered atop real binary or bivalent streams and that can
288 be used to read and write character data in various single- or multi-octet
289 encodings which can be changed on the fly. It also supplies in-memory binary
290 streams which are similar to string streams.")
291 (home-page "http://weitz.de/flexi-streams/")
292 (license license:bsd-3)))
294 (define-public cl-flexi-streams
295 (sbcl-package->cl-source-package sbcl-flexi-streams))
297 (define-public ecl-flexi-streams
298 (sbcl-package->ecl-package sbcl-flexi-streams))
300 (define-public sbcl-cl-ppcre
302 (name "sbcl-cl-ppcre")
308 (url "https://github.com/edicl/cl-ppcre.git")
309 (commit (string-append "v" version))))
310 (file-name (git-file-name "cl-ppcre" version))
312 (base32 "0q3iany07vgqm144lw6pj0af2d3vsikpbkwcxr30fci3kzsq4f49"))))
313 (build-system asdf-build-system/sbcl)
314 (native-inputs `(("flexi-streams" ,sbcl-flexi-streams)))
315 (synopsis "Portable regular expression library for Common Lisp")
316 (description "CL-PPCRE is a portable regular expression library for Common
317 Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
318 compatible with ANSI-compliant Common Lisp implementations.")
319 (home-page "http://weitz.de/cl-ppcre/")
320 (license license:bsd-2)))
322 (define-public cl-ppcre
323 (sbcl-package->cl-source-package sbcl-cl-ppcre))
325 (define-public ecl-cl-ppcre
326 (sbcl-package->ecl-package sbcl-cl-ppcre))
328 (define sbcl-cl-unicode-base
330 (commit "9fcd06fba1ddc9e66aed2f2d6c32dc9b764f03ea"))
332 (name "sbcl-cl-unicode-base")
333 (version (string-append "0.1.5-" revision "." (string-take commit 7)))
337 (url "https://github.com/edicl/cl-unicode.git")
339 (file-name (string-append "cl-unicode-" version "-checkout"))
342 "1jicprb5b3bv57dy1kg03572gxkcaqdjhak00426s76g0plmx5ki"))))
343 (build-system asdf-build-system/sbcl)
345 '(#:asd-file "cl-unicode.asd"
346 #:asd-system-name "cl-unicode/base"))
348 `(("cl-ppcre" ,sbcl-cl-ppcre)))
349 (home-page "http://weitz.de/cl-unicode/")
350 (synopsis "Portable Unicode library for Common Lisp")
351 (description "CL-UNICODE is a portable Unicode library Common Lisp, which
352 is compatible with perl. It is pretty fast, thread-safe, and compatible with
353 ANSI-compliant Common Lisp implementations.")
354 (license license:bsd-2))))
356 (define-public sbcl-cl-unicode
358 (inherit sbcl-cl-unicode-base)
359 (name "sbcl-cl-unicode")
361 `(("cl-unicode/base" ,sbcl-cl-unicode-base)
362 ,@(package-inputs sbcl-cl-unicode-base)))
364 `(("flexi-streams" ,sbcl-flexi-streams)))
367 (define-public ecl-cl-unicode
368 (sbcl-package->ecl-package sbcl-cl-unicode))
370 (define-public cl-unicode
371 (sbcl-package->cl-source-package sbcl-cl-unicode))
373 (define-public sbcl-clx
382 (url "https://github.com/sharplispers/clx.git")
386 "1vi67z9hpj5rr4xcmfbfwzmlcc0ah7hzhrmfid6lqdkva238v2wf"))
387 (file-name (string-append "clx-" version))))
388 (build-system asdf-build-system/sbcl)
390 `(("fiasco" ,sbcl-fiasco)))
391 (home-page "http://www.cliki.net/portable-clx")
392 (synopsis "X11 client library for Common Lisp")
393 (description "CLX is an X11 client library for Common Lisp. The code was
394 originally taken from a CMUCL distribution, was modified somewhat in order to
395 make it compile and run under SBCL, then a selection of patches were added
396 from other CLXes around the net.")
397 (license license:x11)))
399 (define-public cl-clx
400 (sbcl-package->cl-source-package sbcl-clx))
402 (define-public ecl-clx
403 (sbcl-package->ecl-package sbcl-clx))
405 (define-public sbcl-cl-ppcre-unicode
406 (package (inherit sbcl-cl-ppcre)
407 (name "sbcl-cl-ppcre-unicode")
409 `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
410 #:asd-file "cl-ppcre-unicode.asd"))
412 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
413 ("sbcl-cl-unicode" ,sbcl-cl-unicode)))))
415 ;; The slynk that users expect to install includes all of slynk's contrib
416 ;; modules. Therefore, we build the base module and all contribs first; then
417 ;; we expose the union of these as `sbcl-slynk'. The following variable
418 ;; describes the base module.
419 (define sbcl-slynk-boot0
421 (commit "cbf84c36c4eca8b032e3fd16177a7bc02df3ec4c"))
423 (name "sbcl-slynk-boot0")
424 (version (string-append "1.0.0-beta-" revision "." (string-take commit 7)))
430 (url "https://github.com/joaotavora/sly.git")
433 (base32 "13dyhsravn591p7g6is01mp2ynzjnnj7pwgi57r6xqmd4611y9vh"))
434 (file-name (string-append "slynk-" version "-checkout"))
435 (modules '((guix build utils)
439 ;; Move the contribs into the main source directory for easier
441 (substitute* "slynk/slynk.asd"
444 (("\\(defsystem :slynk/util")
445 "(defsystem :slynk/util :depends-on (:slynk)")
446 ((":depends-on \\(:slynk :slynk/util\\)")
447 ":depends-on (:slynk :slynk-util)"))
448 (substitute* "contrib/slynk-trace-dialog.lisp"
449 (("\\(slynk::reset-inspector\\)") ; Causes problems on load
451 (substitute* "contrib/slynk-profiler.lisp"
453 "slynk-pprint-to-line"))
454 (substitute* "contrib/slynk-fancy-inspector.lisp"
455 (("slynk/util") "slynk-util")
456 ((":compile-toplevel :load-toplevel") ""))
457 (rename-file "contrib" "slynk/contrib")
458 ;; Move slynk's contents into the base directory for easier
460 (for-each (lambda (file)
461 (unless (string-prefix? "." file)
462 (rename-file (string-append "slynk/" file)
463 (string-append "./" (basename file)))))
466 (build-system asdf-build-system/sbcl)
468 `(#:tests? #f ; No test suite
469 #:asd-system-name "slynk"))
470 (synopsis "Common Lisp IDE for Emacs")
471 (description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
472 It also features a completely redesigned REPL based on Emacs's own
473 full-featured comint.el, live code annotations, and a consistent interactive
474 button interface. Everything can be copied to the REPL. One can create
475 multiple inspectors with independent history.")
476 (home-page "https://github.com/joaotavora/sly")
477 (license license:public-domain)
478 (properties `((cl-source-variant . ,(delay cl-slynk)))))))
480 (define-public cl-slynk
482 (inherit (sbcl-package->cl-source-package sbcl-slynk-boot0))
485 (define ecl-slynk-boot0
486 (sbcl-package->ecl-package sbcl-slynk-boot0))
488 (define sbcl-slynk-arglists
490 (inherit sbcl-slynk-boot0)
491 (name "sbcl-slynk-arglists")
492 (inputs `(("slynk" ,sbcl-slynk-boot0)))
494 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
495 ((#:asd-file _ "") "slynk.asd")
496 ((#:asd-system-name _ #f) "slynk/arglists")))))
498 (define ecl-slynk-arglists
499 (sbcl-package->ecl-package sbcl-slynk-arglists))
501 (define sbcl-slynk-util
503 (inherit sbcl-slynk-boot0)
504 (name "sbcl-slynk-util")
505 (inputs `(("slynk" ,sbcl-slynk-boot0)))
507 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
508 ((#:asd-file _ "") "slynk.asd")
509 ((#:asd-system-name _ #f) "slynk/util")))))
511 (define ecl-slynk-util
512 (sbcl-package->ecl-package sbcl-slynk-util))
514 (define sbcl-slynk-fancy-inspector
516 (inherit sbcl-slynk-arglists)
517 (name "sbcl-slynk-fancy-inspector")
518 (inputs `(("slynk-util" ,sbcl-slynk-util)
519 ,@(package-inputs sbcl-slynk-arglists)))
521 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
522 ((#:asd-system-name _ #f) "slynk/fancy-inspector")))))
524 (define ecl-slynk-fancy-inspector
525 (sbcl-package->ecl-package sbcl-slynk-fancy-inspector))
527 (define sbcl-slynk-package-fu
529 (inherit sbcl-slynk-arglists)
530 (name "sbcl-slynk-package-fu")
532 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
533 ((#:asd-system-name _ #f) "slynk/package-fu")))))
535 (define ecl-slynk-package-fu
536 (sbcl-package->ecl-package sbcl-slynk-package-fu))
538 (define sbcl-slynk-mrepl
540 (inherit sbcl-slynk-fancy-inspector)
541 (name "sbcl-slynk-mrepl")
543 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
544 ((#:asd-system-name _ #f) "slynk/mrepl")))))
546 (define ecl-slynk-mrepl
547 (sbcl-package->ecl-package sbcl-slynk-mrepl))
549 (define sbcl-slynk-trace-dialog
551 (inherit sbcl-slynk-arglists)
552 (name "sbcl-slynk-trace-dialog")
554 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
555 ((#:asd-system-name _ #f) "slynk/trace-dialog")))))
557 (define ecl-slynk-trace-dialog
558 (sbcl-package->ecl-package sbcl-slynk-trace-dialog))
560 (define sbcl-slynk-profiler
562 (inherit sbcl-slynk-arglists)
563 (name "sbcl-slynk-profiler")
565 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
566 ((#:asd-system-name _ #f) "slynk/profiler")))))
568 (define ecl-slynk-profiler
569 (sbcl-package->ecl-package sbcl-slynk-profiler))
571 (define sbcl-slynk-stickers
573 (inherit sbcl-slynk-arglists)
574 (name "sbcl-slynk-stickers")
576 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
577 ((#:asd-system-name _ #f) "slynk/stickers")))))
579 (define ecl-slynk-stickers
580 (sbcl-package->ecl-package sbcl-slynk-stickers))
582 (define sbcl-slynk-indentation
584 (inherit sbcl-slynk-arglists)
585 (name "sbcl-slynk-indentation")
587 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
588 ((#:asd-system-name _ #f) "slynk/indentation")))))
590 (define ecl-slynk-indentation
591 (sbcl-package->ecl-package sbcl-slynk-indentation))
593 (define sbcl-slynk-retro
595 (inherit sbcl-slynk-arglists)
596 (name "sbcl-slynk-retro")
598 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
599 ((#:asd-system-name _ #f) "slynk/retro")))))
601 (define ecl-slynk-retro
602 (sbcl-package->ecl-package sbcl-slynk-retro))
604 (define slynk-systems
608 "slynk-fancy-inspector"
617 (define-public sbcl-slynk
619 (inherit sbcl-slynk-boot0)
622 `(("slynk" ,sbcl-slynk-boot0)
623 ("slynk-util" ,sbcl-slynk-util)
624 ("slynk-arglists" ,sbcl-slynk-arglists)
625 ("slynk-fancy-inspector" ,sbcl-slynk-fancy-inspector)
626 ("slynk-package-fu" ,sbcl-slynk-package-fu)
627 ("slynk-mrepl" ,sbcl-slynk-mrepl)
628 ("slynk-profiler" ,sbcl-slynk-profiler)
629 ("slynk-trace-dialog" ,sbcl-slynk-trace-dialog)
630 ("slynk-stickers" ,sbcl-slynk-stickers)
631 ("slynk-indentation" ,sbcl-slynk-indentation)
632 ("slynk-retro" ,sbcl-slynk-retro)))
633 (native-inputs `(("sbcl" ,sbcl)))
634 (build-system trivial-build-system)
636 (outputs '("out" "image"))
638 `(#:modules ((guix build union)
640 (guix build lisp-utils))
643 (use-modules (ice-9 match)
646 (guix build lisp-utils))
649 (assoc-ref %outputs "out")
653 (if (string-prefix? "slynk" name) path #f)))
656 (prepend-to-source-registry
657 (string-append (assoc-ref %outputs "out") "//"))
659 (parameterize ((%lisp-type "sbcl")
660 (%lisp (string-append (assoc-ref %build-inputs "sbcl")
662 (build-image (string-append
663 (assoc-ref %outputs "image")
666 #:dependencies ',slynk-systems))
669 (define-public ecl-slynk
676 (list name (sbcl-package->ecl-package pkg))))
677 (package-inputs sbcl-slynk)))
681 '(#:modules ((guix build union))
684 (use-modules (ice-9 match)
687 (((names . paths) ...)
688 (union-build (assoc-ref %outputs "out")
692 (define-public sbcl-parse-js
693 (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
696 (name "sbcl-parse-js")
697 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
702 (url "http://marijn.haverbeke.nl/git/parse-js")
704 (file-name (string-append name "-" commit "-checkout"))
707 "1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
708 (build-system asdf-build-system/sbcl)
709 (home-page "http://marijnhaverbeke.nl/parse-js/")
710 (synopsis "Parse JavaScript")
711 (description "Parse-js is a Common Lisp package for parsing
712 JavaScript (ECMAScript 3). It has basic support for ECMAScript 5.")
713 (license license:zlib))))
715 (define-public cl-parse-js
716 (sbcl-package->cl-source-package sbcl-parse-js))
718 (define-public sbcl-parse-number
720 (name "sbcl-parse-number")
726 (url "https://github.com/sharplispers/parse-number/")
727 (commit (string-append "v" version))))
728 (file-name (git-file-name name version))
731 "0sk06ib1bhqv9y39vwnnw44vmbc4b0kvqm37xxmkxd4dwchq82d7"))))
732 (build-system asdf-build-system/sbcl)
733 (home-page "http://www.cliki.net/PARSE-NUMBER")
734 (synopsis "Parse numbers")
735 (description "@code{parse-number} is a library of functions for parsing
736 strings into one of the standard Common Lisp number types without using the
737 reader. @code{parse-number} accepts an arbitrary string and attempts to parse
738 the string into one of the standard Common Lisp number types, if possible, or
739 else @code{parse-number} signals an error of type @code{invalid-number}.")
740 (license license:bsd-3)))
742 (define-public cl-parse-number
743 (sbcl-package->cl-source-package sbcl-parse-number))
745 (define-public sbcl-iterate
747 (name "sbcl-iterate")
748 ;; The latest official release (1.4.3) fails to build so we have to take
749 ;; the current darcs tarball from quicklisp.
754 (uri (string-append "http://beta.quicklisp.org/archive/iterate/"
755 "2016-08-25/iterate-"
756 version "-darcs.tgz"))
759 "0kvz16gnxnkdz0fy1x8y5yr28nfm7i2qpvix7mgwccdpjmsb4pgm"))))
760 (build-system asdf-build-system/sbcl)
763 (home-page "https://common-lisp.net/project/iterate/")
764 (synopsis "Iteration construct for Common Lisp")
765 (description "@code{iterate} is an iteration construct for Common Lisp.
766 It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
769 @item it is extensible,
770 @item it helps editors like Emacs indent iterate forms by having a more
771 lisp-like syntax, and
772 @item it isn't part of the ANSI standard for Common Lisp.
774 (license license:expat)))
776 (define-public cl-iterate
777 (sbcl-package->cl-source-package sbcl-iterate))
779 (define-public ecl-iterate
780 (sbcl-package->ecl-package sbcl-iterate))
782 (define-public sbcl-cl-uglify-js
783 ;; There have been many bug fixes since the 2010 release.
784 (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
787 (name "sbcl-cl-uglify-js")
788 (version (string-append "0.1-" revision "." (string-take commit 9)))
793 (url "https://github.com/mishoo/cl-uglify-js.git")
795 (file-name (git-file-name name version))
798 "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
799 (build-system asdf-build-system/sbcl)
801 `(("sbcl-parse-js" ,sbcl-parse-js)
802 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
803 ("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
804 ("sbcl-parse-number" ,sbcl-parse-number)
805 ("sbcl-iterate" ,sbcl-iterate)))
806 (home-page "https://github.com/mishoo/cl-uglify-js")
807 (synopsis "JavaScript compressor library for Common Lisp")
808 (description "This is a Common Lisp version of UglifyJS, a JavaScript
809 compressor. It works on data produced by @code{parse-js} to generate a
810 @dfn{minified} version of the code. Currently it can:
813 @item reduce variable names (usually to single letters)
814 @item join consecutive @code{var} statements
815 @item resolve simple binary expressions
816 @item group most consecutive statements using the @code{sequence} operator (comma)
817 @item remove unnecessary blocks
818 @item convert @code{IF} expressions in various ways that result in smaller code
819 @item remove some unreachable code
821 (license license:zlib))))
823 (define-public cl-uglify-js
824 (sbcl-package->cl-source-package sbcl-cl-uglify-js))
826 (define-public sbcl-cl-strings
828 (commit "c5c5cbafbf3e6181d03c354d66e41a4f063f00ae"))
830 (name "sbcl-cl-strings")
831 (version (git-version "0.0.0" revision commit))
836 (url "https://github.com/diogoalexandrefranco/cl-strings")
840 "00754mfaqallj480lwd346nkfb6ra8pa8xcxcylf4baqn604zlmv"))
841 (file-name (string-append "cl-strings-" version "-checkout"))))
842 (build-system asdf-build-system/sbcl)
843 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
845 "@command{cl-strings} is a small, portable, dependency-free set of
846 utilities that make it even easier to manipulate text in Common Lisp. It has
847 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
848 (home-page "https://github.com/diogoalexandrefranco/cl-strings")
849 (license license:expat))))
851 (define-public cl-strings
852 (sbcl-package->cl-source-package sbcl-cl-strings))
854 (define-public ecl-cl-strings
855 (sbcl-package->ecl-package sbcl-cl-strings))
857 (define-public sbcl-trivial-features
859 (name "sbcl-trivial-features")
865 (url "https://github.com/trivial-features/trivial-features.git")
866 (commit (string-append "v" version))))
867 (file-name (git-file-name "trivial-features" version))
869 (base32 "0ccv7dqyrk55xga78i5vzlic7mdwp28in3g1a8fqhlk6626scsq9"))))
870 (build-system asdf-build-system/sbcl)
871 (arguments '(#:tests? #f))
872 (home-page "http://cliki.net/trivial-features")
873 (synopsis "Ensures consistency of @code{*FEATURES*} in Common Lisp")
874 (description "Trivial-features ensures that @code{*FEATURES*} is
875 consistent across multiple Common Lisp implementations.")
876 (license license:expat)))
878 (define-public cl-trivial-features
879 (sbcl-package->cl-source-package sbcl-trivial-features))
881 (define-public ecl-trivial-features
882 (sbcl-package->ecl-package sbcl-trivial-features))
884 (define-public sbcl-hu.dwim.asdf
886 (name "sbcl-hu.dwim.asdf")
891 (uri (string-append "http://beta.quicklisp.org/archive/hu.dwim.asdf/"
892 "2019-05-21/hu.dwim.asdf-" version "-darcs.tgz"))
895 "0rsbv71vyszy8w35yjwb5h6zcmknjq223hkzir79y72qdsc6sabn"))))
896 (build-system asdf-build-system/sbcl)
897 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.asdf")
898 (synopsis "Extensions to ASDF")
899 (description "Various ASDF extensions such as attached test and
900 documentation system, explicit development support, etc.")
901 (license license:public-domain)))
903 (define-public cl-hu.dwim.asdf
904 (sbcl-package->cl-source-package sbcl-hu.dwim.asdf))
906 (define-public ecl-hu.dwim.asdf
907 (sbcl-package->ecl-package sbcl-hu.dwim.asdf))
909 (define-public sbcl-hu.dwim.stefil
910 (let ((commit "ab6d1aa8995878a1b66d745dfd0ba021090bbcf9"))
912 (name "sbcl-hu.dwim.stefil")
913 (version (git-version "0.0.0" "1" commit))
919 (url "https://gitlab.common-lisp.net/xcvb/hu.dwim.stefil.git")
922 (base32 "1d8yccw65zj3zh46cbi3x6nmn1dwdb76s9d0av035077mvyirqqp"))
923 (file-name (git-file-name "hu.dwim.stefil" version))))
924 (build-system asdf-build-system/sbcl)
926 `(("asdf:cl-hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
928 `(("sbcl-alexandria" ,sbcl-alexandria)))
929 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.stefil")
930 (synopsis "Simple test framework")
931 (description "Stefil is a simple test framework for Common Lisp,
932 with a focus on interactive development.")
933 (license license:public-domain))))
935 (define-public cl-hu.dwim.stefil
936 (sbcl-package->cl-source-package sbcl-hu.dwim.stefil))
938 (define-public ecl-hu.dwim.stefil
939 (sbcl-package->ecl-package sbcl-hu.dwim.stefil))
941 (define-public sbcl-babel
949 (url "https://github.com/cl-babel/babel.git")
950 (commit (string-append "v" version))))
951 (file-name (git-file-name "babel" version))
953 (base32 "139a8rn2gnhj082n8jg01gc8fyr63hkj57hgrnmb3d1r327yc77f"))))
954 (build-system asdf-build-system/sbcl)
956 `(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
958 `(("sbcl-alexandria" ,sbcl-alexandria)
959 ("sbcl-trivial-features" ,sbcl-trivial-features)))
960 (home-page "https://common-lisp.net/project/babel/")
961 (synopsis "Charset encoding and decoding library")
962 (description "Babel is a charset encoding and decoding library, not unlike
963 GNU libiconv, but completely written in Common Lisp.")
964 (license license:expat)))
966 (define-public cl-babel
967 (sbcl-package->cl-source-package sbcl-babel))
969 (define-public ecl-babel
970 (sbcl-package->ecl-package sbcl-babel))
972 (define-public sbcl-cl-yacc
974 (name "sbcl-cl-yacc")
980 (url "https://github.com/jech/cl-yacc")
981 (commit (string-append "cl-yacc-" version))))
984 "16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
985 (file-name (string-append "cl-yacc-" version "-checkout"))))
986 (build-system asdf-build-system/sbcl)
988 `(#:asd-file "yacc.asd"
989 #:asd-system-name "yacc"))
990 (synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
992 "CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
993 to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
995 CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
996 by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
997 to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
998 (home-page "https://www.irif.fr/~jch//software/cl-yacc/")
999 (license license:expat)))
1001 (define-public cl-yacc
1002 (sbcl-package->cl-source-package sbcl-cl-yacc))
1004 (define-public ecl-cl-yacc
1005 (sbcl-package->ecl-package sbcl-cl-yacc))
1007 (define-public sbcl-jpl-util
1008 (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
1010 (name "sbcl-jpl-util")
1011 (version "20151005")
1016 ;; Quicklisp uses this fork.
1017 (url "https://github.com/hawkir/cl-jpl-util")
1020 (git-file-name "jpl-util" version))
1023 "0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
1024 (build-system asdf-build-system/sbcl)
1025 (synopsis "Collection of Common Lisp utility functions and macros")
1027 "@command{cl-jpl-util} is a collection of Common Lisp utility functions
1028 and macros, primarily for software projects written in CL by the author.")
1029 (home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
1030 (license license:isc))))
1032 (define-public cl-jpl-util
1033 (sbcl-package->cl-source-package sbcl-jpl-util))
1035 (define-public ecl-jpl-util
1036 (sbcl-package->ecl-package sbcl-jpl-util))
1038 (define-public sbcl-jpl-queues
1040 (name "sbcl-jpl-queues")
1046 "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
1051 "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
1052 (build-system asdf-build-system/sbcl)
1054 `(("jpl-util" ,sbcl-jpl-util)
1055 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1057 ;; Tests seem to be broken.
1059 (synopsis "Common Lisp library implementing a few different kinds of queues")
1061 "A Common Lisp library implementing a few different kinds of queues:
1064 @item Bounded and unbounded FIFO queues.
1065 @item Lossy bounded FIFO queues that drop elements when full.
1066 @item Unbounded random-order queues that use less memory than unbounded FIFO queues.
1069 Additionally, a synchronization wrapper is provided to make any queue
1070 conforming to the @command{jpl-queues} API thread-safe for lightweight
1071 multithreading applications. (See Calispel for a more sophisticated CL
1072 multithreaded message-passing library with timeouts and alternation among
1073 several blockable channels.)")
1074 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1075 (license license:isc)))
1077 (define-public cl-jpl-queues
1078 (sbcl-package->cl-source-package sbcl-jpl-queues))
1080 (define-public ecl-jpl-queues
1081 (sbcl-package->ecl-package sbcl-jpl-queues))
1083 (define-public sbcl-eos
1084 (let ((commit "b0faca83781ead9a588661e37bd47f90362ccd94"))
1087 (version (git-version "0.0.0" "1" commit))
1092 (url "https://github.com/adlai/Eos")
1096 "1bq8cfg087iyxmxi1mwgx5cfgy3b8ydrf81xljcis8qbgb2vszph"))
1097 (file-name (git-file-name "eos" version))))
1098 (build-system asdf-build-system/sbcl)
1099 (synopsis "Unit Testing for Common Lisp")
1101 "Eos was a unit testing library for Common Lisp.
1102 It began as a fork of FiveAM; however, FiveAM development has continued, while
1103 that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
1104 (home-page "https://github.com/adlai/Eos")
1105 (license license:expat))))
1107 (define-public cl-eos
1108 (sbcl-package->cl-source-package sbcl-eos))
1110 (define-public ecl-eos
1111 (sbcl-package->ecl-package sbcl-eos))
1113 (define-public sbcl-esrap
1114 (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
1117 (version (git-version "0.0.0" "1" commit))
1122 (url "https://github.com/nikodemus/esrap")
1126 "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
1127 (file-name (git-file-name "esrap" version))))
1128 (build-system asdf-build-system/sbcl)
1130 `(("eos" ,sbcl-eos))) ;For testing only.
1132 `(("alexandria" ,sbcl-alexandria)))
1133 (synopsis "Common Lisp packrat parser")
1135 "A packrat parser for Common Lisp.
1136 In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
1139 @item dynamic redefinition of nonterminals
1140 @item inline grammars
1141 @item semantic predicates
1142 @item introspective facilities (describing grammars, tracing, setting breaks)
1144 (home-page "https://nikodemus.github.io/esrap/")
1145 (license license:expat))))
1147 (define-public cl-esrap
1148 (sbcl-package->cl-source-package sbcl-esrap))
1150 (define-public ecl-esrap
1151 (sbcl-package->ecl-package sbcl-esrap))
1153 (define-public sbcl-split-sequence
1155 (name "sbcl-split-sequence")
1161 (url "https://github.com/sharplispers/split-sequence")
1162 (commit (string-append "v" version))))
1165 "0c3zp6b7fmmp93sfhq112ind4zkld49ycw68z409xpnz3gc0wpf0"))
1166 (file-name (git-file-name "split-sequence" version))))
1167 (build-system asdf-build-system/sbcl)
1169 ;; TODO: Tests seem to be broken.
1170 ;; https://github.com/sharplispers/split-sequence/issues/8
1172 (synopsis "Member of the Common Lisp Utilities family of programs")
1174 "Splits sequence into a list of subsequences delimited by objects
1175 satisfying the test.")
1176 (home-page "https://cliki.net/split-sequence")
1177 (license license:expat)))
1179 (define-public cl-split-sequence
1180 (sbcl-package->cl-source-package sbcl-split-sequence))
1182 (define-public ecl-split-sequence
1183 (sbcl-package->ecl-package sbcl-split-sequence))
1185 (define-public sbcl-html-encode
1187 (name "sbcl-html-encode")
1193 "http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
1197 "06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
1198 (file-name (string-append "colorize" version "-checkout"))))
1199 (build-system asdf-build-system/sbcl)
1200 (synopsis "Common Lisp library for encoding text in various web-savvy encodings")
1202 "A library for encoding text in various web-savvy encodings.")
1203 (home-page "http://quickdocs.org/html-encode/")
1204 (license license:expat)))
1206 (define-public cl-html-encode
1207 (sbcl-package->cl-source-package sbcl-html-encode))
1209 (define-public ecl-html-encode
1210 (sbcl-package->ecl-package sbcl-html-encode))
1212 (define-public sbcl-colorize
1213 (let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
1215 (name "sbcl-colorize")
1216 (version (git-version "0.0.0" "1" commit))
1221 (url "https://github.com/kingcons/colorize")
1225 "1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
1226 (file-name (git-file-name "colorize" version))))
1227 (build-system asdf-build-system/sbcl)
1229 `(("alexandria" ,sbcl-alexandria)
1230 ("split-sequence" ,sbcl-split-sequence)
1231 ("html-encode" ,sbcl-html-encode)))
1232 (synopsis "Common Lisp for syntax highlighting")
1234 "@command{colorize} is a Lisp library for syntax highlighting
1235 supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1236 C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
1237 (home-page "https://github.com/kingcons/colorize")
1238 ;; TODO: Missing license?
1239 (license license:expat))))
1241 (define-public cl-colorize
1242 (sbcl-package->cl-source-package sbcl-colorize))
1244 (define-public ecl-colorize
1245 (sbcl-package->ecl-package sbcl-colorize))
1247 (define-public sbcl-3bmd
1248 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1251 (version (git-version "0.0.0" "1" commit))
1256 (url "https://github.com/3b/3bmd")
1260 "1rgv3gi7wf963ikmmpk132wgn0icddf226gq3bmcnk1fr3v9gf2f"))
1261 (file-name (git-file-name "3bmd" version))))
1262 (build-system asdf-build-system/sbcl)
1264 ;; FIXME: We need to specify the name because the build-system thinks
1265 ;; "3" is a version marker.
1266 `(#:asd-system-name "3bmd"))
1268 `(("esrap" ,sbcl-esrap)
1269 ("split-sequence" ,sbcl-split-sequence)))
1270 (synopsis "Markdown processor in Command Lisp using esrap parser")
1272 "Common Lisp Markdown -> HTML converter, using @command{esrap} for
1273 parsing, and grammar based on @command{peg-markdown}.")
1274 (home-page "https://github.com/3b/3bmd")
1275 (license license:expat))))
1277 (define-public cl-3bmd
1278 (sbcl-package->cl-source-package sbcl-3bmd))
1280 (define-public ecl-3bmd
1281 (sbcl-package->ecl-package sbcl-3bmd))
1283 (define-public sbcl-3bmd-ext-code-blocks
1284 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1287 (name "sbcl-3bmd-ext-code-blocks")
1289 `(#:asd-system-name "3bmd-ext-code-blocks"
1290 #:asd-file "3bmd-ext-code-blocks.asd"))
1292 `(("3bmd" ,sbcl-3bmd)
1293 ("colorize" ,sbcl-colorize)))
1294 (synopsis "3bmd extension which adds support for GitHub-style fenced
1297 "3bmd extension which adds support for GitHub-style fenced code blocks,
1298 with @command{colorize} support."))))
1300 (define-public cl-3bmd-ext-code-blocks
1301 (sbcl-package->cl-source-package sbcl-3bmd-ext-code-blocks))
1303 (define-public ecl-3bmd-ext-code-blocks
1304 (sbcl-package->ecl-package sbcl-3bmd-ext-code-blocks))
1306 (define-public sbcl-cl-fad
1308 (name "sbcl-cl-fad")
1314 (url "https://github.com/edicl/cl-fad/")
1315 (commit (string-append "v" version))))
1318 "1l1qmk9z57q84bz5r04sxsksggsnd7dgkxlybzh9imz6ma7sm52m"))
1319 (file-name (string-append "cl-fad" version "-checkout"))))
1320 (build-system asdf-build-system/sbcl)
1322 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
1323 (synopsis "Portable pathname library for Common Lisp")
1325 "CL-FAD (for \"Files and Directories\") is a thin layer atop Common
1326 Lisp's standard pathname functions. It is intended to provide some
1327 unification between current CL implementations on Windows, OS X, Linux, and
1328 Unix. Most of the code was written by Peter Seibel for his book Practical
1330 (home-page "https://edicl.github.io/cl-fad/")
1331 (license license:bsd-2)))
1333 (define-public cl-fad
1334 (sbcl-package->cl-source-package sbcl-cl-fad))
1336 (define-public ecl-cl-fad
1337 (sbcl-package->ecl-package sbcl-cl-fad))
1339 (define-public sbcl-rt
1342 (version "1990.12.19")
1346 (uri (string-append "http://beta.quicklisp.org/archive/rt/2010-10-06/rt-"
1347 "20101006-git" ".tgz"))
1350 "1jncar0xwkqk8yrc2dln389ivvgzs7ijdhhs3zpfyi5d21f0qa1v"))))
1351 (build-system asdf-build-system/sbcl)
1352 (synopsis "MIT Regression Tester")
1354 "RT provides a framework for writing regression test suites.")
1355 (home-page "https://github.com/sharplispers/nibbles")
1356 (license license:unlicense)))
1358 (define-public cl-rt
1359 (sbcl-package->cl-source-package sbcl-rt))
1361 (define-public ecl-rt
1362 (sbcl-package->ecl-package sbcl-rt))
1364 (define-public sbcl-nibbles
1366 (name "sbcl-nibbles")
1372 (url "https://github.com/sharplispers/nibbles/")
1373 (commit (string-append "v" version))))
1376 "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
1377 (file-name (git-file-name "nibbles" version))))
1378 (build-system asdf-build-system/sbcl)
1382 (synopsis "Common Lisp library for accessing octet-addressed blocks of data")
1384 "When dealing with network protocols and file formats, it's common to
1385 have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1386 flavors. Common Lisp sort of supports this by specifying :element-type for
1387 streams, but that facility is underspecified and there's nothing similar for
1388 read/write from octet vectors. What most people wind up doing is rolling their
1389 own small facility for their particular needs and calling it a day.
1391 This library attempts to be comprehensive and centralize such
1392 facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1393 vectors in signed or unsigned flavors are provided; these functions are also
1394 SETFable. Since it's sometimes desirable to read/write directly from streams,
1395 functions for doing so are also provided. On some implementations,
1396 reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1397 also be supported.")
1398 (home-page "https://github.com/sharplispers/nibbles")
1399 (license license:bsd-3)))
1401 (define-public cl-nibbles
1402 (sbcl-package->cl-source-package sbcl-nibbles))
1404 (define-public ecl-nibbles
1405 (sbcl-package->ecl-package sbcl-nibbles))
1407 (define-public sbcl-ironclad
1409 (name "sbcl-ironclad")
1415 (url "https://github.com/sharplispers/ironclad/")
1416 (commit (string-append "v" version))))
1419 "1s391awi2lsl7m1dbjirgpkm4p9p8wd076pakgvsvpn1rrznisnd"))
1420 (file-name (git-file-name name version))))
1421 (build-system asdf-build-system/sbcl)
1426 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
1427 ("flexi-streams" ,sbcl-flexi-streams)
1428 ("nibbles" ,sbcl-nibbles)))
1429 (synopsis "Cryptographic toolkit written in Common Lisp")
1431 "Ironclad is a cryptography library written entirely in Common Lisp.
1432 It includes support for several popular ciphers, digests, MACs and public key
1433 cryptography algorithms. For several implementations that support Gray
1434 streams, support is included for convenient stream wrappers.")
1435 (home-page "https://github.com/sharplispers/ironclad")
1436 (license license:bsd-3)))
1438 (define-public cl-ironclad
1439 (sbcl-package->cl-source-package sbcl-ironclad))
1441 (define-public ecl-ironclad
1442 (sbcl-package->ecl-package sbcl-ironclad))
1444 (define-public sbcl-named-readtables
1445 (let ((commit "4dfb89fa1af6b305b6492b8af042f5190c11e9fc")
1448 (name "sbcl-named-readtables")
1449 (version (string-append "0.9-" revision "." (string-take commit 7)))
1454 (url "https://github.com/melisgl/named-readtables.git")
1457 (base32 "083kgh5462iqbb4px6kq8s7sggvpvkm36hx4qi9rnaw53b6ilqkk"))
1458 (file-name (git-file-name "named-readtables" version))))
1459 (build-system asdf-build-system/sbcl)
1461 ;; Tests seem to be broken.
1463 (home-page "https://github.com/melisgl/named-readtables/")
1464 (synopsis "Library that creates a namespace for named readtables")
1465 (description "Named readtables is a library that creates a namespace for
1466 named readtables, which is akin to package namespacing in Common Lisp.")
1467 (license license:bsd-3))))
1469 (define-public cl-named-readtables
1470 (sbcl-package->cl-source-package sbcl-named-readtables))
1472 (define-public ecl-named-readtables
1473 (sbcl-package->ecl-package sbcl-named-readtables))
1475 (define-public sbcl-pythonic-string-reader
1476 (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
1478 (name "sbcl-pythonic-string-reader")
1479 (version (git-version "0.0.0" "1" commit))
1484 (url "https://github.com/smithzvk/pythonic-string-reader/")
1487 (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
1488 (file-name (git-file-name "pythonic-string-reader" version))))
1489 (build-system asdf-build-system/sbcl)
1491 `(("named-readtables" ,sbcl-named-readtables)))
1492 (home-page "https://github.com/smithzvk/pythonic-string-reader")
1493 (synopsis "Read table modification inspired by Python's three quote strings")
1494 (description "This piece of code sets up some reader macros that make it
1495 simpler to input string literals which contain backslashes and double quotes
1496 This is very useful for writing complicated docstrings and, as it turns out,
1497 writing code that contains string literals that contain code themselves.")
1498 (license license:bsd-3))))
1500 (define-public cl-pythonic-string-reader
1501 (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
1503 (define-public ecl-pythonic-string-reader
1504 (sbcl-package->ecl-package sbcl-pythonic-string-reader))
1506 ;; SLIME does not have a ASDF system definition to build all of Swank. As a
1507 ;; result, the asdf-build-system/sbcl will produce an almost empty package.
1508 ;; Some work was done to fix this at
1509 ;; https://github.com/sionescu/slime/tree/swank-asdf but it was never merged
1510 ;; and is now lagging behind. Building SBCL fasls might not be worth the
1511 ;; hassle, so let's just ship the source then.
1512 (define-public cl-slime-swank
1514 (name "cl-slime-swank")
1518 (file-name (string-append name "-" version ".tar.gz"))
1521 (url "https://github.com/slime/slime/")
1522 (commit (string-append "v" version))))
1525 "0js24x42m7b5iymb4rxz501dff19vav5pywnzv50b673rbkaaqvh"))))
1526 (build-system asdf-build-system/source)
1527 (home-page "https://github.com/slime/slime")
1528 (synopsis "Common Lisp Swank server")
1530 "This is only useful if you want to start a Swank server in a Lisp
1531 processes that doesn't run under Emacs. Lisp processes created by
1532 @command{M-x slime} automatically start the server.")
1533 (license (list license:gpl2+ license:public-domain))))
1535 (define-public sbcl-slime-swank
1536 (deprecated-package "sbcl-slime-swank" cl-slime-swank))
1538 (define-public sbcl-mgl-pax
1539 (let ((commit "818448418d6b9de74620f606f5b23033c6082769"))
1541 (name "sbcl-mgl-pax")
1542 (version (git-version "0.0.0" "1" commit))
1547 (url "https://github.com/melisgl/mgl-pax")
1551 "1p97zfkh130bdxqqxwaw2j9psv58751wakx7czbfpq410lg7dd7i"))
1552 (file-name (git-file-name "mgl-pax" version))))
1553 (build-system asdf-build-system/sbcl)
1555 `(("3bmd" ,sbcl-3bmd)
1556 ("3bmd-ext-code-blocks" ,sbcl-3bmd-ext-code-blocks)
1557 ("babel" ,sbcl-babel)
1558 ("cl-fad" ,sbcl-cl-fad)
1559 ("ironclad" ,sbcl-ironclad)
1560 ("named-readtables" ,sbcl-named-readtables)
1561 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)
1562 ("swank" ,cl-slime-swank)))
1563 (synopsis "Exploratory programming environment and documentation generator")
1565 "PAX provides an extremely poor man's Explorable Programming
1566 environment. Narrative primarily lives in so called sections that mix markdown
1567 docstrings with references to functions, variables, etc, all of which should
1568 probably have their own docstrings.
1570 The primary focus is on making code easily explorable by using SLIME's
1571 @command{M-.} (@command{slime-edit-definition}). See how to enable some
1572 fanciness in Emacs Integration. Generating documentation from sections and all
1573 the referenced items in Markdown or HTML format is also implemented.
1575 With the simplistic tools provided, one may accomplish similar effects as with
1576 Literate Programming, but documentation is generated from code, not vice versa
1577 and there is no support for chunking yet. Code is first, code must look
1578 pretty, documentation is code.")
1579 (home-page "http://quotenil.com/")
1580 (license license:expat))))
1582 (define-public cl-mgl-pax
1583 (sbcl-package->cl-source-package sbcl-mgl-pax))
1585 (define-public ecl-mgl-pax
1586 (sbcl-package->ecl-package sbcl-mgl-pax))
1588 (define-public sbcl-lisp-unit
1589 (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
1591 (name "sbcl-lisp-unit")
1592 (version (git-version "0.0.0" "1" commit))
1597 (url "https://github.com/OdonataResearchLLC/lisp-unit")
1601 "0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
1602 (file-name (git-file-name "lisp-unit" version))))
1603 (build-system asdf-build-system/sbcl)
1604 (synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
1606 "@command{lisp-unit} is a Common Lisp library that supports unit
1607 testing. It is an extension of the library written by Chris Riesbeck.")
1608 (home-page "https://github.com/OdonataResearchLLC/lisp-unit")
1609 (license license:expat))))
1611 (define-public cl-lisp-unit
1612 (sbcl-package->cl-source-package sbcl-lisp-unit))
1614 (define-public ecl-lisp-unit
1615 (sbcl-package->ecl-package sbcl-lisp-unit))
1617 (define-public sbcl-anaphora
1619 (name "sbcl-anaphora")
1625 (url "https://github.com/tokenrove/anaphora")
1629 "19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
1630 (file-name (git-file-name "anaphora" version))))
1631 (build-system asdf-build-system/sbcl)
1634 (synopsis "The anaphoric macro collection from Hell")
1636 "Anaphora is the anaphoric macro collection from Hell: it includes many
1637 new fiends in addition to old friends like @command{aif} and
1639 (home-page "https://github.com/tokenrove/anaphora")
1640 (license license:public-domain)))
1642 (define-public cl-anaphora
1643 (sbcl-package->cl-source-package sbcl-anaphora))
1645 (define-public ecl-anaphora
1646 (sbcl-package->ecl-package sbcl-anaphora))
1648 (define-public sbcl-lift
1649 (let ((commit "7d49a66c62759535624037826891152223d4206c"))
1652 (version (git-version "1.7.1" "1" commit))
1657 (url "https://github.com/gwkkwg/lift")
1661 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp"))
1662 (file-name (git-file-name "lift" version))
1663 (modules '((guix build utils)))
1665 ;; Don't keep the bundled website
1667 (delete-file-recursively "website")
1669 (build-system asdf-build-system/sbcl)
1671 ;; The tests require a debugger, but we run with the debugger disabled.
1673 (synopsis "LIsp Framework for Testing")
1675 "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
1676 Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1677 testcases are organized into hierarchical testsuites each of which can have
1678 its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1679 supports randomized testing, benchmarking, profiling, and reporting.")
1680 (home-page "https://github.com/gwkkwg/lift")
1681 (license license:expat))))
1683 (define-public cl-lift
1684 (sbcl-package->cl-source-package sbcl-lift))
1686 (define-public ecl-lift
1687 (sbcl-package->ecl-package sbcl-lift))
1689 (define-public sbcl-let-plus
1690 (let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
1692 (name "sbcl-let-plus")
1693 (version (git-version "0.0.0" "1" commit))
1698 (url "https://github.com/sharplispers/let-plus")
1702 "0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
1703 (file-name (git-file-name "let-plus" version))))
1704 (build-system asdf-build-system/sbcl)
1706 `(("alexandria" ,sbcl-alexandria)
1707 ("anaphora" ,sbcl-anaphora)))
1709 `(("lift" ,sbcl-lift)))
1710 (synopsis "Destructuring extension of let*")
1712 "This library implements the let+ macro, which is a dectructuring
1713 extension of let*. It features:
1716 @item Clean, consistent syntax and small implementation (less than 300 LOC,
1718 @item Placeholder macros allow editor hints and syntax highlighting
1719 @item @command{&ign} for ignored values (in forms where that makes sense)
1720 @item Very easy to extend
1722 (home-page "https://github.com/sharplispers/let-plus")
1723 (license license:boost1.0))))
1725 (define-public cl-let-plus
1726 (sbcl-package->cl-source-package sbcl-let-plus))
1728 (define-public ecl-let-plus
1729 (sbcl-package->ecl-package sbcl-let-plus))
1731 (define-public sbcl-cl-colors
1732 (let ((commit "827410584553f5c717eec6182343b7605f707f75"))
1734 (name "sbcl-cl-colors")
1735 (version (git-version "0.0.0" "1" commit))
1740 (url "https://github.com/tpapp/cl-colors")
1744 "0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
1745 (file-name (git-file-name "cl-colors" version))))
1746 (build-system asdf-build-system/sbcl)
1748 `(("alexandria" ,sbcl-alexandria)
1749 ("let-plus" ,sbcl-let-plus)))
1750 (synopsis "Simple color library for Common Lisp")
1752 "This is a very simple color library for Common Lisp, providing
1755 @item Types for representing colors in HSV and RGB spaces.
1756 @item Simple conversion functions between the above types (and also
1757 hexadecimal representation for RGB).
1758 @item Some predefined colors (currently X11 color names – of course the
1759 library does not depend on X11).Because color in your terminal is nice.
1762 This library is no longer supported by its author.")
1763 (home-page "https://github.com/tpapp/cl-colors")
1764 (license license:boost1.0))))
1766 (define-public cl-colors
1767 (sbcl-package->cl-source-package sbcl-cl-colors))
1769 (define-public ecl-cl-colors
1770 (sbcl-package->ecl-package sbcl-cl-colors))
1772 (define-public sbcl-cl-ansi-text
1773 (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
1775 (name "sbcl-cl-ansi-text")
1776 (version (git-version "1.0.0" "1" commit))
1781 (url "https://github.com/pnathan/cl-ansi-text")
1785 "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
1786 (file-name (git-file-name "cl-ansi-text" version))))
1787 (build-system asdf-build-system/sbcl)
1789 `(("alexandria" ,sbcl-alexandria)
1790 ("cl-colors" ,sbcl-cl-colors)))
1792 `(("fiveam" ,sbcl-fiveam)))
1793 (synopsis "ANSI terminal color implementation for Common Lisp")
1795 "@command{cl-ansi-text} provides utilities which enable printing to an
1796 ANSI terminal with colored text. It provides the macro @command{with-color}
1797 which causes everything printed in the body to be displayed with the provided
1798 color. It further provides functions which will print the argument with the
1800 (home-page "https://github.com/pnathan/cl-ansi-text")
1801 (license license:llgpl))))
1803 (define-public cl-ansi-text
1804 (sbcl-package->cl-source-package sbcl-cl-ansi-text))
1806 (define-public ecl-cl-ansi-text
1807 (sbcl-package->ecl-package sbcl-cl-ansi-text))
1809 (define-public sbcl-prove-asdf
1810 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
1812 (name "sbcl-prove-asdf")
1813 (version (git-version "1.0.0" "1" commit))
1818 (url "https://github.com/fukamachi/prove")
1822 "07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
1823 (file-name (git-file-name "prove" version))))
1824 (build-system asdf-build-system/sbcl)
1826 `(#:asd-file "prove-asdf.asd"))
1827 (synopsis "Test requirement for the Common Lisp 'prove' library")
1829 "Test requirement for the Common Lisp @command{prove} library.")
1830 (home-page "https://github.com/fukamachi/prove")
1831 (license license:expat))))
1833 (define-public cl-prove-asdf
1834 (sbcl-package->cl-source-package sbcl-prove-asdf))
1836 (define-public ecl-prove-asdf
1837 (sbcl-package->ecl-package sbcl-prove-asdf))
1839 (define-public sbcl-prove
1841 (inherit sbcl-prove-asdf)
1844 `(("alexandria" ,sbcl-alexandria)
1845 ("cl-ppcre" ,sbcl-cl-ppcre)
1846 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
1848 `(("prove-asdf" ,sbcl-prove-asdf)))
1850 `(#:asd-file "prove.asd"))
1851 (synopsis "Yet another unit testing framework for Common Lisp")
1853 "This project was originally called @command{cl-test-more}.
1854 @command{prove} is yet another unit testing framework for Common Lisp. The
1855 advantages of @command{prove} are:
1858 @item Various simple functions for testing and informative error messages
1859 @item ASDF integration
1860 @item Extensible test reporters
1861 @item Colorizes the report if it's available (note for SLIME)
1862 @item Reports test durations
1865 (define-public cl-prove
1866 (sbcl-package->cl-source-package sbcl-prove))
1868 (define-public ecl-prove
1869 (sbcl-package->ecl-package sbcl-prove))
1871 (define-public sbcl-proc-parse
1872 (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
1874 (name "sbcl-proc-parse")
1875 (version (git-version "0.0.0" "1" commit))
1880 (url "https://github.com/fukamachi/proc-parse")
1884 "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
1885 (file-name (git-file-name "proc-parse" version))))
1886 (build-system asdf-build-system/sbcl)
1888 `(("alexandria" ,sbcl-alexandria)
1889 ("babel" ,sbcl-babel)))
1891 `(("prove" ,sbcl-prove)
1892 ("prove-asdf" ,sbcl-prove-asdf)))
1894 ;; TODO: Tests don't find "proc-parse-test", why?
1896 (synopsis "Procedural vector parser")
1898 "This is a string/octets parser library for Common Lisp with speed and
1899 readability in mind. Unlike other libraries, the code is not a
1900 pattern-matching-like, but a char-by-char procedural parser.")
1901 (home-page "https://github.com/fukamachi/proc-parse")
1902 (license license:bsd-2))))
1904 (define-public cl-proc-parse
1905 (sbcl-package->cl-source-package sbcl-proc-parse))
1907 (define-public ecl-proc-parse
1908 (sbcl-package->ecl-package sbcl-proc-parse))
1910 (define-public sbcl-parse-float
1911 (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
1913 (name "sbcl-parse-float")
1914 (version (git-version "0.0.0" "1" commit))
1919 (url "https://github.com/soemraws/parse-float")
1923 "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
1924 (file-name (git-file-name "proc-parse" version))))
1925 (build-system asdf-build-system/sbcl)
1927 `(("alexandria" ,sbcl-alexandria)
1928 ("babel" ,sbcl-babel)))
1930 `(("prove" ,sbcl-prove)
1931 ("prove-asdf" ,sbcl-prove-asdf)))
1933 ;; TODO: Tests don't find "proc-parse-test", why?
1935 (synopsis "Parse a floating point value from a string in Common Lisp")
1937 "This package exports the following function to parse floating-point
1938 values from a string in Common Lisp.")
1939 (home-page "https://github.com/soemraws/parse-float")
1940 (license license:public-domain))))
1942 (define-public cl-parse-float
1943 (sbcl-package->cl-source-package sbcl-parse-float))
1945 (define-public ecl-parse-float
1946 (sbcl-package->ecl-package sbcl-parse-float))
1948 (define-public sbcl-ascii-strings
1949 (let ((revision "1")
1950 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
1952 (name "sbcl-ascii-strings")
1953 (version (string-append "0-" revision "." (string-take changeset 7)))
1958 (url "https://bitbucket.org/vityok/cl-string-match/")
1959 (changeset changeset)))
1962 "01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
1963 (file-name (git-file-name "cl-string-match" version))))
1964 (build-system asdf-build-system/sbcl)
1966 `(("alexandria" ,sbcl-alexandria)
1967 ("babel" ,sbcl-babel)))
1969 `(#:asd-file "ascii-strings.asd"))
1970 (synopsis "Operations on ASCII strings")
1972 "Operations on ASCII strings. Essentially this can be any kind of
1973 single-byte encoded strings.")
1974 (home-page "https://bitbucket.org/vityok/cl-string-match/")
1975 (license license:bsd-3))))
1977 (define-public cl-ascii-strings
1978 (sbcl-package->cl-source-package sbcl-ascii-strings))
1980 (define-public ecl-ascii-strings
1981 (sbcl-package->ecl-package sbcl-ascii-strings))
1983 (define-public sbcl-simple-scanf
1985 (inherit sbcl-ascii-strings)
1986 (name "sbcl-simple-scanf")
1988 `(("alexandria" ,sbcl-alexandria)
1989 ("iterate" ,sbcl-iterate)
1990 ("proc-parse" ,sbcl-proc-parse)
1991 ("parse-float" ,sbcl-parse-float)))
1993 `(#:asd-file "simple-scanf.asd"))
1994 (synopsis "Simple scanf-like functionality implementation")
1996 "A simple scanf-like functionality implementation.")))
1998 (define-public cl-simple-scanf
1999 (sbcl-package->cl-source-package sbcl-simple-scanf))
2001 (define-public ecl-simple-scanf
2002 (sbcl-package->ecl-package sbcl-simple-scanf))
2004 (define-public sbcl-cl-string-match
2006 (inherit sbcl-ascii-strings)
2007 (name "sbcl-cl-string-match")
2009 `(("alexandria" ,sbcl-alexandria)
2010 ("ascii-strings" ,sbcl-ascii-strings)
2011 ("yacc" ,sbcl-cl-yacc)
2012 ("jpl-util" ,sbcl-jpl-util)
2013 ("jpl-queues" ,sbcl-jpl-queues)
2014 ("mgl-pax" ,sbcl-mgl-pax)
2015 ("iterate" ,sbcl-iterate)))
2016 ;; TODO: Tests are not evaluated properly.
2019 `(("lisp-unit" ,sbcl-lisp-unit)
2020 ("simple-scanf" ,sbcl-simple-scanf)))
2023 #:asd-file "cl-string-match.asd"))
2024 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
2026 "@command{cl-strings} is a small, portable, dependency-free set of
2027 utilities that make it even easier to manipulate text in Common Lisp. It has
2028 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")))
2030 (define-public cl-string-match
2031 (sbcl-package->cl-source-package sbcl-cl-string-match))
2033 (define-public ecl-cl-string-match
2034 (sbcl-package->ecl-package sbcl-cl-string-match))
2036 (define-public sbcl-ptester
2038 (name "sbcl-ptester")
2039 (version "20160929")
2043 (uri (string-append "http://beta.quicklisp.org/archive/ptester/"
2044 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
2050 "04rlq1zljhxc65pm31bah3sq3as24l0sdivz440s79qlnnyh13hz"))))
2051 (build-system asdf-build-system/sbcl)
2052 (home-page "http://quickdocs.org/ptester/")
2053 (synopsis "Portable test harness package")
2055 "@command{ptester} is a portable testing framework based on Franz's
2057 (license license:lgpl3+)))
2059 (define-public cl-ptester
2060 (sbcl-package->cl-source-package sbcl-ptester))
2062 (define-public ecl-ptester
2063 (sbcl-package->ecl-package sbcl-ptester))
2065 (define-public sbcl-puri
2068 (version "20180228")
2072 (uri (string-append "http://beta.quicklisp.org/archive/puri/"
2073 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
2079 "1s4r5adrjy5asry45xbcbklxhdjydvf6n55z897nvyw33bigrnbz"))))
2080 (build-system asdf-build-system/sbcl)
2081 ;; REVIEW: Webiste down?
2083 `(("ptester" ,sbcl-ptester)))
2084 (home-page "http://files.kpe.io/puri/")
2085 (synopsis "Portable URI Library")
2087 "This is portable Universal Resource Identifier library for Common Lisp
2088 programs. It parses URI according to the RFC 2396 specification")
2089 (license license:lgpl3+)))
2091 (define-public cl-puri
2092 (sbcl-package->cl-source-package sbcl-puri))
2094 (define-public ecl-puri
2095 (sbcl-package->ecl-package sbcl-puri))
2097 (define-public sbcl-queues
2098 (let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
2100 (name "sbcl-queues")
2101 (version (git-version "0.0.0" "1" commit))
2106 (url "https://github.com/oconnore/queues")
2108 (file-name (git-file-name "queues" version))
2111 "0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
2112 (build-system asdf-build-system/sbcl)
2113 (home-page "https://github.com/oconnore/queues")
2114 (synopsis "Common Lisp queue library")
2116 "This is a simple queue library for Common Lisp with features such as
2117 non-consing thread safe queues and fibonacci priority queues.")
2118 (license license:expat))))
2120 (define-public cl-queues
2121 (sbcl-package->cl-source-package sbcl-queues))
2123 (define-public ecl-queues
2124 (sbcl-package->ecl-package sbcl-queues))
2126 (define-public sbcl-queues.simple-queue
2128 (inherit sbcl-queues)
2129 (name "sbcl-queues.simple-queue")
2131 `(("sbcl-queues" ,sbcl-queues)))
2133 `(#:asd-file "queues.simple-queue.asd"))
2134 (synopsis "Simple queue implementation")
2136 "This is a simple queue library for Common Lisp with features such as
2137 non-consing thread safe queues and fibonacci priority queues.")
2138 (license license:expat)))
2140 (define-public cl-queues.simple-queue
2141 (sbcl-package->cl-source-package sbcl-queues.simple-queue))
2143 (define-public ecl-queues.simple-queue
2144 (sbcl-package->ecl-package sbcl-queues.simple-queue))
2146 (define-public sbcl-queues.simple-cqueue
2148 (inherit sbcl-queues)
2149 (name "sbcl-queues.simple-cqueue")
2151 `(("sbcl-queues" ,sbcl-queues)
2152 ("sbcl-queues.simple-queue" ,sbcl-queues.simple-queue)
2153 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2155 `(#:asd-file "queues.simple-cqueue.asd"))
2156 (synopsis "Thread safe queue implementation")
2158 "This is a simple queue library for Common Lisp with features such as
2159 non-consing thread safe queues and fibonacci priority queues.")
2160 (license license:expat)))
2162 (define-public cl-queues.simple-cqueue
2163 (sbcl-package->cl-source-package sbcl-queues.simple-cqueue))
2165 (define-public ecl-queues.simple-cqueue
2166 (sbcl-package->ecl-package sbcl-queues.simple-cqueue))
2168 (define-public sbcl-queues.priority-queue
2170 (inherit sbcl-queues)
2171 (name "sbcl-queues.priority-queue")
2173 `(("sbcl-queues" ,sbcl-queues)))
2175 `(#:asd-file "queues.priority-queue.asd"))
2176 (synopsis "Priority queue (Fibonacci) implementation")
2178 "This is a simple queue library for Common Lisp with features such as
2179 non-consing thread safe queues and fibonacci priority queues.")
2180 (license license:expat)))
2182 (define-public cl-queues.priority-queue
2183 (sbcl-package->cl-source-package sbcl-queues.priority-queue))
2185 (define-public ecl-queues.priority-queue
2186 (sbcl-package->ecl-package sbcl-queues.priority-queue))
2188 (define-public sbcl-queues.priority-cqueue
2190 (inherit sbcl-queues)
2191 (name "sbcl-queues.priority-cqueue")
2193 `(("sbcl-queues" ,sbcl-queues)
2194 ("sbcl-queues.priority-queue" ,sbcl-queues.priority-queue)
2195 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2197 `(#:asd-file "queues.priority-cqueue.asd"))
2198 (synopsis "Thread safe fibonacci priority queue implementation")
2200 "This is a simple queue library for Common Lisp with features such as
2201 non-consing thread safe queues and fibonacci priority queues.")
2202 (license license:expat)))
2204 (define-public cl-queues.priority-cqueue
2205 (sbcl-package->cl-source-package sbcl-queues.priority-cqueue))
2207 (define-public ecl-queues.priority-cqueue
2208 (sbcl-package->ecl-package sbcl-queues.priority-cqueue))
2210 (define sbcl-cffi-bootstrap
2212 (name "sbcl-cffi-bootstrap")
2218 (url "https://github.com/cffi/cffi.git")
2219 (commit (string-append "v" version))))
2220 (file-name (git-file-name "cffi-bootstrap" version))
2222 (base32 "1bzgdwd5yzkv9hwnxg6lqyh5z1vjgjyrl12c72afj7hxziadccm8"))))
2223 (build-system asdf-build-system/sbcl)
2225 `(("libffi" ,libffi)
2226 ("alexandria" ,sbcl-alexandria)
2227 ("babel" ,sbcl-babel)
2228 ("trivial-features" ,sbcl-trivial-features)))
2230 `(("pkg-config" ,pkg-config)))
2233 (modify-phases %standard-phases
2234 (add-after 'unpack 'fix-paths
2235 (lambda* (#:key inputs #:allow-other-keys)
2236 (substitute* "libffi/libffi.lisp"
2237 (("libffi.so.7" all) (string-append
2238 (assoc-ref inputs "libffi")
2240 (substitute* "toolchain/c-toolchain.lisp"
2241 (("\"cc\"") (format #f "~S" (which "gcc")))))))
2242 #:asd-system-name "cffi"
2244 (home-page "https://common-lisp.net/project/cffi/")
2245 (synopsis "Common Foreign Function Interface for Common Lisp")
2246 (description "The Common Foreign Function Interface (CFFI)
2247 purports to be a portable foreign function interface for Common Lisp.
2248 The CFFI library is composed of a Lisp-implementation-specific backend
2249 in the CFFI-SYS package, and a portable frontend in the CFFI
2251 (license license:expat)))
2253 (define-public sbcl-cffi-toolchain
2255 (inherit sbcl-cffi-bootstrap)
2256 (name "sbcl-cffi-toolchain")
2258 `(("libffi" ,libffi)
2259 ("sbcl-cffi" ,sbcl-cffi-bootstrap)))
2261 (substitute-keyword-arguments (package-arguments sbcl-cffi-bootstrap)
2262 ((#:asd-system-name _) #f)
2263 ((#:tests? _) #t)))))
2265 (define-public sbcl-cffi-libffi
2267 (inherit sbcl-cffi-toolchain)
2268 (name "sbcl-cffi-libffi")
2270 `(("cffi" ,sbcl-cffi-bootstrap)
2271 ("cffi-grovel" ,sbcl-cffi-grovel)
2272 ("trivial-features" ,sbcl-trivial-features)
2273 ("libffi" ,libffi)))))
2275 (define-public sbcl-cffi-grovel
2277 (inherit sbcl-cffi-toolchain)
2278 (name "sbcl-cffi-grovel")
2280 `(("libffi" ,libffi)
2281 ("cffi" ,sbcl-cffi-bootstrap)
2282 ("cffi-toolchain" ,sbcl-cffi-toolchain)
2283 ("alexandria" ,sbcl-alexandria)))
2285 (substitute-keyword-arguments (package-arguments sbcl-cffi-toolchain)
2287 `(modify-phases ,phases
2288 (add-after 'build 'install-headers
2289 (lambda* (#:key outputs #:allow-other-keys)
2290 (install-file "grovel/common.h"
2292 (assoc-ref outputs "out")
2293 "/include/grovel"))))))))))
2295 (define-public sbcl-cffi
2297 (inherit sbcl-cffi-toolchain)
2299 (inputs (package-inputs sbcl-cffi-bootstrap))
2301 `(("cffi-grovel" ,sbcl-cffi-grovel)
2302 ("cffi-libffi" ,sbcl-cffi-libffi)
2304 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2305 ,@(package-native-inputs sbcl-cffi-bootstrap)))))
2307 (define-public cl-cffi
2308 (sbcl-package->cl-source-package sbcl-cffi))
2310 (define-public sbcl-cl-sqlite
2311 (let ((commit "c738e66d4266ef63a1debc4ef4a1b871a068c112"))
2313 (name "sbcl-cl-sqlite")
2314 (version (git-version "0.2" "1" commit))
2319 (url "https://github.com/dmitryvk/cl-sqlite")
2321 (file-name (git-file-name "cl-sqlite" version))
2324 "1ng45k1hdb84sqjryrfx93g66bsbybmpy301wd0fdybnc5jzr36q"))))
2325 (build-system asdf-build-system/sbcl)
2327 `(("iterate" ,sbcl-iterate)
2329 ("sqlite" ,sqlite)))
2331 `(("fiveam" ,sbcl-fiveam)
2332 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2334 `(#:tests? #f ; Upstream seems to have issues with tests: https://github.com/dmitryvk/cl-sqlite/issues/7
2335 #:asd-file "sqlite.asd"
2336 #:asd-system-name "sqlite"
2338 (modify-phases %standard-phases
2339 (add-after 'unpack 'fix-paths
2340 (lambda* (#:key inputs #:allow-other-keys)
2341 (substitute* "sqlite-ffi.lisp"
2342 (("libsqlite3" all) (string-append
2343 (assoc-ref inputs "sqlite")"/lib/" all))))))))
2344 (home-page "https://common-lisp.net/project/cl-sqlite/")
2345 (synopsis "Common Lisp binding for SQLite")
2347 "The @command{cl-sqlite} package is an interface to the SQLite embedded
2348 relational database engine.")
2349 (license license:public-domain))))
2351 (define-public cl-sqlite
2352 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2354 (define-public sbcl-parenscript
2355 (let ((commit "061d8e286c81c3f45c84fb2b11ee7d83f590a8f8"))
2357 (name "sbcl-parenscript")
2358 (version (git-version "2.6" "1" commit))
2363 (url "https://gitlab.common-lisp.net/parenscript/parenscript")
2365 (file-name (git-file-name "parenscript" version))
2368 "1kbhgsjbikc73m5cwdp4d4fdafyqcr1b7b630qjrziql0nh6mi3k"))))
2369 (build-system asdf-build-system/sbcl)
2371 `(("cl-ppcre" ,sbcl-cl-ppcre)
2372 ("anaphora" ,sbcl-anaphora)
2373 ("named-readtables" ,sbcl-named-readtables)))
2374 (home-page "https://common-lisp.net/project/parenscript/")
2375 (synopsis "Translator from a subset of Common Lisp to JavaScript")
2377 "Parenscript is a translator from an extended subset of Common Lisp to
2378 JavaScript. Parenscript code can run almost identically on both the
2379 browser (as JavaScript) and server (as Common Lisp).
2381 Parenscript code is treated the same way as Common Lisp code, making the full
2382 power of Lisp macros available for JavaScript. This provides a web
2383 development environment that is unmatched in its ability to reduce code
2384 duplication and provide advanced meta-programming facilities to web
2387 At the same time, Parenscript is different from almost all other \"language
2388 X\" to JavaScript translators in that it imposes almost no overhead:
2391 @item No run-time dependencies: Any piece of Parenscript code is runnable
2392 as-is. There are no JavaScript files to include.
2393 @item Native types: Parenscript works entirely with native JavaScript data
2394 types. There are no new types introduced, and object prototypes are not
2396 @item Native calling convention: Any JavaScript code can be called without the
2397 need for bindings. Likewise, Parenscript can be used to make efficient,
2398 self-contained JavaScript libraries.
2399 @item Readable code: Parenscript generates concise, formatted, idiomatic
2400 JavaScript code. Identifier names are preserved. This enables seamless
2401 debugging in tools like Firebug.
2402 @item Efficiency: Parenscript introduces minimal overhead for advanced Common
2403 Lisp features. The generated code is almost as fast as hand-written
2406 (license license:bsd-3))))
2408 (define-public cl-parenscript
2409 (sbcl-package->cl-source-package sbcl-parenscript))
2411 (define-public ecl-parenscript
2412 (sbcl-package->ecl-package sbcl-parenscript))
2414 (define-public sbcl-cl-json
2415 (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
2417 (name "sbcl-cl-json")
2418 (version (git-version "0.5" "1" commit))
2423 (url "https://github.com/hankhero/cl-json")
2425 (file-name (git-file-name "cl-json" version))
2428 "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
2429 (build-system asdf-build-system/sbcl)
2431 `(("fiveam" ,sbcl-fiveam)))
2432 (home-page "https://github.com/hankhero/cl-json")
2433 (synopsis "JSON encoder and decoder for Common-Lisp")
2435 "@command{cl-json} provides an encoder of Lisp objects to JSON format
2436 and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2437 and the decoder are highly customizable; at the same time, the default
2438 settings ensure a very simple mode of operation, similar to that provided by
2439 @command{yason} or @command{st-json}.")
2440 (license license:expat))))
2442 (define-public cl-json
2443 (sbcl-package->cl-source-package sbcl-cl-json))
2445 (define-public ecl-cl-json
2446 (sbcl-package->ecl-package sbcl-cl-json))
2448 (define-public sbcl-unix-opts
2450 (name "sbcl-unix-opts")
2456 (url "https://github.com/libre-man/unix-opts")
2458 (file-name (git-file-name "unix-opts" version))
2461 "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
2462 (build-system asdf-build-system/sbcl)
2463 (home-page "https://github.com/hankhero/cl-json")
2464 (synopsis "Unix-style command line options parser")
2466 "This is a minimalistic parser of command line options. The main
2467 advantage of the library is the ability to concisely define command line
2468 options once and then use this definition for parsing and extraction of
2469 command line arguments, as well as printing description of command line
2470 options (you get --help for free). This way you don't need to repeat
2471 yourself. Also, @command{unix-opts} doesn't depend on anything and allows to
2472 precisely control behavior of the parser via Common Lisp restarts.")
2473 (license license:expat)))
2475 (define-public cl-unix-opts
2476 (sbcl-package->cl-source-package sbcl-unix-opts))
2478 (define-public ecl-unix-opts
2479 (sbcl-package->ecl-package sbcl-unix-opts))
2481 (define-public sbcl-trivial-garbage
2483 (name "sbcl-trivial-garbage")
2489 (url "https://github.com/trivial-garbage/trivial-garbage.git")
2490 (commit (string-append "v" version))))
2491 (file-name (git-file-name "trivial-garbage" version))
2493 (base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
2494 (build-system asdf-build-system/sbcl)
2497 (home-page "https://common-lisp.net/project/trivial-garbage/")
2498 (synopsis "Portable GC-related APIs for Common Lisp")
2499 (description "@command{trivial-garbage} provides a portable API to
2500 finalizers, weak hash-tables and weak pointers on all major implementations of
2501 the Common Lisp programming language.")
2502 (license license:public-domain)))
2504 (define-public cl-trivial-garbage
2505 (sbcl-package->cl-source-package sbcl-trivial-garbage))
2507 (define-public ecl-trivial-garbage
2508 (sbcl-package->ecl-package sbcl-trivial-garbage))
2510 (define-public sbcl-closer-mop
2511 (let ((commit "fac29ce90e3a46e1fc6cf182190e193526fa9dbc"))
2513 (name "sbcl-closer-mop")
2514 (version (git-version "1.0.0" "1" commit))
2519 (url "https://github.com/pcostanza/closer-mop")
2522 (base32 "0hvh77y869h8fg9di5snyg85fxq6fdh9gj1igmx1g6j6j5x915dl"))
2523 (file-name (git-file-name "closer-mop" version ))))
2524 (build-system asdf-build-system/sbcl)
2525 (home-page "https://github.com/pcostanza/closer-mop")
2526 (synopsis "Rectifies absent or incorrect CLOS MOP features")
2527 (description "Closer to MOP is a compatibility layer that rectifies many
2528 of the absent or incorrect CLOS MOP features across a broad range of Common
2529 Lisp implementations.")
2530 (license license:expat))))
2532 (define-public cl-closer-mop
2533 (sbcl-package->cl-source-package sbcl-closer-mop))
2535 (define-public ecl-closer-mop
2536 (sbcl-package->ecl-package sbcl-closer-mop))
2538 (define sbcl-cl-cffi-gtk-boot0
2539 (let ((commit "29443c5aaca975709df8025c4649366d882033cb"))
2541 (name "sbcl-cl-cffi-gtk-boot0")
2542 (version (git-version "0.11.2" "1" commit))
2547 (url "https://github.com/Ferada/cl-cffi-gtk/")
2549 (file-name (git-file-name "cl-cffi-gtk" version))
2552 "0f6s92sf8xyzh1yksqx8bsy1sv0zmy0c13j3b8bavaba5hlxpxah"))))
2553 (build-system asdf-build-system/sbcl)
2555 `(("iterate" ,sbcl-iterate)
2557 ("trivial-features" ,sbcl-trivial-features)))
2558 (home-page "https://github.com/Ferada/cl-cffi-gtk/")
2559 (synopsis "Common Lisp binding for GTK+3")
2561 "@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
2562 is a library for creating graphical user interfaces.")
2563 (license license:lgpl3))))
2565 (define-public sbcl-cl-cffi-gtk-glib
2567 (inherit sbcl-cl-cffi-gtk-boot0)
2568 (name "sbcl-cl-cffi-gtk-glib")
2571 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2573 `(#:asd-file "glib/cl-cffi-gtk-glib.asd"
2575 (modify-phases %standard-phases
2576 (add-after 'unpack 'fix-paths
2577 (lambda* (#:key inputs #:allow-other-keys)
2578 (substitute* "glib/glib.init.lisp"
2579 (("libglib|libgthread" all) (string-append
2580 (assoc-ref inputs "glib") "/lib/" all))))))))))
2582 (define-public sbcl-cl-cffi-gtk-gobject
2584 (inherit sbcl-cl-cffi-gtk-boot0)
2585 (name "sbcl-cl-cffi-gtk-gobject")
2588 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2589 ("trivial-garbage" ,sbcl-trivial-garbage)
2590 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2591 ("closer-mop" ,sbcl-closer-mop)
2592 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2594 `(#:asd-file "gobject/cl-cffi-gtk-gobject.asd"
2596 (modify-phases %standard-phases
2597 (add-after 'unpack 'fix-paths
2598 (lambda* (#:key inputs #:allow-other-keys)
2599 (substitute* "gobject/gobject.init.lisp"
2600 (("libgobject" all) (string-append
2601 (assoc-ref inputs "glib") "/lib/" all))))))))))
2603 (define-public sbcl-cl-cffi-gtk-gio
2605 (inherit sbcl-cl-cffi-gtk-boot0)
2606 (name "sbcl-cl-cffi-gtk-gio")
2609 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2610 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2611 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2613 `(#:asd-file "gio/cl-cffi-gtk-gio.asd"
2615 (modify-phases %standard-phases
2616 (add-after 'unpack 'fix-paths
2617 (lambda* (#:key inputs #:allow-other-keys)
2618 (substitute* "gio/gio.init.lisp"
2621 (assoc-ref inputs "glib") "/lib/" all))))))))))
2623 (define-public sbcl-cl-cffi-gtk-cairo
2625 (inherit sbcl-cl-cffi-gtk-boot0)
2626 (name "sbcl-cl-cffi-gtk-cairo")
2629 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2630 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2632 `(#:asd-file "cairo/cl-cffi-gtk-cairo.asd"
2634 (modify-phases %standard-phases
2635 (add-after 'unpack 'fix-paths
2636 (lambda* (#:key inputs #:allow-other-keys)
2637 (substitute* "cairo/cairo.init.lisp"
2640 (assoc-ref inputs "cairo") "/lib/" all))))))))))
2642 (define-public sbcl-cl-cffi-gtk-pango
2644 (inherit sbcl-cl-cffi-gtk-boot0)
2645 (name "sbcl-cl-cffi-gtk-pango")
2648 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2649 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2650 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
2651 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2653 `(#:asd-file "pango/cl-cffi-gtk-pango.asd"
2655 (modify-phases %standard-phases
2656 (add-after 'unpack 'fix-paths
2657 (lambda* (#:key inputs #:allow-other-keys)
2658 (substitute* "pango/pango.init.lisp"
2661 (assoc-ref inputs "pango") "/lib/" all))))))))))
2663 (define-public sbcl-cl-cffi-gtk-gdk-pixbuf
2665 (inherit sbcl-cl-cffi-gtk-boot0)
2666 (name "sbcl-cl-cffi-gtk-gdk-pixbuf")
2668 `(("gdk-pixbuf" ,gdk-pixbuf)
2669 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2670 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2672 `(#:asd-file "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
2674 (modify-phases %standard-phases
2675 (add-after 'unpack 'fix-paths
2676 (lambda* (#:key inputs #:allow-other-keys)
2677 (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
2678 (("libgdk_pixbuf" all)
2680 (assoc-ref inputs "gdk-pixbuf") "/lib/" all))))))))))
2682 (define-public sbcl-cl-cffi-gtk-gdk
2684 (inherit sbcl-cl-cffi-gtk-boot0)
2685 (name "sbcl-cl-cffi-gtk-gdk")
2688 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2689 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
2690 ("cl-cffi-gtk-gdk-pixbuf" ,sbcl-cl-cffi-gtk-gdk-pixbuf)
2691 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
2692 ("cl-cffi-gtk-pango" ,sbcl-cl-cffi-gtk-pango)
2693 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2695 `(#:asd-file "gdk/cl-cffi-gtk-gdk.asd"
2697 (modify-phases %standard-phases
2698 (add-after 'unpack 'fix-paths
2699 (lambda* (#:key inputs #:allow-other-keys)
2700 (substitute* "gdk/gdk.init.lisp"
2703 (assoc-ref inputs "gtk") "/lib/" all)))
2704 (substitute* "gdk/gdk.package.lisp"
2707 (assoc-ref inputs "gtk") "/lib/" all))))))))))
2709 (define-public sbcl-cl-cffi-gtk
2711 (inherit sbcl-cl-cffi-gtk-boot0)
2712 (name "sbcl-cl-cffi-gtk")
2714 `(("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2715 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2716 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
2717 ("cl-cffi-gtk-gdk" ,sbcl-cl-cffi-gtk-gdk)
2718 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2720 `(("fiveam" ,sbcl-fiveam)))
2722 `(#:asd-file "gtk/cl-cffi-gtk.asd"
2723 #:test-asd-file "test/cl-cffi-gtk-test.asd"
2724 ;; TODO: Tests fail with memory fault.
2725 ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
2728 (define-public cl-cffi-gtk
2729 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
2731 (define-public sbcl-cl-webkit
2732 (let ((commit "cd2a9008e0c152e54755e8a7f07b050fe36bab31"))
2734 (name "sbcl-cl-webkit")
2735 (version (git-version "2.4" "1" commit))
2740 (url "https://github.com/jmercouris/cl-webkit")
2742 (file-name (git-file-name "cl-webkit" version))
2745 "0f5lyn9i7xrn3g1bddga377mcbawkbxydijpg389q4n04gqj0vwf"))))
2746 (build-system asdf-build-system/sbcl)
2748 `(("cffi" ,sbcl-cffi)
2749 ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
2750 ("webkitgtk" ,webkitgtk)))
2752 `(#:asd-file "webkit2/cl-webkit2.asd"
2753 #:asd-system-name "cl-webkit2"
2755 (modify-phases %standard-phases
2756 (add-after 'unpack 'fix-paths
2757 (lambda* (#:key inputs #:allow-other-keys)
2758 (substitute* "webkit2/webkit2.init.lisp"
2759 (("libwebkit2gtk" all)
2761 (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
2762 (home-page "https://github.com/jmercouris/cl-webkit")
2763 (synopsis "Binding to WebKitGTK+ for Common Lisp")
2765 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
2766 currently targeting WebKit version 2. The WebKitGTK+ library adds web
2767 browsing capabilities to an application, leveraging the full power of the
2768 WebKit browsing engine.")
2769 (license license:expat))))
2771 (define-public cl-webkit
2772 (sbcl-package->cl-source-package sbcl-cl-webkit))
2774 (define-public sbcl-lparallel
2776 (name "sbcl-lparallel")
2782 (url "https://github.com/lmj/lparallel/")
2783 (commit (string-append "lparallel-" version))))
2784 (file-name (git-file-name "lparallel" version))
2787 "0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
2788 (build-system asdf-build-system/sbcl)
2790 `(("alexandria" ,sbcl-alexandria)
2791 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2792 ("trivial-garbage" ,sbcl-trivial-garbage)))
2793 (home-page "https://lparallel.org/")
2794 (synopsis "Parallelism for Common Lisp")
2796 "@command{lparallel} is a library for parallel programming in Common
2800 @item a simple model of task submission with receiving queue,
2801 @item constructs for expressing fine-grained parallelism,
2802 @item asynchronous condition handling across thread boundaries,
2803 @item parallel versions of map, reduce, sort, remove, and many others,
2804 @item promises, futures, and delayed evaluation constructs,
2805 @item computation trees for parallelizing interconnected tasks,
2806 @item bounded and unbounded FIFO queues,
2807 @item high and low priority tasks,
2808 @item task killing by category,
2809 @item integrated timeouts.
2811 (license license:expat)))
2813 (define-public cl-lparallel
2814 (sbcl-package->cl-source-package sbcl-lparallel))
2816 (define-public ecl-lparallel
2817 (sbcl-package->ecl-package sbcl-lparallel))
2819 (define-public sbcl-cl-markup
2820 (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
2822 (name "sbcl-cl-markup")
2823 (version (git-version "0.1" "1" commit))
2828 (url "https://github.com/arielnetworks/cl-markup/")
2830 (file-name (git-file-name "cl-markup" version))
2833 "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
2834 (build-system asdf-build-system/sbcl)
2835 (home-page "https://github.com/arielnetworks/cl-markup/")
2836 (synopsis "Markup generation library for Common Lisp")
2838 "A modern markup generation library for Common Lisp that features:
2841 @item Fast (even faster through compiling the code)
2843 @item Support for multiple document types (markup, xml, html, html5, xhtml)
2844 @item Output with doctype
2845 @item Direct output to stream
2847 (license license:lgpl3+))))
2849 (define-public cl-markup
2850 (sbcl-package->cl-source-package sbcl-cl-markup))
2852 (define-public ecl-cl-markup
2853 (sbcl-package->ecl-package sbcl-cl-markup))
2855 (define-public sbcl-cl-css
2856 (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
2858 (name "sbcl-cl-css")
2859 (version (git-version "0.1" "1" commit))
2864 (url "https://github.com/inaimathi/cl-css/")
2866 (file-name (git-file-name "cl-css" version))
2869 "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
2870 (build-system asdf-build-system/sbcl)
2871 (home-page "https://github.com/inaimathi/cl-css/")
2872 (synopsis "Non-validating, inline CSS generator for Common Lisp")
2874 "This is a dead-simple, non validating, inline CSS generator for Common
2875 Lisp. Its goals are axiomatic syntax, simple implementation to support
2876 portability, and boilerplate reduction in CSS.")
2877 (license license:expat))))
2879 (define-public cl-css
2880 (sbcl-package->cl-source-package sbcl-cl-css))
2882 (define-public ecl-cl-css
2883 (sbcl-package->ecl-package sbcl-cl-css))
2885 (define-public sbcl-portable-threads
2886 (let ((commit "c0e61a1faeb0583c80fd3f20b16cc4c555226920"))
2888 (name "sbcl-portable-threads")
2889 (version (git-version "2.3" "1" commit))
2894 (url "https://github.com/binghe/portable-threads/")
2896 (file-name (git-file-name "portable-threads" version))
2899 "03fmxyarc0xf4kavwkfa0a2spkyfrz6hbgbi9y4q7ny5aykdyfaq"))))
2900 (build-system asdf-build-system/sbcl)
2902 `(;; Tests seem broken.
2904 (home-page "https://github.com/binghe/portable-threads")
2905 (synopsis "Portable threads (and scheduled and periodic functions) API for Common Lisp")
2907 "Portable Threads (and Scheduled and Periodic Functions) API for Common
2908 Lisp (from GBBopen project).")
2909 (license license:asl2.0))))
2911 (define-public cl-portable-threads
2912 (sbcl-package->cl-source-package sbcl-portable-threads))
2914 (define-public ecl-portable-threada
2915 (sbcl-package->ecl-package sbcl-portable-threads))
2917 (define-public sbcl-usocket-boot0
2918 ;; usocket's test rely on usocket-server which depends on usocket itself.
2919 ;; We break this cyclic dependency with -boot0 that packages usocket.
2920 (let ((commit "86e7efbfe50101931edf4b67cdcfa7e221ecfde9"))
2922 (name "sbcl-usocket-boot0")
2923 (version (git-version "0.7.1" "1" commit))
2928 (url "https://github.com/usocket/usocket/")
2930 (file-name (git-file-name "usocket" version))
2933 "1lk6ipakrib7kdgzw44hrgmls9akp5pz4h35yynw0k5zwmmq6374"))))
2934 (build-system asdf-build-system/sbcl)
2936 `(("split-sequence" ,sbcl-split-sequence)))
2939 #:asd-system-name "usocket"))
2940 (home-page "https://common-lisp.net/project/usocket/")
2941 (synopsis "Universal socket library for Common Lisp (server side)")
2943 "This library strives to provide a portable TCP/IP and UDP/IP socket
2944 interface for as many Common Lisp implementations as possible, while keeping
2945 the abstraction and portability layer as thin as possible.")
2946 (license license:expat))))
2948 (define-public sbcl-usocket-server
2950 (inherit sbcl-usocket-boot0)
2951 (name "sbcl-usocket-server")
2953 `(("usocket" ,sbcl-usocket-boot0)
2954 ("portable-threads" ,sbcl-portable-threads)))
2956 '(#:asd-system-name "usocket-server"))
2957 (synopsis "Universal socket library for Common Lisp (server side)")))
2959 (define-public cl-usocket-server
2960 (sbcl-package->cl-source-package sbcl-usocket-server))
2962 (define-public ecl-socket-server
2963 (sbcl-package->ecl-package sbcl-usocket-server))
2965 (define-public sbcl-usocket
2967 (inherit sbcl-usocket-boot0)
2968 (name "sbcl-usocket")
2970 ;; FIXME: Tests need network access?
2974 `(("usocket-server" ,sbcl-usocket-server)
2977 (define-public cl-usocket
2978 (sbcl-package->cl-source-package sbcl-usocket))
2980 (define-public ecl-socket
2981 (sbcl-package->ecl-package sbcl-usocket))
2983 (define-public sbcl-s-xml
2990 (uri "https://common-lisp.net/project/s-xml/s-xml.tgz")
2993 "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
2994 (build-system asdf-build-system/sbcl)
2995 (home-page "https://common-lisp.net/project/s-xml/")
2996 (synopsis "Simple XML parser implemented in Common Lisp")
2998 "S-XML is a simple XML parser implemented in Common Lisp. This XML
2999 parser implementation has the following features:
3002 @item It works (handling many common XML usages).
3003 @item It is very small (the core is about 700 lines of code, including
3004 comments and whitespace).
3005 @item It has a core API that is simple, efficient and pure functional, much
3006 like that from SSAX (see also http://ssax.sourceforge.net).
3007 @item It supports different DOM models: an XSML-based one, an LXML-based one
3008 and a classic xml-element struct based one.
3009 @item It is reasonably time and space efficient (internally avoiding garbage
3010 generatation as much as possible).
3011 @item It does support CDATA.
3012 @item It should support the same character sets as your Common Lisp
3014 @item It does support XML name spaces.
3017 This XML parser implementation has the following limitations:
3020 @item It does not support any special tags (like processing instructions).
3021 @item It is not validating, even skips DTD's all together.
3023 (license license:lgpl3+)))
3025 (define-public cl-s-xml
3026 (sbcl-package->cl-source-package sbcl-s-xml))
3028 (define-public ecl-s-xml
3029 (sbcl-package->ecl-package sbcl-s-xml))
3031 (define-public sbcl-s-xml-rpc
3033 (name "sbcl-s-xml-rpc")
3038 (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz")
3041 "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11"))))
3042 (build-system asdf-build-system/sbcl)
3044 `(("s-xml" ,sbcl-s-xml)))
3045 (home-page "https://common-lisp.net/project/s-xml-rpc/")
3046 (synopsis "Implementation of XML-RPC in Common Lisp for both client and server")
3048 "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both
3049 client and server.")
3050 (license license:lgpl3+)))
3052 (define-public cl-s-xml-rpc
3053 (sbcl-package->cl-source-package sbcl-s-xml-rpc))
3055 (define-public ecl-s-xml-rpc
3056 (sbcl-package->ecl-package sbcl-s-xml-rpc))
3058 (define-public sbcl-trivial-clipboard
3059 (let ((commit "5af3415d1484e6d69a1b5c178f24680d9fd01796"))
3061 (name "sbcl-trivial-clipboard")
3062 (version (git-version "0.0.0.0" "2" commit))
3067 (url "https://github.com/snmsts/trivial-clipboard")
3069 (file-name (git-file-name "trivial-clipboard" version))
3072 "1gb515z5yq6h5548pb1fwhmb0hhq1ssyb78pvxh4alq799xipxs9"))))
3073 (build-system asdf-build-system/sbcl)
3075 `(("xclip" ,xclip)))
3077 `(("fiveam" ,sbcl-fiveam)))
3080 (modify-phases %standard-phases
3081 (add-after 'unpack 'fix-paths
3082 (lambda* (#:key inputs #:allow-other-keys)
3083 (substitute* "src/text.lisp"
3084 (("\\(executable-find \"xclip\"\\)")
3085 (string-append "(executable-find \""
3086 (assoc-ref inputs "xclip")
3087 "/bin/xclip\")"))))))))
3088 (home-page "https://github.com/snmsts/trivial-clipboard")
3089 (synopsis "Access system clipboard in Common Lisp")
3091 "@command{trivial-clipboard} gives access to the system clipboard.")
3092 (license license:expat))))
3094 (define-public cl-trivial-clipboard
3095 (sbcl-package->cl-source-package sbcl-trivial-clipboard))
3097 (define-public ecl-trivial-clipboard
3098 (sbcl-package->ecl-package sbcl-trivial-clipboard))
3100 (define-public sbcl-trivial-backtrace
3101 (let ((commit "ca81c011b86424a381a7563cea3b924f24e6fbeb")
3104 (name "sbcl-trivial-backtrace")
3105 (version (git-version "0.0.0" revision commit))
3110 (url "https://github.com/gwkkwg/trivial-backtrace.git")
3112 (file-name (git-file-name "trivial-backtrace" version))
3114 (base32 "10p41p43skj6cimdg8skjy7372s8v2xpkg8djjy0l8rm45i654k1"))))
3115 (build-system asdf-build-system/sbcl)
3117 `(("sbcl-lift" ,sbcl-lift)))
3118 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3119 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3121 "On of the many things that didn't quite get into the Common Lisp
3122 standard was how to get a Lisp to output its call stack when something has
3123 gone wrong. As such, each Lisp has developed its own notion of what to
3124 display, how to display it, and what sort of arguments can be used to
3125 customize it. @code{trivial-backtrace} is a simple solution to generating a
3126 backtrace portably.")
3127 (license license:expat))))
3129 (define-public cl-trivial-backtrace
3130 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3132 (define-public sbcl-rfc2388
3133 (let ((commit "591bcf7e77f2c222c43953a80f8c297751dc0c4e")
3136 (name "sbcl-rfc2388")
3137 (version (git-version "0.0.0" revision commit))
3142 (url "https://github.com/jdz/rfc2388.git")
3144 (file-name (git-file-name "rfc2388" version))
3146 (base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
3147 (build-system asdf-build-system/sbcl)
3148 (home-page "https://github.com/jdz/rfc2388/")
3149 (synopsis "An implementation of RFC 2388 in Common Lisp")
3151 "This package contains an implementation of RFC 2388, which is used to
3152 process form data posted with HTTP POST method using enctype
3153 \"multipart/form-data\".")
3154 (license license:bsd-2))))
3156 (define-public cl-rfc2388
3157 (sbcl-package->cl-source-package sbcl-rfc2388))
3159 (define-public sbcl-md5
3167 "https://github.com/pmai/md5/archive/release-" version ".tar.gz"))
3169 (base32 "19yl9n0pjdz5gw4qi711lka97xcd9f81ylg434hk7jwn9f2s6w11"))))
3170 (build-system asdf-build-system/sbcl)
3171 (home-page "https://github.com/pmai/md5")
3173 "Common Lisp implementation of the MD5 Message-Digest Algorithm (RFC 1321)")
3175 "This package implements The MD5 Message-Digest Algorithm, as defined in
3176 RFC 1321 by R. Rivest, published April 1992.")
3177 (license license:public-domain)))
3179 (define-public cl-md5
3180 (sbcl-package->cl-source-package sbcl-md5))
3182 (define-public sbcl-cl+ssl
3183 (let ((commit "141ae91416bc40f1618dc07e48429b84388aa599")
3186 (name "sbcl-cl+ssl")
3187 (version (git-version "0.0.0" revision commit))
3192 (url "https://github.com/cl-plus-ssl/cl-plus-ssl.git")
3194 (file-name (git-file-name "cl+ssl" version))
3196 (base32 "1s0hg1h9sf8q89v0yrxmzg5f5sng29rgx3n21r9h9yql8351myan"))))
3197 (build-system asdf-build-system/sbcl)
3200 (modify-phases %standard-phases
3201 (add-after 'unpack 'fix-paths
3202 (lambda* (#:key inputs #:allow-other-keys)
3203 (substitute* "src/reload.lisp"
3206 (assoc-ref inputs "openssl") "/lib/" all))))))))
3208 `(("openssl" ,openssl)
3209 ("sbcl-cffi" ,sbcl-cffi)
3210 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3211 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3212 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)
3213 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)
3214 ("sbcl-alexandria" ,sbcl-alexandria)
3215 ("sbcl-trivial-features" ,sbcl-trivial-features)))
3216 (home-page "http://common-lisp.net/project/cl-plus-ssl/")
3217 (synopsis "Common Lisp bindings to OpenSSL")
3219 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3220 code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3221 Development into CL+SSL was done by David Lichteblau.")
3222 (license license:expat))))
3224 (define-public cl-cl+ssl
3225 (sbcl-package->cl-source-package sbcl-cl+ssl))
3227 (define-public sbcl-kmrcl
3228 (let ((version "1.109.0")
3229 (commit "5260068b2eb735af6796740c2db4955afac21636")
3233 (version (git-version version revision commit))
3238 (url "http://git.kpe.io/kmrcl.git/")
3240 (file-name (git-file-name name version))
3242 (base32 "1va7xjgzfv674bpsli674i7zj3f7wg5kxic41kz18r6hh4n52dfv"))))
3243 (build-system asdf-build-system/sbcl)
3245 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed in a
3246 ;; nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
3249 `(("sbcl-rt" ,sbcl-rt)))
3250 (home-page "http://files.kpe.io/kmrcl/")
3251 (synopsis "General utilities for Common Lisp programs")
3253 "KMRCL is a collection of utilities used by a number of Kevin
3254 Rosenberg's CL packages.")
3255 (license license:llgpl))))
3257 (define-public cl-kmrcl
3258 (sbcl-package->cl-source-package sbcl-kmrcl))
3260 (define-public sbcl-cl-base64
3261 (let ((version "3.3.3"))
3263 (name "sbcl-cl-base64")
3269 (url "http://git.kpe.io/cl-base64.git")
3270 (commit (string-append "v" version))))
3271 (file-name (git-file-name "cl-base64" version))
3273 (base32 "1dw6j7n6gsd2qa0p0rbsjxj00acxx3i9ca1qkgl0liy8lpnwkypl"))))
3274 (build-system asdf-build-system/sbcl)
3276 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed
3277 ;; in a nested call to ASDF/OPERATE:OPERATE unless identically
3281 `(("sbcl-ptester" ,sbcl-ptester)
3282 ("sbcl-kmrcl" ,sbcl-kmrcl)))
3283 (home-page "http://files.kpe.io/cl-base64/")
3285 "Common Lisp package to encode and decode base64 with URI support")
3287 "This package provides highly optimized base64 encoding and decoding.
3288 Besides conversion to and from strings, integer conversions are supported.
3289 Encoding with Uniform Resource Identifiers is supported by using a modified
3290 encoding table that uses only URI-compatible characters.")
3291 (license license:bsd-3))))
3293 (define-public cl-base64
3294 (sbcl-package->cl-source-package sbcl-cl-base64))
3296 (define-public sbcl-chunga
3298 (name "sbcl-chunga")
3304 (url "https://github.com/edicl/chunga.git")
3305 (commit (string-append "v" version))))
3306 (file-name (git-file-name name version))
3308 (base32 "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd"))))
3309 (build-system asdf-build-system/sbcl)
3311 `(("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3312 (home-page "https://edicl.github.io/chunga/")
3313 (synopsis "Portable chunked streams for Common Lisp")
3315 "Chunga implements streams capable of chunked encoding on demand as
3316 defined in RFC 2616.")
3317 (license license:bsd-2)))
3319 (define-public cl-chunga
3320 (sbcl-package->cl-source-package sbcl-chunga))
3322 (define-public sbcl-cl-who
3323 (let ((version "1.1.4")
3324 (commit "2c08caa4bafba720409af9171feeba3f32e86d32")
3327 (name "sbcl-cl-who")
3328 (version (git-version version revision commit))
3333 (url "https://github.com/edicl/cl-who.git")
3335 (file-name (git-file-name name version))
3338 "0yjb6sr3yazm288m318kqvj9xk8rm9n1lpimgf65ymqv0i5agxsb"))))
3339 (build-system asdf-build-system/sbcl)
3341 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3342 (home-page "https://edicl.github.io/cl-who/")
3343 (synopsis "Yet another Lisp markup language")
3345 "There are plenty of Lisp Markup Languages out there - every Lisp
3346 programmer seems to write at least one during his career - and CL-WHO (where
3347 WHO means \"with-html-output\" for want of a better acronym) is probably just
3348 as good or bad as the next one.")
3349 (license license:bsd-2))))
3351 (define-public cl-cl-who
3352 (sbcl-package->cl-source-package sbcl-cl-who))
3354 (define-public sbcl-chipz
3355 (let ((version "0.8")
3356 (commit "75dfbc660a5a28161c57f115adf74c8a926bfc4d")
3360 (version (git-version version revision commit))
3365 (url "https://github.com/froydnj/chipz.git")
3367 (file-name (git-file-name name version))
3370 "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"))))
3371 (build-system asdf-build-system/sbcl)
3373 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3374 (home-page "http://method-combination.net/lisp/chipz/")
3376 "Common Lisp library for decompressing deflate, zlib, gzip, and bzip2
3379 "DEFLATE data, defined in RFC1951, forms the core of popular
3380 compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3381 Chipz also provides for decompressing data in those formats as well. BZIP2 is
3382 the format used by the popular compression tool bzip2.")
3383 ;; The author describes it as "MIT-like"
3384 (license license:expat))))
3386 (define-public cl-chipz
3387 (sbcl-package->cl-source-package sbcl-chipz))
3389 (define-public sbcl-drakma
3390 (let ((version "2.0.4")
3391 (commit "7647c0ae842ff2058624e53979c7f297760c97a7")
3394 (name "sbcl-drakma")
3395 (version (git-version version revision commit))
3400 (url "https://github.com/edicl/drakma.git")
3402 (file-name (git-file-name name version))
3405 "1c4i9wakhj5pxfyyykxshdmv3180sbkrx6fcyynikmc0jd0rh84r"))))
3406 (build-system asdf-build-system/sbcl)
3408 `(("sbcl-puri" ,sbcl-puri)
3409 ("sbcl-cl-base64" ,sbcl-cl-base64)
3410 ("sbcl-chunga" ,sbcl-chunga)
3411 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3412 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3413 ("sbcl-chipz" ,sbcl-chipz)
3414 ("sbcl-usocket" ,sbcl-usocket)
3415 ("sbcl-cl+ssl" ,sbcl-cl+ssl)))
3417 `(("sbcl-fiveam" ,sbcl-fiveam)))
3418 (home-page "https://edicl.github.io/drakma/")
3419 (synopsis "HTTP client written in Common Lisp")
3421 "Drakma is a full-featured HTTP client implemented in Common Lisp. It
3422 knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3423 sockets, SSL, continuable uploads, file uploads, cookies, and more.")
3424 (license license:bsd-2))))
3426 (define-public cl-drakma
3427 (sbcl-package->cl-source-package sbcl-drakma))
3429 (define-public sbcl-hunchentoot
3431 (name "sbcl-hunchentoot")
3437 (url "https://github.com/edicl/hunchentoot.git")
3438 (commit (string-append "v" version))))
3439 (file-name (git-file-name "hunchentoot" version))
3441 (base32 "1anpcad7w045m4rsjs1f3xdhjwx5cppq1h0vlb3q7dz81fi3i6yq"))))
3442 (build-system asdf-build-system/sbcl)
3444 `(("sbcl-cl-who" ,sbcl-cl-who)
3445 ("sbcl-drakma" ,sbcl-drakma)))
3447 `(("sbcl-chunga" ,sbcl-chunga)
3448 ("sbcl-cl-base64" ,sbcl-cl-base64)
3449 ("sbcl-cl-fad" ,sbcl-cl-fad)
3450 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3451 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3452 ("sbcl-cl+ssl" ,sbcl-cl+ssl)
3453 ("sbcl-md5" ,sbcl-md5)
3454 ("sbcl-rfc2388" ,sbcl-rfc2388)
3455 ("sbcl-trivial-backtrace" ,sbcl-trivial-backtrace)
3456 ("sbcl-usocket" ,sbcl-usocket)))
3457 (home-page "https://edicl.github.io/hunchentoot/")
3458 (synopsis "Web server written in Common Lisp")
3460 "Hunchentoot is a web server written in Common Lisp and at the same
3461 time a toolkit for building dynamic websites. As a stand-alone web server,
3462 Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3463 connections (keep-alive), and SSL.")
3464 (license license:bsd-2)))
3466 (define-public cl-hunchentoot
3467 (sbcl-package->cl-source-package sbcl-hunchentoot))
3469 (define-public sbcl-trivial-types
3471 (name "sbcl-trivial-types")
3477 (url "https://github.com/m2ym/trivial-types.git")
3478 (commit "ee869f2b7504d8aa9a74403641a5b42b16f47d88")))
3479 (file-name (git-file-name name version))
3481 (base32 "1s4cp9bdlbn8447q7w7f1wkgwrbvfzp20mgs307l5pxvdslin341"))))
3482 (build-system asdf-build-system/sbcl)
3483 (home-page "https://github.com/m2ym/trivial-types")
3484 (synopsis "Trivial type definitions for Common Lisp")
3486 "TRIVIAL-TYPES provides missing but important type definitions such as
3487 PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
3488 (license license:llgpl)))
3490 (define-public cl-trivial-types
3491 (sbcl-package->cl-source-package sbcl-trivial-types))
3493 (define-public sbcl-cl-syntax
3495 (name "sbcl-cl-syntax")
3501 (url "https://github.com/m2ym/cl-syntax.git")
3502 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3503 (file-name (git-file-name "cl-syntax" version))
3505 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3506 (build-system asdf-build-system/sbcl)
3508 '(#:asd-file "cl-syntax.asd"
3509 #:asd-system-name "cl-syntax"))
3510 (inputs `(("sbcl-trivial-types" ,sbcl-trivial-types)
3511 ("sbcl-named-readtables" ,sbcl-named-readtables)))
3512 (home-page "https://github.com/m2ym/cl-syntax")
3513 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3515 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3516 (license license:llgpl)))
3518 (define-public cl-syntax
3519 (sbcl-package->cl-source-package sbcl-cl-syntax))
3521 (define-public sbcl-cl-annot
3522 (let ((commit "c99e69c15d935eabc671b483349a406e0da9518d")
3525 (name "sbcl-cl-annot")
3526 (version (git-version "0.0.0" revision commit))
3531 (url "https://github.com/m2ym/cl-annot.git")
3533 (file-name (git-file-name name version))
3535 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3536 (build-system asdf-build-system/sbcl)
3538 '(#:asd-file "cl-annot.asd"
3539 #:asd-system-name "cl-annot"))
3541 `(("sbcl-alexandria" ,sbcl-alexandria)))
3542 (home-page "https://github.com/m2ym/cl-annot")
3543 (synopsis "Python-like Annotation Syntax for Common Lisp.")
3545 "@code{cl-annot} is an general annotation library for Common Lisp.")
3546 (license license:llgpl))))
3548 (define-public cl-annot
3549 (sbcl-package->cl-source-package sbcl-cl-annot))
3551 (define-public sbcl-cl-syntax-annot
3553 (name "sbcl-cl-syntax-annot")
3559 (url "https://github.com/m2ym/cl-syntax.git")
3560 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3561 (file-name (git-file-name name version))
3563 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3564 (build-system asdf-build-system/sbcl)
3566 '(#:asd-file "cl-syntax-annot.asd"
3567 #:asd-system-name "cl-syntax-annot"))
3569 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3570 ("sbcl-cl-annot" ,sbcl-cl-annot)))
3571 (home-page "https://github.com/m2ym/cl-syntax")
3572 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3574 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and
3576 (license license:llgpl)))
3578 (define-public cl-syntax-annot
3579 (sbcl-package->cl-source-package sbcl-cl-syntax-annot))
3581 (define-public sbcl-cl-utilities
3582 (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b")
3585 (name "sbcl-cl-utilities")
3586 (version (git-version "0.0.0" revision commit))
3592 "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/"
3593 "archive/" commit "/cl-utilities-" commit ".tar.gz"))
3595 (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2"))))
3596 (build-system asdf-build-system/sbcl)
3598 '(#:asd-file "cl-utilities.asd"
3599 #:asd-system-name "cl-utilities"
3601 (modify-phases %standard-phases
3602 (add-after 'unpack 'fix-paths
3603 (lambda* (#:key inputs #:allow-other-keys)
3604 (substitute* "rotate-byte.lisp"
3605 (("in-package :cl-utilities)" all)
3606 "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
3607 (home-page "http://common-lisp.net/project/cl-utilities")
3608 (synopsis "A collection of semi-standard utilities")
3610 "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
3611 is a collection of Common Lisp Utilities, things that everybody writes since
3612 they're not part of the official standard. There are some very useful things
3613 there; the only problems are that they aren't implemented as well as you'd
3614 like (some aren't implemented at all) and they aren't conveniently packaged
3615 and maintained. It takes quite a bit of work to carefully implement utilities
3616 for common use, commented and documented, with error checking placed
3617 everywhere some dumb user might make a mistake.")
3618 (license license:public-domain))))
3620 (define-public cl-utilities
3621 (sbcl-package->cl-source-package sbcl-cl-utilities))
3623 (define-public sbcl-map-set
3624 (let ((commit "7b4b545b68b8")
3627 (name "sbcl-map-set")
3628 (version (git-version "0.0.0" revision commit))
3633 "https://bitbucket.org/tarballs_are_good/map-set/get/"
3636 (base32 "1sx5j5qdsy5fklspfammwb16kjrhkggdavm922a9q86jm5l0b239"))))
3637 (build-system asdf-build-system/sbcl)
3638 (home-page "https://bitbucket.org/tarballs_are_good/map-set")
3639 (synopsis "Set-like data structure")
3641 "Implementation of a set-like data structure with constant time
3642 addition, removal, and random selection.")
3643 (license license:bsd-3))))
3645 (define-public cl-map-set
3646 (sbcl-package->cl-source-package sbcl-map-set))
3648 (define-public sbcl-quri
3649 (let ((commit "76b75103f21ead092c9f715512fa82441ef61185")
3653 (version (git-version "0.1.0" revision commit))
3658 (url "https://github.com/fukamachi/quri.git")
3660 (file-name (git-file-name name version))
3662 (base32 "1ccbxsgzdibmzq33mmbmmz9vwl6l03xh6nbpsh1hkdvdcl7q0a60"))))
3663 (build-system asdf-build-system/sbcl)
3665 ;; Tests fail with: Component QURI-ASD::QURI-TEST not found,
3666 ;; required by #<SYSTEM "quri">. Why?
3668 (native-inputs `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3669 ("sbcl-prove" ,sbcl-prove)))
3670 (inputs `(("sbcl-babel" ,sbcl-babel)
3671 ("sbcl-split-sequence" ,sbcl-split-sequence)
3672 ("sbcl-cl-utilities" ,sbcl-cl-utilities)
3673 ("sbcl-alexandria" ,sbcl-alexandria)))
3674 (home-page "https://github.com/fukamachi/quri")
3675 (synopsis "Yet another URI library for Common Lisp")
3677 "QURI (pronounced \"Q-ree\") is yet another URI library for Common
3678 Lisp. It is intended to be a replacement of PURI.")
3679 (license license:bsd-3))))
3681 (define-public cl-quri
3682 (sbcl-package->cl-source-package sbcl-quri))
3684 (define-public sbcl-myway
3685 (let ((commit "286230082a11f879c18b93f17ca571c5f676bfb7")
3689 (version (git-version "0.1.0" revision commit))
3694 (url "https://github.com/fukamachi/myway.git")
3696 (file-name (git-file-name "myway" version))
3698 (base32 "0briia9bk3lbr0frnx39d1qg6i38dm4j6z9w3yga3d40k6df4a90"))))
3699 (build-system asdf-build-system/sbcl)
3701 ;; Tests fail with: Component MYWAY-ASD::MYWAY-TEST not found, required
3702 ;; by #<SYSTEM "myway">. Why?
3705 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3706 ("sbcl-prove" ,sbcl-prove)))
3708 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3709 ("sbcl-quri" ,sbcl-quri)
3710 ("sbcl-map-set" ,sbcl-map-set)))
3711 (home-page "https://github.com/fukamachi/myway")
3712 (synopsis "Sinatra-compatible URL routing library for Common Lisp")
3713 (description "My Way is a Sinatra-compatible URL routing library.")
3714 (license license:llgpl))))
3716 (define-public cl-myway
3717 (sbcl-package->cl-source-package sbcl-myway))
3719 (define-public sbcl-xsubseq
3720 (let ((commit "5ce430b3da5cda3a73b9cf5cee4df2843034422b")
3723 (name "sbcl-xsubseq")
3724 (version (git-version "0.0.1" revision commit))
3729 (url "https://github.com/fukamachi/xsubseq")
3731 (file-name (git-file-name name version))
3733 (base32 "1xz79q0p2mclf3sqjiwf6izdpb6xrsr350bv4mlmdlm6rg5r99px"))))
3734 (build-system asdf-build-system/sbcl)
3736 ;; Tests fail with: Component XSUBSEQ-ASD::XSUBSEQ-TEST not found,
3737 ;; required by #<SYSTEM "xsubseq">. Why?
3740 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3741 ("sbcl-prove" ,sbcl-prove)))
3742 (home-page "https://github.com/fukamachi/xsubseq")
3743 (synopsis "Efficient way to use \"subseq\"s in Common Lisp")
3745 "XSubseq provides functions to be able to handle \"subseq\"s more
3747 (license license:bsd-2))))
3749 (define-public cl-xsubseq
3750 (sbcl-package->cl-source-package sbcl-xsubseq))
3752 (define-public sbcl-smart-buffer
3753 (let ((commit "09b9a9a0b3abaa37abe9a730f5aac2643dca4e62")
3756 (name "sbcl-smart-buffer")
3757 (version (git-version "0.0.1" revision commit))
3762 (url "https://github.com/fukamachi/smart-buffer")
3764 (file-name (git-file-name name version))
3766 (base32 "0qz1zzxx0wm5ff7gpgsq550a59p0qj594zfmm2rglj97dahj54l7"))))
3767 (build-system asdf-build-system/sbcl)
3769 ;; Tests fail with: Component SMART-BUFFER-ASD::SMART-BUFFER-TEST not
3770 ;; found, required by #<SYSTEM "smart-buffer">. Why?
3773 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3774 ("sbcl-prove" ,sbcl-prove)))
3776 `(("sbcl-xsubseq" ,sbcl-xsubseq)
3777 ("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3778 (home-page "https://github.com/fukamachi/smart-buffer")
3779 (synopsis "Smart octets buffer")
3781 "Smart-buffer provides an output buffer which changes the destination
3782 depending on content size.")
3783 (license license:bsd-3))))
3785 (define-public cl-smart-buffer
3786 (sbcl-package->cl-source-package sbcl-smart-buffer))
3788 (define-public sbcl-fast-http
3789 (let ((commit "f9e7597191bae380503e20724fd493a24d024935")
3792 (name "sbcl-fast-http")
3793 (version (git-version "0.2.0" revision commit))
3798 (url "https://github.com/fukamachi/fast-http")
3800 (file-name (git-file-name name version))
3802 (base32 "0qdmwv2zm0sizxdb8nnclgwl0nfjcbjaimbakavikijw7lr9b4jp"))))
3803 (build-system asdf-build-system/sbcl)
3805 ;; Tests fail with: Component FAST-HTTP-ASD::FAST-HTTP-TEST not found,
3806 ;; required by #<SYSTEM "fast-http">. Why?
3809 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3810 ("sbcl-prove" ,sbcl-prove)))
3812 `(("sbcl-alexandria" ,sbcl-alexandria)
3813 ("sbcl-proc-parse" ,sbcl-proc-parse)
3814 ("sbcl-xsubseq" ,sbcl-xsubseq)
3815 ("sbcl-smart-buffer" ,sbcl-smart-buffer)
3816 ("sbcl-cl-utilities" ,sbcl-cl-utilities)))
3817 (home-page "https://github.com/fukamachi/fast-http")
3818 (synopsis "HTTP request/response parser for Common Lisp")
3820 "@code{fast-http} is a HTTP request/response protocol parser for Common
3822 ;; Author specified the MIT license
3823 (license license:expat))))
3825 (define-public cl-fast-http
3826 (sbcl-package->cl-source-package sbcl-fast-http))
3828 (define-public sbcl-static-vectors
3829 (let ((commit "0681eac1f49370cde03e64b077251e8abf47d702")
3832 (name "sbcl-static-vectors")
3833 (version (git-version "1.8.3" revision commit))
3838 (url "https://github.com/sionescu/static-vectors.git")
3840 (file-name (git-file-name name version))
3842 (base32 "138nlsq14hv8785ycjm6jw3i6ablhq8vcwys7q09y80arcgrg6r3"))))
3844 `(("sbcl-fiveam" ,sbcl-fiveam)))
3846 `(("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
3847 ("sbcl-cffi" ,sbcl-cffi)))
3848 (build-system asdf-build-system/sbcl)
3849 (home-page "http://common-lisp.net/projects/iolib/")
3850 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
3852 "With @code{static-vectors}, you can create vectors allocated in static
3854 (license license:expat))))
3856 (define-public cl-static-vectors
3857 (sbcl-package->cl-source-package sbcl-static-vectors))
3859 (define-public sbcl-marshal
3860 (let ((commit "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec")
3863 (name "sbcl-marshal")
3864 (version (git-version "1.3.0" revision commit))
3869 (url "https://github.com/wlbr/cl-marshal.git")
3871 (file-name (git-file-name name version))
3873 (base32 "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh"))))
3874 (build-system asdf-build-system/sbcl)
3875 (home-page "https://github.com/wlbr/cl-marshal")
3876 (synopsis "Simple (de)serialization of Lisp datastructures")
3878 "Simple and fast marshalling of Lisp datastructures. Convert any object
3879 into a string representation, put it on a stream an revive it from there.
3880 Only minimal changes required to make your CLOS objects serializable.")
3881 (license license:expat))))
3883 (define-public cl-marshal
3884 (sbcl-package->cl-source-package sbcl-marshal))
3886 (define-public sbcl-checkl
3887 (let ((commit "80328800d047fef9b6e32dfe6bdc98396aee3cc9")
3890 (name "sbcl-checkl")
3891 (version (git-version "0.0.0" revision commit))
3896 (url "https://github.com/rpav/CheckL.git")
3898 (file-name (git-file-name name version))
3900 (base32 "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx"))))
3901 (build-system asdf-build-system/sbcl)
3903 ;; Error while trying to load definition for system checkl-test from
3904 ;; pathname [...]/checkl-test.asd: The function CHECKL:DEFINE-TEST-OP
3908 `(("sbcl-fiveam" ,sbcl-fiveam)))
3910 `(("sbcl-marshal" ,sbcl-marshal)))
3911 (home-page "https://github.com/rpav/CheckL/")
3912 (synopsis "Dynamic testing for Common Lisp")
3914 "CheckL lets you write tests dynamically, it checks resulting values
3915 against the last run.")
3916 ;; The author specifies both LLGPL and "BSD", but the "BSD" license
3917 ;; isn't specified anywhere, so I don't know which kind. LLGPL is the
3918 ;; stronger of the two and so I think only listing this should suffice.
3919 (license license:llgpl))))
3921 (define-public cl-checkl
3922 (sbcl-package->cl-source-package sbcl-checkl))
3924 (define-public sbcl-fast-io
3925 (let ((commit "dc3a71db7e9b756a88781ae9c342fe9d4bbab51c")
3928 (name "sbcl-fast-io")
3929 (version (git-version "1.0.0" revision commit))
3934 (url "https://github.com/rpav/fast-io.git")
3936 (file-name (git-file-name name version))
3938 (base32 "1jsp6xvi26ln6fdy5j5zi05xvan8jsqdhisv552dy6xg6ws8i1yq"))))
3939 (build-system asdf-build-system/sbcl)
3941 ;; Error while trying to load definition for system fast-io-test from
3942 ;; pathname [...]/fast-io-test.asd: The function CHECKL:DEFINE-TEST-OP
3946 `(("sbcl-fiveam" ,sbcl-fiveam)
3947 ("sbcl-checkl" ,sbcl-checkl)))
3949 `(("sbcl-alexandria" ,sbcl-alexandria)
3950 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3951 ("sbcl-static-vectors" ,sbcl-static-vectors)))
3952 (home-page "https://github.com/rpav/fast-io")
3953 (synopsis "Fast octet-vector/stream I/O for Common Lisp")
3955 "Fast-io is about improving performance to octet-vectors and octet
3956 streams (though primarily the former, while wrapping the latter).")
3957 ;; Author specifies this as NewBSD which is an alias
3958 (license license:bsd-3))))
3960 (define-public cl-fast-io
3961 (sbcl-package->cl-source-package sbcl-fast-io))
3963 (define-public sbcl-jonathan
3964 (let ((commit "1f448b4f7ac8265e56e1c02b32ce383e65316300")
3967 (name "sbcl-jonathan")
3968 (version (git-version "0.1.0" revision commit))
3973 (url "https://github.com/Rudolph-Miller/jonathan.git")
3975 (file-name (git-file-name name version))
3977 (base32 "14x4iwz3mbag5jzzzr4sb6ai0m9r4q4kyypbq32jmsk2dx1hi807"))))
3978 (build-system asdf-build-system/sbcl)
3980 ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found,
3981 ;; required by #<SYSTEM "jonathan">. Why?
3984 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3985 ("sbcl-prove" ,sbcl-prove)))
3987 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3988 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
3989 ("sbcl-fast-io" ,sbcl-fast-io)
3990 ("sbcl-proc-parse" ,sbcl-proc-parse)
3991 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
3992 (home-page "http://rudolph-miller.github.io/jonathan/overview.html")
3993 (synopsis "JSON encoder and decoder")
3995 "High performance JSON encoder and decoder. Currently support: SBCL,
3997 ;; Author specifies the MIT license
3998 (license license:expat))))
4000 (define-public cl-jonathan
4001 (sbcl-package->cl-source-package sbcl-jonathan))
4003 (define-public sbcl-http-body
4004 (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
4007 (name "sbcl-http-body")
4008 (version (git-version "0.1.0" revision commit))
4013 (url "https://github.com/fukamachi/http-body")
4015 (file-name (git-file-name name version))
4017 (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
4018 (build-system asdf-build-system/sbcl)
4020 ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
4021 ;; found, required by #<SYSTEM "http-body">. Why?
4024 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4025 ("sbcl-prove" ,sbcl-prove)))
4027 `(("sbcl-fast-http" ,sbcl-fast-http)
4028 ("sbcl-jonathan" ,sbcl-jonathan)
4029 ("sbcl-quri" ,sbcl-quri)))
4030 (home-page "https://github.com/fukamachi/http-body")
4031 (synopsis "HTTP POST data parser")
4033 "HTTP-Body parses HTTP POST data and returns POST parameters. It
4034 supports application/x-www-form-urlencoded, application/json, and
4035 multipart/form-data.")
4036 (license license:bsd-2))))
4038 (define-public cl-http-body
4039 (sbcl-package->cl-source-package sbcl-http-body))
4041 (define-public sbcl-circular-streams
4042 (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df")
4045 (name "sbcl-circular-streams")
4046 (version (git-version "0.1.0" revision commit))
4051 (url "https://github.com/fukamachi/circular-streams")
4053 (file-name (git-file-name name version))
4055 (base32 "1wpw6d5cciyqcf92f7mvihak52pd5s47kk4qq6f0r2z2as68p5rs"))))
4056 (build-system asdf-build-system/sbcl)
4058 ;; The tests depend on cl-test-more which is now prove. Prove
4059 ;; tests aren't working for some reason.
4062 `(("sbcl-fast-io" ,sbcl-fast-io)
4063 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
4064 (home-page "https://github.com/fukamachi/circular-streams")
4065 (synopsis "Circularly readable streams for Common Lisp")
4067 "Circular-Streams allows you to read streams circularly by wrapping real
4068 streams. Once you reach end-of-file of a stream, it's file position will be
4069 reset to 0 and you're able to read it again.")
4070 (license license:llgpl))))
4072 (define-public cl-circular-streams
4073 (sbcl-package->cl-source-package sbcl-circular-streams))
4075 (define-public sbcl-lack-request
4076 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4079 (name "sbcl-lack-request")
4080 (version (git-version "0.1.0" revision commit))
4085 (url "https://github.com/fukamachi/lack.git")
4087 (file-name (git-file-name "lack-request" version))
4089 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4090 (build-system asdf-build-system/sbcl)
4092 '(#:asd-file "lack-request.asd"
4093 #:asd-system-name "lack-request"
4094 #:test-asd-file "t-lack-request.asd"
4095 ;; XXX: Component :CLACK-TEST not found
4098 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4099 ("sbcl-prove" ,sbcl-prove)))
4101 `(("sbcl-quri" ,sbcl-quri)
4102 ("sbcl-http-body" ,sbcl-http-body)
4103 ("sbcl-circular-streams" ,sbcl-circular-streams)))
4104 (home-page "https://github.com/fukamachi/lack")
4105 (synopsis "Lack, the core of Clack")
4107 "Lack is a Common Lisp library which allows web applications to be
4108 constructed of modular components. It was originally a part of Clack, however
4109 it's going to be rewritten as an individual project since Clack v2 with
4110 performance and simplicity in mind.")
4111 (license license:llgpl))))
4113 (define-public cl-lack-request
4114 (sbcl-package->cl-source-package sbcl-lack-request))
4116 (define-public sbcl-local-time
4117 (let ((commit "beac054eef428552b63d4ae7820c32ffef9a3015")
4120 (name "sbcl-local-time")
4121 (version (git-version "1.0.6" revision commit))
4126 (url "https://github.com/dlowe-net/local-time.git")
4128 (file-name (git-file-name name version))
4130 (base32 "0xhkmgxh41dg2wwlsp0h2l41jp144xn4gpxhh0lna6kh0560w2cc"))))
4131 (build-system asdf-build-system/sbcl)
4133 ;; TODO: Component :STEFIL not found, required by #<SYSTEM
4134 ;; "local-time/test">
4137 `(("stefil" ,sbcl-hu.dwim.stefil)))
4139 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4140 (home-page "https://common-lisp.net/project/local-time/")
4141 (synopsis "Time manipulation library for Common Lisp")
4143 "The LOCAL-TIME library is a Common Lisp library for the manipulation of
4144 dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4145 Long Painful History of Time\".")
4146 (license license:expat))))
4148 (define-public cl-local-time
4149 (sbcl-package->cl-source-package sbcl-local-time))
4151 (define-public sbcl-lack-response
4152 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4155 (name "sbcl-lack-response")
4156 (version (git-version "0.1.0" revision commit))
4161 (url "https://github.com/fukamachi/lack.git")
4163 (file-name (git-file-name name version))
4165 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4166 (build-system asdf-build-system/sbcl)
4168 '(#:asd-file "lack-response.asd"
4169 #:asd-system-name "lack-response"
4170 ;; XXX: no tests for lack-response.
4173 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4174 ("sbcl-prove" ,sbcl-prove)))
4176 `(("sbcl-quri" ,sbcl-quri)
4177 ("sbcl-http-body" ,sbcl-http-body)
4178 ("sbcl-circular-streams" ,sbcl-circular-streams)
4179 ("sbcl-local-time" ,sbcl-local-time)))
4180 (home-page "https://github.com/fukamachi/lack")
4181 (synopsis "Lack, the core of Clack")
4183 "Lack is a Common Lisp library which allows web applications to be
4184 constructed of modular components. It was originally a part of Clack, however
4185 it's going to be rewritten as an individual project since Clack v2 with
4186 performance and simplicity in mind.")
4187 (license license:llgpl))))
4189 (define-public cl-lack-response
4190 (sbcl-package->cl-source-package sbcl-lack-response))
4192 (define-public sbcl-lack-component
4193 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4196 (name "sbcl-lack-component")
4197 (version (git-version "0.0.0" revision commit))
4202 (url "https://github.com/fukamachi/lack.git")
4204 (file-name (git-file-name "lack-component" version))
4206 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4207 (build-system asdf-build-system/sbcl)
4209 '(#:asd-file "lack-component.asd"
4210 #:asd-system-name "lack-component"
4211 #:test-asd-file "t-lack-component.asd"
4212 ;; XXX: Component :LACK-TEST not found
4215 `(("prove-asdf" ,sbcl-prove-asdf)))
4216 (home-page "https://github.com/fukamachi/lack")
4217 (synopsis "Lack, the core of Clack")
4219 "Lack is a Common Lisp library which allows web applications to be
4220 constructed of modular components. It was originally a part of Clack, however
4221 it's going to be rewritten as an individual project since Clack v2 with
4222 performance and simplicity in mind.")
4223 (license license:llgpl))))
4225 (define-public cl-lack-component
4226 (sbcl-package->cl-source-package sbcl-lack-component))
4228 (define-public sbcl-lack-util
4229 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4232 (name "sbcl-lack-util")
4233 (version (git-version "0.1.0" revision commit))
4238 (url "https://github.com/fukamachi/lack.git")
4240 (file-name (git-file-name "lack-util" version))
4242 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4243 (build-system asdf-build-system/sbcl)
4245 '(#:asd-file "lack-util.asd"
4246 #:asd-system-name "lack-util"
4247 #:test-asd-file "t-lack-util.asd"
4248 ;; XXX: Component :LACK-TEST not found
4251 `(("prove-asdf" ,sbcl-prove-asdf)))
4253 `(("sbcl-ironclad" ,sbcl-ironclad)))
4254 (home-page "https://github.com/fukamachi/lack")
4255 (synopsis "Lack, the core of Clack")
4257 "Lack is a Common Lisp library which allows web applications to be
4258 constructed of modular components. It was originally a part of Clack, however
4259 it's going to be rewritten as an individual project since Clack v2 with
4260 performance and simplicity in mind.")
4261 (license license:llgpl))))
4263 (define-public cl-lack-util
4264 (sbcl-package->cl-source-package sbcl-lack-util))
4266 (define-public sbcl-lack-middleware-backtrace
4267 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4270 (name "sbcl-lack-middleware-backtrace")
4271 (version (git-version "0.1.0" revision commit))
4276 (url "https://github.com/fukamachi/lack.git")
4278 (file-name (git-file-name "lack-middleware-backtrace" version))
4280 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4281 (build-system asdf-build-system/sbcl)
4283 '(#:asd-file "lack-middleware-backtrace.asd"
4284 #:asd-system-name "lack-middleware-backtrace"
4285 #:test-asd-file "t-lack-middleware-backtrace.asd"
4286 ;; XXX: Component :LACK not found
4289 `(("prove-asdf" ,sbcl-prove-asdf)))
4290 (home-page "https://github.com/fukamachi/lack")
4291 (synopsis "Lack, the core of Clack")
4293 "Lack is a Common Lisp library which allows web applications to be
4294 constructed of modular components. It was originally a part of Clack, however
4295 it's going to be rewritten as an individual project since Clack v2 with
4296 performance and simplicity in mind.")
4297 (license license:llgpl))))
4299 (define-public cl-lack-middleware-backtrace
4300 (sbcl-package->cl-source-package sbcl-lack-middleware-backtrace))
4302 (define-public sbcl-trivial-mimes
4303 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
4306 (name "sbcl-trivial-mimes")
4307 (version (git-version "1.1.0" revision commit))
4312 (url "https://github.com/Shinmera/trivial-mimes.git")
4314 (file-name (git-file-name name version))
4316 (base32 "17jxgl47r695bvsb7wi3n2ws5rp1zzgvw0zii8cy5ggw4b4ayv6m"))))
4317 (build-system asdf-build-system/sbcl)
4320 (modify-phases %standard-phases
4323 (lambda* (#:key inputs #:allow-other-keys)
4324 (let ((anchor "#p\"/etc/mime.types\""))
4325 (substitute* "mime-types.lisp"
4329 "(asdf:system-relative-pathname :trivial-mimes "
4330 "\"../../share/common-lisp/" (%lisp-type)
4331 "-source/trivial-mimes/mime.types\")")))))))))
4333 `(("stefil" ,sbcl-hu.dwim.stefil)))
4335 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4336 (home-page "http://shinmera.github.io/trivial-mimes/")
4337 (synopsis "Tiny Common Lisp library to detect mime types in files")
4339 "This is a teensy library that provides some functions to determine the
4340 mime-type of a file.")
4341 (license license:artistic2.0))))
4343 (define-public cl-trivial-mimes
4344 (sbcl-package->cl-source-package sbcl-trivial-mimes))
4346 (define-public ecl-trivial-mimes
4347 (sbcl-package->ecl-package sbcl-trivial-mimes))
4349 (define-public sbcl-lack-middleware-static
4350 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4353 (name "sbcl-lack-middleware-static")
4354 (version (git-version "0.1.0" revision commit))
4359 (url "https://github.com/fukamachi/lack.git")
4361 (file-name (git-file-name "lack-middleware-static" version))
4363 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4364 (build-system asdf-build-system/sbcl)
4366 '(#:asd-file "lack-middleware-static.asd"
4367 #:asd-system-name "lack-middleware-static"
4368 #:test-asd-file "t-lack-middleware-static.asd"
4369 ;; XXX: Component :LACK not found
4372 `(("prove-asdf" ,sbcl-prove-asdf)))
4374 `(("sbcl-ironclad" ,sbcl-ironclad)
4375 ("sbcl-trivial-mimes" ,sbcl-trivial-mimes)
4376 ("sbcl-local-time" ,sbcl-local-time)))
4377 (home-page "https://github.com/fukamachi/lack")
4378 (synopsis "Lack, the core of Clack")
4380 "Lack is a Common Lisp library which allows web applications to be
4381 constructed of modular components. It was originally a part of Clack, however
4382 it's going to be rewritten as an individual project since Clack v2 with
4383 performance and simplicity in mind.")
4384 (license license:llgpl))))
4386 (define-public cl-lack-middleware-static
4387 (sbcl-package->cl-source-package sbcl-lack-middleware-static))
4389 (define-public sbcl-lack
4390 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4394 (version (git-version "0.1.0" revision commit))
4399 (url "https://github.com/fukamachi/lack.git")
4401 (file-name (git-file-name "lack" version))
4403 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4404 (build-system asdf-build-system/sbcl)
4406 '(#:test-asd-file "t-lack.asd"
4407 ;; XXX: Component :CLACK not found
4410 `(("prove-asdf" ,sbcl-prove-asdf)))
4412 `(("sbcl-lack-component" ,sbcl-lack-component)
4413 ("sbcl-lack-util" ,sbcl-lack-util)))
4414 (home-page "https://github.com/fukamachi/lack")
4415 (synopsis "Lack, the core of Clack")
4417 "Lack is a Common Lisp library which allows web applications to be
4418 constructed of modular components. It was originally a part of Clack, however
4419 it's going to be rewritten as an individual project since Clack v2 with
4420 performance and simplicity in mind.")
4421 (license license:llgpl))))
4423 (define-public cl-lack
4424 (sbcl-package->cl-source-package sbcl-lack))
4426 (define-public sbcl-ningle
4427 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
4430 (name "sbcl-ningle")
4431 (version (git-version "0.3.0" revision commit))
4436 (url "https://github.com/fukamachi/ningle.git")
4438 (file-name (git-file-name name version))
4440 (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
4441 (build-system asdf-build-system/sbcl)
4443 ;; TODO: pull in clack-test
4446 (modify-phases %standard-phases
4447 (delete 'cleanup-files)
4449 (add-before 'cleanup 'combine-fasls
4450 (lambda* (#:key outputs #:allow-other-keys)
4451 (let* ((out (assoc-ref outputs "out"))
4452 (lib (string-append out "/lib/sbcl"))
4453 (ningle-path (string-append lib "/ningle"))
4454 (fasl-files (find-files out "\\.fasl$")))
4455 (mkdir-p ningle-path)
4456 (let ((fasl-path (lambda (name)
4457 (string-append ningle-path
4461 (for-each (lambda (file)
4464 (basename file ".fasl"))))
4469 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4470 ("sbcl-prove" ,sbcl-prove)))
4472 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4473 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4474 ("sbcl-myway" ,sbcl-myway)
4475 ("sbcl-lack-request" ,sbcl-lack-request)
4476 ("sbcl-lack-response" ,sbcl-lack-response)
4477 ("sbcl-lack-component" ,sbcl-lack-component)
4478 ("sbcl-alexandria" ,sbcl-alexandria)
4479 ("sbcl-babel" ,sbcl-babel)))
4480 (home-page "http://8arrow.org/ningle/")
4481 (synopsis "Super micro framework for Common Lisp")
4483 "Ningle is a lightweight web application framework for Common Lisp.")
4484 (license license:llgpl))))
4486 (define-public cl-ningle
4487 (sbcl-package->cl-source-package sbcl-ningle))
4489 (define-public sbcl-clack
4490 (let ((commit "e3e032843bb1220ab96263c411aa7f2feb4746e0")
4494 (version (git-version "2.0.0" revision commit))
4499 (url "https://github.com/fukamachi/clack.git")
4501 (file-name (git-file-name name version))
4503 (base32 "1ymzs6qyrwhlj6cgqsnpyn6g5cbp7a3s1vgxwna20y2q7y4iacy0"))))
4504 (build-system asdf-build-system/sbcl)
4506 `(("sbcl-lack" ,sbcl-lack)
4507 ("sbcl-lack-middleware-backtrace" ,sbcl-lack-middleware-backtrace)
4508 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)))
4509 (home-page "https://github.com/fukamachi/clack")
4510 (synopsis "Web Application Environment for Common Lisp")
4512 "Clack is a web application environment for Common Lisp inspired by
4513 Python's WSGI and Ruby's Rack.")
4514 (license license:llgpl))))
4516 (define-public cl-clack
4517 (sbcl-package->cl-source-package sbcl-clack))
4519 (define-public sbcl-log4cl
4520 (let ((commit "611e094458504b938d49de904eab141285328c7c")
4523 (name "sbcl-log4cl")
4524 (build-system asdf-build-system/sbcl)
4530 (url "https://github.com/sharplispers/log4cl")
4532 (file-name (git-file-name name version))
4535 "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
4536 ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
4539 (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
4540 (synopsis "Common Lisp logging framework, modeled after Log4J")
4541 (home-page "https://github.com/7max/log4cl")
4542 (description "This is a Common Lisp logging framework that can log at
4543 various levels and mix text with expressions.")
4544 (license license:asl2.0))))
4546 (define-public cl-log4cl
4547 (sbcl-package->cl-source-package sbcl-log4cl))
4549 (define-public ecl-log4cl
4550 (sbcl-package->ecl-package sbcl-log4cl))
4552 (define-public sbcl-find-port
4553 (let ((commit "00c96a25af93a0f8681d34ec548861f2d7485478")
4556 (name "sbcl-find-port")
4557 (build-system asdf-build-system/sbcl)
4559 (home-page "https://github.com/eudoxia0/find-port")
4566 (file-name (git-file-name name version))
4569 "0d6dzbb45jh0rx90wgs6v020k2xa87mvzas3mvfzvivjvqqlpryq"))))
4571 `(("fiveam" ,sbcl-fiveam)))
4573 `(("sbcl-usocket" ,sbcl-usocket)))
4574 (synopsis "Find open ports programmatically in Common Lisp")
4575 (description "This is a small Common Lisp library that finds an open
4576 port within a range.")
4577 (license license:expat))))
4579 (define-public cl-find-port
4580 (sbcl-package->cl-source-package sbcl-find-port))
4582 (define-public ecl-find-port
4583 (sbcl-package->ecl-package sbcl-find-port))
4585 (define-public sbcl-clunit
4586 (let ((commit "6f6d72873f0e1207f037470105969384f8380628")
4589 (name "sbcl-clunit")
4590 (version (git-version "0.2.3" revision commit))
4595 (url "https://github.com/tgutu/clunit.git")
4597 (file-name (git-file-name name version))
4600 "1idf2xnqzlhi8rbrqmzpmb3i1l6pbdzhhajkmhwbp6qjkmxa4h85"))))
4601 (build-system asdf-build-system/sbcl)
4602 (synopsis "CLUnit is a Common Lisp unit testing framework")
4604 "CLUnit is a Common Lisp unit testing framework. It is designed
4605 to be easy to use so that you can quickly start testing. CLUnit
4606 provides a rich set of features aimed at improving your unit testing
4608 (home-page "http://tgutu.github.io/clunit/")
4610 (license license:expat))))
4612 (define-public cl-clunit
4613 (sbcl-package->cl-source-package sbcl-clunit))
4615 (define-public ecl-clunit
4616 (sbcl-package->ecl-package sbcl-clunit))
4618 (define-public sbcl-py4cl
4619 (let ((commit "4c8a2b0814fd311f978964f825ce012290f60136")
4623 (version (git-version "0.0.0" revision commit))
4628 (url "https://github.com/bendudson/py4cl.git")
4630 (file-name (git-file-name name version))
4633 "15mk7qdqjkj56gdnbyrdyz6r7m1h26ldvn6ch96pmvg5vmr1m45r"))
4634 (modules '((guix build utils)))))
4635 (build-system asdf-build-system/sbcl)
4637 `(("sbcl-clunit" ,sbcl-clunit)))
4639 `(("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
4641 ;; This package doesn't do anything without python available
4642 `(("python" ,python)
4643 ;; For multi-dimensional array support
4644 ("python-numpy" ,python-numpy)))
4647 (modify-phases %standard-phases
4648 (add-after 'unpack 'replace-*base-directory*-var
4649 (lambda* (#:key outputs #:allow-other-keys)
4650 ;; In the ASD, the author makes an attempt to
4651 ;; programatically determine the location of the
4652 ;; source-code so lisp can call into "py4cl.py". We can
4653 ;; hard-code this since we know where this file will
4655 (substitute* "src/callpython.lisp"
4656 (("py4cl/config:\\*base-directory\\*")
4659 (assoc-ref outputs "out")
4660 "/share/common-lisp/sbcl-source/py4cl/"
4662 (synopsis "Call python from Common Lisp")
4664 "Py4CL is a bridge between Common Lisp and Python, which enables Common
4665 Lisp to interact with Python code. It uses streams to communicate with a
4666 separate python process, the approach taken by cl4py. This is different to
4667 the CFFI approach used by burgled-batteries, but has the same goal.")
4668 (home-page "https://github.com/bendudson/py4cl")
4670 (license license:expat))))
4672 (define-public cl-py4cl
4673 (sbcl-package->cl-source-package sbcl-py4cl))
4675 (define-public ecl-py4cl
4676 (sbcl-package->ecl-package sbcl-py4cl))
4678 (define-public sbcl-parse-declarations
4680 (name "sbcl-parse-declarations")
4686 "http://beta.quicklisp.org/archive/parse-declarations/"
4687 "2010-10-06/parse-declarations-20101006-darcs.tgz"))
4690 "0r85b0jfacd28kr65kw9c13dx4i6id1dpmby68zjy63mqbnyawrd"))))
4691 (build-system asdf-build-system/sbcl)
4693 `(#:asd-file "parse-declarations-1.0.asd"
4694 #:asd-system-name "parse-declarations-1.0"))
4695 (home-page "https://common-lisp.net/project/parse-declarations/")
4696 (synopsis "Parse, filter, and build declarations")
4698 "Parse-Declarations is a Common Lisp library to help writing
4699 macros which establish bindings. To be semantically correct, such
4700 macros must take user declarations into account, as these may affect
4701 the bindings they establish. Yet the ANSI standard of Common Lisp does
4702 not provide any operators to work with declarations in a convenient,
4703 high-level way. This library provides such operators.")
4705 (license license:expat)))
4707 (define-public cl-parse-declarations
4708 (sbcl-package->cl-source-package sbcl-parse-declarations))
4710 (define-public ecl-parse-declarations
4711 (sbcl-package->ecl-package sbcl-parse-declarations))
4713 (define-public sbcl-cl-quickcheck
4714 (let ((commit "807b2792a30c883a2fbecea8e7db355b50ba662f")
4717 (name "sbcl-cl-quickcheck")
4718 (version (git-version "0.0.4" revision commit))
4723 (url "https://github.com/mcandre/cl-quickcheck.git")
4725 (file-name (git-file-name name version))
4728 "165lhypq5xkcys6hvzb3jq7ywnmqvzaflda29qk2cbs3ggas4767"))))
4729 (build-system asdf-build-system/sbcl)
4731 "Common Lisp port of the QuickCheck unit test framework")
4733 "Common Lisp port of the QuickCheck unit test framework")
4734 (home-page "https://github.com/mcandre/cl-quickcheck")
4736 (license license:expat))))
4738 (define-public cl-cl-quickcheck
4739 (sbcl-package->cl-source-package sbcl-cl-quickcheck))
4741 (define-public ecl-cl-quickcheck
4742 (sbcl-package->ecl-package sbcl-cl-quickcheck))
4744 (define-public sbcl-burgled-batteries3
4745 (let ((commit "9c0f6667e1a71ddf77e21793a0bea524710fef6e")
4748 (name "sbcl-burgled-batteries3")
4749 (version (git-version "0.0.0" revision commit))
4754 (url "https://github.com/snmsts/burgled-batteries3.git")
4756 (file-name (git-file-name name version))
4759 "0b726kz2xxcg5l930gz035rsdvhxrzmp05iwfwympnb4z4ammicb"))))
4760 (build-system asdf-build-system/sbcl)
4764 (modify-phases %standard-phases
4765 (add-after 'unpack 'set-*cpython-include-dir*-var
4766 (lambda* (#:key inputs #:allow-other-keys)
4767 (substitute* "grovel-include-dir.lisp"
4768 (("\\(defparameter \\*cpython-include-dir\\* \\(detect-python\\)\\)")
4770 "(defparameter *cpython-include-dir* \""
4771 (assoc-ref inputs "python")
4772 "/include/python3.7m"
4774 (substitute* "ffi-interface.lisp"
4775 (("\\*cpython-lib\\*")
4776 (format #f "'(\"~a/lib/libpython3.so\")"
4777 (assoc-ref inputs "python"))))
4780 `(("python" ,python)
4781 ("sbcl-cl-fad" ,sbcl-cl-fad)
4782 ("sbcl-lift" ,sbcl-lift)
4783 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
4785 `(("sbcl-cffi" ,sbcl-cffi)
4786 ("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
4787 ("sbcl-alexandria" , sbcl-alexandria)
4788 ("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
4789 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
4790 (synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
4792 "This package provides a shim between Python3 (specifically, the
4793 CPython implementation of Python) and Common Lisp.")
4794 (home-page "https://github.com/snmsts/burgled-batteries3")
4796 (license license:expat))))
4798 (define-public cl-burgled-batteries3
4799 (sbcl-package->cl-source-package sbcl-burgled-batteries3))
4801 (define-public ecl-burgled-batteries3
4802 (sbcl-package->ecl-package sbcl-burgled-batteries3))
4804 (define-public sbcl-metabang-bind
4805 (let ((commit "c93b7f7e1c18c954c2283efd6a7fdab36746ab5e")
4808 (name "sbcl-metabang-bind")
4809 (version (git-version "0.8.0" revision commit))
4814 (url "https://github.com/gwkkwg/metabang-bind.git")
4816 (file-name (git-file-name name version))
4819 "0hd0kr91795v77akpbcyqiss9p0p7ypa9dznrllincnmgvsxlmf0"))))
4820 (build-system asdf-build-system/sbcl)
4822 `(("sbcl-lift" ,sbcl-lift)))
4823 (synopsis "Macro that generalizes @code{multiple-value-bind} etc.")
4825 "Bind extends the idea of of let and destructing to provide a uniform
4826 syntax for all your accessor needs. It combines @code{let},
4827 @code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
4828 editing, property or association-lists, and @code{multiple-value-bind} and a
4829 whole lot more into a single form.")
4830 (home-page "https://common-lisp.net/project/metabang-bind/")
4832 (license license:expat))))
4834 (define-public cl-metabang-bind
4835 (sbcl-package->cl-source-package sbcl-metabang-bind))
4837 (define-public ecl-metabang-bind
4838 (sbcl-package->ecl-package sbcl-metabang-bind))
4840 (define-public sbcl-fare-utils
4841 (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
4844 (name "sbcl-fare-utils")
4845 (version (git-version "1.0.0.5" revision commit))
4852 "https://gitlab.common-lisp.net/frideau/fare-utils.git")
4854 (file-name (git-file-name name version))
4857 "01wsr1aap3jdzhn4hrqjbhsjx6qci9dbd3gh4gayv1p49rbg8aqr"))))
4858 (build-system asdf-build-system/sbcl)
4860 `(#:test-asd-file "test/fare-utils-test.asd"))
4862 `(("sbcl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
4863 (synopsis "Collection of utilities and data structures")
4865 "fare-utils is a small collection of utilities. It contains a lot of
4866 basic everyday functions and macros.")
4867 (home-page "https://gitlab.common-lisp.net/frideau/fare-utils")
4869 (license license:expat))))
4871 (define-public cl-fare-utils
4872 (sbcl-package->cl-source-package sbcl-fare-utils))
4874 (define-public ecl-fare-utils
4875 (sbcl-package->ecl-package sbcl-fare-utils))
4877 (define-public sbcl-trivial-utf-8
4878 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f")
4881 (name "sbcl-trivial-utf-8")
4882 (version (git-version "0.0.0" revision commit))
4888 (url (string-append "https://gitlab.common-lisp.net/"
4889 "trivial-utf-8/trivial-utf-8.git"))
4891 (file-name (git-file-name name version))
4894 "1jz27gz8gvqdmvp3k9bxschs6d5b3qgk94qp2bj6nv1d0jc3m1l1"))))
4896 ;; Guix incorrectly assumes the "8" is part of the version
4897 ;; number and lobs it off.
4898 `(#:asd-file "trivial-utf-8.asd"
4899 #:asd-system-name "trivial-utf-8"))
4900 (build-system asdf-build-system/sbcl)
4901 (synopsis "UTF-8 input/output library")
4903 "The Babel library solves a similar problem while understanding more
4904 encodings. Trivial UTF-8 was written before Babel existed, but for new
4905 projects you might be better off going with Babel. The one plus that Trivial
4906 UTF-8 has is that it doesn't depend on any other libraries.")
4907 (home-page "https://common-lisp.net/project/trivial-utf-8/")
4908 (license license:bsd-3))))
4910 (define-public cl-trivial-utf-8
4911 (sbcl-package->cl-source-package sbcl-trivial-utf-8))
4913 (define-public ecl-trivial-utf-8
4914 (sbcl-package->ecl-package sbcl-trivial-utf-8))
4916 (define-public sbcl-idna
4919 (build-system asdf-build-system/sbcl)
4921 (home-page "https://github.com/antifuchs/idna")
4928 (file-name (git-file-name name version))
4931 "00nbr3mffxhlq14gg9d16pa6691s4qh35inyw76v906s77khm5a2"))))
4933 `(("split-sequence" ,sbcl-split-sequence)))
4934 (synopsis "IDNA string encoding and decoding routines for Common Lisp")
4935 (description "This Common Lisp library provides string encoding and
4936 decoding routines for IDNA, the International Domain Names in Applications.")
4937 (license license:expat)))
4939 (define-public cl-idna
4940 (sbcl-package->cl-source-package sbcl-idna))
4942 (define-public ecl-idna
4943 (sbcl-package->ecl-package sbcl-idna))
4945 (define-public sbcl-swap-bytes
4947 (name "sbcl-swap-bytes")
4948 (build-system asdf-build-system/sbcl)
4950 (home-page "https://github.com/sionescu/swap-bytes")
4956 (commit (string-append "v" version))))
4957 (file-name (git-file-name name version))
4960 "1qysbv0jngdfkv53y874qjhcxc4qi8ixaqq6j8bzxh5z0931wv55"))))
4962 `(("trivial-features" ,sbcl-trivial-features)))
4964 `(("fiveam" ,sbcl-fiveam)))
4966 ;; TODO: Tests fail, why?
4968 (synopsis "Efficient endianness conversion for Common Lisp")
4969 (description "This Common Lisp library provides optimized byte-swapping
4970 primitives. The library can change endianness of unsigned integers of length
4971 1/2/4/8. Very useful in implementing various network protocols and file
4973 (license license:expat)))
4975 (define-public cl-swap-bytes
4976 (sbcl-package->cl-source-package sbcl-swap-bytes))
4978 (define-public ecl-swap-bytes
4979 (sbcl-package->ecl-package sbcl-swap-bytes))
4981 (define-public sbcl-iolib.asdf
4982 ;; Latest release is from June 2017.
4983 (let ((commit "81e20614c0d27f9605bf9766214e236fd31b99b4")
4986 (name "sbcl-iolib.asdf")
4987 (build-system asdf-build-system/sbcl)
4989 (home-page "https://github.com/sionescu/iolib")
4996 (file-name (git-file-name name version))
4999 "1j81r0wm7nfbwl991f26s4npcy7kybzybd3m47rbxy31h0cfcmdm"))))
5001 `(("alexandria" ,sbcl-alexandria)))
5003 '(#:asd-file "iolib.asdf.asd"))
5004 (synopsis "ASDF component classes for IOLib, a Common Lisp I/O library")
5005 (description "IOlib is to be a better and more modern I/O library than
5006 the standard Common Lisp library. It contains a socket library, a DNS
5007 resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
5008 and @code{kqueue(2)}), a pathname library and file-system utilities.")
5009 (license license:expat))))
5011 (define-public sbcl-iolib.conf
5013 (inherit sbcl-iolib.asdf)
5014 (name "sbcl-iolib.conf")
5016 `(("iolib.asdf" ,sbcl-iolib.asdf)))
5018 '(#:asd-file "iolib.conf.asd"))
5019 (synopsis "Compile-time configuration for IOLib, a Common Lisp I/O library")))
5021 (define-public sbcl-iolib.common-lisp
5023 (inherit sbcl-iolib.asdf)
5024 (name "sbcl-iolib.common-lisp")
5026 `(("iolib.asdf" ,sbcl-iolib.asdf)
5027 ("iolib.conf" ,sbcl-iolib.conf)))
5029 '(#:asd-file "iolib.common-lisp.asd"))
5030 (synopsis "Slightly modified Common Lisp for IOLib, a Common Lisp I/O library")))
5032 (define-public sbcl-iolib.base
5034 (inherit sbcl-iolib.asdf)
5035 (name "sbcl-iolib.base")
5037 `(("iolib.asdf" ,sbcl-iolib.asdf)
5038 ("iolib.conf" ,sbcl-iolib.conf)
5039 ("iolib.common-lisp" ,sbcl-iolib.common-lisp)
5040 ("split-sequence" ,sbcl-split-sequence)))
5042 '(#:asd-file "iolib.base.asd"))
5043 (synopsis "Base package for IOLib, a Common Lisp I/O library")))
5045 (define-public sbcl-iolib.grovel
5047 (inherit sbcl-iolib.asdf)
5048 (name "sbcl-iolib.grovel")
5050 `(("iolib.asdf" ,sbcl-iolib.asdf)
5051 ("iolib.conf" ,sbcl-iolib.conf)
5052 ("iolib.base", sbcl-iolib.base)
5053 ("cffi", sbcl-cffi)))
5055 '(#:asd-file "iolib.grovel.asd"
5057 (modify-phases %standard-phases
5058 (add-after 'install 'install-header
5059 (lambda* (#:key outputs #:allow-other-keys)
5060 ;; This header is required by sbcl-iolib.
5061 (install-file "src/grovel/grovel-common.h"
5062 (string-append (assoc-ref outputs "out")
5065 (synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))
5067 (define-public sbcl-iolib
5069 (inherit sbcl-iolib.asdf)
5072 `(("iolib.asdf" ,sbcl-iolib.asdf)
5073 ("iolib.conf" ,sbcl-iolib.conf)
5074 ("iolib.grovel" ,sbcl-iolib.grovel)
5075 ("iolib.base" ,sbcl-iolib.base)
5076 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5078 ("swap-bytes" ,sbcl-swap-bytes)
5079 ("libfixposix" ,libfixposix)
5080 ("cffi" ,sbcl-cffi)))
5082 `(("fiveam" ,sbcl-fiveam)))
5084 '(#:asd-file "iolib.asd"
5085 #:asd-system-name "iolib"
5086 #:test-asd-file "iolib.tests.asd"
5088 (modify-phases %standard-phases
5089 (add-after 'unpack 'fix-paths
5090 (lambda* (#:key inputs #:allow-other-keys)
5091 (substitute* "src/syscalls/ffi-functions-unix.lisp"
5092 (("\\(:default \"libfixposix\"\\)")
5095 (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
5096 ;; Socket tests need Internet access, disable them.
5097 (substitute* "iolib.tests.asd"
5098 (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
5100 (synopsis "Common Lisp I/O library")))
5102 (define-public cl-iolib
5103 (sbcl-package->cl-source-package sbcl-iolib))
5105 (define sbcl-iolib+multiplex
5107 (inherit sbcl-iolib)
5108 (name "sbcl-iolib+multiplex")
5110 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5111 ((#:asd-system-name _) "iolib/multiplex")))))
5113 (define sbcl-iolib+syscalls
5115 (inherit sbcl-iolib)
5116 (name "sbcl-iolib+syscalls")
5118 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5119 ((#:asd-system-name _) "iolib/syscalls")))))
5121 (define sbcl-iolib+streams
5123 (inherit sbcl-iolib)
5124 (name "sbcl-iolib+streams")
5126 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5127 ((#:asd-system-name _) "iolib/streams")))))
5129 (define sbcl-iolib+sockets
5131 (inherit sbcl-iolib)
5132 (name "sbcl-iolib+sockets")
5134 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5135 ((#:asd-system-name _) "iolib/sockets")))))
5137 (define-public sbcl-ieee-floats
5138 (let ((commit "566b51a005e81ff618554b9b2f0b795d3b29398d")
5141 (name "sbcl-ieee-floats")
5142 (build-system asdf-build-system/sbcl)
5143 (version (git-version "20170924" revision commit))
5144 (home-page "https://github.com/marijnh/ieee-floats/")
5151 (file-name (git-file-name name version))
5154 "1xyj49j9x3lc84cv3dhbf9ja34ywjk1c46dklx425fxw9mkwm83m"))))
5156 `(("fiveam" ,sbcl-fiveam)))
5157 (synopsis "IEEE 754 binary representation for floats in Common Lisp")
5158 (description "This is a Common Lisp library that allows to convert
5159 floating point values to IEEE 754 binary representation.")
5160 (license license:bsd-3))))
5162 (define-public cl-ieee-floats
5163 (sbcl-package->cl-source-package sbcl-ieee-floats))
5165 (define sbcl-closure-common
5166 (let ((commit "e3c5f5f454b72b01b89115e581c3c52a7e201e5c")
5169 (name "sbcl-closure-common")
5170 (build-system asdf-build-system/sbcl)
5171 (version (git-version "20101006" revision commit))
5172 (home-page "https://common-lisp.net/project/cxml/")
5177 (url "https://github.com/sharplispers/closure-common")
5179 (file-name (git-file-name name version))
5182 "0k5r2qxn122pxi301ijir3nayi9sg4d7yiy276l36qmzwhp4mg5n"))))
5184 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5185 ("babel" ,sbcl-babel)))
5186 (synopsis "Support Common Lisp library for CXML")
5187 (description "Closure-common is an internal helper library. The name
5188 Closure is a reference to the web browser it was originally written for.")
5192 (define-public sbcl-cxml+xml
5193 (let ((commit "00b22bf4c4cf11c993d5866fae284f95ab18e6bf")
5196 (name "sbcl-cxml+xml")
5197 (build-system asdf-build-system/sbcl)
5198 (version (git-version "0.0.0" revision commit))
5199 (home-page "https://common-lisp.net/project/cxml/")
5204 (url "https://github.com/sharplispers/cxml")
5206 (file-name (git-file-name name version))
5209 "13kif7rf3gqdycsk9zq0d7y0g9y81krkl0z87k0p2fkbjfgrph37"))))
5211 `(("closure-common" ,sbcl-closure-common)
5213 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
5215 `(#:asd-file "cxml.asd"
5216 #:asd-system-name "cxml/xml"))
5217 (synopsis "Common Lisp XML parser")
5218 (description "CXML implements a namespace-aware, validating XML 1.0
5219 parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are
5220 offered, one SAX-like, the other similar to StAX.")
5221 (license license:llgpl))))
5223 (define sbcl-cxml+dom
5225 (inherit sbcl-cxml+xml)
5226 (name "sbcl-cxml+dom")
5228 `(("closure-common" ,sbcl-closure-common)
5230 ("cxml+xml" ,sbcl-cxml+xml)))
5232 `(#:asd-file "cxml.asd"
5233 #:asd-system-name "cxml/dom"))))
5235 (define sbcl-cxml+klacks
5237 (inherit sbcl-cxml+xml)
5238 (name "sbcl-cxml+klacks")
5240 `(("closure-common" ,sbcl-closure-common)
5242 ("cxml+xml" ,sbcl-cxml+xml)))
5244 `(#:asd-file "cxml.asd"
5245 #:asd-system-name "cxml/klacks"))))
5247 (define sbcl-cxml+test
5249 (inherit sbcl-cxml+xml)
5250 (name "sbcl-cxml+test")
5252 `(("closure-common" ,sbcl-closure-common)
5254 ("cxml+xml" ,sbcl-cxml+xml)))
5256 `(#:asd-file "cxml.asd"
5257 #:asd-system-name "cxml/test"))))
5259 (define-public sbcl-cxml
5261 (inherit sbcl-cxml+xml)
5264 `(("closure-common" ,sbcl-closure-common)
5266 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5267 ("cxml+dom" ,sbcl-cxml+dom)
5268 ("cxml+klacks" ,sbcl-cxml+klacks)
5269 ("cxml+test" ,sbcl-cxml+test)))
5271 `(#:asd-file "cxml.asd"
5272 #:asd-system-name "cxml"
5274 (modify-phases %standard-phases
5275 (add-after 'build 'install-dtd
5276 (lambda* (#:key outputs #:allow-other-keys)
5277 (install-file "catalog.dtd"
5279 (assoc-ref outputs "out")
5280 "/lib/" (%lisp-type)))))
5281 (add-after 'create-asd 'remove-component
5282 ;; XXX: The original .asd has no components, but our build system
5283 ;; creates an entry nonetheless. We need to remove it for the
5284 ;; generated .asd to load properly. See trivia.trivial for a
5286 (lambda* (#:key outputs #:allow-other-keys)
5287 (let* ((out (assoc-ref outputs "out"))
5288 (asd (string-append out "/lib/sbcl/cxml.asd")))
5294 ((" *\\(\\(:compiled-file \"cxml--system\"\\)\\)")
5297 (define-public cl-cxml
5298 (sbcl-package->cl-source-package sbcl-cxml))
5300 (define-public sbcl-cl-reexport
5301 (let ((commit "312f3661bbe187b5f28536cd7ec2956e91366c3b")
5304 (name "sbcl-cl-reexport")
5305 (build-system asdf-build-system/sbcl)
5306 (version (git-version "0.1" revision commit))
5307 (home-page "https://github.com/takagi/cl-reexport")
5314 (file-name (git-file-name name version))
5317 "1cwpn1m3wrl0fl9plznn7p464db646gnfc8zkyk97dyxski2aq0x"))))
5319 `(("alexandria" ,sbcl-alexandria)))
5321 ;; TODO: Tests fail because cl-test-more is missing, but I can't find it online.
5323 (synopsis "HTTP cookie manager for Common Lisp")
5324 (description "cl-cookie is a Common Lisp library featuring parsing of
5325 cookie headers, cookie creation, cookie jar creation and more.")
5326 (license license:llgpl))))
5328 (define-public cl-reexport
5329 (sbcl-package->cl-source-package sbcl-cl-reexport))
5331 (define-public sbcl-cl-cookie
5332 (let ((commit "cea55aed8b9ad25fafd13defbcb9fe8f41b29546")
5335 (name "sbcl-cl-cookie")
5336 (build-system asdf-build-system/sbcl)
5337 (version (git-version "0.9.10" revision commit))
5338 (home-page "https://github.com/fukamachi/cl-cookie")
5345 (file-name (git-file-name name version))
5348 "090g7z75h98zvc1ldx0vh4jn4086dhjm2w30jcwkq553qmyxwl8h"))))
5350 `(("proc-parse" ,sbcl-proc-parse)
5351 ("alexandria" ,sbcl-alexandria)
5353 ("cl-ppcre" ,sbcl-cl-ppcre)
5354 ("local-time" ,sbcl-local-time)))
5356 `(("prove-asdf" ,sbcl-prove-asdf)
5357 ("prove" ,sbcl-prove)))
5359 ;; TODO: Tests fail because cl-cookie depends on cl-cookie-test.
5361 (synopsis "HTTP cookie manager for Common Lisp")
5362 (description "cl-cookie is a Common Lisp library featuring parsing of
5363 cookie headers, cookie creation, cookie jar creation and more.")
5364 (license license:bsd-2))))
5366 (define-public cl-cookie
5367 (sbcl-package->cl-source-package sbcl-cl-cookie))
5369 (define-public sbcl-dexador
5370 (let ((commit "a2714d126cc94bc7a9a6e1e3c08de455b3a66378")
5373 (name "sbcl-dexador")
5374 (build-system asdf-build-system/sbcl)
5375 (version (git-version "0.9.10" revision commit))
5376 (home-page "https://github.com/fukamachi/dexador")
5383 (file-name (git-file-name name version))
5386 "0nbqgn4v3l2z6m1k1bdxfnqpfrk84nxdmz7csz11zzcfs4flkv79"))))
5388 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5389 ("babel" ,sbcl-babel)
5390 ("usocket" ,sbcl-usocket)
5391 ("fast-http" ,sbcl-fast-http)
5393 ("fast-io" ,sbcl-fast-io)
5394 ("chunga" ,sbcl-chunga)
5395 ("cl-ppcre" ,sbcl-cl-ppcre)
5396 ("cl-cookie" ,sbcl-cl-cookie)
5397 ("trivial-mimes" ,sbcl-trivial-mimes)
5398 ("chipz" ,sbcl-chipz)
5399 ("cl-base64" ,sbcl-cl-base64)
5400 ("cl-reexport" ,sbcl-cl-reexport)
5401 ("cl+ssl" ,sbcl-cl+ssl)
5402 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5403 ("alexandria" ,sbcl-alexandria)))
5405 `(("prove" ,sbcl-prove)
5406 ("prove-asdf" ,sbcl-prove-asdf)
5407 ("lack-request" ,sbcl-lack-request)
5408 ("clack" ,sbcl-clack)
5409 ("babel" ,sbcl-babel)
5410 ("alexandria" ,sbcl-alexandria)
5411 ("cl-ppcre" ,sbcl-cl-ppcre)
5412 ("local-time" ,sbcl-local-time)))
5414 ;; TODO: Circular dependency: tests depend on clack-test which depends on dexador.
5417 (modify-phases %standard-phases
5418 (add-after 'unpack 'fix-permissions
5419 (lambda _ (make-file-writable "t/data/test.gz") #t)))))
5420 (synopsis "Yet another HTTP client for Common Lisp")
5421 (description "Dexador is yet another HTTP client for Common Lisp with
5422 neat APIs and connection-pooling. It is meant to supersede Drakma.")
5423 (license license:expat))))
5425 (define-public cl-dexador
5427 (inherit (sbcl-package->cl-source-package sbcl-dexador))
5430 ;; asdf-build-system/source has its own phases and does not inherit
5431 ;; from asdf-build-system/sbcl phases.
5432 (modify-phases %standard-phases/source
5433 (add-after 'unpack 'fix-permissions
5434 (lambda _ (make-file-writable "t/data/test.gz") #t)))))))
5436 (define-public ecl-dexador
5437 (sbcl-package->ecl-package sbcl-dexador))
5439 (define-public sbcl-lisp-namespace
5440 (let ((commit "28107cafe34e4c1c67490fde60c7f92dc610b2e0")
5443 (name "sbcl-lisp-namespace")
5444 (build-system asdf-build-system/sbcl)
5445 (version (git-version "0.1" revision commit))
5446 (home-page "https://github.com/guicho271828/lisp-namespace")
5453 (file-name (git-file-name name version))
5456 "1jw2wykp06z2afb9nm1lgfzll5cjlj36pnknjx614057zkkxq4iy"))))
5458 `(("alexandria" ,sbcl-alexandria)))
5460 `(("fiveam" ,sbcl-fiveam)))
5462 `(#:test-asd-file "lisp-namespace.test.asd"
5463 ;; XXX: Component LISP-NAMESPACE-ASD::LISP-NAMESPACE.TEST not found
5465 (synopsis "LISP-N, or extensible namespaces in Common Lisp")
5466 (description "Common Lisp already has major 2 namespaces, function
5467 namespace and value namespace (or variable namespace), but there are actually
5468 more — e.g., class namespace.
5469 This library offers macros to deal with symbols from any namespace.")
5470 (license license:llgpl))))
5472 (define-public cl-lisp-namespace
5473 (sbcl-package->cl-source-package sbcl-lisp-namespace))
5475 (define-public sbcl-trivial-cltl2
5476 (let ((commit "8eec8407df833e8f27df8a388bc10913f16d9e83")
5479 (name "sbcl-trivial-cltl2")
5480 (build-system asdf-build-system/sbcl)
5481 (version (git-version "0.1.1" revision commit))
5482 (home-page "https://github.com/Zulu-Inuoe/trivial-cltl2")
5489 (file-name (git-file-name name version))
5492 "1dyyxz17vqv8hlfwq287gl8xxbvcnq798ajb7p5jdjz91wqf4bgk"))))
5493 (synopsis "Simple CLtL2 compatibility layer for Common Lisp")
5494 (description "This library is a portable compatibility layer around
5495 \"Common Lisp the Language, 2nd
5496 Edition\" (@url{https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html})
5497 and it exports symbols from implementation-specific packages.")
5498 (license license:llgpl))))
5500 (define-public cl-trivial-cltl2
5501 (sbcl-package->cl-source-package sbcl-trivial-cltl2))
5503 (define-public sbcl-introspect-environment
5504 (let ((commit "fff42f8f8fd0d99db5ad6c5812e53de7d660020b")
5507 (name "sbcl-introspect-environment")
5508 (build-system asdf-build-system/sbcl)
5509 (version (git-version "0.1" revision commit))
5510 (home-page "https://github.com/Bike/introspect-environment")
5517 (file-name (git-file-name name version))
5520 "1i305n0wfmpac63ni4i3vixnnkl8daw5ncxy0k3dv92krgx6qzhp"))))
5522 `(("fiveam" ,sbcl-fiveam)))
5523 (synopsis "Common Lisp environment introspection portability layer")
5524 (description "This library is a small interface to portable but
5525 nonstandard introspection of Common Lisp environments. It is intended to
5526 allow a bit more compile-time introspection of environments in Common Lisp.
5528 Quite a bit of information is available at the time a macro or compiler-macro
5529 runs; inlining info, type declarations, that sort of thing. This information
5530 is all standard - any Common Lisp program can @code{(declare (integer x))} and
5533 This info ought to be accessible through the standard @code{&environment}
5534 parameters, but it is not. Several implementations keep the information for
5535 their own purposes but do not make it available to user programs, because
5536 there is no standard mechanism to do so.
5538 This library uses implementation-specific hooks to make information available
5539 to users. This is currently supported on SBCL, CCL, and CMUCL. Other
5540 implementations have implementations of the functions that do as much as they
5541 can and/or provide reasonable defaults.")
5542 (license license:wtfpl2))))
5544 (define-public cl-introspect-environment
5545 (sbcl-package->cl-source-package sbcl-introspect-environment))
5547 (define-public sbcl-type-i
5548 (let ((commit "dea233f45f94064105ec09f0767de338f67dcbe2")
5551 (name "sbcl-type-i")
5552 (build-system asdf-build-system/sbcl)
5553 (version (git-version "0.1" revision commit))
5554 (home-page "https://github.com/guicho271828/type-i")
5561 (file-name (git-file-name name version))
5564 "039g5pbrhh65s0bhr9314gmd2nwc2y5lp2377c5qrc2lxky89qs3"))))
5566 `(("alexandria" ,sbcl-alexandria)
5567 ("introspect-environment" ,sbcl-introspect-environment)
5568 ("trivia.trivial" ,sbcl-trivia.trivial)))
5570 `(("fiveam" ,sbcl-fiveam)))
5572 `(#:test-asd-file "type-i.test.asd"))
5573 (synopsis "Type inference utility on unary predicates for Common Lisp")
5574 (description "This library tries to provide a way to detect what kind of
5575 type the given predicate is trying to check. This is different from inferring
5576 the return type of a function.")
5577 (license license:llgpl))))
5579 (define-public cl-type-i
5580 (sbcl-package->cl-source-package sbcl-type-i))
5582 (define-public sbcl-optima
5583 (let ((commit "373b245b928c1a5cce91a6cb5bfe5dd77eb36195")
5586 (name "sbcl-optima")
5587 (build-system asdf-build-system/sbcl)
5588 (version (git-version "1.0" revision commit))
5589 (home-page "https://github.com/m2ym/optima")
5596 (file-name (git-file-name name version))
5599 "1yw4ymq7ms89342kkvb3aqxgv0w38m9kd8ikdqxxzyybnkjhndal"))))
5601 `(("alexandria" ,sbcl-alexandria)
5602 ("closer-mop" ,sbcl-closer-mop)))
5604 `(("eos" ,sbcl-eos)))
5606 ;; XXX: Circular dependencies: tests depend on optima.ppcre which depends on optima.
5608 #:test-asd-file "optima.test.asd"))
5609 (synopsis "Optimized pattern matching library for Common Lisp")
5610 (description "Optima is a fast pattern matching library which uses
5611 optimizing techniques widely used in the functional programming world.")
5612 (license license:expat))))
5614 (define-public cl-optima
5615 (sbcl-package->cl-source-package sbcl-optima))
5617 (define-public sbcl-fare-quasiquote
5619 (name "sbcl-fare-quasiquote")
5620 (build-system asdf-build-system/sbcl)
5621 (version "20171130")
5622 (home-page "http://common-lisp.net/project/fare-quasiquote")
5626 (uri (string-append "http://beta.quicklisp.org/archive/fare-quasiquote/"
5627 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
5633 "00brmh7ndsi0c97nibi8cy10j3l4gmkyrfrr5jr5lzkfb7ngyfqa"))))
5635 `(("fare-utils" ,sbcl-fare-utils)))
5637 ;; XXX: Circular dependencies: Tests depend on subsystems, which depend on the main systems.
5640 (modify-phases %standard-phases
5641 ;; XXX: Require 1.0.0 version of fare-utils, and we package some
5642 ;; commits after 1.0.0.5, but ASDF fails to read the
5643 ;; "-REVISION-COMMIT" part generated by Guix.
5644 (add-after 'unpack 'patch-requirement
5646 (substitute* "fare-quasiquote.asd"
5647 (("\\(:version \"fare-utils\" \"1.0.0\"\\)") "\"fare-utils\"")))))))
5648 (synopsis "Pattern-matching friendly implementation of quasiquote for Common Lisp")
5649 (description "The main purpose of this n+2nd reimplementation of
5650 quasiquote is enable matching of quasiquoted patterns, using Optima or
5652 (license license:expat)))
5654 (define-public cl-fare-quasiquote
5655 (sbcl-package->cl-source-package sbcl-fare-quasiquote))
5657 (define-public sbcl-fare-quasiquote-optima
5659 (inherit sbcl-fare-quasiquote)
5660 (name "sbcl-fare-quasiquote-optima")
5662 `(("optima" ,sbcl-optima)
5663 ("fare-quasiquote" ,sbcl-fare-quasiquote)))
5666 (modify-phases %standard-phases
5667 (add-after 'unpack 'patch-requirement
5669 (substitute* "fare-quasiquote-optima.asd"
5670 (("\\(:version \"optima\" \"1\\.0\"\\)")
5674 (define-public cl-fare-quasiquote-optima
5675 (sbcl-package->cl-source-package sbcl-fare-quasiquote-optima))
5677 (define-public sbcl-fare-quasiquote-readtable
5679 (inherit sbcl-fare-quasiquote)
5680 (name "sbcl-fare-quasiquote-readtable")
5682 `(("fare-quasiquote" ,sbcl-fare-quasiquote)
5683 ("named-readtables" ,sbcl-named-readtables)))
5684 (description "The main purpose of this n+2nd reimplementation of
5685 quasiquote is enable matching of quasiquoted patterns, using Optima or
5688 This package uses fare-quasiquote with named-readtable.")))
5690 (define-public cl-fare-quasiquote-readtable
5691 (sbcl-package->cl-source-package sbcl-fare-quasiquote-readtable))
5693 ;; TODO: Add support for component-less system in asdf-build-system/sbcl.
5694 (define-public cl-fare-quasiquote-extras
5696 (inherit cl-fare-quasiquote)
5697 (name "cl-fare-quasiquote-extras")
5698 (build-system asdf-build-system/source)
5700 `(("fare-quasiquote" ,cl-fare-quasiquote)
5701 ("fare-quasiquote-optima" ,cl-fare-quasiquote-optima)
5702 ("fare-quasiquote-readtable" ,cl-fare-quasiquote-readtable)))
5703 (description "This library combines @code{fare-quasiquote-readtable} and
5704 @code{fare-quasiquote-optima}.")))
5706 (define-public sbcl-trivia.level0
5707 (let ((commit "902e0c65602bbfe96ae82e679330b3771ddc7603")
5710 (name "sbcl-trivia.level0")
5711 (build-system asdf-build-system/sbcl)
5712 (version (git-version "0.0.0" revision commit))
5713 (home-page "https://github.com/guicho271828/trivia")
5720 (file-name (git-file-name name version))
5723 "11qbab30qqnfy9mx3x9fvgcw1jbvh1qn2cqv3p8xdn2m8981jvhr"))))
5725 `(("alexandria" ,sbcl-alexandria)))
5726 (synopsis "Pattern matching in Common Lisp")
5727 (description "Trivia is a pattern matching compiler that is compatible
5728 with Optima, another pattern matching library for Common Lisp. It is meant to
5729 be faster and more extensible than Optima.")
5730 (license license:llgpl))))
5732 (define-public sbcl-trivia.level1
5734 (inherit sbcl-trivia.level0)
5735 (name "sbcl-trivia.level1")
5737 `(("trivia.level0" ,sbcl-trivia.level0)))
5738 (description "Trivia is a pattern matching compiler that is compatible
5739 with Optima, another pattern matching library for Common Lisp. It is meant to
5740 be faster and more extensible than Optima.
5742 This system contains the core patterns of Trivia.")))
5744 (define-public sbcl-trivia.level2
5746 (inherit sbcl-trivia.level0)
5747 (name "sbcl-trivia.level2")
5749 `(("trivia.level1" ,sbcl-trivia.level1)
5750 ("lisp-namespace" ,sbcl-lisp-namespace)
5751 ("trivial-cltl2" ,sbcl-trivial-cltl2)
5752 ("closer-mop" ,sbcl-closer-mop)))
5753 (description "Trivia is a pattern matching compiler that is compatible
5754 with Optima, another pattern matching library for Common Lisp. It is meant to
5755 be faster and more extensible than Optima.
5757 This system contains a non-optimized pattern matcher compatible with Optima,
5758 with extensible optimizer interface.")))
5760 (define-public sbcl-trivia.trivial
5762 (inherit sbcl-trivia.level0)
5763 (name "sbcl-trivia.trivial")
5765 `(("trivia.level2" ,sbcl-trivia.level2)))
5768 (modify-phases %standard-phases
5769 (replace 'create-asd-file
5770 (lambda* (#:key outputs inputs #:allow-other-keys)
5771 (let* ((out (assoc-ref outputs "out"))
5772 (lib (string-append out "/lib/" (%lisp-type)))
5773 (level2 (assoc-ref inputs "trivia.level2")))
5775 (install-file "trivia.trivial.asd" lib)
5776 ;; XXX: This .asd does not have any component and the build
5777 ;; system fails to work in this case. We should update the
5778 ;; build system to handle component-less .asd.
5779 ;; TODO: How do we append to file in Guile? It seems that
5780 ;; (open-file ... "a") gets a "Permission denied".
5781 (substitute* (string-append lib "/trivia.trivial.asd")
5785 (progn (asdf/source-registry:ensure-source-registry)
5788 asdf/source-registry:*source-registry*)
5791 "/share/common-lisp/sbcl-bundle-systems/trivia.level2.asd\"))")))))))))
5792 (description "Trivia is a pattern matching compiler that is compatible
5793 with Optima, another pattern matching library for Common Lisp. It is meant to
5794 be faster and more extensible than Optima.
5796 This system contains the base level system of Trivia with a trivial optimizer.")))
5798 (define-public sbcl-trivia.balland2006
5800 (inherit sbcl-trivia.level0)
5801 (name "sbcl-trivia.balland2006")
5803 `(("trivia.trivial" ,sbcl-trivia.trivial)
5804 ("iterate" ,sbcl-iterate)
5805 ("type-i" ,sbcl-type-i)
5806 ("alexandria" ,sbcl-alexandria)))
5808 ;; Tests are done in trivia itself.
5810 (description "Trivia is a pattern matching compiler that is compatible
5811 with Optima, another pattern matching library for Common Lisp. It is meant to
5812 be faster and more extensible than Optima.
5814 This system contains the base level system of Trivia with a trivial optimizer.")))
5816 (define-public sbcl-trivia.ppcre
5818 (inherit sbcl-trivia.level0)
5819 (name "sbcl-trivia.ppcre")
5821 `(("trivia.trivial" ,sbcl-trivia.trivial)
5822 ("cl-ppcre" ,sbcl-cl-ppcre)))
5823 (description "Trivia is a pattern matching compiler that is compatible
5824 with Optima, another pattern matching library for Common Lisp. It is meant to
5825 be faster and more extensible than Optima.
5827 This system contains the PPCRE extension.")))
5829 (define-public sbcl-trivia.quasiquote
5831 (inherit sbcl-trivia.level0)
5832 (name "sbcl-trivia.quasiquote")
5834 `(("trivia.trivial" ,sbcl-trivia.trivial)
5835 ("fare-quasiquote" ,sbcl-fare-quasiquote)
5836 ("fare-quasiquote-readtable" ,sbcl-fare-quasiquote-readtable)))
5837 (description "Trivia is a pattern matching compiler that is compatible
5838 with Optima, another pattern matching library for Common Lisp. It is meant to
5839 be faster and more extensible than Optima.
5841 This system contains the fare-quasiquote extension.")))
5843 (define-public sbcl-trivia.cffi
5845 (inherit sbcl-trivia.level0)
5846 (name "sbcl-trivia.cffi")
5848 `(("cffi" ,sbcl-cffi)
5849 ("trivia.trivial" ,sbcl-trivia.trivial)))
5850 (description "Trivia is a pattern matching compiler that is compatible
5851 with Optima, another pattern matching library for Common Lisp. It is meant to
5852 be faster and more extensible than Optima.
5854 This system contains the CFFI foreign slot access extension.")))
5856 (define-public sbcl-trivia
5858 (inherit sbcl-trivia.level0)
5859 (name "sbcl-trivia")
5861 `(("trivia.balland2006" ,sbcl-trivia.balland2006)))
5863 `(("fiveam" ,sbcl-fiveam)
5864 ("trivia.ppcre" ,sbcl-trivia.ppcre)
5865 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
5866 ("trivia.cffi" ,sbcl-trivia.cffi)
5867 ("optima" ,sbcl-optima)))
5869 `(#:test-asd-file "trivia.test.asd"
5871 (modify-phases %standard-phases
5872 (add-after 'create-asd 'remove-component
5873 ;; XXX: The original .asd has no components, but our build system
5874 ;; creates an entry nonetheless. We need to remove it for the
5875 ;; generated .asd to load properly. See trivia.trivial for a
5877 (lambda* (#:key outputs #:allow-other-keys)
5878 (let* ((out (assoc-ref outputs "out"))
5879 (asd (string-append out "/lib/" (%lisp-type) "/trivia.asd")))
5885 ((" *\\(\\(:compiled-file \"trivia--system\"\\)\\)")
5887 (description "Trivia is a pattern matching compiler that is compatible
5888 with Optima, another pattern matching library for Common Lisp. It is meant to
5889 be faster and more extensible than Optima.")))
5891 (define-public cl-trivia
5892 (sbcl-package->cl-source-package sbcl-trivia))
5894 (define-public sbcl-mk-string-metrics
5896 (name "sbcl-mk-string-metrics")
5898 (home-page "https://github.com/cbaggers/mk-string-metrics/")
5905 (base32 "0bg0bv2mfd4k0g3x72x563hvmrx18xavaffr6xk5rh4if5j7kcf6"))
5906 (file-name (git-file-name name version))))
5907 (build-system asdf-build-system/sbcl)
5908 (synopsis "Calculate various string metrics efficiently in Common Lisp")
5909 (description "This library implements efficient algorithms that calculate
5910 various string metrics in Common Lisp:
5913 @item Damerau-Levenshtein distance
5914 @item Hamming distance
5915 @item Jaccard similarity coefficient
5917 @item Jaro-Winkler distance
5918 @item Levenshtein distance
5919 @item Normalized Damerau-Levenshtein distance
5920 @item Normalized Levenshtein distance
5921 @item Overlap coefficient
5923 (license license:x11)))
5925 (define-public cl-mk-string-metrics
5926 (sbcl-package->cl-source-package sbcl-mk-string-metrics))
5928 (define-public sbcl-cl-str
5929 (let ((commit "3d5ec86e3a0199e5973aacde951086dfd754b5e5"))
5931 (name "sbcl-cl-str")
5932 (version (git-version "0.8" "1" commit))
5933 (home-page "https://github.com/vindarel/cl-str")
5940 (base32 "0szzzbygw9h985yxz909vvqrp69pmpcpahn7hn350lnyjislk9ga"))
5941 (file-name (git-file-name name version))))
5942 (build-system asdf-build-system/sbcl)
5944 `(("cl-ppcre" ,sbcl-cl-ppcre)
5945 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
5947 `(("prove" ,sbcl-prove)
5948 ("prove-asdf" ,sbcl-prove-asdf)))
5950 `(#:asd-file "str.asd"
5951 #:asd-system-name "str"
5952 #:test-asd-file "str.test.asd"))
5953 (synopsis "Modern, consistent and terse Common Lisp string manipulation library")
5954 (description "A modern and consistent Common Lisp string manipulation
5955 library that focuses on modernity, simplicity and discoverability:
5956 @code{(str:trim s)} instead of @code{(string-trim '(#\\Space ...) s)}), or
5957 @code{str:concat strings} instead of an unusual format construct; one
5958 discoverable library instead of many; consistency and composability, where
5959 @code{s} is always the last argument, which makes it easier to feed pipes and
5961 (license license:expat))))
5963 (define-public cl-str
5964 (sbcl-package->cl-source-package sbcl-cl-str))
5966 (define-public sbcl-cl-xmlspam
5967 (let ((commit "ea06abcca2a73a9779bcfb09081e56665f94e22a"))
5969 (name "sbcl-cl-xmlspam")
5970 (build-system asdf-build-system/sbcl)
5971 (version (git-version "0.0.0" "1" commit))
5972 (home-page "https://github.com/rogpeppe/cl-xmlspam")
5979 (file-name (string-append name "-" version))
5982 "0w4rqvrgdgk3fwfq3kx4r7wwdr2bv3b6n3bdqwsiriw9psqzpz2s"))))
5984 `(("cxml" ,sbcl-cxml)
5985 ("cl-ppcre" ,sbcl-cl-ppcre)))
5986 (synopsis "Concise, regexp-like pattern matching on streaming XML for Common Lisp")
5987 (description "CXML does an excellent job at parsing XML elements, but what
5988 do you do when you have a XML file that's larger than you want to fit in
5989 memory, and you want to extract some information from it? Writing code to deal
5990 with SAX events, or even using Klacks, quickly becomes tedious.
5991 @code{cl-xmlspam} (for XML Stream PAttern Matcher) is designed to make it easy
5992 to write code that mirrors the structure of the XML that it's parsing. It
5993 also makes it easy to shift paradigms when necessary - the usual Lisp control
5994 constructs can be used interchangeably with pattern matching, and the full
5995 power of CXML is available when necessary.")
5996 (license license:bsd-3))))
5998 ;; TODO: dbus uses ASDF's package-inferred-system which is not supported by
5999 ;; asdf-build-system/sbcl as of 2019-08-02. We should fix
6000 ;; asdf-build-system/sbcl.
6001 (define-public cl-dbus
6002 (let ((commit "24b452df3a45ca5dc95015500f34baad175c981a")
6006 (build-system asdf-build-system/source)
6007 (version (git-version "20190408" revision commit))
6008 (home-page "https://github.com/death/dbus")
6015 (file-name (git-file-name name version))
6018 "0fw2q866yddbf23nk9pxphm9gsasx35vjyss82xzvndnjmzlqfl5"))))
6019 ;; Inputs must be propagated or else packages depending on this won't have the necessary packages.
6021 `(("alexandria" ,sbcl-alexandria)
6022 ("trivial-garbage" ,sbcl-trivial-garbage)
6023 ("babel" ,sbcl-babel)
6024 ("iolib" ,sbcl-iolib)
6025 ("iolib+multiplex" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+multiplex))
6026 ("iolib+syscalls" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+syscalls))
6027 ("iolib+streams" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+streams))
6028 ("iolib+sockets" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+sockets))
6029 ("ieee-floats" ,sbcl-ieee-floats)
6030 ("flexi-streams" ,sbcl-flexi-streams)
6031 ("cl-xmlspam" ,sbcl-cl-xmlspam)
6032 ("ironclad" ,sbcl-ironclad)))
6033 (synopsis "D-Bus client library for Common Lisp")
6034 (description "This is a Common Lisp library that allows to publish D-Bus
6035 objects as well as send and notify other objects connected to a bus.")
6036 (license license:bsd-2))))
6038 (define-public sbcl-cl-hooks
6039 (let ((commit "5b638083f3b4f1221a52631d9c8a0a265565cac7")
6042 (name "sbcl-cl-hooks")
6043 (build-system asdf-build-system/sbcl)
6044 (version (git-version "0.2.1" revision commit))
6045 (home-page "https://github.com/scymtym/architecture.hooks")
6052 (file-name (git-file-name name version))
6055 "0bg3l0a28lw5gqqjp6p6b5nhwqk46sgkb7184w5qbfngw1hk8x9y"))))
6057 `(("alexandria" ,sbcl-alexandria)
6058 ("let-plus" ,sbcl-let-plus)
6059 ("trivial-garbage" ,sbcl-trivial-garbage)
6060 ("closer-mop" ,sbcl-closer-mop)))
6062 `(("fiveam" ,sbcl-fiveam)))
6063 (synopsis "Hooks extension point mechanism (as in Emacs) for Common Lisp")
6064 (description "A hook, in the present context, is a certain kind of
6065 extension point in a program that allows interleaving the execution of
6066 arbitrary code with the execution of a the program without introducing any
6067 coupling between the two. Hooks are used extensively in the extensible editor
6070 In the Common LISP Object System (CLOS), a similar kind of extensibility is
6071 possible using the flexible multi-method dispatch mechanism. It may even seem
6072 that the concept of hooks does not provide any benefits over the possibilities
6073 of CLOS. However, there are some differences:
6077 @item There can be only one method for each combination of specializers and
6078 qualifiers. As a result this kind of extension point cannot be used by
6079 multiple extensions independently.
6080 @item Removing code previously attached via a @code{:before}, @code{:after} or
6081 @code{:around} method can be cumbersome.
6082 @item There could be other or even multiple extension points besides @code{:before}
6083 and @code{:after} in a single method.
6084 @item Attaching codes to individual objects using eql specializers can be
6086 @item Introspection of code attached a particular extension point is
6087 cumbersome since this requires enumerating and inspecting the methods of a
6091 This library tries to complement some of these weaknesses of method-based
6092 extension-points via the concept of hooks.")
6093 (license license:llgpl))))
6095 (define-public cl-hooks
6096 (sbcl-package->cl-source-package sbcl-cl-hooks))
6098 (define-public ecl-cl-hooks
6099 (sbcl-package->ecl-package sbcl-cl-hooks))
6101 (define-public sbcl-s-sysdeps
6102 (let ((commit "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d")
6105 (name "sbcl-s-sysdeps")
6106 (build-system asdf-build-system/sbcl)
6107 (version (git-version "1" revision commit))
6108 (home-page "https://github.com/svenvc/s-sysdeps")
6115 (file-name (git-file-name name version))
6118 "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9"))))
6119 (synopsis "Common Lisp abstraction layer over platform dependent functionality")
6120 (description "@code{s-sysdeps} is an abstraction layer over platform
6121 dependent functionality. This simple package is used as a building block in a
6122 number of other open source projects.
6124 @code{s-sysdeps} abstracts:
6127 @item managing processes,
6128 @item implementing a standard TCP/IP server,
6129 @item opening a client TCP/IP socket stream,
6130 @item working with process locks.
6132 (license license:llgpl))))
6134 (define-public cl-s-sysdeps
6135 (sbcl-package->cl-source-package sbcl-s-sysdeps))
6137 (define-public ecl-s-sysdeps
6138 (sbcl-package->ecl-package sbcl-s-sysdeps))
6140 (define-public sbcl-cl-prevalence
6141 (let ((commit "c163c227ed85d430b82cb1e3502f72d4f88e3cfa")
6144 (name "sbcl-cl-prevalence")
6145 (build-system asdf-build-system/sbcl)
6146 (version (git-version "5" revision commit))
6147 (home-page "https://github.com/40ants/cl-prevalence")
6154 (file-name (git-file-name name version))
6157 "1i9zj1q2ahgwch56an21yzbgkynz0kab9fyxkq9mg8p3xrv38jjn"))))
6159 `(("s-sysdeps" ,sbcl-s-sysdeps)
6160 ("s-xml" ,sbcl-s-xml)))
6161 (synopsis "Implementation of object prevalence for Common Lisp")
6162 (description "This Common Lisp library implements object prevalence (see
6163 @url{https://en.wikipedia.org/wiki/System_prevalence}). It allows
6164 for (de)serializing to and from s-exps as well as XML. Serialization of arbitrary
6165 classes and cyclic data structures are supported.")
6166 (license license:llgpl))))
6168 (define-public cl-prevalence
6169 (sbcl-package->cl-source-package sbcl-cl-prevalence))
6171 (define-public ecl-cl-prevalence
6172 (sbcl-package->ecl-package sbcl-cl-prevalence))
6174 (define-public sbcl-series
6175 (let ((commit "da9061b336119d1e5214aff9117171d494d5a58a")
6178 (name "sbcl-series")
6179 (version (git-version "2.2.11" revision commit))
6184 (url "git://git.code.sf.net/p/series/series")
6186 (file-name (git-file-name name version))
6189 "07hk2lhfx42zk018pxqvn4gs77vd4n4g8m4xxbqaxgca76mifwfw"))))
6190 (build-system asdf-build-system/sbcl)
6192 ;; Disable the tests, they are apparently buggy and I didn't find
6193 ;; a simple way to make them run and pass.
6195 (synopsis "Series data structure for Common Lisp")
6197 "This Common Lisp library provides a series data structure much like
6198 a sequence, with similar kinds of operations. The difference is that in many
6199 situations, operations on series may be composed functionally and yet execute
6200 iteratively, without the need to construct intermediate series values
6201 explicitly. In this manner, series provide both the clarity of a functional
6202 programming style and the efficiency of an iterative programming style.")
6203 (home-page "http://series.sourceforge.net/")
6204 (license license:expat))))
6206 (define-public cl-series
6207 (sbcl-package->cl-source-package sbcl-series))
6209 (define-public ecl-series
6210 (sbcl-package->ecl-package sbcl-series))
6212 (define-public sbcl-periods
6213 (let ((commit "983d4a57325db3c8def942f163133cec5391ec28")
6216 (name "sbcl-periods")
6217 (version (git-version "0.0.2" revision commit))
6222 (url "https://github.com/jwiegley/periods.git")
6224 (file-name (git-file-name name version))
6227 "0z30jr3lxz3cmi019fsl4lgcgwf0yqpn95v9zkkkwgymdrkd4lga"))))
6228 (build-system asdf-build-system/sbcl)
6230 `(("local-time" ,sbcl-local-time)))
6231 (synopsis "Common Lisp library for manipulating date/time objects")
6233 "Periods is a Common Lisp library providing a set of utilities for
6234 manipulating times, distances between times, and both contiguous and
6235 discontiguous ranges of time.")
6236 (home-page "https://github.com/jwiegley/periods")
6237 (license license:bsd-3))))
6239 (define-public cl-periods
6240 (sbcl-package->cl-source-package sbcl-periods))
6242 (define-public ecl-periods
6243 (sbcl-package->ecl-package sbcl-periods))
6245 (define-public sbcl-periods-series
6247 (inherit sbcl-periods)
6248 (name "sbcl-periods-series")
6250 `(("periods" ,sbcl-periods)
6251 ("series" ,sbcl-series)))
6253 '(#:asd-file "periods-series.asd"
6254 #:asd-system-name "periods-series"))
6256 "Periods-series is an extension of the periods Common Lisp library
6257 providing functions compatible with the series Common Lisp library.")))
6259 (define-public cl-periods-series
6260 (sbcl-package->cl-source-package sbcl-periods-series))
6262 (define-public ecl-periods-series
6263 (sbcl-package->ecl-package sbcl-periods-series))
6265 (define-public sbcl-metatilities-base
6266 (let ((commit "6eaa9e3ff0939a93a92109dd0fcd218de85417d5")
6269 (name "sbcl-metatilities-base")
6270 (version (git-version "0.6.6" revision commit))
6275 (url "https://github.com/gwkkwg/metatilities-base.git")
6277 (file-name (git-file-name name version))
6280 "0xpa86pdzlnf4v5g64j3ifaplx71sx2ha8b7vvakswi652679ma0"))))
6281 (build-system asdf-build-system/sbcl)
6283 `(("lift" ,sbcl-lift)))
6284 (synopsis "Core of the metatilities Common Lisp library")
6286 "Metatilities-base is the core of the metatilities Common Lisp library
6287 which implements a set of utilities.")
6288 (home-page "https://common-lisp.net/project/metatilities-base/")
6289 (license license:expat))))
6291 (define-public cl-metatilities-base
6292 (sbcl-package->cl-source-package sbcl-metatilities-base))
6294 (define-public ecl-metatilities-base
6295 (sbcl-package->ecl-package sbcl-metatilities-base))
6297 (define-public sbcl-cl-containers
6298 (let ((commit "810927e19d933bcf38ffeb7a23ce521efc432d45")
6301 (name "sbcl-cl-containers")
6302 (version (git-version "0.12.1" revision commit))
6307 (url "https://github.com/gwkkwg/cl-containers.git")
6309 (file-name (git-file-name name version))
6312 "1s9faxw7svhbjpkhfrz2qxgjm3cvyjb8wpyb4m8dx4i5g7vvprkv"))))
6313 (build-system asdf-build-system/sbcl)
6315 `(("lift" ,sbcl-lift)))
6317 `(("metatilities-base" ,sbcl-metatilities-base)))
6320 (modify-phases %standard-phases
6321 (add-after 'unpack 'relax-version-checks
6323 (substitute* "cl-containers.asd"
6324 (("\\(:version \"metatilities-base\" \"0\\.6\\.6\"\\)")
6325 "\"metatilities-base\""))
6326 (substitute* "cl-containers-test.asd"
6327 (("\\(:version \"lift\" \"1\\.7\\.0\"\\)")
6330 (synopsis "Container library for Common Lisp")
6332 "Common Lisp ships with a set of powerful built in data structures
6333 including the venerable list, full featured arrays, and hash-tables.
6334 CL-containers enhances and builds on these structures by adding containers
6335 that are not available in native Lisp (for example: binary search trees,
6336 red-black trees, sparse arrays and so on), and by providing a standard
6337 interface so that they are simpler to use and so that changing design
6338 decisions becomes significantly easier.")
6339 (home-page "https://common-lisp.net/project/cl-containers/")
6340 (license license:expat))))
6342 (define-public cl-containers
6343 (sbcl-package->cl-source-package sbcl-cl-containers))
6345 (define-public ecl-cl-containers
6346 (sbcl-package->ecl-package sbcl-cl-containers))
6348 (define-public sbcl-xlunit
6349 (let ((commit "3805d34b1d8dc77f7e0ee527a2490194292dd0fc")
6352 (name "sbcl-xlunit")
6353 (version (git-version "0.6.3" revision commit))
6358 (url "http://git.kpe.io/xlunit.git")
6360 (file-name (git-file-name name version))
6363 "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3"))))
6364 (build-system asdf-build-system/sbcl)
6367 (modify-phases %standard-phases
6368 (add-after 'unpack 'fix-tests
6370 (substitute* "xlunit.asd"
6373 (synopsis "Unit testing package for Common Lisp")
6375 "The XLUnit package is a toolkit for building test suites. It is based
6376 on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
6377 (home-page "http://quickdocs.org/xlunit/")
6378 (license license:bsd-3))))
6380 (define-public cl-xlunit
6381 (sbcl-package->cl-source-package sbcl-xlunit))
6383 (define-public ecl-xlunit
6384 (sbcl-package->ecl-package sbcl-xlunit))
6386 (define-public sbcl-fprog
6387 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6391 (version (git-version "1.0.0" revision commit))
6396 (url "https://github.com/jwiegley/cambl.git")
6398 (file-name (git-file-name name version))
6401 "103mry04j2k9vznsxm7wcvccgxkil92cdrv52miwcmxl8daa4jiz"))))
6402 (build-system asdf-build-system/sbcl)
6403 (synopsis "Functional programming utilities for Common Lisp")
6405 "@code{fprog} is a Common Lisp library allowing iteration over
6406 immutable lists sharing identical sublists.")
6407 (home-page "https://github.com/jwiegley/cambl")
6408 (license license:bsd-3))))
6410 (define-public cl-fprog
6411 (sbcl-package->cl-source-package sbcl-fprog))
6413 (define-public ecl-fprog
6414 (sbcl-package->ecl-package sbcl-fprog))
6416 (define-public sbcl-cambl
6417 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6420 (inherit sbcl-fprog)
6422 (version (git-version "4.0.0" revision commit))
6424 `(("xlunit" ,sbcl-xlunit)))
6426 `(("alexandria" ,sbcl-alexandria)
6427 ("cl-containers" ,sbcl-cl-containers)
6428 ("local-time" ,sbcl-local-time)
6429 ("periods" ,sbcl-periods)
6430 ("fprog" ,sbcl-fprog)))
6431 (synopsis "Commoditized amounts and balances for Common Lisp")
6433 "CAMBL is a Common Lisp library providing a convenient facility for
6434 working with commoditized values. It does not allow compound units (and so is
6435 not suited for scientific operations) but does work rather nicely for the
6436 purpose of financial calculations."))))
6438 (define-public cl-cambl
6439 (sbcl-package->cl-source-package sbcl-cambl))
6441 (define-public ecl-cambl
6442 (sbcl-package->ecl-package sbcl-cambl))
6444 (define-public sbcl-cl-ledger
6445 (let ((commit "08e0be41795e804cd36142e51756ad0b1caa377b")
6448 (name "sbcl-cl-ledger")
6449 (version (git-version "4.0.0" revision commit))
6454 (url "https://github.com/ledger/cl-ledger.git")
6456 (file-name (git-file-name name version))
6459 "1via0qf6wjcyxnfbmfxjvms0ik9j8rqbifgpmnhrzvkhrq9pv8h1"))))
6460 (build-system asdf-build-system/sbcl)
6462 `(("cambl" ,sbcl-cambl)
6463 ("cl-ppcre" ,sbcl-cl-ppcre)
6464 ("local-time" ,sbcl-local-time)
6465 ("periods-series" ,sbcl-periods-series)))
6468 (modify-phases %standard-phases
6469 (add-after 'unpack 'fix-system-definition
6471 (substitute* "cl-ledger.asd"
6472 ((" :build-operation program-op") "")
6473 ((" :build-pathname \"cl-ledger\"") "")
6474 ((" :entry-point \"ledger::main\"") ""))
6476 (synopsis "Common Lisp port of the Ledger accounting system")
6478 "CL-Ledger is a Common Lisp port of the Ledger double-entry accounting
6480 (home-page "https://github.com/ledger/cl-ledger")
6481 (license license:bsd-3))))
6483 (define-public cl-ledger
6484 (sbcl-package->cl-source-package sbcl-cl-ledger))
6486 (define-public ecl-cl-ledger
6487 (sbcl-package->ecl-package sbcl-cl-ledger))
6489 (define-public sbcl-bst
6490 (let ((commit "34f9c7e8e0a9f2c952fe310ab36cb630d5d9c15a")
6494 (version (git-version "1.1" revision commit))
6499 (url "https://github.com/glv2/bst.git")
6501 (file-name (git-file-name name version))
6504 "1amxns7hvvh4arwbh8ciwfzplg127vh37dnbamv1m1kmmnmihfc8"))))
6505 (build-system asdf-build-system/sbcl)
6507 `(("alexandria" ,sbcl-alexandria)
6508 ("fiveam" ,sbcl-fiveam)))
6509 (synopsis "Binary search tree for Common Lisp")
6511 "BST is a Common Lisp library for working with binary search trees that
6512 can contain any kind of values.")
6513 (home-page "https://github.com/glv2/bst")
6514 (license license:gpl3))))
6516 (define-public cl-bst
6517 (sbcl-package->cl-source-package sbcl-bst))
6519 (define-public ecl-bst
6520 (sbcl-package->ecl-package sbcl-bst))
6522 (define-public sbcl-cl-octet-streams
6524 (name "sbcl-cl-octet-streams")
6530 (url "https://github.com/glv2/cl-octet-streams.git")
6531 (commit (string-append "v" version))))
6532 (file-name (git-file-name name version))
6535 "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
6536 (build-system asdf-build-system/sbcl)
6538 `(("fiveam" ,sbcl-fiveam)))
6540 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6541 (synopsis "In-memory octet streams for Common Lisp")
6543 "CL-octet-streams is a library implementing in-memory octet
6544 streams for Common Lisp. It was inspired by the trivial-octet-streams and
6545 cl-plumbing libraries.")
6546 (home-page "https://github.com/glv2/cl-octet-streams")
6547 (license license:gpl3+)))
6549 (define-public cl-octet-streams
6550 (sbcl-package->cl-source-package sbcl-cl-octet-streams))
6552 (define-public ecl-cl-octet-streams
6553 (sbcl-package->ecl-package sbcl-cl-octet-streams))
6555 (define-public sbcl-lzlib
6556 (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
6560 (version (git-version "1.0" revision commit))
6565 (url "https://github.com/glv2/cl-lzlib.git")
6567 (file-name (git-file-name name version))
6570 "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
6571 (build-system asdf-build-system/sbcl)
6573 `(("fiveam" ,sbcl-fiveam)))
6575 `(("cffi" ,sbcl-cffi)
6576 ("cl-octet-streams" ,sbcl-cl-octet-streams)
6580 (modify-phases %standard-phases
6581 (add-after 'unpack 'fix-paths
6582 (lambda* (#:key inputs #:allow-other-keys)
6583 (substitute* "src/lzlib.lisp"
6585 (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
6587 (synopsis "Common Lisp library for lzip (de)compression")
6589 "This Common Lisp library provides functions for lzip (LZMA)
6590 compression/decompression using bindings to the lzlib C library.")
6591 (home-page "https://github.com/glv2/cl-lzlib")
6592 (license license:gpl3+))))
6594 (define-public cl-lzlib
6595 (sbcl-package->cl-source-package sbcl-lzlib))
6597 (define-public ecl-lzlib
6598 (sbcl-package->ecl-package sbcl-lzlib))
6600 (define-public sbcl-chanl
6601 (let ((commit "2362b57550c2c9238cc882d03553aaa1040b7340")
6605 (version (git-version "0.4.1" revision commit))
6610 (url "https://github.com/zkat/chanl.git")
6612 (file-name (git-file-name name version))
6615 "0ag3wz7yrqwp0s5069wwda98z3rrqd25spg8sa8rdqghj084w28w"))))
6616 (build-system asdf-build-system/sbcl)
6618 `(("fiveam" ,sbcl-fiveam)))
6620 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
6621 (synopsis "Portable channel-based concurrency for Common Lisp")
6622 (description "Common Lisp library for channel-based concurrency. In
6623 a nutshell, you create various threads sequentially executing tasks you need
6624 done, and use channel objects to communicate and synchronize the state of these
6626 (home-page "https://github.com/zkat/chanl")
6627 (license (list license:expat license:bsd-3)))))
6629 (define-public cl-chanl
6630 (sbcl-package->cl-source-package sbcl-chanl))
6632 (define-public ecl-chanl
6633 (let ((base (sbcl-package->ecl-package sbcl-chanl)))
6637 (substitute-keyword-arguments (package-arguments base)
6638 ;; The CHANL.ACTORS package uses the :ARGUMENTS option of
6639 ;; DEFINE-METHOD-COMBINATION, which is not implemented in ECL yet
6640 ;; (see https://gitlab.com/embeddable-common-lisp/ecl/issues/305).
6641 ;; So let's disable it for now, as it allows compiling the library
6642 ;; and using the rest of it.
6643 ((#:phases phases '%standard-phases)
6644 `(modify-phases ,phases
6645 (add-after 'unpack 'disable-chanl-actors
6647 (substitute* "chanl.asd"
6648 (("\\(:file \"actors\"\\)") ""))
6650 ;; Disable the tests for now, as the SEND-SEQUENCE test seems to
6652 ((#:tests? _ #f) #f))))))
6654 (define-public sbcl-cl-store
6655 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
6658 (name "sbcl-cl-store")
6659 (version (git-version "0.8.11" revision commit))
6664 (url "https://github.com/skypher/cl-store.git")
6666 (file-name (git-file-name name version))
6669 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
6670 (build-system asdf-build-system/sbcl)
6673 (synopsis "Common Lisp library to serialize data")
6675 "CL-STORE is a portable serialization package which should give you the
6676 ability to store all Common Lisp data types into streams.")
6677 (home-page "https://www.common-lisp.net/project/cl-store/")
6678 (license license:expat))))
6680 (define-public cl-store
6681 (sbcl-package->cl-source-package sbcl-cl-store))
6683 (define-public ecl-cl-store
6684 (sbcl-package->ecl-package sbcl-cl-store))
6686 (define-public sbcl-cl-gobject-introspection
6687 (let ((commit "7b703e2384945ea0ac39d9b766de434a08d81560")
6690 (name "sbcl-cl-gobject-introspection")
6691 (version (git-version "0.3" revision commit))
6692 (home-page "https://github.com/andy128k/cl-gobject-introspection")
6699 (file-name (git-file-name name version))
6702 "1zcqd2qj14f6b38vys8gr89s6cijsp9r8j43xa8lynilwva7bwyh"))))
6703 (build-system asdf-build-system/sbcl)
6705 `(("alexandria" ,sbcl-alexandria)
6707 ("iterate" ,sbcl-iterate)
6708 ("trivial-garbage" ,sbcl-trivial-garbage)
6710 ("gobject-introspection" ,gobject-introspection)))
6712 `(("fiveam" ,sbcl-fiveam)))
6714 ;; TODO: Tests fail, see
6715 ;; https://github.com/andy128k/cl-gobject-introspection/issues/70.
6718 (modify-phases %standard-phases
6719 (add-after (quote unpack) (quote fix-paths)
6720 (lambda* (#:key inputs #:allow-other-keys)
6721 (substitute* "src/init.lisp"
6722 (("libgobject-2\\.0\\.so")
6723 (string-append (assoc-ref inputs "glib") "/lib/libgobject-2.0.so"))
6724 (("libgirepository-1\\.0\\.so")
6725 (string-append (assoc-ref inputs "gobject-introspection")
6726 "/lib/libgirepository-1.0.so")))
6728 (synopsis "Common Lisp bindings to GObject Introspection")
6730 "This library is a bridge between Common Lisp and GObject
6731 Introspection, which enables Common Lisp programs to access the full interface
6732 of C+GObject libraries without the need of writing dedicated bindings.")
6733 (license (list license:bsd-3
6734 ;; Tests are under a different license.
6737 (define-public cl-gobject-introspection
6738 (sbcl-package->cl-source-package sbcl-cl-gobject-introspection))
6740 (define-public sbcl-string-case
6741 (let ((commit "718c761e33749e297cd2809c7ba3ade1985c49f7")
6744 (name "sbcl-string-case")
6745 (version (git-version "0.0.2" revision commit))
6746 (home-page "https://github.com/pkhuong/string-case")
6753 (file-name (git-file-name name version))
6756 "1n5i3yh0h5s636rcnwn7jwqy3rjflikra04lymimhpcshhjsk0md"))))
6757 (build-system asdf-build-system/sbcl)
6758 (synopsis "Efficient string= case in Common Lisp")
6760 "@code{string-case} is a Common Lisp macro that generates specialised decision
6761 trees to dispatch on string equality.")
6762 (license license:bsd-3))))
6764 (define-public cl-string-case
6765 (sbcl-package->cl-source-package sbcl-string-case))
6767 (define-public ecl-string-case
6768 (sbcl-package->ecl-package sbcl-string-case))
6770 (define-public sbcl-global-vars
6771 (let ((commit "c749f32c9b606a1457daa47d59630708ac0c266e")
6774 (name "sbcl-global-vars")
6775 (version (git-version "1.0.0" revision commit))
6776 (home-page "https://github.com/lmj/global-vars")
6783 (file-name (git-file-name name version))
6786 "06m3xc8l3pgsapl8fvsi9wf6y46zs75cp9zn7zh6dc65v4s5wz3d"))))
6787 (build-system asdf-build-system/sbcl)
6788 (synopsis "Efficient global variables in Common Lisp")
6790 "In Common Lisp, a special variable that is never dynamically bound
6791 typically serves as a stand-in for a global variable. The @code{global-vars}
6792 library provides true global variables that are implemented by some compilers.
6793 An attempt to rebind a global variable properly results in a compiler error.
6794 That is, a global variable cannot be dynamically bound.
6796 Global variables therefore allow us to communicate an intended usage that
6797 differs from special variables. Global variables are also more efficient than
6798 special variables, especially in the presence of threads.")
6799 (license license:expat))))
6801 (define-public cl-global-vars
6802 (sbcl-package->cl-source-package sbcl-global-vars))
6804 (define-public ecl-global-vars
6805 (sbcl-package->ecl-package sbcl-global-vars))
6807 (define-public sbcl-trivial-file-size
6808 (let ((commit "1c1d672a01a446ba0391dbb4ffc40be3b0476f23")
6811 (name "sbcl-trivial-file-size")
6812 (version (git-version "0.0.0" revision commit))
6813 (home-page "https://github.com/ruricolist/trivial-file-size")
6820 (file-name (git-file-name name version))
6823 "17pp86c9zs4y7i1sh7q9gbfw9iqv6655k7fz8qbj9ly1ypgxp4qs"))))
6824 (build-system asdf-build-system/sbcl)
6826 `(("fiveam" ,sbcl-fiveam)))
6827 (synopsis "Size of a file in bytes in Common Lisp")
6829 "The canonical way to determine the size of a file in bytes, using Common Lisp,
6830 is to open the file with an element type of (unsigned-byte 8) and then
6831 calculate the length of the stream. This is less than ideal. In most cases
6832 it is better to get the size of the file from its metadata, using a system
6835 This library exports a single function, file-size-in-octets. It returns the
6836 size of a file in bytes, using system calls when possible.")
6837 (license license:expat))))
6839 (define-public cl-trivial-file-size
6840 (sbcl-package->cl-source-package sbcl-trivial-file-size))
6842 (define-public ecl-trivial-file-size
6843 (sbcl-package->ecl-package sbcl-trivial-file-size))
6845 (define-public sbcl-trivial-macroexpand-all
6846 (let ((commit "933270ac7107477de1bc92c1fd641fe646a7a8a9")
6849 (name "sbcl-trivial-macroexpand-all")
6850 (version (git-version "0.0.0" revision commit))
6851 (home-page "https://github.com/cbaggers/trivial-macroexpand-all")
6858 (file-name (git-file-name name version))
6861 "191hnn4b5j4i3crydmlzbm231kj0h7l8zj6mzj69r1npbzkas4bd"))))
6862 (build-system asdf-build-system/sbcl)
6864 `(("fiveam" ,sbcl-fiveam)))
6865 (synopsis "Portable macroexpand-all for Common Lisp")
6867 "This library provides a macroexpand-all function that calls the
6868 implementation specific equivalent.")
6869 (license license:unlicense))))
6871 (define-public cl-trivial-macroexpand-all
6872 (sbcl-package->cl-source-package sbcl-trivial-macroexpand-all))
6874 (define-public ecl-trivial-macroexpand-all
6875 (sbcl-package->ecl-package sbcl-trivial-macroexpand-all))
6877 (define-public sbcl-serapeum
6878 (let ((commit "65837f8a0d65b36369ec8d000fff5c29a395b5fe")
6881 (name "sbcl-serapeum")
6882 (version (git-version "0.0.0" revision commit))
6883 (home-page "https://github.com/ruricolist/serapeum")
6890 (file-name (git-file-name name version))
6893 "0clwf81r2lvk1rbfvk91s9zmbkas9imf57ilqclw12mxaxlfsnbw"))))
6894 (build-system asdf-build-system/sbcl)
6896 `(("alexandria" ,sbcl-alexandria)
6897 ("trivia" ,sbcl-trivia)
6898 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
6899 ("split-sequence" ,sbcl-split-sequence)
6900 ("string-case" ,sbcl-string-case)
6901 ("parse-number" ,sbcl-parse-number)
6902 ("trivial-garbage" ,sbcl-trivial-garbage)
6903 ("bordeaux-threads" ,sbcl-bordeaux-threads)
6904 ("named-readtables" ,sbcl-named-readtables)
6905 ("fare-quasiquote-extras" ,cl-fare-quasiquote-extras)
6906 ("parse-declarations-1.0" ,sbcl-parse-declarations)
6907 ("global-vars" ,sbcl-global-vars)
6908 ("trivial-file-size" ,sbcl-trivial-file-size)
6909 ("trivial-macroexpand-all" ,sbcl-trivial-macroexpand-all)))
6911 `(("fiveam" ,sbcl-fiveam)
6912 ("local-time" ,sbcl-local-time)))
6915 (modify-phases %standard-phases
6916 (add-after 'unpack 'disable-failing-tests
6917 (lambda* (#:key inputs #:allow-other-keys)
6918 (substitute* "serapeum.asd"
6919 ;; Guix does not have Quicklisp, and probably never will.
6920 (("\\(:file \"quicklisp\"\\)") ""))
6922 (synopsis "Common Lisp utility library beyond Alexandria")
6924 "Serapeum is a conservative library of Common Lisp utilities. It is a
6925 supplement, not a competitor, to Alexandria.")
6926 (license license:expat))))
6928 (define-public cl-serapeum
6929 (sbcl-package->cl-source-package sbcl-serapeum))
6931 (define-public sbcl-arrows
6932 (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382")
6935 (name "sbcl-arrows")
6936 (version (git-version "0.2.0" revision commit))
6941 (url "https://gitlab.com/Harleqin/arrows.git")
6943 (file-name (git-file-name name version))
6946 "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy"))))
6947 (build-system asdf-build-system/sbcl)
6949 `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
6950 (synopsis "Clojure-like arrow macros for Common Lisp")
6952 "This library implements the @code{->} and @code{->>} macros from
6953 Clojure, as well as several expansions on the idea.")
6954 (home-page "https://gitlab.com/Harleqin/arrows")
6955 (license license:public-domain))))
6957 (define-public cl-arrows
6958 (sbcl-package->cl-source-package sbcl-arrows))
6960 (define-public ecl-arrows
6961 (sbcl-package->ecl-package sbcl-arrows))
6963 (define-public sbcl-simple-parallel-tasks
6964 (let ((commit "db460f7a3f7bbfe2d3a2223ed21e162068d04dda")
6967 (name "sbcl-simple-parallel-tasks")
6968 (version (git-version "1.0" revision commit))
6973 (url "https://github.com/glv2/simple-parallel-tasks.git")
6975 (file-name (git-file-name name version))
6978 "0amw3qk23wnlyrsgzszs6rs7y4zvxv8dr03rnqhc60mnm8ds4dd5"))))
6979 (build-system asdf-build-system/sbcl)
6981 `(("fiveam" ,sbcl-fiveam)))
6983 `(("chanl" ,sbcl-chanl)))
6984 (synopsis "Common Lisp library to evaluate some forms in parallel")
6985 (description "This is a simple Common Lisp library to evaluate some
6986 forms in parallel.")
6987 (home-page "https://github.com/glv2/simple-parallel-tasks")
6988 (license license:gpl3))))
6990 (define-public cl-simple-parallel-tasks
6991 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
6993 (define-public ecl-simple-parallel-tasks
6994 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
6996 (define-public sbcl-cl-heap
6998 (name "sbcl-cl-heap")
7003 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
7004 "cl-heap_" version ".tar.gz"))
7007 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
7008 (build-system asdf-build-system/sbcl)
7010 `(("xlunit" ,sbcl-xlunit)))
7012 `(#:test-asd-file "cl-heap-tests.asd"))
7013 (synopsis "Heap and priority queue data structures for Common Lisp")
7015 "CL-HEAP provides various implementations of heap data structures (a
7016 binary heap and a Fibonacci heap) as well as an efficient priority queue.")
7017 (home-page "https://common-lisp.net/project/cl-heap/")
7018 (license license:gpl3+)))
7020 (define-public cl-heap
7021 (sbcl-package->cl-source-package sbcl-cl-heap))
7023 (define-public ecl-cl-heap
7024 (sbcl-package->ecl-package sbcl-cl-heap))
7026 (define-public sbcl-curry-compose-reader-macros
7027 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
7030 (name "sbcl-curry-compose-reader-macros")
7031 (version (git-version "1.0.0" revision commit))
7037 (url "https://github.com/eschulte/curry-compose-reader-macros.git")
7039 (file-name (git-file-name name version))
7042 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
7043 (build-system asdf-build-system/sbcl)
7045 `(("alexandria" ,sbcl-alexandria)
7046 ("named-readtables" ,sbcl-named-readtables)))
7047 (synopsis "Reader macros for partial application and composition")
7049 "This Common Lisp library provides reader macros for concise expression
7050 of function partial application and composition.")
7051 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
7052 (license license:public-domain))))
7054 (define-public cl-curry-compose-reader-macros
7055 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
7057 (define-public ecl-curry-compose-reader-macros
7058 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
7060 (define-public sbcl-yason
7068 (url "https://github.com/phmarek/yason.git")
7069 (commit (string-append "v" version))))
7070 (file-name (git-file-name name version))
7073 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
7074 (build-system asdf-build-system/sbcl)
7076 `(("alexandria" ,sbcl-alexandria)
7077 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7078 (synopsis "Common Lisp JSON parser/encoder")
7080 "YASON is a Common Lisp library for encoding and decoding data in the
7081 JSON interchange format.")
7082 (home-page "https://github.com/phmarek/yason")
7083 (license license:bsd-3)))
7085 (define-public cl-yason
7086 (sbcl-package->cl-source-package sbcl-yason))
7088 (define-public ecl-yason
7089 (sbcl-package->ecl-package sbcl-yason))
7091 (define-public sbcl-stefil
7092 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
7095 (name "sbcl-stefil")
7096 (version (git-version "0.1" revision commit))
7101 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
7103 (file-name (git-file-name name version))
7106 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
7107 (build-system asdf-build-system/sbcl)
7109 `(("alexandria" ,sbcl-alexandria)
7110 ("iterate" ,sbcl-iterate)
7111 ("metabang-bind" ,sbcl-metabang-bind)))
7113 ;; Swank doesn't have a pre-compiled package, therefore we must
7114 ;; propagate its sources.
7115 `(("swank" ,cl-slime-swank)))
7118 (modify-phases %standard-phases
7119 (add-after 'unpack 'drop-unnecessary-dependency
7121 (substitute* "package.lisp"
7122 ((":stefil-system") ""))
7124 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
7125 (synopsis "Simple test framework")
7127 "Stefil is a simple test framework for Common Lisp, with a focus on
7128 interactive development.")
7129 (license license:public-domain))))
7131 (define-public cl-stefil
7132 (sbcl-package->cl-source-package sbcl-stefil))
7134 (define-public sbcl-graph
7135 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
7139 (version (git-version "0.0.0" revision commit))
7145 (url "https://github.com/eschulte/graph.git")
7147 (file-name (git-file-name name version))
7150 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))
7151 (patches (search-patches "sbcl-graph-asdf-definitions.patch"))))
7152 (build-system asdf-build-system/sbcl)
7154 `(("stefil" ,sbcl-stefil)))
7156 `(("alexandria" ,sbcl-alexandria)
7157 ("cl-heap" ,sbcl-cl-heap)
7158 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7159 ("metabang-bind" ,sbcl-metabang-bind)
7160 ("named-readtables" ,sbcl-named-readtables)))
7162 '(#:test-asd-file "graph.test.asd"))
7163 (synopsis "Graph data structure and algorithms for Common Lisp")
7165 "The GRAPH Common Lisp library provides a data structures to represent
7166 graphs, as well as some graph manipulation and analysis algorithms (shortest
7167 path, maximum flow, minimum spanning tree, etc.).")
7168 (home-page "https://eschulte.github.io/graph/")
7169 (license license:gpl3+))))
7171 (define-public cl-graph
7172 (sbcl-package->cl-source-package sbcl-graph))
7174 (define-public sbcl-graph-dot
7176 (inherit sbcl-graph)
7177 (name "sbcl-graph-dot")
7179 `(("alexandria" ,sbcl-alexandria)
7180 ("cl-ppcre" ,sbcl-cl-ppcre)
7181 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7182 ("graph" ,sbcl-graph)
7183 ("metabang-bind" ,sbcl-metabang-bind)
7184 ("named-readtables" ,sbcl-named-readtables)))
7186 (substitute-keyword-arguments (package-arguments sbcl-graph)
7187 ((#:asd-file _ "") "graph.dot.asd")
7188 ((#:asd-system-name _ #f) "graph-dot")))
7189 (synopsis "Serialize graphs to and from DOT format")))
7191 (define-public sbcl-graph-json
7193 (inherit sbcl-graph)
7194 (name "sbcl-graph-json")
7196 `(("alexandria" ,sbcl-alexandria)
7197 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7198 ("graph" ,sbcl-graph)
7199 ("metabang-bind" ,sbcl-metabang-bind)
7200 ("named-readtables" ,sbcl-named-readtables)
7201 ("yason" ,sbcl-yason)))
7203 (substitute-keyword-arguments (package-arguments sbcl-graph)
7204 ((#:asd-file _ "") "graph.json.asd")
7205 ((#:asd-system-name _ #f) "graph-json")))
7206 (synopsis "Serialize graphs to and from JSON format")))