gnu: Add cl-flexichain.
[jackhill/guix/guix.git] / gnu / packages / lisp-xyz.scm
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, 2020 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, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
16 ;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
17 ;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
18 ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
19 ;;;
20 ;;; This file is part of GNU Guix.
21 ;;;
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.
26 ;;;
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.
31 ;;;
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/>.
34
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.
39
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 maths)
57 #:use-module (gnu packages pkg-config)
58 #:use-module (gnu packages python)
59 #:use-module (gnu packages python-xyz)
60 #:use-module (gnu packages sqlite)
61 #:use-module (gnu packages tls)
62 #:use-module (gnu packages webkit)
63 #:use-module (gnu packages xdisorg)
64 #:use-module (ice-9 match)
65 #:use-module (srfi srfi-19))
66
67 (define-public sbcl-alexandria
68 (let ((revision "1")
69 (commit "3b849bc0116ea70f215ee6b2fbf354e862aaa9dd"))
70 (package
71 (name "sbcl-alexandria")
72 (version (git-version "1.0.0" revision commit))
73 (source
74 (origin
75 (method git-fetch)
76 (uri (git-reference
77 (url "https://gitlab.common-lisp.net/alexandria/alexandria.git")
78 (commit commit)))
79 (sha256
80 (base32
81 "04amwvx2vl691f0plcfbqqwxgib9zimih7jrn5zl7mbwvrxy022b"))
82 (file-name (git-file-name name version))))
83 (build-system asdf-build-system/sbcl)
84 (native-inputs
85 `(("rt" ,sbcl-rt)))
86 (synopsis "Collection of portable utilities for Common Lisp")
87 (description
88 "Alexandria is a collection of portable utilities. It does not contain
89 conceptual extensions to Common Lisp. It is conservative in scope, and
90 portable between implementations.")
91 (home-page "https://common-lisp.net/project/alexandria/")
92 (license license:public-domain))))
93
94 (define-public cl-alexandria
95 (sbcl-package->cl-source-package sbcl-alexandria))
96
97 (define-public ecl-alexandria
98 (sbcl-package->ecl-package sbcl-alexandria))
99
100 (define-public sbcl-net.didierverna.asdf-flv
101 (package
102 (name "sbcl-net.didierverna.asdf-flv")
103 (version "2.1")
104 (source
105 (origin
106 (method git-fetch)
107 (uri (git-reference
108 (url "https://github.com/didierverna/asdf-flv")
109 (commit (string-append "version-" version))))
110 (file-name (git-file-name "asdf-flv" version))
111 (sha256
112 (base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj"))))
113 (build-system asdf-build-system/sbcl)
114 (synopsis "Common Lisp ASDF extension to provide support for file-local variables")
115 (description "ASDF-FLV provides support for file-local variables through
116 ASDF. A file-local variable behaves like @code{*PACKAGE*} and
117 @code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
118 dynamic binding is created before processing the file, so that any
119 modification to the variable becomes essentially file-local.
120
121 In order to make one or several variables file-local, use the macros
122 @code{SET-FILE-LOCAL-VARIABLE(S)}.")
123 (home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv")
124 (license (license:non-copyleft
125 "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"
126 "GNU All-Permissive License"))))
127
128 (define-public cl-net.didierverna.asdf-flv
129 (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv))
130
131 (define-public ecl-net.didierverna.asdf-flv
132 (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
133
134 (define-public sbcl-fiveam
135 (package
136 (name "sbcl-fiveam")
137 (version "1.4.1")
138 (source
139 (origin
140 (method git-fetch)
141 (uri (git-reference
142 (url "https://github.com/sionescu/fiveam.git")
143 (commit (string-append "v" version))))
144 (file-name (git-file-name "fiveam" version))
145 (sha256
146 (base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli"))))
147 (inputs
148 `(("alexandria" ,sbcl-alexandria)
149 ("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv)
150 ("trivial-backtrace" ,sbcl-trivial-backtrace)))
151 (build-system asdf-build-system/sbcl)
152 (synopsis "Common Lisp testing framework")
153 (description "FiveAM is a simple (as far as writing and running tests
154 goes) regression testing framework. It has been designed with Common Lisp's
155 interactive development model in mind.")
156 (home-page "https://common-lisp.net/project/fiveam/")
157 (license license:bsd-3)))
158
159 (define-public cl-fiveam
160 (sbcl-package->cl-source-package sbcl-fiveam))
161
162 (define-public ecl-fiveam
163 (sbcl-package->ecl-package sbcl-fiveam))
164
165 (define-public sbcl-bordeaux-threads
166 (let ((commit "5dce49fbc829f4d136a734f5ef4f5d599660984f")
167 (revision "1"))
168 (package
169 (name "sbcl-bordeaux-threads")
170 (version (git-version "0.8.6" revision commit))
171 (source (origin
172 (method git-fetch)
173 (uri (git-reference
174 (url "https://github.com/sionescu/bordeaux-threads.git")
175 (commit commit)))
176 (sha256
177 (base32 "1gkh9rz7zw57n3110ikcf4835950wr4hgp8l79id5ai6nd86x7wv"))
178 (file-name
179 (git-file-name "bordeaux-threads" version))))
180 (inputs `(("alexandria" ,sbcl-alexandria)))
181 (native-inputs `(("fiveam" ,sbcl-fiveam)))
182 (build-system asdf-build-system/sbcl)
183 (synopsis "Portable shared-state concurrency library for Common Lisp")
184 (description "BORDEAUX-THREADS is a proposed standard for a minimal
185 MP/Threading interface. It is similar to the CLIM-SYS threading and lock
186 support.")
187 (home-page "https://common-lisp.net/project/bordeaux-threads/")
188 (license license:x11))))
189
190 (define-public cl-bordeaux-threads
191 (sbcl-package->cl-source-package sbcl-bordeaux-threads))
192
193 (define-public ecl-bordeaux-threads
194 (sbcl-package->ecl-package sbcl-bordeaux-threads))
195
196 (define-public sbcl-trivial-gray-streams
197 (let ((revision "1")
198 (commit "0483ade330508b4b2edeabdb47d16ec9437ee1cb"))
199 (package
200 (name "sbcl-trivial-gray-streams")
201 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
202 (source
203 (origin
204 (method git-fetch)
205 (uri
206 (git-reference
207 (url "https://github.com/trivial-gray-streams/trivial-gray-streams.git")
208 (commit commit)))
209 (sha256
210 (base32 "0m3rpf2x0zmdk3nf1qfa01j6a55vj7gkwhyw78qslcgbjlgh8p4d"))
211 (file-name
212 (string-append "trivial-gray-streams-" version "-checkout"))))
213 (build-system asdf-build-system/sbcl)
214 (synopsis "Compatibility layer for Gray streams implementations")
215 (description "Gray streams is an interface proposed for inclusion with
216 ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
217 popular CL implementations implement it. This package provides an extremely
218 thin compatibility layer for gray streams.")
219 (home-page "http://www.cliki.net/trivial-gray-streams")
220 (license license:x11))))
221
222 (define-public cl-trivial-gray-streams
223 (sbcl-package->cl-source-package sbcl-trivial-gray-streams))
224
225 (define-public ecl-trivial-gray-streams
226 (sbcl-package->ecl-package sbcl-trivial-gray-streams))
227
228 (define-public sbcl-fiasco
229 (let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
230 (revision "1"))
231 (package
232 (name "sbcl-fiasco")
233 (version (git-version "0.0.1" revision commit))
234 (source
235 (origin
236 (method git-fetch)
237 (uri (git-reference
238 (url "https://github.com/joaotavora/fiasco.git")
239 (commit commit)))
240 (file-name (git-file-name "fiasco" version))
241 (sha256
242 (base32
243 "1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
244 (build-system asdf-build-system/sbcl)
245 (inputs
246 `(("alexandria" ,sbcl-alexandria)
247 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
248 (synopsis "Simple and powerful test framework for Common Lisp")
249 (description "A Common Lisp test framework that treasures your failures,
250 logical continuation of Stefil. It focuses on interactive debugging.")
251 (home-page "https://github.com/joaotavora/fiasco")
252 ;; LICENCE specifies this is public-domain unless the legislation
253 ;; doesn't allow or recognize it. In that case it falls back to a
254 ;; permissive licence.
255 (license (list license:public-domain
256 (license:x11-style "file://LICENCE"))))))
257
258 (define-public cl-fiasco
259 (sbcl-package->cl-source-package sbcl-fiasco))
260
261 (define-public ecl-fiasco
262 (sbcl-package->ecl-package sbcl-fiasco))
263
264 (define-public sbcl-flexi-streams
265 (package
266 (name "sbcl-flexi-streams")
267 (version "1.0.16")
268 (source
269 (origin
270 (method git-fetch)
271 (uri (git-reference
272 (url "https://github.com/edicl/flexi-streams.git")
273 (commit (string-append "v" version))))
274 (file-name (git-file-name "flexi-streams" version))
275 (sha256
276 (base32 "0gvykjlmja060zqq6nn6aqxlshh6r6ijahmmgf20q0d839rwpgxc"))))
277 (build-system asdf-build-system/sbcl)
278 (arguments
279 `(#:phases
280 (modify-phases %standard-phases
281 (add-after 'unpack 'make-git-checkout-writable
282 (lambda _
283 (for-each make-file-writable (find-files "."))
284 #t)))))
285 (inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
286 (synopsis "Implementation of virtual bivalent streams for Common Lisp")
287 (description "Flexi-streams is an implementation of \"virtual\" bivalent
288 streams that can be layered atop real binary or bivalent streams and that can
289 be used to read and write character data in various single- or multi-octet
290 encodings which can be changed on the fly. It also supplies in-memory binary
291 streams which are similar to string streams.")
292 (home-page "http://weitz.de/flexi-streams/")
293 (license license:bsd-3)))
294
295 (define-public cl-flexi-streams
296 (sbcl-package->cl-source-package sbcl-flexi-streams))
297
298 (define-public ecl-flexi-streams
299 (sbcl-package->ecl-package sbcl-flexi-streams))
300
301 (define-public sbcl-cl-ppcre
302 (package
303 (name "sbcl-cl-ppcre")
304 (version "2.0.11")
305 (source
306 (origin
307 (method git-fetch)
308 (uri (git-reference
309 (url "https://github.com/edicl/cl-ppcre.git")
310 (commit (string-append "v" version))))
311 (file-name (git-file-name "cl-ppcre" version))
312 (sha256
313 (base32 "0q3iany07vgqm144lw6pj0af2d3vsikpbkwcxr30fci3kzsq4f49"))))
314 (build-system asdf-build-system/sbcl)
315 (native-inputs `(("flexi-streams" ,sbcl-flexi-streams)))
316 (synopsis "Portable regular expression library for Common Lisp")
317 (description "CL-PPCRE is a portable regular expression library for Common
318 Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
319 compatible with ANSI-compliant Common Lisp implementations.")
320 (home-page "http://weitz.de/cl-ppcre/")
321 (license license:bsd-2)))
322
323 (define-public cl-ppcre
324 (sbcl-package->cl-source-package sbcl-cl-ppcre))
325
326 (define-public ecl-cl-ppcre
327 (sbcl-package->ecl-package sbcl-cl-ppcre))
328
329 (define sbcl-cl-unicode-base
330 (let ((revision "1")
331 (commit "9fcd06fba1ddc9e66aed2f2d6c32dc9b764f03ea"))
332 (package
333 (name "sbcl-cl-unicode-base")
334 (version (string-append "0.1.5-" revision "." (string-take commit 7)))
335 (source (origin
336 (method git-fetch)
337 (uri (git-reference
338 (url "https://github.com/edicl/cl-unicode.git")
339 (commit commit)))
340 (file-name (string-append "cl-unicode-" version "-checkout"))
341 (sha256
342 (base32
343 "1jicprb5b3bv57dy1kg03572gxkcaqdjhak00426s76g0plmx5ki"))))
344 (build-system asdf-build-system/sbcl)
345 (arguments
346 '(#:asd-file "cl-unicode.asd"
347 #:asd-system-name "cl-unicode/base"))
348 (inputs
349 `(("cl-ppcre" ,sbcl-cl-ppcre)))
350 (home-page "http://weitz.de/cl-unicode/")
351 (synopsis "Portable Unicode library for Common Lisp")
352 (description "CL-UNICODE is a portable Unicode library Common Lisp, which
353 is compatible with perl. It is pretty fast, thread-safe, and compatible with
354 ANSI-compliant Common Lisp implementations.")
355 (license license:bsd-2))))
356
357 (define-public sbcl-cl-unicode
358 (package
359 (inherit sbcl-cl-unicode-base)
360 (name "sbcl-cl-unicode")
361 (inputs
362 `(("cl-unicode/base" ,sbcl-cl-unicode-base)
363 ,@(package-inputs sbcl-cl-unicode-base)))
364 (native-inputs
365 `(("flexi-streams" ,sbcl-flexi-streams)))
366 (arguments '())))
367
368 (define-public ecl-cl-unicode
369 (sbcl-package->ecl-package sbcl-cl-unicode))
370
371 (define-public cl-unicode
372 (sbcl-package->cl-source-package sbcl-cl-unicode))
373
374 (define-public sbcl-zpb-ttf
375 (package
376 (name "sbcl-zpb-ttf")
377 (version "1.0.3")
378 (source
379 (origin
380 (method git-fetch)
381 (uri (git-reference
382 (url "https://github.com/xach/zpb-ttf.git")
383 (commit (string-append "release-" version))))
384 (file-name (git-file-name name version))
385 (sha256
386 (base32
387 "1wh66vjijzqlydnrihynpwp6796917xwrh0i9li93c17kyxa74ih"))))
388 (build-system asdf-build-system/sbcl)
389 (home-page "https://github.com/xach/zpb-ttf")
390 (synopsis "TrueType font file access for Common Lisp")
391 (description
392 "ZPB-TTF is a TrueType font file parser that provides an interface for
393 reading typographic metrics, glyph outlines, and other information from the
394 file.")
395 (license license:bsd-2)))
396
397 (define-public ecl-zpb-ttf
398 (sbcl-package->ecl-package sbcl-zpb-ttf))
399
400 (define-public cl-zpb-ttf
401 (sbcl-package->cl-source-package sbcl-zpb-ttf))
402
403 (define-public sbcl-cl-aa
404 (package
405 (name "sbcl-cl-aa")
406 (version "0.1.5")
407 (source
408 (origin
409 (method url-fetch)
410 (uri (string-append "http://projects.tuxee.net/cl-vectors/"
411 "files/cl-vectors-" version ".tar.gz"))
412 (sha256
413 (base32
414 "04lhwi0kq8pkwhgd885pk80m1cp9sfvjjn5zj70s1dnckibhdmqh"))))
415 (build-system asdf-build-system/sbcl)
416 (arguments '(#:asd-file "cl-aa.asd"))
417 (home-page "http://projects.tuxee.net/cl-vectors/")
418 (synopsis "Polygon rasterizer")
419 (description
420 "This is a Common Lisp library implementing the AA polygon rasterization
421 algorithm from the @url{http://antigrain.com, Antigrain} project.")
422 (license license:expat)))
423
424 (define-public ecl-cl-aa
425 (sbcl-package->ecl-package sbcl-cl-aa))
426
427 (define-public cl-aa
428 (sbcl-package->cl-source-package sbcl-cl-aa))
429
430 (define-public sbcl-cl-paths
431 (package
432 (inherit sbcl-cl-aa)
433 (name "sbcl-cl-paths")
434 (arguments '(#:asd-file "cl-paths.asd"))
435 (synopsis "Facilities to create and manipulate vectorial paths")
436 (description
437 "This package provides facilities to create and manipulate vectorial
438 paths.")))
439
440 (define-public ecl-cl-paths
441 (sbcl-package->ecl-package sbcl-cl-paths))
442
443 (define-public cl-paths
444 (sbcl-package->cl-source-package sbcl-cl-paths))
445
446 (define-public sbcl-cl-paths-ttf
447 (package
448 (inherit sbcl-cl-aa)
449 (name "sbcl-cl-paths-ttf")
450 (arguments '(#:asd-file "cl-paths-ttf.asd"))
451 (inputs
452 `(("cl-paths" ,sbcl-cl-paths)
453 ("zpb-ttf" ,sbcl-zpb-ttf)))
454 (synopsis "Facilities to create and manipulate vectorial paths")
455 (description
456 "This package provides facilities to create and manipulate vectorial
457 paths.")))
458
459 (define-public ecl-cl-paths-ttf
460 (sbcl-package->ecl-package sbcl-cl-paths-ttf))
461
462 (define-public cl-paths-ttf
463 (sbcl-package->cl-source-package sbcl-cl-paths-ttf))
464
465 (define-public sbcl-cl-vectors
466 (package
467 (inherit sbcl-cl-aa)
468 (name "sbcl-cl-vectors")
469 (arguments '(#:asd-file "cl-vectors.asd"))
470 (inputs
471 `(("cl-aa" ,sbcl-cl-aa)
472 ("cl-paths" ,sbcl-cl-paths)))
473 (synopsis "Create, transform and render anti-aliased vectorial paths")
474 (description
475 "This is a pure Common Lisp library to create, transform and render
476 anti-aliased vectorial paths.")))
477
478 (define-public ecl-cl-vectors
479 (sbcl-package->ecl-package sbcl-cl-vectors))
480
481 (define-public cl-vectors
482 (sbcl-package->cl-source-package sbcl-cl-vectors))
483
484 (define-public sbcl-spatial-trees
485 ;; There have been no releases.
486 (let ((commit "81fdad0a0bf109c80a53cc96eca2e093823400ba")
487 (revision "1"))
488 (package
489 (name "sbcl-spatial-trees")
490 (version (git-version "0" revision commit))
491 (source
492 (origin
493 (method git-fetch)
494 (uri (git-reference
495 (url "https://github.com/rpav/spatial-trees.git")
496 (commit commit)))
497 (file-name (git-file-name name version))
498 (sha256
499 (base32
500 "11rhc6h501dwcik2igkszz7b9n515cr99m5pjh4r2qfwgiri6ysa"))))
501 (build-system asdf-build-system/sbcl)
502 (arguments
503 '(#:tests? #f ; spatial-trees.test requires spatial-trees.nns
504 #:asd-file "spatial-trees.asd"
505 #:test-asd-file "spatial-trees.test.asd"))
506 (native-inputs
507 `(("fiveam" ,sbcl-fiveam)))
508 (home-page "https://github.com/rpav/spatial-trees")
509 (synopsis "Dynamic index data structures for spatially-extended data")
510 (description
511 "Spatial-trees is a set of dynamic index data structures for
512 spatially-extended data.")
513 (license license:bsd-3))))
514
515 (define-public ecl-spatial-trees
516 (sbcl-package->ecl-package sbcl-spatial-trees))
517
518 (define-public cl-spatial-trees
519 (sbcl-package->cl-source-package sbcl-spatial-trees))
520
521 (define-public sbcl-flexichain
522 ;; There are no releases.
523 (let ((commit "13d2a6c505ed0abfcd4c4ec7d7145059b06855d6")
524 (revision "1"))
525 (package
526 (name "sbcl-flexichain")
527 (version "1.5.1")
528 (source
529 (origin
530 (method git-fetch)
531 (uri (git-reference
532 (url "https://github.com/robert-strandh/Flexichain.git")
533 (commit commit)))
534 (file-name (git-file-name name version))
535 (sha256
536 (base32
537 "0pfyvhsfbjd2sjb30grfs52r51a428xglv7bwydvpg2lc117qimg"))))
538 (build-system asdf-build-system/sbcl)
539 (home-page "https://github.com/robert-strandh/Flexichain.git")
540 (synopsis "Dynamically add elements to or remove them from sequences")
541 (description
542 "This package provides an implementation of the flexichain protocol,
543 allowing client code to dynamically add elements to, and delete elements from
544 a sequence (or chain) of such elements.")
545 (license license:lgpl2.1+))))
546
547 (define-public ecl-flexichain
548 (sbcl-package->ecl-package sbcl-flexichain))
549
550 (define-public cl-flexichain
551 (sbcl-package->cl-source-package sbcl-flexichain))
552
553 (define-public sbcl-clx
554 (package
555 (name "sbcl-clx")
556 (version "0.7.5")
557 (source
558 (origin
559 (method git-fetch)
560 (uri
561 (git-reference
562 (url "https://github.com/sharplispers/clx.git")
563 (commit version)))
564 (sha256
565 (base32
566 "1vi67z9hpj5rr4xcmfbfwzmlcc0ah7hzhrmfid6lqdkva238v2wf"))
567 (file-name (string-append "clx-" version))))
568 (build-system asdf-build-system/sbcl)
569 (native-inputs
570 `(("fiasco" ,sbcl-fiasco)))
571 (home-page "http://www.cliki.net/portable-clx")
572 (synopsis "X11 client library for Common Lisp")
573 (description "CLX is an X11 client library for Common Lisp. The code was
574 originally taken from a CMUCL distribution, was modified somewhat in order to
575 make it compile and run under SBCL, then a selection of patches were added
576 from other CLXes around the net.")
577 (license license:x11)))
578
579 (define-public cl-clx
580 (sbcl-package->cl-source-package sbcl-clx))
581
582 (define-public ecl-clx
583 (sbcl-package->ecl-package sbcl-clx))
584
585 (define-public sbcl-cl-ppcre-unicode
586 (package (inherit sbcl-cl-ppcre)
587 (name "sbcl-cl-ppcre-unicode")
588 (arguments
589 `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
590 #:asd-file "cl-ppcre-unicode.asd"))
591 (inputs
592 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
593 ("sbcl-cl-unicode" ,sbcl-cl-unicode)))))
594
595 ;; The slynk that users expect to install includes all of slynk's contrib
596 ;; modules. Therefore, we build the base module and all contribs first; then
597 ;; we expose the union of these as `sbcl-slynk'. The following variable
598 ;; describes the base module.
599 (define sbcl-slynk-boot0
600 (let ((revision "2")
601 (commit "cbf84c36c4eca8b032e3fd16177a7bc02df3ec4c"))
602 (package
603 (name "sbcl-slynk-boot0")
604 (version (string-append "1.0.0-beta-" revision "." (string-take commit 7)))
605 (source
606 (origin
607 (method git-fetch)
608 (uri
609 (git-reference
610 (url "https://github.com/joaotavora/sly.git")
611 (commit commit)))
612 (sha256
613 (base32 "13dyhsravn591p7g6is01mp2ynzjnnj7pwgi57r6xqmd4611y9vh"))
614 (file-name (string-append "slynk-" version "-checkout"))
615 (modules '((guix build utils)
616 (ice-9 ftw)))
617 (snippet
618 '(begin
619 ;; Move the contribs into the main source directory for easier
620 ;; access
621 (substitute* "slynk/slynk.asd"
622 (("\\.\\./contrib")
623 "contrib")
624 (("\\(defsystem :slynk/util")
625 "(defsystem :slynk/util :depends-on (:slynk)")
626 ((":depends-on \\(:slynk :slynk/util\\)")
627 ":depends-on (:slynk :slynk-util)"))
628 (substitute* "contrib/slynk-trace-dialog.lisp"
629 (("\\(slynk::reset-inspector\\)") ; Causes problems on load
630 "nil"))
631 (substitute* "contrib/slynk-profiler.lisp"
632 (("slynk:to-line")
633 "slynk-pprint-to-line"))
634 (substitute* "contrib/slynk-fancy-inspector.lisp"
635 (("slynk/util") "slynk-util")
636 ((":compile-toplevel :load-toplevel") ""))
637 (rename-file "contrib" "slynk/contrib")
638 ;; Move slynk's contents into the base directory for easier
639 ;; access
640 (for-each (lambda (file)
641 (unless (string-prefix? "." file)
642 (rename-file (string-append "slynk/" file)
643 (string-append "./" (basename file)))))
644 (scandir "slynk"))
645 #t))))
646 (build-system asdf-build-system/sbcl)
647 (arguments
648 `(#:tests? #f ; No test suite
649 #:asd-system-name "slynk"))
650 (synopsis "Common Lisp IDE for Emacs")
651 (description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
652 It also features a completely redesigned REPL based on Emacs's own
653 full-featured comint.el, live code annotations, and a consistent interactive
654 button interface. Everything can be copied to the REPL. One can create
655 multiple inspectors with independent history.")
656 (home-page "https://github.com/joaotavora/sly")
657 (license license:public-domain)
658 (properties `((cl-source-variant . ,(delay cl-slynk)))))))
659
660 (define-public cl-slynk
661 (package
662 (inherit (sbcl-package->cl-source-package sbcl-slynk-boot0))
663 (name "cl-slynk")))
664
665 (define ecl-slynk-boot0
666 (sbcl-package->ecl-package sbcl-slynk-boot0))
667
668 (define sbcl-slynk-arglists
669 (package
670 (inherit sbcl-slynk-boot0)
671 (name "sbcl-slynk-arglists")
672 (inputs `(("slynk" ,sbcl-slynk-boot0)))
673 (arguments
674 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
675 ((#:asd-file _ "") "slynk.asd")
676 ((#:asd-system-name _ #f) "slynk/arglists")))))
677
678 (define ecl-slynk-arglists
679 (sbcl-package->ecl-package sbcl-slynk-arglists))
680
681 (define sbcl-slynk-util
682 (package
683 (inherit sbcl-slynk-boot0)
684 (name "sbcl-slynk-util")
685 (inputs `(("slynk" ,sbcl-slynk-boot0)))
686 (arguments
687 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
688 ((#:asd-file _ "") "slynk.asd")
689 ((#:asd-system-name _ #f) "slynk/util")))))
690
691 (define ecl-slynk-util
692 (sbcl-package->ecl-package sbcl-slynk-util))
693
694 (define sbcl-slynk-fancy-inspector
695 (package
696 (inherit sbcl-slynk-arglists)
697 (name "sbcl-slynk-fancy-inspector")
698 (inputs `(("slynk-util" ,sbcl-slynk-util)
699 ,@(package-inputs sbcl-slynk-arglists)))
700 (arguments
701 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
702 ((#:asd-system-name _ #f) "slynk/fancy-inspector")))))
703
704 (define ecl-slynk-fancy-inspector
705 (sbcl-package->ecl-package sbcl-slynk-fancy-inspector))
706
707 (define sbcl-slynk-package-fu
708 (package
709 (inherit sbcl-slynk-arglists)
710 (name "sbcl-slynk-package-fu")
711 (arguments
712 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
713 ((#:asd-system-name _ #f) "slynk/package-fu")))))
714
715 (define ecl-slynk-package-fu
716 (sbcl-package->ecl-package sbcl-slynk-package-fu))
717
718 (define sbcl-slynk-mrepl
719 (package
720 (inherit sbcl-slynk-fancy-inspector)
721 (name "sbcl-slynk-mrepl")
722 (arguments
723 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
724 ((#:asd-system-name _ #f) "slynk/mrepl")))))
725
726 (define ecl-slynk-mrepl
727 (sbcl-package->ecl-package sbcl-slynk-mrepl))
728
729 (define sbcl-slynk-trace-dialog
730 (package
731 (inherit sbcl-slynk-arglists)
732 (name "sbcl-slynk-trace-dialog")
733 (arguments
734 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
735 ((#:asd-system-name _ #f) "slynk/trace-dialog")))))
736
737 (define ecl-slynk-trace-dialog
738 (sbcl-package->ecl-package sbcl-slynk-trace-dialog))
739
740 (define sbcl-slynk-profiler
741 (package
742 (inherit sbcl-slynk-arglists)
743 (name "sbcl-slynk-profiler")
744 (arguments
745 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
746 ((#:asd-system-name _ #f) "slynk/profiler")))))
747
748 (define ecl-slynk-profiler
749 (sbcl-package->ecl-package sbcl-slynk-profiler))
750
751 (define sbcl-slynk-stickers
752 (package
753 (inherit sbcl-slynk-arglists)
754 (name "sbcl-slynk-stickers")
755 (arguments
756 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
757 ((#:asd-system-name _ #f) "slynk/stickers")))))
758
759 (define ecl-slynk-stickers
760 (sbcl-package->ecl-package sbcl-slynk-stickers))
761
762 (define sbcl-slynk-indentation
763 (package
764 (inherit sbcl-slynk-arglists)
765 (name "sbcl-slynk-indentation")
766 (arguments
767 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
768 ((#:asd-system-name _ #f) "slynk/indentation")))))
769
770 (define ecl-slynk-indentation
771 (sbcl-package->ecl-package sbcl-slynk-indentation))
772
773 (define sbcl-slynk-retro
774 (package
775 (inherit sbcl-slynk-arglists)
776 (name "sbcl-slynk-retro")
777 (arguments
778 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
779 ((#:asd-system-name _ #f) "slynk/retro")))))
780
781 (define ecl-slynk-retro
782 (sbcl-package->ecl-package sbcl-slynk-retro))
783
784 (define slynk-systems
785 '("slynk"
786 "slynk-util"
787 "slynk-arglists"
788 "slynk-fancy-inspector"
789 "slynk-package-fu"
790 "slynk-mrepl"
791 "slynk-profiler"
792 "slynk-trace-dialog"
793 "slynk-stickers"
794 "slynk-indentation"
795 "slynk-retro"))
796
797 (define-public sbcl-slynk
798 (package
799 (inherit sbcl-slynk-boot0)
800 (name "sbcl-slynk")
801 (inputs
802 `(("slynk" ,sbcl-slynk-boot0)
803 ("slynk-util" ,sbcl-slynk-util)
804 ("slynk-arglists" ,sbcl-slynk-arglists)
805 ("slynk-fancy-inspector" ,sbcl-slynk-fancy-inspector)
806 ("slynk-package-fu" ,sbcl-slynk-package-fu)
807 ("slynk-mrepl" ,sbcl-slynk-mrepl)
808 ("slynk-profiler" ,sbcl-slynk-profiler)
809 ("slynk-trace-dialog" ,sbcl-slynk-trace-dialog)
810 ("slynk-stickers" ,sbcl-slynk-stickers)
811 ("slynk-indentation" ,sbcl-slynk-indentation)
812 ("slynk-retro" ,sbcl-slynk-retro)))
813 (native-inputs `(("sbcl" ,sbcl)))
814 (build-system trivial-build-system)
815 (source #f)
816 (outputs '("out" "image"))
817 (arguments
818 `(#:modules ((guix build union)
819 (guix build utils)
820 (guix build lisp-utils))
821 #:builder
822 (begin
823 (use-modules (ice-9 match)
824 (srfi srfi-1)
825 (guix build union)
826 (guix build lisp-utils))
827
828 (union-build
829 (assoc-ref %outputs "out")
830 (filter-map
831 (match-lambda
832 ((name . path)
833 (if (string-prefix? "slynk" name) path #f)))
834 %build-inputs))
835
836 (prepend-to-source-registry
837 (string-append (assoc-ref %outputs "out") "//"))
838
839 (parameterize ((%lisp-type "sbcl")
840 (%lisp (string-append (assoc-ref %build-inputs "sbcl")
841 "/bin/sbcl")))
842 (build-image (string-append
843 (assoc-ref %outputs "image")
844 "/bin/slynk")
845 %outputs
846 #:dependencies ',slynk-systems))
847 #t)))))
848
849 (define-public ecl-slynk
850 (package
851 (inherit sbcl-slynk)
852 (name "ecl-slynk")
853 (inputs
854 (map (match-lambda
855 ((name pkg . _)
856 (list name (sbcl-package->ecl-package pkg))))
857 (package-inputs sbcl-slynk)))
858 (native-inputs '())
859 (outputs '("out"))
860 (arguments
861 '(#:modules ((guix build union))
862 #:builder
863 (begin
864 (use-modules (ice-9 match)
865 (guix build union))
866 (match %build-inputs
867 (((names . paths) ...)
868 (union-build (assoc-ref %outputs "out")
869 paths)
870 #t)))))))
871
872 (define-public sbcl-parse-js
873 (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
874 (revision "1"))
875 (package
876 (name "sbcl-parse-js")
877 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
878 (source
879 (origin
880 (method git-fetch)
881 (uri (git-reference
882 (url "http://marijn.haverbeke.nl/git/parse-js")
883 (commit commit)))
884 (file-name (string-append name "-" commit "-checkout"))
885 (sha256
886 (base32
887 "1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
888 (build-system asdf-build-system/sbcl)
889 (home-page "http://marijnhaverbeke.nl/parse-js/")
890 (synopsis "Parse JavaScript")
891 (description "Parse-js is a Common Lisp package for parsing
892 JavaScript (ECMAScript 3). It has basic support for ECMAScript 5.")
893 (license license:zlib))))
894
895 (define-public cl-parse-js
896 (sbcl-package->cl-source-package sbcl-parse-js))
897
898 (define-public sbcl-parse-number
899 (package
900 (name "sbcl-parse-number")
901 (version "1.7")
902 (source
903 (origin
904 (method git-fetch)
905 (uri (git-reference
906 (url "https://github.com/sharplispers/parse-number/")
907 (commit (string-append "v" version))))
908 (file-name (git-file-name name version))
909 (sha256
910 (base32
911 "0sk06ib1bhqv9y39vwnnw44vmbc4b0kvqm37xxmkxd4dwchq82d7"))))
912 (build-system asdf-build-system/sbcl)
913 (home-page "http://www.cliki.net/PARSE-NUMBER")
914 (synopsis "Parse numbers")
915 (description "@code{parse-number} is a library of functions for parsing
916 strings into one of the standard Common Lisp number types without using the
917 reader. @code{parse-number} accepts an arbitrary string and attempts to parse
918 the string into one of the standard Common Lisp number types, if possible, or
919 else @code{parse-number} signals an error of type @code{invalid-number}.")
920 (license license:bsd-3)))
921
922 (define-public cl-parse-number
923 (sbcl-package->cl-source-package sbcl-parse-number))
924
925 (define-public sbcl-iterate
926 (package
927 (name "sbcl-iterate")
928 ;; The latest official release (1.4.3) fails to build so we have to take
929 ;; the current darcs tarball from quicklisp.
930 (version "20160825")
931 (source
932 (origin
933 (method url-fetch)
934 (uri (string-append "http://beta.quicklisp.org/archive/iterate/"
935 "2016-08-25/iterate-"
936 version "-darcs.tgz"))
937 (sha256
938 (base32
939 "0kvz16gnxnkdz0fy1x8y5yr28nfm7i2qpvix7mgwccdpjmsb4pgm"))))
940 (build-system asdf-build-system/sbcl)
941 (native-inputs
942 `(("rt" ,sbcl-rt)))
943 (home-page "https://common-lisp.net/project/iterate/")
944 (synopsis "Iteration construct for Common Lisp")
945 (description "@code{iterate} is an iteration construct for Common Lisp.
946 It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
947
948 @itemize
949 @item it is extensible,
950 @item it helps editors like Emacs indent iterate forms by having a more
951 lisp-like syntax, and
952 @item it isn't part of the ANSI standard for Common Lisp.
953 @end itemize\n")
954 (license license:expat)))
955
956 (define-public cl-iterate
957 (sbcl-package->cl-source-package sbcl-iterate))
958
959 (define-public ecl-iterate
960 (sbcl-package->ecl-package sbcl-iterate))
961
962 (define-public sbcl-cl-uglify-js
963 ;; There have been many bug fixes since the 2010 release.
964 (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
965 (revision "1"))
966 (package
967 (name "sbcl-cl-uglify-js")
968 (version (string-append "0.1-" revision "." (string-take commit 9)))
969 (source
970 (origin
971 (method git-fetch)
972 (uri (git-reference
973 (url "https://github.com/mishoo/cl-uglify-js.git")
974 (commit commit)))
975 (file-name (git-file-name name version))
976 (sha256
977 (base32
978 "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
979 (build-system asdf-build-system/sbcl)
980 (inputs
981 `(("sbcl-parse-js" ,sbcl-parse-js)
982 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
983 ("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
984 ("sbcl-parse-number" ,sbcl-parse-number)
985 ("sbcl-iterate" ,sbcl-iterate)))
986 (home-page "https://github.com/mishoo/cl-uglify-js")
987 (synopsis "JavaScript compressor library for Common Lisp")
988 (description "This is a Common Lisp version of UglifyJS, a JavaScript
989 compressor. It works on data produced by @code{parse-js} to generate a
990 @dfn{minified} version of the code. Currently it can:
991
992 @itemize
993 @item reduce variable names (usually to single letters)
994 @item join consecutive @code{var} statements
995 @item resolve simple binary expressions
996 @item group most consecutive statements using the @code{sequence} operator (comma)
997 @item remove unnecessary blocks
998 @item convert @code{IF} expressions in various ways that result in smaller code
999 @item remove some unreachable code
1000 @end itemize\n")
1001 (license license:zlib))))
1002
1003 (define-public cl-uglify-js
1004 (sbcl-package->cl-source-package sbcl-cl-uglify-js))
1005
1006 (define-public uglify-js
1007 (package
1008 (inherit sbcl-cl-uglify-js)
1009 (name "uglify-js")
1010 (build-system trivial-build-system)
1011 (arguments
1012 `(#:modules ((guix build utils))
1013 #:builder
1014 (let* ((bin (string-append (assoc-ref %outputs "out") "/bin/"))
1015 (script (string-append bin "uglify-js")))
1016 (use-modules (guix build utils))
1017 (mkdir-p bin)
1018 (with-output-to-file script
1019 (lambda _
1020 (format #t "#!~a/bin/sbcl --script
1021 (require :asdf)
1022 (push (truename \"~a/lib/sbcl\") asdf:*central-registry*)"
1023 (assoc-ref %build-inputs "sbcl")
1024 (assoc-ref %build-inputs "sbcl-cl-uglify-js"))
1025 ;; FIXME: cannot use progn here because otherwise it fails to
1026 ;; find cl-uglify-js.
1027 (for-each
1028 write
1029 '(;; Quiet, please!
1030 (let ((*standard-output* (make-broadcast-stream))
1031 (*error-output* (make-broadcast-stream)))
1032 (asdf:load-system :cl-uglify-js))
1033 (let ((file (cadr *posix-argv*)))
1034 (if file
1035 (format t "~a"
1036 (cl-uglify-js:ast-gen-code
1037 (cl-uglify-js:ast-mangle
1038 (cl-uglify-js:ast-squeeze
1039 (with-open-file (in file)
1040 (parse-js:parse-js in))))
1041 :beautify nil))
1042 (progn
1043 (format *error-output*
1044 "Please provide a JavaScript file.~%")
1045 (sb-ext:exit :code 1))))))))
1046 (chmod script #o755)
1047 #t)))
1048 (inputs
1049 `(("sbcl" ,sbcl)
1050 ("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
1051 (synopsis "JavaScript compressor")))
1052
1053 (define-public sbcl-cl-strings
1054 (let ((revision "1")
1055 (commit "c5c5cbafbf3e6181d03c354d66e41a4f063f00ae"))
1056 (package
1057 (name "sbcl-cl-strings")
1058 (version (git-version "0.0.0" revision commit))
1059 (source
1060 (origin
1061 (method git-fetch)
1062 (uri (git-reference
1063 (url "https://github.com/diogoalexandrefranco/cl-strings")
1064 (commit commit)))
1065 (sha256
1066 (base32
1067 "00754mfaqallj480lwd346nkfb6ra8pa8xcxcylf4baqn604zlmv"))
1068 (file-name (string-append "cl-strings-" version "-checkout"))))
1069 (build-system asdf-build-system/sbcl)
1070 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
1071 (description
1072 "@command{cl-strings} is a small, portable, dependency-free set of
1073 utilities that make it even easier to manipulate text in Common Lisp. It has
1074 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
1075 (home-page "https://github.com/diogoalexandrefranco/cl-strings")
1076 (license license:expat))))
1077
1078 (define-public cl-strings
1079 (sbcl-package->cl-source-package sbcl-cl-strings))
1080
1081 (define-public ecl-cl-strings
1082 (sbcl-package->ecl-package sbcl-cl-strings))
1083
1084 (define-public sbcl-trivial-features
1085 (package
1086 (name "sbcl-trivial-features")
1087 (version "0.8")
1088 (source
1089 (origin
1090 (method git-fetch)
1091 (uri (git-reference
1092 (url "https://github.com/trivial-features/trivial-features.git")
1093 (commit (string-append "v" version))))
1094 (file-name (git-file-name "trivial-features" version))
1095 (sha256
1096 (base32 "0ccv7dqyrk55xga78i5vzlic7mdwp28in3g1a8fqhlk6626scsq9"))))
1097 (build-system asdf-build-system/sbcl)
1098 (arguments '(#:tests? #f))
1099 (home-page "http://cliki.net/trivial-features")
1100 (synopsis "Ensures consistency of @code{*FEATURES*} in Common Lisp")
1101 (description "Trivial-features ensures that @code{*FEATURES*} is
1102 consistent across multiple Common Lisp implementations.")
1103 (license license:expat)))
1104
1105 (define-public cl-trivial-features
1106 (sbcl-package->cl-source-package sbcl-trivial-features))
1107
1108 (define-public ecl-trivial-features
1109 (sbcl-package->ecl-package sbcl-trivial-features))
1110
1111 (define-public sbcl-hu.dwim.asdf
1112 (package
1113 (name "sbcl-hu.dwim.asdf")
1114 (version "20190521")
1115 (source
1116 (origin
1117 (method url-fetch)
1118 (uri (string-append "http://beta.quicklisp.org/archive/hu.dwim.asdf/"
1119 "2019-05-21/hu.dwim.asdf-" version "-darcs.tgz"))
1120 (sha256
1121 (base32
1122 "0rsbv71vyszy8w35yjwb5h6zcmknjq223hkzir79y72qdsc6sabn"))))
1123 (build-system asdf-build-system/sbcl)
1124 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.asdf")
1125 (synopsis "Extensions to ASDF")
1126 (description "Various ASDF extensions such as attached test and
1127 documentation system, explicit development support, etc.")
1128 (license license:public-domain)))
1129
1130 (define-public cl-hu.dwim.asdf
1131 (sbcl-package->cl-source-package sbcl-hu.dwim.asdf))
1132
1133 (define-public ecl-hu.dwim.asdf
1134 (sbcl-package->ecl-package sbcl-hu.dwim.asdf))
1135
1136 (define-public sbcl-hu.dwim.stefil
1137 (let ((commit "ab6d1aa8995878a1b66d745dfd0ba021090bbcf9"))
1138 (package
1139 (name "sbcl-hu.dwim.stefil")
1140 (version (git-version "0.0.0" "1" commit))
1141 (source
1142 (origin
1143 (method git-fetch)
1144 (uri
1145 (git-reference
1146 (url "https://gitlab.common-lisp.net/xcvb/hu.dwim.stefil.git")
1147 (commit commit)))
1148 (sha256
1149 (base32 "1d8yccw65zj3zh46cbi3x6nmn1dwdb76s9d0av035077mvyirqqp"))
1150 (file-name (git-file-name "hu.dwim.stefil" version))))
1151 (build-system asdf-build-system/sbcl)
1152 (native-inputs
1153 `(("asdf:cl-hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
1154 (inputs
1155 `(("sbcl-alexandria" ,sbcl-alexandria)))
1156 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.stefil")
1157 (synopsis "Simple test framework")
1158 (description "Stefil is a simple test framework for Common Lisp,
1159 with a focus on interactive development.")
1160 (license license:public-domain))))
1161
1162 (define-public cl-hu.dwim.stefil
1163 (sbcl-package->cl-source-package sbcl-hu.dwim.stefil))
1164
1165 (define-public ecl-hu.dwim.stefil
1166 (sbcl-package->ecl-package sbcl-hu.dwim.stefil))
1167
1168 (define-public sbcl-babel
1169 (package
1170 (name "sbcl-babel")
1171 (version "0.5.0")
1172 (source
1173 (origin
1174 (method git-fetch)
1175 (uri (git-reference
1176 (url "https://github.com/cl-babel/babel.git")
1177 (commit (string-append "v" version))))
1178 (file-name (git-file-name "babel" version))
1179 (sha256
1180 (base32 "139a8rn2gnhj082n8jg01gc8fyr63hkj57hgrnmb3d1r327yc77f"))))
1181 (build-system asdf-build-system/sbcl)
1182 (native-inputs
1183 `(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
1184 (inputs
1185 `(("sbcl-alexandria" ,sbcl-alexandria)
1186 ("sbcl-trivial-features" ,sbcl-trivial-features)))
1187 (home-page "https://common-lisp.net/project/babel/")
1188 (synopsis "Charset encoding and decoding library")
1189 (description "Babel is a charset encoding and decoding library, not unlike
1190 GNU libiconv, but completely written in Common Lisp.")
1191 (license license:expat)))
1192
1193 (define-public cl-babel
1194 (sbcl-package->cl-source-package sbcl-babel))
1195
1196 (define-public ecl-babel
1197 (sbcl-package->ecl-package sbcl-babel))
1198
1199 (define-public sbcl-cl-yacc
1200 (package
1201 (name "sbcl-cl-yacc")
1202 (version "0.3")
1203 (source
1204 (origin
1205 (method git-fetch)
1206 (uri (git-reference
1207 (url "https://github.com/jech/cl-yacc")
1208 (commit (string-append "cl-yacc-" version))))
1209 (sha256
1210 (base32
1211 "16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
1212 (file-name (string-append "cl-yacc-" version "-checkout"))))
1213 (build-system asdf-build-system/sbcl)
1214 (arguments
1215 `(#:asd-file "yacc.asd"
1216 #:asd-system-name "yacc"))
1217 (synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
1218 (description
1219 "CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
1220 to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
1221
1222 CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
1223 by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
1224 to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
1225 (home-page "https://www.irif.fr/~jch//software/cl-yacc/")
1226 (license license:expat)))
1227
1228 (define-public cl-yacc
1229 (sbcl-package->cl-source-package sbcl-cl-yacc))
1230
1231 (define-public ecl-cl-yacc
1232 (sbcl-package->ecl-package sbcl-cl-yacc))
1233
1234 (define-public sbcl-jpl-util
1235 (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
1236 (package
1237 (name "sbcl-jpl-util")
1238 (version "20151005")
1239 (source
1240 (origin
1241 (method git-fetch)
1242 (uri (git-reference
1243 ;; Quicklisp uses this fork.
1244 (url "https://github.com/hawkir/cl-jpl-util")
1245 (commit commit)))
1246 (file-name
1247 (git-file-name "jpl-util" version))
1248 (sha256
1249 (base32
1250 "0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
1251 (build-system asdf-build-system/sbcl)
1252 (synopsis "Collection of Common Lisp utility functions and macros")
1253 (description
1254 "@command{cl-jpl-util} is a collection of Common Lisp utility functions
1255 and macros, primarily for software projects written in CL by the author.")
1256 (home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
1257 (license license:isc))))
1258
1259 (define-public cl-jpl-util
1260 (sbcl-package->cl-source-package sbcl-jpl-util))
1261
1262 (define-public ecl-jpl-util
1263 (sbcl-package->ecl-package sbcl-jpl-util))
1264
1265 (define-public sbcl-jpl-queues
1266 (package
1267 (name "sbcl-jpl-queues")
1268 (version "0.1")
1269 (source
1270 (origin
1271 (method url-fetch)
1272 (uri (string-append
1273 "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
1274 version
1275 ".tar.gz"))
1276 (sha256
1277 (base32
1278 "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
1279 (build-system asdf-build-system/sbcl)
1280 (inputs
1281 `(("jpl-util" ,sbcl-jpl-util)
1282 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1283 (arguments
1284 ;; Tests seem to be broken.
1285 `(#:tests? #f))
1286 (synopsis "Common Lisp library implementing a few different kinds of queues")
1287 (description
1288 "A Common Lisp library implementing a few different kinds of queues:
1289
1290 @itemize
1291 @item Bounded and unbounded FIFO queues.
1292 @item Lossy bounded FIFO queues that drop elements when full.
1293 @item Unbounded random-order queues that use less memory than unbounded FIFO queues.
1294 @end itemize
1295
1296 Additionally, a synchronization wrapper is provided to make any queue
1297 conforming to the @command{jpl-queues} API thread-safe for lightweight
1298 multithreading applications. (See Calispel for a more sophisticated CL
1299 multithreaded message-passing library with timeouts and alternation among
1300 several blockable channels.)")
1301 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1302 (license license:isc)))
1303
1304 (define-public cl-jpl-queues
1305 (sbcl-package->cl-source-package sbcl-jpl-queues))
1306
1307 (define-public ecl-jpl-queues
1308 (sbcl-package->ecl-package sbcl-jpl-queues))
1309
1310 (define-public sbcl-eos
1311 (let ((commit "b0faca83781ead9a588661e37bd47f90362ccd94"))
1312 (package
1313 (name "sbcl-eos")
1314 (version (git-version "0.0.0" "1" commit))
1315 (source
1316 (origin
1317 (method git-fetch)
1318 (uri (git-reference
1319 (url "https://github.com/adlai/Eos")
1320 (commit commit)))
1321 (sha256
1322 (base32
1323 "1bq8cfg087iyxmxi1mwgx5cfgy3b8ydrf81xljcis8qbgb2vszph"))
1324 (file-name (git-file-name "eos" version))))
1325 (build-system asdf-build-system/sbcl)
1326 (synopsis "Unit Testing for Common Lisp")
1327 (description
1328 "Eos was a unit testing library for Common Lisp.
1329 It began as a fork of FiveAM; however, FiveAM development has continued, while
1330 that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
1331 (home-page "https://github.com/adlai/Eos")
1332 (license license:expat))))
1333
1334 (define-public cl-eos
1335 (sbcl-package->cl-source-package sbcl-eos))
1336
1337 (define-public ecl-eos
1338 (sbcl-package->ecl-package sbcl-eos))
1339
1340 (define-public sbcl-esrap
1341 (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
1342 (package
1343 (name "sbcl-esrap")
1344 (version (git-version "0.0.0" "1" commit))
1345 (source
1346 (origin
1347 (method git-fetch)
1348 (uri (git-reference
1349 (url "https://github.com/nikodemus/esrap")
1350 (commit commit)))
1351 (sha256
1352 (base32
1353 "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
1354 (file-name (git-file-name "esrap" version))))
1355 (build-system asdf-build-system/sbcl)
1356 (native-inputs
1357 `(("eos" ,sbcl-eos))) ;For testing only.
1358 (inputs
1359 `(("alexandria" ,sbcl-alexandria)))
1360 (synopsis "Common Lisp packrat parser")
1361 (description
1362 "A packrat parser for Common Lisp.
1363 In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
1364
1365 @itemize
1366 @item dynamic redefinition of nonterminals
1367 @item inline grammars
1368 @item semantic predicates
1369 @item introspective facilities (describing grammars, tracing, setting breaks)
1370 @end itemize\n")
1371 (home-page "https://nikodemus.github.io/esrap/")
1372 (license license:expat))))
1373
1374 (define-public cl-esrap
1375 (sbcl-package->cl-source-package sbcl-esrap))
1376
1377 (define-public ecl-esrap
1378 (sbcl-package->ecl-package sbcl-esrap))
1379
1380 (define-public sbcl-split-sequence
1381 (package
1382 (name "sbcl-split-sequence")
1383 (version "1.4.1")
1384 (source
1385 (origin
1386 (method git-fetch)
1387 (uri (git-reference
1388 (url "https://github.com/sharplispers/split-sequence")
1389 (commit (string-append "v" version))))
1390 (sha256
1391 (base32
1392 "0c3zp6b7fmmp93sfhq112ind4zkld49ycw68z409xpnz3gc0wpf0"))
1393 (file-name (git-file-name "split-sequence" version))))
1394 (build-system asdf-build-system/sbcl)
1395 (arguments
1396 ;; TODO: Tests seem to be broken.
1397 ;; https://github.com/sharplispers/split-sequence/issues/8
1398 `(#:tests? #f))
1399 (synopsis "Member of the Common Lisp Utilities family of programs")
1400 (description
1401 "Splits sequence into a list of subsequences delimited by objects
1402 satisfying the test.")
1403 (home-page "https://cliki.net/split-sequence")
1404 (license license:expat)))
1405
1406 (define-public cl-split-sequence
1407 (sbcl-package->cl-source-package sbcl-split-sequence))
1408
1409 (define-public ecl-split-sequence
1410 (sbcl-package->ecl-package sbcl-split-sequence))
1411
1412 (define-public sbcl-html-encode
1413 (package
1414 (name "sbcl-html-encode")
1415 (version "1.2")
1416 (source
1417 (origin
1418 (method url-fetch)
1419 (uri (string-append
1420 "http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
1421 version ".tgz"))
1422 (sha256
1423 (base32
1424 "06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
1425 (file-name (string-append "colorize" version "-checkout"))))
1426 (build-system asdf-build-system/sbcl)
1427 (synopsis "Common Lisp library for encoding text in various web-savvy encodings")
1428 (description
1429 "A library for encoding text in various web-savvy encodings.")
1430 (home-page "http://quickdocs.org/html-encode/")
1431 (license license:expat)))
1432
1433 (define-public cl-html-encode
1434 (sbcl-package->cl-source-package sbcl-html-encode))
1435
1436 (define-public ecl-html-encode
1437 (sbcl-package->ecl-package sbcl-html-encode))
1438
1439 (define-public sbcl-colorize
1440 (let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
1441 (package
1442 (name "sbcl-colorize")
1443 (version (git-version "0.0.0" "1" commit))
1444 (source
1445 (origin
1446 (method git-fetch)
1447 (uri (git-reference
1448 (url "https://github.com/kingcons/colorize")
1449 (commit commit)))
1450 (sha256
1451 (base32
1452 "1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
1453 (file-name (git-file-name "colorize" version))))
1454 (build-system asdf-build-system/sbcl)
1455 (inputs
1456 `(("alexandria" ,sbcl-alexandria)
1457 ("split-sequence" ,sbcl-split-sequence)
1458 ("html-encode" ,sbcl-html-encode)))
1459 (synopsis "Common Lisp for syntax highlighting")
1460 (description
1461 "@command{colorize} is a Lisp library for syntax highlighting
1462 supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1463 C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
1464 (home-page "https://github.com/kingcons/colorize")
1465 ;; TODO: Missing license?
1466 (license license:expat))))
1467
1468 (define-public cl-colorize
1469 (sbcl-package->cl-source-package sbcl-colorize))
1470
1471 (define-public ecl-colorize
1472 (sbcl-package->ecl-package sbcl-colorize))
1473
1474 (define-public sbcl-3bmd
1475 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1476 (package
1477 (name "sbcl-3bmd")
1478 (version (git-version "0.0.0" "1" commit))
1479 (source
1480 (origin
1481 (method git-fetch)
1482 (uri (git-reference
1483 (url "https://github.com/3b/3bmd")
1484 (commit commit)))
1485 (sha256
1486 (base32
1487 "1rgv3gi7wf963ikmmpk132wgn0icddf226gq3bmcnk1fr3v9gf2f"))
1488 (file-name (git-file-name "3bmd" version))))
1489 (build-system asdf-build-system/sbcl)
1490 (arguments
1491 ;; FIXME: We need to specify the name because the build-system thinks
1492 ;; "3" is a version marker.
1493 `(#:asd-system-name "3bmd"))
1494 (inputs
1495 `(("esrap" ,sbcl-esrap)
1496 ("split-sequence" ,sbcl-split-sequence)))
1497 (synopsis "Markdown processor in Command Lisp using esrap parser")
1498 (description
1499 "Common Lisp Markdown -> HTML converter, using @command{esrap} for
1500 parsing, and grammar based on @command{peg-markdown}.")
1501 (home-page "https://github.com/3b/3bmd")
1502 (license license:expat))))
1503
1504 (define-public cl-3bmd
1505 (sbcl-package->cl-source-package sbcl-3bmd))
1506
1507 (define-public ecl-3bmd
1508 (sbcl-package->ecl-package sbcl-3bmd))
1509
1510 (define-public sbcl-3bmd-ext-code-blocks
1511 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1512 (package
1513 (inherit sbcl-3bmd)
1514 (name "sbcl-3bmd-ext-code-blocks")
1515 (arguments
1516 `(#:asd-system-name "3bmd-ext-code-blocks"
1517 #:asd-file "3bmd-ext-code-blocks.asd"))
1518 (inputs
1519 `(("3bmd" ,sbcl-3bmd)
1520 ("colorize" ,sbcl-colorize)))
1521 (synopsis "3bmd extension which adds support for GitHub-style fenced
1522 code blocks")
1523 (description
1524 "3bmd extension which adds support for GitHub-style fenced code blocks,
1525 with @command{colorize} support."))))
1526
1527 (define-public cl-3bmd-ext-code-blocks
1528 (sbcl-package->cl-source-package sbcl-3bmd-ext-code-blocks))
1529
1530 (define-public ecl-3bmd-ext-code-blocks
1531 (sbcl-package->ecl-package sbcl-3bmd-ext-code-blocks))
1532
1533 (define-public sbcl-cl-fad
1534 (package
1535 (name "sbcl-cl-fad")
1536 (version "0.7.5")
1537 (source
1538 (origin
1539 (method git-fetch)
1540 (uri (git-reference
1541 (url "https://github.com/edicl/cl-fad/")
1542 (commit (string-append "v" version))))
1543 (sha256
1544 (base32
1545 "1l1qmk9z57q84bz5r04sxsksggsnd7dgkxlybzh9imz6ma7sm52m"))
1546 (file-name (string-append "cl-fad" version "-checkout"))))
1547 (build-system asdf-build-system/sbcl)
1548 (inputs
1549 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
1550 (synopsis "Portable pathname library for Common Lisp")
1551 (description
1552 "CL-FAD (for \"Files and Directories\") is a thin layer atop Common
1553 Lisp's standard pathname functions. It is intended to provide some
1554 unification between current CL implementations on Windows, OS X, Linux, and
1555 Unix. Most of the code was written by Peter Seibel for his book Practical
1556 Common Lisp.")
1557 (home-page "https://edicl.github.io/cl-fad/")
1558 (license license:bsd-2)))
1559
1560 (define-public cl-fad
1561 (sbcl-package->cl-source-package sbcl-cl-fad))
1562
1563 (define-public ecl-cl-fad
1564 (sbcl-package->ecl-package sbcl-cl-fad))
1565
1566 (define-public sbcl-rt
1567 (package
1568 (name "sbcl-rt")
1569 (version "1990.12.19")
1570 (source
1571 (origin
1572 (method url-fetch)
1573 (uri (string-append "http://beta.quicklisp.org/archive/rt/2010-10-06/rt-"
1574 "20101006-git" ".tgz"))
1575 (sha256
1576 (base32
1577 "1jncar0xwkqk8yrc2dln389ivvgzs7ijdhhs3zpfyi5d21f0qa1v"))))
1578 (build-system asdf-build-system/sbcl)
1579 (synopsis "MIT Regression Tester")
1580 (description
1581 "RT provides a framework for writing regression test suites.")
1582 (home-page "https://github.com/sharplispers/nibbles")
1583 (license license:unlicense)))
1584
1585 (define-public cl-rt
1586 (sbcl-package->cl-source-package sbcl-rt))
1587
1588 (define-public ecl-rt
1589 (sbcl-package->ecl-package sbcl-rt))
1590
1591 (define-public sbcl-nibbles
1592 (package
1593 (name "sbcl-nibbles")
1594 (version "0.14")
1595 (source
1596 (origin
1597 (method git-fetch)
1598 (uri (git-reference
1599 (url "https://github.com/sharplispers/nibbles/")
1600 (commit (string-append "v" version))))
1601 (sha256
1602 (base32
1603 "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
1604 (file-name (git-file-name "nibbles" version))))
1605 (build-system asdf-build-system/sbcl)
1606 (native-inputs
1607 ;; Tests only.
1608 `(("rt" ,sbcl-rt)))
1609 (synopsis "Common Lisp library for accessing octet-addressed blocks of data")
1610 (description
1611 "When dealing with network protocols and file formats, it's common to
1612 have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1613 flavors. Common Lisp sort of supports this by specifying :element-type for
1614 streams, but that facility is underspecified and there's nothing similar for
1615 read/write from octet vectors. What most people wind up doing is rolling their
1616 own small facility for their particular needs and calling it a day.
1617
1618 This library attempts to be comprehensive and centralize such
1619 facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1620 vectors in signed or unsigned flavors are provided; these functions are also
1621 SETFable. Since it's sometimes desirable to read/write directly from streams,
1622 functions for doing so are also provided. On some implementations,
1623 reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1624 also be supported.")
1625 (home-page "https://github.com/sharplispers/nibbles")
1626 (license license:bsd-3)))
1627
1628 (define-public cl-nibbles
1629 (sbcl-package->cl-source-package sbcl-nibbles))
1630
1631 (define-public ecl-nibbles
1632 (sbcl-package->ecl-package sbcl-nibbles))
1633
1634 (define-public sbcl-ironclad
1635 (package
1636 (name "sbcl-ironclad")
1637 (version "0.46")
1638 (source
1639 (origin
1640 (method git-fetch)
1641 (uri (git-reference
1642 (url "https://github.com/sharplispers/ironclad/")
1643 (commit (string-append "v" version))))
1644 (sha256
1645 (base32
1646 "1s391awi2lsl7m1dbjirgpkm4p9p8wd076pakgvsvpn1rrznisnd"))
1647 (file-name (git-file-name name version))))
1648 (build-system asdf-build-system/sbcl)
1649 (native-inputs
1650 ;; Tests only.
1651 `(("rt" ,sbcl-rt)))
1652 (inputs
1653 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
1654 ("flexi-streams" ,sbcl-flexi-streams)
1655 ("nibbles" ,sbcl-nibbles)))
1656 (synopsis "Cryptographic toolkit written in Common Lisp")
1657 (description
1658 "Ironclad is a cryptography library written entirely in Common Lisp.
1659 It includes support for several popular ciphers, digests, MACs and public key
1660 cryptography algorithms. For several implementations that support Gray
1661 streams, support is included for convenient stream wrappers.")
1662 (home-page "https://github.com/sharplispers/ironclad")
1663 (license license:bsd-3)))
1664
1665 (define-public cl-ironclad
1666 (sbcl-package->cl-source-package sbcl-ironclad))
1667
1668 (define-public ecl-ironclad
1669 (sbcl-package->ecl-package sbcl-ironclad))
1670
1671 (define-public sbcl-named-readtables
1672 (let ((commit "4dfb89fa1af6b305b6492b8af042f5190c11e9fc")
1673 (revision "1"))
1674 (package
1675 (name "sbcl-named-readtables")
1676 (version (string-append "0.9-" revision "." (string-take commit 7)))
1677 (source
1678 (origin
1679 (method git-fetch)
1680 (uri (git-reference
1681 (url "https://github.com/melisgl/named-readtables.git")
1682 (commit commit)))
1683 (sha256
1684 (base32 "083kgh5462iqbb4px6kq8s7sggvpvkm36hx4qi9rnaw53b6ilqkk"))
1685 (file-name (git-file-name "named-readtables" version))))
1686 (build-system asdf-build-system/sbcl)
1687 (arguments
1688 ;; Tests seem to be broken.
1689 `(#:tests? #f))
1690 (home-page "https://github.com/melisgl/named-readtables/")
1691 (synopsis "Library that creates a namespace for named readtables")
1692 (description "Named readtables is a library that creates a namespace for
1693 named readtables, which is akin to package namespacing in Common Lisp.")
1694 (license license:bsd-3))))
1695
1696 (define-public cl-named-readtables
1697 (sbcl-package->cl-source-package sbcl-named-readtables))
1698
1699 (define-public ecl-named-readtables
1700 (sbcl-package->ecl-package sbcl-named-readtables))
1701
1702 (define-public sbcl-pythonic-string-reader
1703 (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
1704 (package
1705 (name "sbcl-pythonic-string-reader")
1706 (version (git-version "0.0.0" "1" commit))
1707 (source
1708 (origin
1709 (method git-fetch)
1710 (uri (git-reference
1711 (url "https://github.com/smithzvk/pythonic-string-reader/")
1712 (commit commit)))
1713 (sha256
1714 (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
1715 (file-name (git-file-name "pythonic-string-reader" version))))
1716 (build-system asdf-build-system/sbcl)
1717 (inputs
1718 `(("named-readtables" ,sbcl-named-readtables)))
1719 (home-page "https://github.com/smithzvk/pythonic-string-reader")
1720 (synopsis "Read table modification inspired by Python's three quote strings")
1721 (description "This piece of code sets up some reader macros that make it
1722 simpler to input string literals which contain backslashes and double quotes
1723 This is very useful for writing complicated docstrings and, as it turns out,
1724 writing code that contains string literals that contain code themselves.")
1725 (license license:bsd-3))))
1726
1727 (define-public cl-pythonic-string-reader
1728 (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
1729
1730 (define-public ecl-pythonic-string-reader
1731 (sbcl-package->ecl-package sbcl-pythonic-string-reader))
1732
1733 ;; SLIME does not have a ASDF system definition to build all of Swank. As a
1734 ;; result, the asdf-build-system/sbcl will produce an almost empty package.
1735 ;; Some work was done to fix this at
1736 ;; https://github.com/sionescu/slime/tree/swank-asdf but it was never merged
1737 ;; and is now lagging behind. Building SBCL fasls might not be worth the
1738 ;; hassle, so let's just ship the source then.
1739 (define-public cl-slime-swank
1740 (package
1741 (name "cl-slime-swank")
1742 (version "2.24")
1743 (source
1744 (origin
1745 (file-name (string-append name "-" version ".tar.gz"))
1746 (method git-fetch)
1747 (uri (git-reference
1748 (url "https://github.com/slime/slime/")
1749 (commit (string-append "v" version))))
1750 (sha256
1751 (base32
1752 "0js24x42m7b5iymb4rxz501dff19vav5pywnzv50b673rbkaaqvh"))))
1753 (build-system asdf-build-system/source)
1754 (home-page "https://github.com/slime/slime")
1755 (synopsis "Common Lisp Swank server")
1756 (description
1757 "This is only useful if you want to start a Swank server in a Lisp
1758 processes that doesn't run under Emacs. Lisp processes created by
1759 @command{M-x slime} automatically start the server.")
1760 (license (list license:gpl2+ license:public-domain))))
1761
1762 (define-public sbcl-slime-swank
1763 (deprecated-package "sbcl-slime-swank" cl-slime-swank))
1764
1765 (define-public sbcl-mgl-pax
1766 (let ((commit "818448418d6b9de74620f606f5b23033c6082769"))
1767 (package
1768 (name "sbcl-mgl-pax")
1769 (version (git-version "0.0.0" "1" commit))
1770 (source
1771 (origin
1772 (method git-fetch)
1773 (uri (git-reference
1774 (url "https://github.com/melisgl/mgl-pax")
1775 (commit commit)))
1776 (sha256
1777 (base32
1778 "1p97zfkh130bdxqqxwaw2j9psv58751wakx7czbfpq410lg7dd7i"))
1779 (file-name (git-file-name "mgl-pax" version))))
1780 (build-system asdf-build-system/sbcl)
1781 (inputs
1782 `(("3bmd" ,sbcl-3bmd)
1783 ("3bmd-ext-code-blocks" ,sbcl-3bmd-ext-code-blocks)
1784 ("babel" ,sbcl-babel)
1785 ("cl-fad" ,sbcl-cl-fad)
1786 ("ironclad" ,sbcl-ironclad)
1787 ("named-readtables" ,sbcl-named-readtables)
1788 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)
1789 ("swank" ,cl-slime-swank)))
1790 (synopsis "Exploratory programming environment and documentation generator")
1791 (description
1792 "PAX provides an extremely poor man's Explorable Programming
1793 environment. Narrative primarily lives in so called sections that mix markdown
1794 docstrings with references to functions, variables, etc, all of which should
1795 probably have their own docstrings.
1796
1797 The primary focus is on making code easily explorable by using SLIME's
1798 @command{M-.} (@command{slime-edit-definition}). See how to enable some
1799 fanciness in Emacs Integration. Generating documentation from sections and all
1800 the referenced items in Markdown or HTML format is also implemented.
1801
1802 With the simplistic tools provided, one may accomplish similar effects as with
1803 Literate Programming, but documentation is generated from code, not vice versa
1804 and there is no support for chunking yet. Code is first, code must look
1805 pretty, documentation is code.")
1806 (home-page "http://quotenil.com/")
1807 (license license:expat))))
1808
1809 (define-public cl-mgl-pax
1810 (sbcl-package->cl-source-package sbcl-mgl-pax))
1811
1812 (define-public ecl-mgl-pax
1813 (sbcl-package->ecl-package sbcl-mgl-pax))
1814
1815 (define-public sbcl-lisp-unit
1816 (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
1817 (package
1818 (name "sbcl-lisp-unit")
1819 (version (git-version "0.0.0" "1" commit))
1820 (source
1821 (origin
1822 (method git-fetch)
1823 (uri (git-reference
1824 (url "https://github.com/OdonataResearchLLC/lisp-unit")
1825 (commit commit)))
1826 (sha256
1827 (base32
1828 "0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
1829 (file-name (git-file-name "lisp-unit" version))))
1830 (build-system asdf-build-system/sbcl)
1831 (synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
1832 (description
1833 "@command{lisp-unit} is a Common Lisp library that supports unit
1834 testing. It is an extension of the library written by Chris Riesbeck.")
1835 (home-page "https://github.com/OdonataResearchLLC/lisp-unit")
1836 (license license:expat))))
1837
1838 (define-public cl-lisp-unit
1839 (sbcl-package->cl-source-package sbcl-lisp-unit))
1840
1841 (define-public ecl-lisp-unit
1842 (sbcl-package->ecl-package sbcl-lisp-unit))
1843
1844 (define-public sbcl-anaphora
1845 (package
1846 (name "sbcl-anaphora")
1847 (version "0.9.6")
1848 (source
1849 (origin
1850 (method git-fetch)
1851 (uri (git-reference
1852 (url "https://github.com/tokenrove/anaphora")
1853 (commit version)))
1854 (sha256
1855 (base32
1856 "19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
1857 (file-name (git-file-name "anaphora" version))))
1858 (build-system asdf-build-system/sbcl)
1859 (native-inputs
1860 `(("rt" ,sbcl-rt)))
1861 (synopsis "The anaphoric macro collection from Hell")
1862 (description
1863 "Anaphora is the anaphoric macro collection from Hell: it includes many
1864 new fiends in addition to old friends like @command{aif} and
1865 @command{awhen}.")
1866 (home-page "https://github.com/tokenrove/anaphora")
1867 (license license:public-domain)))
1868
1869 (define-public cl-anaphora
1870 (sbcl-package->cl-source-package sbcl-anaphora))
1871
1872 (define-public ecl-anaphora
1873 (sbcl-package->ecl-package sbcl-anaphora))
1874
1875 (define-public sbcl-lift
1876 (let ((commit "7d49a66c62759535624037826891152223d4206c"))
1877 (package
1878 (name "sbcl-lift")
1879 (version (git-version "1.7.1" "1" commit))
1880 (source
1881 (origin
1882 (method git-fetch)
1883 (uri (git-reference
1884 (url "https://github.com/gwkkwg/lift")
1885 (commit commit)))
1886 (sha256
1887 (base32
1888 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp"))
1889 (file-name (git-file-name "lift" version))
1890 (modules '((guix build utils)))
1891 (snippet
1892 ;; Don't keep the bundled website
1893 `(begin
1894 (delete-file-recursively "website")
1895 #t))))
1896 (build-system asdf-build-system/sbcl)
1897 (arguments
1898 ;; The tests require a debugger, but we run with the debugger disabled.
1899 '(#:tests? #f))
1900 (synopsis "LIsp Framework for Testing")
1901 (description
1902 "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
1903 Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1904 testcases are organized into hierarchical testsuites each of which can have
1905 its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1906 supports randomized testing, benchmarking, profiling, and reporting.")
1907 (home-page "https://github.com/gwkkwg/lift")
1908 (license license:expat))))
1909
1910 (define-public cl-lift
1911 (sbcl-package->cl-source-package sbcl-lift))
1912
1913 (define-public ecl-lift
1914 (sbcl-package->ecl-package sbcl-lift))
1915
1916 (define-public sbcl-let-plus
1917 (let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
1918 (package
1919 (name "sbcl-let-plus")
1920 (version (git-version "0.0.0" "1" commit))
1921 (source
1922 (origin
1923 (method git-fetch)
1924 (uri (git-reference
1925 (url "https://github.com/sharplispers/let-plus")
1926 (commit commit)))
1927 (sha256
1928 (base32
1929 "0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
1930 (file-name (git-file-name "let-plus" version))))
1931 (build-system asdf-build-system/sbcl)
1932 (inputs
1933 `(("alexandria" ,sbcl-alexandria)
1934 ("anaphora" ,sbcl-anaphora)))
1935 (native-inputs
1936 `(("lift" ,sbcl-lift)))
1937 (synopsis "Destructuring extension of let*")
1938 (description
1939 "This library implements the let+ macro, which is a dectructuring
1940 extension of let*. It features:
1941
1942 @itemize
1943 @item Clean, consistent syntax and small implementation (less than 300 LOC,
1944 not counting tests)
1945 @item Placeholder macros allow editor hints and syntax highlighting
1946 @item @command{&ign} for ignored values (in forms where that makes sense)
1947 @item Very easy to extend
1948 @end itemize\n")
1949 (home-page "https://github.com/sharplispers/let-plus")
1950 (license license:boost1.0))))
1951
1952 (define-public cl-let-plus
1953 (sbcl-package->cl-source-package sbcl-let-plus))
1954
1955 (define-public ecl-let-plus
1956 (sbcl-package->ecl-package sbcl-let-plus))
1957
1958 (define-public sbcl-cl-colors
1959 (let ((commit "827410584553f5c717eec6182343b7605f707f75"))
1960 (package
1961 (name "sbcl-cl-colors")
1962 (version (git-version "0.0.0" "1" commit))
1963 (source
1964 (origin
1965 (method git-fetch)
1966 (uri (git-reference
1967 (url "https://github.com/tpapp/cl-colors")
1968 (commit commit)))
1969 (sha256
1970 (base32
1971 "0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
1972 (file-name (git-file-name "cl-colors" version))))
1973 (build-system asdf-build-system/sbcl)
1974 (inputs
1975 `(("alexandria" ,sbcl-alexandria)
1976 ("let-plus" ,sbcl-let-plus)))
1977 (synopsis "Simple color library for Common Lisp")
1978 (description
1979 "This is a very simple color library for Common Lisp, providing
1980
1981 @itemize
1982 @item Types for representing colors in HSV and RGB spaces.
1983 @item Simple conversion functions between the above types (and also
1984 hexadecimal representation for RGB).
1985 @item Some predefined colors (currently X11 color names – of course the
1986 library does not depend on X11).Because color in your terminal is nice.
1987 @end itemize
1988
1989 This library is no longer supported by its author.")
1990 (home-page "https://github.com/tpapp/cl-colors")
1991 (license license:boost1.0))))
1992
1993 (define-public cl-colors
1994 (sbcl-package->cl-source-package sbcl-cl-colors))
1995
1996 (define-public ecl-cl-colors
1997 (sbcl-package->ecl-package sbcl-cl-colors))
1998
1999 (define-public sbcl-cl-ansi-text
2000 (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
2001 (package
2002 (name "sbcl-cl-ansi-text")
2003 (version (git-version "1.0.0" "1" commit))
2004 (source
2005 (origin
2006 (method git-fetch)
2007 (uri (git-reference
2008 (url "https://github.com/pnathan/cl-ansi-text")
2009 (commit commit)))
2010 (sha256
2011 (base32
2012 "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
2013 (file-name (git-file-name "cl-ansi-text" version))))
2014 (build-system asdf-build-system/sbcl)
2015 (inputs
2016 `(("alexandria" ,sbcl-alexandria)
2017 ("cl-colors" ,sbcl-cl-colors)))
2018 (native-inputs
2019 `(("fiveam" ,sbcl-fiveam)))
2020 (synopsis "ANSI terminal color implementation for Common Lisp")
2021 (description
2022 "@command{cl-ansi-text} provides utilities which enable printing to an
2023 ANSI terminal with colored text. It provides the macro @command{with-color}
2024 which causes everything printed in the body to be displayed with the provided
2025 color. It further provides functions which will print the argument with the
2026 named color.")
2027 (home-page "https://github.com/pnathan/cl-ansi-text")
2028 (license license:llgpl))))
2029
2030 (define-public cl-ansi-text
2031 (sbcl-package->cl-source-package sbcl-cl-ansi-text))
2032
2033 (define-public ecl-cl-ansi-text
2034 (sbcl-package->ecl-package sbcl-cl-ansi-text))
2035
2036 (define-public sbcl-prove-asdf
2037 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
2038 (package
2039 (name "sbcl-prove-asdf")
2040 (version (git-version "1.0.0" "1" commit))
2041 (source
2042 (origin
2043 (method git-fetch)
2044 (uri (git-reference
2045 (url "https://github.com/fukamachi/prove")
2046 (commit commit)))
2047 (sha256
2048 (base32
2049 "07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
2050 (file-name (git-file-name "prove" version))))
2051 (build-system asdf-build-system/sbcl)
2052 (arguments
2053 `(#:asd-file "prove-asdf.asd"))
2054 (synopsis "Test requirement for the Common Lisp 'prove' library")
2055 (description
2056 "Test requirement for the Common Lisp @command{prove} library.")
2057 (home-page "https://github.com/fukamachi/prove")
2058 (license license:expat))))
2059
2060 (define-public cl-prove-asdf
2061 (sbcl-package->cl-source-package sbcl-prove-asdf))
2062
2063 (define-public ecl-prove-asdf
2064 (sbcl-package->ecl-package sbcl-prove-asdf))
2065
2066 (define-public sbcl-prove
2067 (package
2068 (inherit sbcl-prove-asdf)
2069 (name "sbcl-prove")
2070 (inputs
2071 `(("alexandria" ,sbcl-alexandria)
2072 ("cl-ppcre" ,sbcl-cl-ppcre)
2073 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
2074 (native-inputs
2075 `(("prove-asdf" ,sbcl-prove-asdf)))
2076 (arguments
2077 `(#:asd-file "prove.asd"))
2078 (synopsis "Yet another unit testing framework for Common Lisp")
2079 (description
2080 "This project was originally called @command{cl-test-more}.
2081 @command{prove} is yet another unit testing framework for Common Lisp. The
2082 advantages of @command{prove} are:
2083
2084 @itemize
2085 @item Various simple functions for testing and informative error messages
2086 @item ASDF integration
2087 @item Extensible test reporters
2088 @item Colorizes the report if it's available (note for SLIME)
2089 @item Reports test durations
2090 @end itemize\n")))
2091
2092 (define-public cl-prove
2093 (sbcl-package->cl-source-package sbcl-prove))
2094
2095 (define-public ecl-prove
2096 (sbcl-package->ecl-package sbcl-prove))
2097
2098 (define-public sbcl-proc-parse
2099 (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
2100 (package
2101 (name "sbcl-proc-parse")
2102 (version (git-version "0.0.0" "1" commit))
2103 (source
2104 (origin
2105 (method git-fetch)
2106 (uri (git-reference
2107 (url "https://github.com/fukamachi/proc-parse")
2108 (commit commit)))
2109 (sha256
2110 (base32
2111 "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
2112 (file-name (git-file-name "proc-parse" version))))
2113 (build-system asdf-build-system/sbcl)
2114 (inputs
2115 `(("alexandria" ,sbcl-alexandria)
2116 ("babel" ,sbcl-babel)))
2117 (native-inputs
2118 `(("prove" ,sbcl-prove)
2119 ("prove-asdf" ,sbcl-prove-asdf)))
2120 (arguments
2121 ;; TODO: Tests don't find "proc-parse-test", why?
2122 `(#:tests? #f))
2123 (synopsis "Procedural vector parser")
2124 (description
2125 "This is a string/octets parser library for Common Lisp with speed and
2126 readability in mind. Unlike other libraries, the code is not a
2127 pattern-matching-like, but a char-by-char procedural parser.")
2128 (home-page "https://github.com/fukamachi/proc-parse")
2129 (license license:bsd-2))))
2130
2131 (define-public cl-proc-parse
2132 (sbcl-package->cl-source-package sbcl-proc-parse))
2133
2134 (define-public ecl-proc-parse
2135 (sbcl-package->ecl-package sbcl-proc-parse))
2136
2137 (define-public sbcl-parse-float
2138 (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
2139 (package
2140 (name "sbcl-parse-float")
2141 (version (git-version "0.0.0" "1" commit))
2142 (source
2143 (origin
2144 (method git-fetch)
2145 (uri (git-reference
2146 (url "https://github.com/soemraws/parse-float")
2147 (commit commit)))
2148 (sha256
2149 (base32
2150 "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
2151 (file-name (git-file-name "proc-parse" version))))
2152 (build-system asdf-build-system/sbcl)
2153 (inputs
2154 `(("alexandria" ,sbcl-alexandria)
2155 ("babel" ,sbcl-babel)))
2156 (native-inputs
2157 `(("prove" ,sbcl-prove)
2158 ("prove-asdf" ,sbcl-prove-asdf)))
2159 (arguments
2160 ;; TODO: Tests don't find "proc-parse-test", why?
2161 `(#:tests? #f))
2162 (synopsis "Parse a floating point value from a string in Common Lisp")
2163 (description
2164 "This package exports the following function to parse floating-point
2165 values from a string in Common Lisp.")
2166 (home-page "https://github.com/soemraws/parse-float")
2167 (license license:public-domain))))
2168
2169 (define-public cl-parse-float
2170 (sbcl-package->cl-source-package sbcl-parse-float))
2171
2172 (define-public ecl-parse-float
2173 (sbcl-package->ecl-package sbcl-parse-float))
2174
2175 (define-public sbcl-ascii-strings
2176 (let ((revision "1")
2177 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
2178 (package
2179 (name "sbcl-ascii-strings")
2180 (version (string-append "0-" revision "." (string-take changeset 7)))
2181 (source
2182 (origin
2183 (method hg-fetch)
2184 (uri (hg-reference
2185 (url "https://bitbucket.org/vityok/cl-string-match/")
2186 (changeset changeset)))
2187 (sha256
2188 (base32
2189 "01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
2190 (file-name (git-file-name "cl-string-match" version))))
2191 (build-system asdf-build-system/sbcl)
2192 (inputs
2193 `(("alexandria" ,sbcl-alexandria)
2194 ("babel" ,sbcl-babel)))
2195 (arguments
2196 `(#:asd-file "ascii-strings.asd"))
2197 (synopsis "Operations on ASCII strings")
2198 (description
2199 "Operations on ASCII strings. Essentially this can be any kind of
2200 single-byte encoded strings.")
2201 (home-page "https://bitbucket.org/vityok/cl-string-match/")
2202 (license license:bsd-3))))
2203
2204 (define-public cl-ascii-strings
2205 (sbcl-package->cl-source-package sbcl-ascii-strings))
2206
2207 (define-public ecl-ascii-strings
2208 (sbcl-package->ecl-package sbcl-ascii-strings))
2209
2210 (define-public sbcl-simple-scanf
2211 (package
2212 (inherit sbcl-ascii-strings)
2213 (name "sbcl-simple-scanf")
2214 (inputs
2215 `(("alexandria" ,sbcl-alexandria)
2216 ("iterate" ,sbcl-iterate)
2217 ("proc-parse" ,sbcl-proc-parse)
2218 ("parse-float" ,sbcl-parse-float)))
2219 (arguments
2220 `(#:asd-file "simple-scanf.asd"))
2221 (synopsis "Simple scanf-like functionality implementation")
2222 (description
2223 "A simple scanf-like functionality implementation.")))
2224
2225 (define-public cl-simple-scanf
2226 (sbcl-package->cl-source-package sbcl-simple-scanf))
2227
2228 (define-public ecl-simple-scanf
2229 (sbcl-package->ecl-package sbcl-simple-scanf))
2230
2231 (define-public sbcl-cl-string-match
2232 (package
2233 (inherit sbcl-ascii-strings)
2234 (name "sbcl-cl-string-match")
2235 (inputs
2236 `(("alexandria" ,sbcl-alexandria)
2237 ("ascii-strings" ,sbcl-ascii-strings)
2238 ("yacc" ,sbcl-cl-yacc)
2239 ("jpl-util" ,sbcl-jpl-util)
2240 ("jpl-queues" ,sbcl-jpl-queues)
2241 ("mgl-pax" ,sbcl-mgl-pax)
2242 ("iterate" ,sbcl-iterate)))
2243 ;; TODO: Tests are not evaluated properly.
2244 (native-inputs
2245 ;; For testing:
2246 `(("lisp-unit" ,sbcl-lisp-unit)
2247 ("simple-scanf" ,sbcl-simple-scanf)))
2248 (arguments
2249 `(#:tests? #f
2250 #:asd-file "cl-string-match.asd"))
2251 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
2252 (description
2253 "@command{cl-strings} is a small, portable, dependency-free set of
2254 utilities that make it even easier to manipulate text in Common Lisp. It has
2255 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")))
2256
2257 (define-public cl-string-match
2258 (sbcl-package->cl-source-package sbcl-cl-string-match))
2259
2260 (define-public ecl-cl-string-match
2261 (sbcl-package->ecl-package sbcl-cl-string-match))
2262
2263 (define-public sbcl-ptester
2264 (package
2265 (name "sbcl-ptester")
2266 (version "20160929")
2267 (source
2268 (origin
2269 (method url-fetch)
2270 (uri (string-append "http://beta.quicklisp.org/archive/ptester/"
2271 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
2272 "/ptester-"
2273 version
2274 "-git.tgz"))
2275 (sha256
2276 (base32
2277 "04rlq1zljhxc65pm31bah3sq3as24l0sdivz440s79qlnnyh13hz"))))
2278 (build-system asdf-build-system/sbcl)
2279 (home-page "http://quickdocs.org/ptester/")
2280 (synopsis "Portable test harness package")
2281 (description
2282 "@command{ptester} is a portable testing framework based on Franz's
2283 tester module.")
2284 (license license:lgpl3+)))
2285
2286 (define-public cl-ptester
2287 (sbcl-package->cl-source-package sbcl-ptester))
2288
2289 (define-public ecl-ptester
2290 (sbcl-package->ecl-package sbcl-ptester))
2291
2292 (define-public sbcl-puri
2293 (package
2294 (name "sbcl-puri")
2295 (version "20180228")
2296 (source
2297 (origin
2298 (method url-fetch)
2299 (uri (string-append "http://beta.quicklisp.org/archive/puri/"
2300 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
2301 "/puri-"
2302 version
2303 "-git.tgz"))
2304 (sha256
2305 (base32
2306 "1s4r5adrjy5asry45xbcbklxhdjydvf6n55z897nvyw33bigrnbz"))))
2307 (build-system asdf-build-system/sbcl)
2308 ;; REVIEW: Webiste down?
2309 (native-inputs
2310 `(("ptester" ,sbcl-ptester)))
2311 (home-page "http://files.kpe.io/puri/")
2312 (synopsis "Portable URI Library")
2313 (description
2314 "This is portable Universal Resource Identifier library for Common Lisp
2315 programs. It parses URI according to the RFC 2396 specification")
2316 (license license:lgpl3+)))
2317
2318 (define-public cl-puri
2319 (sbcl-package->cl-source-package sbcl-puri))
2320
2321 (define-public ecl-puri
2322 (sbcl-package->ecl-package sbcl-puri))
2323
2324 (define-public sbcl-queues
2325 (let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
2326 (package
2327 (name "sbcl-queues")
2328 (version (git-version "0.0.0" "1" commit))
2329 (source
2330 (origin
2331 (method git-fetch)
2332 (uri (git-reference
2333 (url "https://github.com/oconnore/queues")
2334 (commit commit)))
2335 (file-name (git-file-name "queues" version))
2336 (sha256
2337 (base32
2338 "0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
2339 (build-system asdf-build-system/sbcl)
2340 (home-page "https://github.com/oconnore/queues")
2341 (synopsis "Common Lisp queue library")
2342 (description
2343 "This is a simple queue library for Common Lisp with features such as
2344 non-consing thread safe queues and fibonacci priority queues.")
2345 (license license:expat))))
2346
2347 (define-public cl-queues
2348 (sbcl-package->cl-source-package sbcl-queues))
2349
2350 (define-public ecl-queues
2351 (sbcl-package->ecl-package sbcl-queues))
2352
2353 (define-public sbcl-queues.simple-queue
2354 (package
2355 (inherit sbcl-queues)
2356 (name "sbcl-queues.simple-queue")
2357 (inputs
2358 `(("sbcl-queues" ,sbcl-queues)))
2359 (arguments
2360 `(#:asd-file "queues.simple-queue.asd"))
2361 (synopsis "Simple queue implementation")
2362 (description
2363 "This is a simple queue library for Common Lisp with features such as
2364 non-consing thread safe queues and fibonacci priority queues.")
2365 (license license:expat)))
2366
2367 (define-public cl-queues.simple-queue
2368 (sbcl-package->cl-source-package sbcl-queues.simple-queue))
2369
2370 (define-public ecl-queues.simple-queue
2371 (sbcl-package->ecl-package sbcl-queues.simple-queue))
2372
2373 (define-public sbcl-queues.simple-cqueue
2374 (package
2375 (inherit sbcl-queues)
2376 (name "sbcl-queues.simple-cqueue")
2377 (inputs
2378 `(("sbcl-queues" ,sbcl-queues)
2379 ("sbcl-queues.simple-queue" ,sbcl-queues.simple-queue)
2380 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2381 (arguments
2382 `(#:asd-file "queues.simple-cqueue.asd"))
2383 (synopsis "Thread safe queue implementation")
2384 (description
2385 "This is a simple queue library for Common Lisp with features such as
2386 non-consing thread safe queues and fibonacci priority queues.")
2387 (license license:expat)))
2388
2389 (define-public cl-queues.simple-cqueue
2390 (sbcl-package->cl-source-package sbcl-queues.simple-cqueue))
2391
2392 (define-public ecl-queues.simple-cqueue
2393 (sbcl-package->ecl-package sbcl-queues.simple-cqueue))
2394
2395 (define-public sbcl-queues.priority-queue
2396 (package
2397 (inherit sbcl-queues)
2398 (name "sbcl-queues.priority-queue")
2399 (inputs
2400 `(("sbcl-queues" ,sbcl-queues)))
2401 (arguments
2402 `(#:asd-file "queues.priority-queue.asd"))
2403 (synopsis "Priority queue (Fibonacci) implementation")
2404 (description
2405 "This is a simple queue library for Common Lisp with features such as
2406 non-consing thread safe queues and fibonacci priority queues.")
2407 (license license:expat)))
2408
2409 (define-public cl-queues.priority-queue
2410 (sbcl-package->cl-source-package sbcl-queues.priority-queue))
2411
2412 (define-public ecl-queues.priority-queue
2413 (sbcl-package->ecl-package sbcl-queues.priority-queue))
2414
2415 (define-public sbcl-queues.priority-cqueue
2416 (package
2417 (inherit sbcl-queues)
2418 (name "sbcl-queues.priority-cqueue")
2419 (inputs
2420 `(("sbcl-queues" ,sbcl-queues)
2421 ("sbcl-queues.priority-queue" ,sbcl-queues.priority-queue)
2422 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2423 (arguments
2424 `(#:asd-file "queues.priority-cqueue.asd"))
2425 (synopsis "Thread safe fibonacci priority queue implementation")
2426 (description
2427 "This is a simple queue library for Common Lisp with features such as
2428 non-consing thread safe queues and fibonacci priority queues.")
2429 (license license:expat)))
2430
2431 (define-public cl-queues.priority-cqueue
2432 (sbcl-package->cl-source-package sbcl-queues.priority-cqueue))
2433
2434 (define-public ecl-queues.priority-cqueue
2435 (sbcl-package->ecl-package sbcl-queues.priority-cqueue))
2436
2437 (define sbcl-cffi-bootstrap
2438 (package
2439 (name "sbcl-cffi-bootstrap")
2440 (version "0.19.0")
2441 (source
2442 (origin
2443 (method git-fetch)
2444 (uri (git-reference
2445 (url "https://github.com/cffi/cffi.git")
2446 (commit (string-append "v" version))))
2447 (file-name (git-file-name "cffi-bootstrap" version))
2448 (sha256
2449 (base32 "09sfgc6r7ihmbkwfpvkq5fxc7h45cabpvgbvs47i5cvnmv3k72xy"))))
2450 (build-system asdf-build-system/sbcl)
2451 (inputs
2452 `(("libffi" ,libffi)
2453 ("alexandria" ,sbcl-alexandria)
2454 ("babel" ,sbcl-babel)
2455 ("trivial-features" ,sbcl-trivial-features)))
2456 (native-inputs
2457 `(("pkg-config" ,pkg-config)))
2458 (arguments
2459 '(#:phases
2460 (modify-phases %standard-phases
2461 (add-after 'unpack 'fix-paths
2462 (lambda* (#:key inputs #:allow-other-keys)
2463 (substitute* "libffi/libffi.lisp"
2464 (("libffi.so.6" all) (string-append
2465 (assoc-ref inputs "libffi")
2466 "/lib/" all)))
2467 (substitute* "toolchain/c-toolchain.lisp"
2468 (("\"cc\"") (format #f "~S" (which "gcc")))))))
2469 #:asd-system-name "cffi"
2470 #:tests? #f))
2471 (home-page "https://common-lisp.net/project/cffi/")
2472 (synopsis "Common Foreign Function Interface for Common Lisp")
2473 (description "The Common Foreign Function Interface (CFFI)
2474 purports to be a portable foreign function interface for Common Lisp.
2475 The CFFI library is composed of a Lisp-implementation-specific backend
2476 in the CFFI-SYS package, and a portable frontend in the CFFI
2477 package.")
2478 (license license:expat)))
2479
2480 (define-public sbcl-cffi-toolchain
2481 (package
2482 (inherit sbcl-cffi-bootstrap)
2483 (name "sbcl-cffi-toolchain")
2484 (inputs
2485 `(("libffi" ,libffi)
2486 ("sbcl-cffi" ,sbcl-cffi-bootstrap)))
2487 (arguments
2488 (substitute-keyword-arguments (package-arguments sbcl-cffi-bootstrap)
2489 ((#:asd-system-name _) #f)
2490 ((#:tests? _) #t)))))
2491
2492 (define-public sbcl-cffi-libffi
2493 (package
2494 (inherit sbcl-cffi-toolchain)
2495 (name "sbcl-cffi-libffi")
2496 (inputs
2497 `(("cffi" ,sbcl-cffi-bootstrap)
2498 ("cffi-grovel" ,sbcl-cffi-grovel)
2499 ("trivial-features" ,sbcl-trivial-features)
2500 ("libffi" ,libffi)))))
2501
2502 (define-public sbcl-cffi-grovel
2503 (package
2504 (inherit sbcl-cffi-toolchain)
2505 (name "sbcl-cffi-grovel")
2506 (inputs
2507 `(("libffi" ,libffi)
2508 ("cffi" ,sbcl-cffi-bootstrap)
2509 ("cffi-toolchain" ,sbcl-cffi-toolchain)
2510 ("alexandria" ,sbcl-alexandria)))
2511 (arguments
2512 (substitute-keyword-arguments (package-arguments sbcl-cffi-toolchain)
2513 ((#:phases phases)
2514 `(modify-phases ,phases
2515 (add-after 'build 'install-headers
2516 (lambda* (#:key outputs #:allow-other-keys)
2517 (install-file "grovel/common.h"
2518 (string-append
2519 (assoc-ref outputs "out")
2520 "/include/grovel"))))))))))
2521
2522 (define-public sbcl-cffi
2523 (package
2524 (inherit sbcl-cffi-toolchain)
2525 (name "sbcl-cffi")
2526 (inputs (package-inputs sbcl-cffi-bootstrap))
2527 (native-inputs
2528 `(("cffi-grovel" ,sbcl-cffi-grovel)
2529 ("cffi-libffi" ,sbcl-cffi-libffi)
2530 ("rt" ,sbcl-rt)
2531 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2532 ,@(package-native-inputs sbcl-cffi-bootstrap)))))
2533
2534 (define-public cl-cffi
2535 (sbcl-package->cl-source-package sbcl-cffi))
2536
2537 (define-public sbcl-cl-sqlite
2538 (let ((commit "c738e66d4266ef63a1debc4ef4a1b871a068c112"))
2539 (package
2540 (name "sbcl-cl-sqlite")
2541 (version (git-version "0.2" "1" commit))
2542 (source
2543 (origin
2544 (method git-fetch)
2545 (uri (git-reference
2546 (url "https://github.com/dmitryvk/cl-sqlite")
2547 (commit commit)))
2548 (file-name (git-file-name "cl-sqlite" version))
2549 (sha256
2550 (base32
2551 "1ng45k1hdb84sqjryrfx93g66bsbybmpy301wd0fdybnc5jzr36q"))))
2552 (build-system asdf-build-system/sbcl)
2553 (inputs
2554 `(("iterate" ,sbcl-iterate)
2555 ("cffi" ,sbcl-cffi)
2556 ("sqlite" ,sqlite)))
2557 (native-inputs
2558 `(("fiveam" ,sbcl-fiveam)
2559 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2560 (arguments
2561 `(#:tests? #f ; Upstream seems to have issues with tests: https://github.com/dmitryvk/cl-sqlite/issues/7
2562 #:asd-file "sqlite.asd"
2563 #:asd-system-name "sqlite"
2564 #:phases
2565 (modify-phases %standard-phases
2566 (add-after 'unpack 'fix-paths
2567 (lambda* (#:key inputs #:allow-other-keys)
2568 (substitute* "sqlite-ffi.lisp"
2569 (("libsqlite3" all) (string-append
2570 (assoc-ref inputs "sqlite")"/lib/" all))))))))
2571 (home-page "https://common-lisp.net/project/cl-sqlite/")
2572 (synopsis "Common Lisp binding for SQLite")
2573 (description
2574 "The @command{cl-sqlite} package is an interface to the SQLite embedded
2575 relational database engine.")
2576 (license license:public-domain))))
2577
2578 (define-public cl-sqlite
2579 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2580
2581 (define-public sbcl-parenscript
2582 (let ((commit "061d8e286c81c3f45c84fb2b11ee7d83f590a8f8"))
2583 (package
2584 (name "sbcl-parenscript")
2585 (version (git-version "2.6" "1" commit))
2586 (source
2587 (origin
2588 (method git-fetch)
2589 (uri (git-reference
2590 (url "https://gitlab.common-lisp.net/parenscript/parenscript")
2591 (commit commit)))
2592 (file-name (git-file-name "parenscript" version))
2593 (sha256
2594 (base32
2595 "1kbhgsjbikc73m5cwdp4d4fdafyqcr1b7b630qjrziql0nh6mi3k"))))
2596 (build-system asdf-build-system/sbcl)
2597 (inputs
2598 `(("cl-ppcre" ,sbcl-cl-ppcre)
2599 ("anaphora" ,sbcl-anaphora)
2600 ("named-readtables" ,sbcl-named-readtables)))
2601 (home-page "https://common-lisp.net/project/parenscript/")
2602 (synopsis "Translator from a subset of Common Lisp to JavaScript")
2603 (description
2604 "Parenscript is a translator from an extended subset of Common Lisp to
2605 JavaScript. Parenscript code can run almost identically on both the
2606 browser (as JavaScript) and server (as Common Lisp).
2607
2608 Parenscript code is treated the same way as Common Lisp code, making the full
2609 power of Lisp macros available for JavaScript. This provides a web
2610 development environment that is unmatched in its ability to reduce code
2611 duplication and provide advanced meta-programming facilities to web
2612 developers.
2613
2614 At the same time, Parenscript is different from almost all other \"language
2615 X\" to JavaScript translators in that it imposes almost no overhead:
2616
2617 @itemize
2618 @item No run-time dependencies: Any piece of Parenscript code is runnable
2619 as-is. There are no JavaScript files to include.
2620 @item Native types: Parenscript works entirely with native JavaScript data
2621 types. There are no new types introduced, and object prototypes are not
2622 touched.
2623 @item Native calling convention: Any JavaScript code can be called without the
2624 need for bindings. Likewise, Parenscript can be used to make efficient,
2625 self-contained JavaScript libraries.
2626 @item Readable code: Parenscript generates concise, formatted, idiomatic
2627 JavaScript code. Identifier names are preserved. This enables seamless
2628 debugging in tools like Firebug.
2629 @item Efficiency: Parenscript introduces minimal overhead for advanced Common
2630 Lisp features. The generated code is almost as fast as hand-written
2631 JavaScript.
2632 @end itemize\n")
2633 (license license:bsd-3))))
2634
2635 (define-public cl-parenscript
2636 (sbcl-package->cl-source-package sbcl-parenscript))
2637
2638 (define-public ecl-parenscript
2639 (sbcl-package->ecl-package sbcl-parenscript))
2640
2641 (define-public sbcl-cl-json
2642 (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
2643 (package
2644 (name "sbcl-cl-json")
2645 (version (git-version "0.5" "1" commit))
2646 (source
2647 (origin
2648 (method git-fetch)
2649 (uri (git-reference
2650 (url "https://github.com/hankhero/cl-json")
2651 (commit commit)))
2652 (file-name (git-file-name "cl-json" version))
2653 (sha256
2654 (base32
2655 "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
2656 (build-system asdf-build-system/sbcl)
2657 (native-inputs
2658 `(("fiveam" ,sbcl-fiveam)))
2659 (home-page "https://github.com/hankhero/cl-json")
2660 (synopsis "JSON encoder and decoder for Common-Lisp")
2661 (description
2662 "@command{cl-json} provides an encoder of Lisp objects to JSON format
2663 and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2664 and the decoder are highly customizable; at the same time, the default
2665 settings ensure a very simple mode of operation, similar to that provided by
2666 @command{yason} or @command{st-json}.")
2667 (license license:expat))))
2668
2669 (define-public cl-json
2670 (sbcl-package->cl-source-package sbcl-cl-json))
2671
2672 (define-public ecl-cl-json
2673 (sbcl-package->ecl-package sbcl-cl-json))
2674
2675 (define-public sbcl-unix-opts
2676 (package
2677 (name "sbcl-unix-opts")
2678 (version "0.1.7")
2679 (source
2680 (origin
2681 (method git-fetch)
2682 (uri (git-reference
2683 (url "https://github.com/libre-man/unix-opts")
2684 (commit version)))
2685 (file-name (git-file-name "unix-opts" version))
2686 (sha256
2687 (base32
2688 "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
2689 (build-system asdf-build-system/sbcl)
2690 (home-page "https://github.com/hankhero/cl-json")
2691 (synopsis "Unix-style command line options parser")
2692 (description
2693 "This is a minimalistic parser of command line options. The main
2694 advantage of the library is the ability to concisely define command line
2695 options once and then use this definition for parsing and extraction of
2696 command line arguments, as well as printing description of command line
2697 options (you get --help for free). This way you don't need to repeat
2698 yourself. Also, @command{unix-opts} doesn't depend on anything and allows to
2699 precisely control behavior of the parser via Common Lisp restarts.")
2700 (license license:expat)))
2701
2702 (define-public cl-unix-opts
2703 (sbcl-package->cl-source-package sbcl-unix-opts))
2704
2705 (define-public ecl-unix-opts
2706 (sbcl-package->ecl-package sbcl-unix-opts))
2707
2708 (define-public sbcl-trivial-garbage
2709 (package
2710 (name "sbcl-trivial-garbage")
2711 (version "0.21")
2712 (source
2713 (origin
2714 (method git-fetch)
2715 (uri (git-reference
2716 (url "https://github.com/trivial-garbage/trivial-garbage.git")
2717 (commit (string-append "v" version))))
2718 (file-name (git-file-name "trivial-garbage" version))
2719 (sha256
2720 (base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
2721 (build-system asdf-build-system/sbcl)
2722 (native-inputs
2723 `(("rt" ,sbcl-rt)))
2724 (home-page "https://common-lisp.net/project/trivial-garbage/")
2725 (synopsis "Portable GC-related APIs for Common Lisp")
2726 (description "@command{trivial-garbage} provides a portable API to
2727 finalizers, weak hash-tables and weak pointers on all major implementations of
2728 the Common Lisp programming language.")
2729 (license license:public-domain)))
2730
2731 (define-public cl-trivial-garbage
2732 (sbcl-package->cl-source-package sbcl-trivial-garbage))
2733
2734 (define-public ecl-trivial-garbage
2735 (sbcl-package->ecl-package sbcl-trivial-garbage))
2736
2737 (define-public sbcl-closer-mop
2738 (let ((commit "fac29ce90e3a46e1fc6cf182190e193526fa9dbc"))
2739 (package
2740 (name "sbcl-closer-mop")
2741 (version (git-version "1.0.0" "1" commit))
2742 (source
2743 (origin
2744 (method git-fetch)
2745 (uri (git-reference
2746 (url "https://github.com/pcostanza/closer-mop")
2747 (commit commit)))
2748 (sha256
2749 (base32 "0hvh77y869h8fg9di5snyg85fxq6fdh9gj1igmx1g6j6j5x915dl"))
2750 (file-name (git-file-name "closer-mop" version ))))
2751 (build-system asdf-build-system/sbcl)
2752 (home-page "https://github.com/pcostanza/closer-mop")
2753 (synopsis "Rectifies absent or incorrect CLOS MOP features")
2754 (description "Closer to MOP is a compatibility layer that rectifies many
2755 of the absent or incorrect CLOS MOP features across a broad range of Common
2756 Lisp implementations.")
2757 (license license:expat))))
2758
2759 (define-public cl-closer-mop
2760 (sbcl-package->cl-source-package sbcl-closer-mop))
2761
2762 (define-public ecl-closer-mop
2763 (sbcl-package->ecl-package sbcl-closer-mop))
2764
2765 (define sbcl-cl-cffi-gtk-boot0
2766 (let ((commit "29443c5aaca975709df8025c4649366d882033cb"))
2767 (package
2768 (name "sbcl-cl-cffi-gtk-boot0")
2769 (version (git-version "0.11.2" "1" commit))
2770 (source
2771 (origin
2772 (method git-fetch)
2773 (uri (git-reference
2774 (url "https://github.com/Ferada/cl-cffi-gtk/")
2775 (commit commit)))
2776 (file-name (git-file-name "cl-cffi-gtk" version))
2777 (sha256
2778 (base32
2779 "0f6s92sf8xyzh1yksqx8bsy1sv0zmy0c13j3b8bavaba5hlxpxah"))))
2780 (build-system asdf-build-system/sbcl)
2781 (inputs
2782 `(("iterate" ,sbcl-iterate)
2783 ("cffi" ,sbcl-cffi)
2784 ("trivial-features" ,sbcl-trivial-features)))
2785 (home-page "https://github.com/Ferada/cl-cffi-gtk/")
2786 (synopsis "Common Lisp binding for GTK+3")
2787 (description
2788 "@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
2789 is a library for creating graphical user interfaces.")
2790 (license license:lgpl3))))
2791
2792 (define-public sbcl-cl-cffi-gtk-glib
2793 (package
2794 (inherit sbcl-cl-cffi-gtk-boot0)
2795 (name "sbcl-cl-cffi-gtk-glib")
2796 (inputs
2797 `(("glib" ,glib)
2798 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2799 (arguments
2800 `(#:asd-file "glib/cl-cffi-gtk-glib.asd"
2801 #:phases
2802 (modify-phases %standard-phases
2803 (add-after 'unpack 'fix-paths
2804 (lambda* (#:key inputs #:allow-other-keys)
2805 (substitute* "glib/glib.init.lisp"
2806 (("libglib|libgthread" all) (string-append
2807 (assoc-ref inputs "glib") "/lib/" all))))))))))
2808
2809 (define-public sbcl-cl-cffi-gtk-gobject
2810 (package
2811 (inherit sbcl-cl-cffi-gtk-boot0)
2812 (name "sbcl-cl-cffi-gtk-gobject")
2813 (inputs
2814 `(("glib" ,glib)
2815 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2816 ("trivial-garbage" ,sbcl-trivial-garbage)
2817 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2818 ("closer-mop" ,sbcl-closer-mop)
2819 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2820 (arguments
2821 `(#:asd-file "gobject/cl-cffi-gtk-gobject.asd"
2822 #:phases
2823 (modify-phases %standard-phases
2824 (add-after 'unpack 'fix-paths
2825 (lambda* (#:key inputs #:allow-other-keys)
2826 (substitute* "gobject/gobject.init.lisp"
2827 (("libgobject" all) (string-append
2828 (assoc-ref inputs "glib") "/lib/" all))))))))))
2829
2830 (define-public sbcl-cl-cffi-gtk-gio
2831 (package
2832 (inherit sbcl-cl-cffi-gtk-boot0)
2833 (name "sbcl-cl-cffi-gtk-gio")
2834 (inputs
2835 `(("glib" ,glib)
2836 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2837 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2838 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2839 (arguments
2840 `(#:asd-file "gio/cl-cffi-gtk-gio.asd"
2841 #:phases
2842 (modify-phases %standard-phases
2843 (add-after 'unpack 'fix-paths
2844 (lambda* (#:key inputs #:allow-other-keys)
2845 (substitute* "gio/gio.init.lisp"
2846 (("libgio" all)
2847 (string-append
2848 (assoc-ref inputs "glib") "/lib/" all))))))))))
2849
2850 (define-public sbcl-cl-cffi-gtk-cairo
2851 (package
2852 (inherit sbcl-cl-cffi-gtk-boot0)
2853 (name "sbcl-cl-cffi-gtk-cairo")
2854 (inputs
2855 `(("cairo" ,cairo)
2856 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2857 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2858 (arguments
2859 `(#:asd-file "cairo/cl-cffi-gtk-cairo.asd"
2860 #:phases
2861 (modify-phases %standard-phases
2862 (add-after 'unpack 'fix-paths
2863 (lambda* (#:key inputs #:allow-other-keys)
2864 (substitute* "cairo/cairo.init.lisp"
2865 (("libcairo" all)
2866 (string-append
2867 (assoc-ref inputs "cairo") "/lib/" all))))))))))
2868
2869 (define-public sbcl-cl-cffi-gtk-pango
2870 (package
2871 (inherit sbcl-cl-cffi-gtk-boot0)
2872 (name "sbcl-cl-cffi-gtk-pango")
2873 (inputs
2874 `(("pango" ,pango)
2875 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2876 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2877 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
2878 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2879 (arguments
2880 `(#:asd-file "pango/cl-cffi-gtk-pango.asd"
2881 #:phases
2882 (modify-phases %standard-phases
2883 (add-after 'unpack 'fix-paths
2884 (lambda* (#:key inputs #:allow-other-keys)
2885 (substitute* "pango/pango.init.lisp"
2886 (("libpango" all)
2887 (string-append
2888 (assoc-ref inputs "pango") "/lib/" all))))))))))
2889
2890 (define-public sbcl-cl-cffi-gtk-gdk-pixbuf
2891 (package
2892 (inherit sbcl-cl-cffi-gtk-boot0)
2893 (name "sbcl-cl-cffi-gtk-gdk-pixbuf")
2894 (inputs
2895 `(("gdk-pixbuf" ,gdk-pixbuf)
2896 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2897 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2898 (arguments
2899 `(#:asd-file "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
2900 #:phases
2901 (modify-phases %standard-phases
2902 (add-after 'unpack 'fix-paths
2903 (lambda* (#:key inputs #:allow-other-keys)
2904 (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
2905 (("libgdk_pixbuf" all)
2906 (string-append
2907 (assoc-ref inputs "gdk-pixbuf") "/lib/" all))))))))))
2908
2909 (define-public sbcl-cl-cffi-gtk-gdk
2910 (package
2911 (inherit sbcl-cl-cffi-gtk-boot0)
2912 (name "sbcl-cl-cffi-gtk-gdk")
2913 (inputs
2914 `(("gtk" ,gtk+)
2915 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2916 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
2917 ("cl-cffi-gtk-gdk-pixbuf" ,sbcl-cl-cffi-gtk-gdk-pixbuf)
2918 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
2919 ("cl-cffi-gtk-pango" ,sbcl-cl-cffi-gtk-pango)
2920 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2921 (arguments
2922 `(#:asd-file "gdk/cl-cffi-gtk-gdk.asd"
2923 #:phases
2924 (modify-phases %standard-phases
2925 (add-after 'unpack 'fix-paths
2926 (lambda* (#:key inputs #:allow-other-keys)
2927 (substitute* "gdk/gdk.init.lisp"
2928 (("libgdk" all)
2929 (string-append
2930 (assoc-ref inputs "gtk") "/lib/" all)))
2931 (substitute* "gdk/gdk.package.lisp"
2932 (("libgtk" all)
2933 (string-append
2934 (assoc-ref inputs "gtk") "/lib/" all))))))))))
2935
2936 (define-public sbcl-cl-cffi-gtk
2937 (package
2938 (inherit sbcl-cl-cffi-gtk-boot0)
2939 (name "sbcl-cl-cffi-gtk")
2940 (inputs
2941 `(("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2942 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2943 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
2944 ("cl-cffi-gtk-gdk" ,sbcl-cl-cffi-gtk-gdk)
2945 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2946 (native-inputs
2947 `(("fiveam" ,sbcl-fiveam)))
2948 (arguments
2949 `(#:asd-file "gtk/cl-cffi-gtk.asd"
2950 #:test-asd-file "test/cl-cffi-gtk-test.asd"
2951 ;; TODO: Tests fail with memory fault.
2952 ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
2953 #:tests? #f))))
2954
2955 (define-public cl-cffi-gtk
2956 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
2957
2958 (define-public sbcl-cl-webkit
2959 (let ((commit "cd2a9008e0c152e54755e8a7f07b050fe36bab31"))
2960 (package
2961 (name "sbcl-cl-webkit")
2962 (version (git-version "2.4" "1" commit))
2963 (source
2964 (origin
2965 (method git-fetch)
2966 (uri (git-reference
2967 (url "https://github.com/jmercouris/cl-webkit")
2968 (commit commit)))
2969 (file-name (git-file-name "cl-webkit" version))
2970 (sha256
2971 (base32
2972 "0f5lyn9i7xrn3g1bddga377mcbawkbxydijpg389q4n04gqj0vwf"))))
2973 (build-system asdf-build-system/sbcl)
2974 (inputs
2975 `(("cffi" ,sbcl-cffi)
2976 ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
2977 ("webkitgtk" ,webkitgtk)))
2978 (arguments
2979 `(#:asd-file "webkit2/cl-webkit2.asd"
2980 #:asd-system-name "cl-webkit2"
2981 #:phases
2982 (modify-phases %standard-phases
2983 (add-after 'unpack 'fix-paths
2984 (lambda* (#:key inputs #:allow-other-keys)
2985 (substitute* "webkit2/webkit2.init.lisp"
2986 (("libwebkit2gtk" all)
2987 (string-append
2988 (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
2989 (home-page "https://github.com/jmercouris/cl-webkit")
2990 (synopsis "Binding to WebKitGTK+ for Common Lisp")
2991 (description
2992 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
2993 currently targeting WebKit version 2. The WebKitGTK+ library adds web
2994 browsing capabilities to an application, leveraging the full power of the
2995 WebKit browsing engine.")
2996 (license license:expat))))
2997
2998 (define-public cl-webkit
2999 (sbcl-package->cl-source-package sbcl-cl-webkit))
3000
3001 (define-public sbcl-lparallel
3002 (package
3003 (name "sbcl-lparallel")
3004 (version "2.8.4")
3005 (source
3006 (origin
3007 (method git-fetch)
3008 (uri (git-reference
3009 (url "https://github.com/lmj/lparallel/")
3010 (commit (string-append "lparallel-" version))))
3011 (file-name (git-file-name "lparallel" version))
3012 (sha256
3013 (base32
3014 "0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
3015 (build-system asdf-build-system/sbcl)
3016 (inputs
3017 `(("alexandria" ,sbcl-alexandria)
3018 ("bordeaux-threads" ,sbcl-bordeaux-threads)
3019 ("trivial-garbage" ,sbcl-trivial-garbage)))
3020 (home-page "https://lparallel.org/")
3021 (synopsis "Parallelism for Common Lisp")
3022 (description
3023 "@command{lparallel} is a library for parallel programming in Common
3024 Lisp, featuring:
3025
3026 @itemize
3027 @item a simple model of task submission with receiving queue,
3028 @item constructs for expressing fine-grained parallelism,
3029 @item asynchronous condition handling across thread boundaries,
3030 @item parallel versions of map, reduce, sort, remove, and many others,
3031 @item promises, futures, and delayed evaluation constructs,
3032 @item computation trees for parallelizing interconnected tasks,
3033 @item bounded and unbounded FIFO queues,
3034 @item high and low priority tasks,
3035 @item task killing by category,
3036 @item integrated timeouts.
3037 @end itemize\n")
3038 (license license:expat)))
3039
3040 (define-public cl-lparallel
3041 (sbcl-package->cl-source-package sbcl-lparallel))
3042
3043 (define-public ecl-lparallel
3044 (sbcl-package->ecl-package sbcl-lparallel))
3045
3046 (define-public sbcl-cl-markup
3047 (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
3048 (package
3049 (name "sbcl-cl-markup")
3050 (version (git-version "0.1" "1" commit))
3051 (source
3052 (origin
3053 (method git-fetch)
3054 (uri (git-reference
3055 (url "https://github.com/arielnetworks/cl-markup/")
3056 (commit commit)))
3057 (file-name (git-file-name "cl-markup" version))
3058 (sha256
3059 (base32
3060 "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
3061 (build-system asdf-build-system/sbcl)
3062 (home-page "https://github.com/arielnetworks/cl-markup/")
3063 (synopsis "Markup generation library for Common Lisp")
3064 (description
3065 "A modern markup generation library for Common Lisp that features:
3066
3067 @itemize
3068 @item Fast (even faster through compiling the code)
3069 @item Safety
3070 @item Support for multiple document types (markup, xml, html, html5, xhtml)
3071 @item Output with doctype
3072 @item Direct output to stream
3073 @end itemize\n")
3074 (license license:lgpl3+))))
3075
3076 (define-public cl-markup
3077 (sbcl-package->cl-source-package sbcl-cl-markup))
3078
3079 (define-public ecl-cl-markup
3080 (sbcl-package->ecl-package sbcl-cl-markup))
3081
3082 (define-public sbcl-cl-css
3083 (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
3084 (package
3085 (name "sbcl-cl-css")
3086 (version (git-version "0.1" "1" commit))
3087 (source
3088 (origin
3089 (method git-fetch)
3090 (uri (git-reference
3091 (url "https://github.com/inaimathi/cl-css/")
3092 (commit commit)))
3093 (file-name (git-file-name "cl-css" version))
3094 (sha256
3095 (base32
3096 "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
3097 (build-system asdf-build-system/sbcl)
3098 (home-page "https://github.com/inaimathi/cl-css/")
3099 (synopsis "Non-validating, inline CSS generator for Common Lisp")
3100 (description
3101 "This is a dead-simple, non validating, inline CSS generator for Common
3102 Lisp. Its goals are axiomatic syntax, simple implementation to support
3103 portability, and boilerplate reduction in CSS.")
3104 (license license:expat))))
3105
3106 (define-public cl-css
3107 (sbcl-package->cl-source-package sbcl-cl-css))
3108
3109 (define-public ecl-cl-css
3110 (sbcl-package->ecl-package sbcl-cl-css))
3111
3112 (define-public sbcl-portable-threads
3113 (let ((commit "c0e61a1faeb0583c80fd3f20b16cc4c555226920"))
3114 (package
3115 (name "sbcl-portable-threads")
3116 (version (git-version "2.3" "1" commit))
3117 (source
3118 (origin
3119 (method git-fetch)
3120 (uri (git-reference
3121 (url "https://github.com/binghe/portable-threads/")
3122 (commit commit)))
3123 (file-name (git-file-name "portable-threads" version))
3124 (sha256
3125 (base32
3126 "03fmxyarc0xf4kavwkfa0a2spkyfrz6hbgbi9y4q7ny5aykdyfaq"))))
3127 (build-system asdf-build-system/sbcl)
3128 (arguments
3129 `(;; Tests seem broken.
3130 #:tests? #f))
3131 (home-page "https://github.com/binghe/portable-threads")
3132 (synopsis "Portable threads (and scheduled and periodic functions) API for Common Lisp")
3133 (description
3134 "Portable Threads (and Scheduled and Periodic Functions) API for Common
3135 Lisp (from GBBopen project).")
3136 (license license:asl2.0))))
3137
3138 (define-public cl-portable-threads
3139 (sbcl-package->cl-source-package sbcl-portable-threads))
3140
3141 (define-public ecl-portable-threada
3142 (sbcl-package->ecl-package sbcl-portable-threads))
3143
3144 (define-public sbcl-usocket-boot0
3145 ;; usocket's test rely on usocket-server which depends on usocket itself.
3146 ;; We break this cyclic dependency with -boot0 that packages usocket.
3147 (let ((commit "86e7efbfe50101931edf4b67cdcfa7e221ecfde9"))
3148 (package
3149 (name "sbcl-usocket-boot0")
3150 (version (git-version "0.7.1" "1" commit))
3151 (source
3152 (origin
3153 (method git-fetch)
3154 (uri (git-reference
3155 (url "https://github.com/usocket/usocket/")
3156 (commit commit)))
3157 (file-name (git-file-name "usocket" version))
3158 (sha256
3159 (base32
3160 "1lk6ipakrib7kdgzw44hrgmls9akp5pz4h35yynw0k5zwmmq6374"))))
3161 (build-system asdf-build-system/sbcl)
3162 (inputs
3163 `(("split-sequence" ,sbcl-split-sequence)))
3164 (arguments
3165 `(#:tests? #f
3166 #:asd-system-name "usocket"))
3167 (home-page "https://common-lisp.net/project/usocket/")
3168 (synopsis "Universal socket library for Common Lisp (server side)")
3169 (description
3170 "This library strives to provide a portable TCP/IP and UDP/IP socket
3171 interface for as many Common Lisp implementations as possible, while keeping
3172 the abstraction and portability layer as thin as possible.")
3173 (license license:expat))))
3174
3175 (define-public sbcl-usocket-server
3176 (package
3177 (inherit sbcl-usocket-boot0)
3178 (name "sbcl-usocket-server")
3179 (inputs
3180 `(("usocket" ,sbcl-usocket-boot0)
3181 ("portable-threads" ,sbcl-portable-threads)))
3182 (arguments
3183 '(#:asd-system-name "usocket-server"))
3184 (synopsis "Universal socket library for Common Lisp (server side)")))
3185
3186 (define-public cl-usocket-server
3187 (sbcl-package->cl-source-package sbcl-usocket-server))
3188
3189 (define-public ecl-socket-server
3190 (sbcl-package->ecl-package sbcl-usocket-server))
3191
3192 (define-public sbcl-usocket
3193 (package
3194 (inherit sbcl-usocket-boot0)
3195 (name "sbcl-usocket")
3196 (arguments
3197 ;; FIXME: Tests need network access?
3198 `(#:tests? #f))
3199 (native-inputs
3200 ;; Testing only.
3201 `(("usocket-server" ,sbcl-usocket-server)
3202 ("rt" ,sbcl-rt)))))
3203
3204 (define-public cl-usocket
3205 (sbcl-package->cl-source-package sbcl-usocket))
3206
3207 (define-public ecl-socket
3208 (sbcl-package->ecl-package sbcl-usocket))
3209
3210 (define-public sbcl-s-xml
3211 (package
3212 (name "sbcl-s-xml")
3213 (version "3")
3214 (source
3215 (origin
3216 (method url-fetch)
3217 (uri "https://common-lisp.net/project/s-xml/s-xml.tgz")
3218 (sha256
3219 (base32
3220 "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
3221 (build-system asdf-build-system/sbcl)
3222 (home-page "https://common-lisp.net/project/s-xml/")
3223 (synopsis "Simple XML parser implemented in Common Lisp")
3224 (description
3225 "S-XML is a simple XML parser implemented in Common Lisp. This XML
3226 parser implementation has the following features:
3227
3228 @itemize
3229 @item It works (handling many common XML usages).
3230 @item It is very small (the core is about 700 lines of code, including
3231 comments and whitespace).
3232 @item It has a core API that is simple, efficient and pure functional, much
3233 like that from SSAX (see also http://ssax.sourceforge.net).
3234 @item It supports different DOM models: an XSML-based one, an LXML-based one
3235 and a classic xml-element struct based one.
3236 @item It is reasonably time and space efficient (internally avoiding garbage
3237 generatation as much as possible).
3238 @item It does support CDATA.
3239 @item It should support the same character sets as your Common Lisp
3240 implementation.
3241 @item It does support XML name spaces.
3242 @end itemize
3243
3244 This XML parser implementation has the following limitations:
3245
3246 @itemize
3247 @item It does not support any special tags (like processing instructions).
3248 @item It is not validating, even skips DTD's all together.
3249 @end itemize\n")
3250 (license license:lgpl3+)))
3251
3252 (define-public cl-s-xml
3253 (sbcl-package->cl-source-package sbcl-s-xml))
3254
3255 (define-public ecl-s-xml
3256 (sbcl-package->ecl-package sbcl-s-xml))
3257
3258 (define-public sbcl-s-xml-rpc
3259 (package
3260 (name "sbcl-s-xml-rpc")
3261 (version "7")
3262 (source
3263 (origin
3264 (method url-fetch)
3265 (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz")
3266 (sha256
3267 (base32
3268 "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11"))))
3269 (build-system asdf-build-system/sbcl)
3270 (inputs
3271 `(("s-xml" ,sbcl-s-xml)))
3272 (home-page "https://common-lisp.net/project/s-xml-rpc/")
3273 (synopsis "Implementation of XML-RPC in Common Lisp for both client and server")
3274 (description
3275 "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both
3276 client and server.")
3277 (license license:lgpl3+)))
3278
3279 (define-public cl-s-xml-rpc
3280 (sbcl-package->cl-source-package sbcl-s-xml-rpc))
3281
3282 (define-public ecl-s-xml-rpc
3283 (sbcl-package->ecl-package sbcl-s-xml-rpc))
3284
3285 (define-public sbcl-trivial-clipboard
3286 (let ((commit "5af3415d1484e6d69a1b5c178f24680d9fd01796"))
3287 (package
3288 (name "sbcl-trivial-clipboard")
3289 (version (git-version "0.0.0.0" "2" commit))
3290 (source
3291 (origin
3292 (method git-fetch)
3293 (uri (git-reference
3294 (url "https://github.com/snmsts/trivial-clipboard")
3295 (commit commit)))
3296 (file-name (git-file-name "trivial-clipboard" version))
3297 (sha256
3298 (base32
3299 "1gb515z5yq6h5548pb1fwhmb0hhq1ssyb78pvxh4alq799xipxs9"))))
3300 (build-system asdf-build-system/sbcl)
3301 (inputs
3302 `(("xclip" ,xclip)))
3303 (native-inputs
3304 `(("fiveam" ,sbcl-fiveam)))
3305 (arguments
3306 `(#:phases
3307 (modify-phases %standard-phases
3308 (add-after 'unpack 'fix-paths
3309 (lambda* (#:key inputs #:allow-other-keys)
3310 (substitute* "src/text.lisp"
3311 (("\\(executable-find \"xclip\"\\)")
3312 (string-append "(executable-find \""
3313 (assoc-ref inputs "xclip")
3314 "/bin/xclip\")"))))))))
3315 (home-page "https://github.com/snmsts/trivial-clipboard")
3316 (synopsis "Access system clipboard in Common Lisp")
3317 (description
3318 "@command{trivial-clipboard} gives access to the system clipboard.")
3319 (license license:expat))))
3320
3321 (define-public cl-trivial-clipboard
3322 (sbcl-package->cl-source-package sbcl-trivial-clipboard))
3323
3324 (define-public ecl-trivial-clipboard
3325 (sbcl-package->ecl-package sbcl-trivial-clipboard))
3326
3327 (define-public sbcl-trivial-backtrace
3328 (let ((commit "ca81c011b86424a381a7563cea3b924f24e6fbeb")
3329 (revision "1"))
3330 (package
3331 (name "sbcl-trivial-backtrace")
3332 (version (git-version "0.0.0" revision commit))
3333 (source
3334 (origin
3335 (method git-fetch)
3336 (uri (git-reference
3337 (url "https://github.com/gwkkwg/trivial-backtrace.git")
3338 (commit commit)))
3339 (file-name (git-file-name "trivial-backtrace" version))
3340 (sha256
3341 (base32 "10p41p43skj6cimdg8skjy7372s8v2xpkg8djjy0l8rm45i654k1"))))
3342 (build-system asdf-build-system/sbcl)
3343 (inputs
3344 `(("sbcl-lift" ,sbcl-lift)))
3345 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3346 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3347 (description
3348 "On of the many things that didn't quite get into the Common Lisp
3349 standard was how to get a Lisp to output its call stack when something has
3350 gone wrong. As such, each Lisp has developed its own notion of what to
3351 display, how to display it, and what sort of arguments can be used to
3352 customize it. @code{trivial-backtrace} is a simple solution to generating a
3353 backtrace portably.")
3354 (license license:expat))))
3355
3356 (define-public cl-trivial-backtrace
3357 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3358
3359 (define-public sbcl-rfc2388
3360 (let ((commit "591bcf7e77f2c222c43953a80f8c297751dc0c4e")
3361 (revision "1"))
3362 (package
3363 (name "sbcl-rfc2388")
3364 (version (git-version "0.0.0" revision commit))
3365 (source
3366 (origin
3367 (method git-fetch)
3368 (uri (git-reference
3369 (url "https://github.com/jdz/rfc2388.git")
3370 (commit commit)))
3371 (file-name (git-file-name "rfc2388" version))
3372 (sha256
3373 (base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
3374 (build-system asdf-build-system/sbcl)
3375 (home-page "https://github.com/jdz/rfc2388/")
3376 (synopsis "An implementation of RFC 2388 in Common Lisp")
3377 (description
3378 "This package contains an implementation of RFC 2388, which is used to
3379 process form data posted with HTTP POST method using enctype
3380 \"multipart/form-data\".")
3381 (license license:bsd-2))))
3382
3383 (define-public cl-rfc2388
3384 (sbcl-package->cl-source-package sbcl-rfc2388))
3385
3386 (define-public sbcl-md5
3387 (package
3388 (name "sbcl-md5")
3389 (version "2.0.4")
3390 (source
3391 (origin
3392 (method url-fetch)
3393 (uri (string-append
3394 "https://github.com/pmai/md5/archive/release-" version ".tar.gz"))
3395 (sha256
3396 (base32 "19yl9n0pjdz5gw4qi711lka97xcd9f81ylg434hk7jwn9f2s6w11"))))
3397 (build-system asdf-build-system/sbcl)
3398 (home-page "https://github.com/pmai/md5")
3399 (synopsis
3400 "Common Lisp implementation of the MD5 Message-Digest Algorithm (RFC 1321)")
3401 (description
3402 "This package implements The MD5 Message-Digest Algorithm, as defined in
3403 RFC 1321 by R. Rivest, published April 1992.")
3404 (license license:public-domain)))
3405
3406 (define-public cl-md5
3407 (sbcl-package->cl-source-package sbcl-md5))
3408
3409 (define-public sbcl-cl+ssl
3410 (let ((commit "141ae91416bc40f1618dc07e48429b84388aa599")
3411 (revision "1"))
3412 (package
3413 (name "sbcl-cl+ssl")
3414 (version (git-version "0.0.0" revision commit))
3415 (source
3416 (origin
3417 (method git-fetch)
3418 (uri (git-reference
3419 (url "https://github.com/cl-plus-ssl/cl-plus-ssl.git")
3420 (commit commit)))
3421 (file-name (git-file-name "cl+ssl" version))
3422 (sha256
3423 (base32 "1s0hg1h9sf8q89v0yrxmzg5f5sng29rgx3n21r9h9yql8351myan"))))
3424 (build-system asdf-build-system/sbcl)
3425 (arguments
3426 '(#:phases
3427 (modify-phases %standard-phases
3428 (add-after 'unpack 'fix-paths
3429 (lambda* (#:key inputs #:allow-other-keys)
3430 (substitute* "src/reload.lisp"
3431 (("libssl.so" all)
3432 (string-append
3433 (assoc-ref inputs "openssl") "/lib/" all))))))))
3434 (inputs
3435 `(("openssl" ,openssl)
3436 ("sbcl-cffi" ,sbcl-cffi)
3437 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3438 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3439 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)
3440 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)
3441 ("sbcl-alexandria" ,sbcl-alexandria)
3442 ("sbcl-trivial-features" ,sbcl-trivial-features)))
3443 (home-page "http://common-lisp.net/project/cl-plus-ssl/")
3444 (synopsis "Common Lisp bindings to OpenSSL")
3445 (description
3446 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3447 code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3448 Development into CL+SSL was done by David Lichteblau.")
3449 (license license:expat))))
3450
3451 (define-public cl-cl+ssl
3452 (sbcl-package->cl-source-package sbcl-cl+ssl))
3453
3454 (define-public sbcl-kmrcl
3455 (let ((version "1.109.0")
3456 (commit "5260068b2eb735af6796740c2db4955afac21636")
3457 (revision "1"))
3458 (package
3459 (name "sbcl-kmrcl")
3460 (version (git-version version revision commit))
3461 (source
3462 (origin
3463 (method git-fetch)
3464 (uri (git-reference
3465 (url "http://git.kpe.io/kmrcl.git/")
3466 (commit commit)))
3467 (file-name (git-file-name name version))
3468 (sha256
3469 (base32 "1va7xjgzfv674bpsli674i7zj3f7wg5kxic41kz18r6hh4n52dfv"))))
3470 (build-system asdf-build-system/sbcl)
3471 (arguments
3472 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed in a
3473 ;; nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
3474 '(#:tests? #f))
3475 (inputs
3476 `(("sbcl-rt" ,sbcl-rt)))
3477 (home-page "http://files.kpe.io/kmrcl/")
3478 (synopsis "General utilities for Common Lisp programs")
3479 (description
3480 "KMRCL is a collection of utilities used by a number of Kevin
3481 Rosenberg's CL packages.")
3482 (license license:llgpl))))
3483
3484 (define-public cl-kmrcl
3485 (sbcl-package->cl-source-package sbcl-kmrcl))
3486
3487 (define-public sbcl-cl-base64
3488 (let ((version "3.3.3"))
3489 (package
3490 (name "sbcl-cl-base64")
3491 (version version)
3492 (source
3493 (origin
3494 (method git-fetch)
3495 (uri (git-reference
3496 (url "http://git.kpe.io/cl-base64.git")
3497 (commit (string-append "v" version))))
3498 (file-name (git-file-name "cl-base64" version))
3499 (sha256
3500 (base32 "1dw6j7n6gsd2qa0p0rbsjxj00acxx3i9ca1qkgl0liy8lpnwkypl"))))
3501 (build-system asdf-build-system/sbcl)
3502 (arguments
3503 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed
3504 ;; in a nested call to ASDF/OPERATE:OPERATE unless identically
3505 ;; to toplevel
3506 '(#:tests? #f))
3507 (inputs
3508 `(("sbcl-ptester" ,sbcl-ptester)
3509 ("sbcl-kmrcl" ,sbcl-kmrcl)))
3510 (home-page "http://files.kpe.io/cl-base64/")
3511 (synopsis
3512 "Common Lisp package to encode and decode base64 with URI support")
3513 (description
3514 "This package provides highly optimized base64 encoding and decoding.
3515 Besides conversion to and from strings, integer conversions are supported.
3516 Encoding with Uniform Resource Identifiers is supported by using a modified
3517 encoding table that uses only URI-compatible characters.")
3518 (license license:bsd-3))))
3519
3520 (define-public cl-base64
3521 (sbcl-package->cl-source-package sbcl-cl-base64))
3522
3523 (define-public sbcl-chunga
3524 (package
3525 (name "sbcl-chunga")
3526 (version "1.1.7")
3527 (source
3528 (origin
3529 (method git-fetch)
3530 (uri (git-reference
3531 (url "https://github.com/edicl/chunga.git")
3532 (commit (string-append "v" version))))
3533 (file-name (git-file-name name version))
3534 (sha256
3535 (base32 "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd"))))
3536 (build-system asdf-build-system/sbcl)
3537 (inputs
3538 `(("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3539 (home-page "https://edicl.github.io/chunga/")
3540 (synopsis "Portable chunked streams for Common Lisp")
3541 (description
3542 "Chunga implements streams capable of chunked encoding on demand as
3543 defined in RFC 2616.")
3544 (license license:bsd-2)))
3545
3546 (define-public cl-chunga
3547 (sbcl-package->cl-source-package sbcl-chunga))
3548
3549 (define-public sbcl-cl-who
3550 (let ((version "1.1.4")
3551 (commit "2c08caa4bafba720409af9171feeba3f32e86d32")
3552 (revision "1"))
3553 (package
3554 (name "sbcl-cl-who")
3555 (version (git-version version revision commit))
3556 (source
3557 (origin
3558 (method git-fetch)
3559 (uri (git-reference
3560 (url "https://github.com/edicl/cl-who.git")
3561 (commit commit)))
3562 (file-name (git-file-name name version))
3563 (sha256
3564 (base32
3565 "0yjb6sr3yazm288m318kqvj9xk8rm9n1lpimgf65ymqv0i5agxsb"))))
3566 (build-system asdf-build-system/sbcl)
3567 (native-inputs
3568 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3569 (home-page "https://edicl.github.io/cl-who/")
3570 (synopsis "Yet another Lisp markup language")
3571 (description
3572 "There are plenty of Lisp Markup Languages out there - every Lisp
3573 programmer seems to write at least one during his career - and CL-WHO (where
3574 WHO means \"with-html-output\" for want of a better acronym) is probably just
3575 as good or bad as the next one.")
3576 (license license:bsd-2))))
3577
3578 (define-public cl-cl-who
3579 (sbcl-package->cl-source-package sbcl-cl-who))
3580
3581 (define-public sbcl-chipz
3582 (let ((version "0.8")
3583 (commit "75dfbc660a5a28161c57f115adf74c8a926bfc4d")
3584 (revision "1"))
3585 (package
3586 (name "sbcl-chipz")
3587 (version (git-version version revision commit))
3588 (source
3589 (origin
3590 (method git-fetch)
3591 (uri (git-reference
3592 (url "https://github.com/froydnj/chipz.git")
3593 (commit commit)))
3594 (file-name (git-file-name name version))
3595 (sha256
3596 (base32
3597 "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"))))
3598 (build-system asdf-build-system/sbcl)
3599 (native-inputs
3600 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3601 (home-page "http://method-combination.net/lisp/chipz/")
3602 (synopsis
3603 "Common Lisp library for decompressing deflate, zlib, gzip, and bzip2
3604 data")
3605 (description
3606 "DEFLATE data, defined in RFC1951, forms the core of popular
3607 compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3608 Chipz also provides for decompressing data in those formats as well. BZIP2 is
3609 the format used by the popular compression tool bzip2.")
3610 ;; The author describes it as "MIT-like"
3611 (license license:expat))))
3612
3613 (define-public cl-chipz
3614 (sbcl-package->cl-source-package sbcl-chipz))
3615
3616 (define-public sbcl-drakma
3617 (let ((version "2.0.4")
3618 (commit "7647c0ae842ff2058624e53979c7f297760c97a7")
3619 (revision "1"))
3620 (package
3621 (name "sbcl-drakma")
3622 (version (git-version version revision commit))
3623 (source
3624 (origin
3625 (method git-fetch)
3626 (uri (git-reference
3627 (url "https://github.com/edicl/drakma.git")
3628 (commit commit)))
3629 (file-name (git-file-name name version))
3630 (sha256
3631 (base32
3632 "1c4i9wakhj5pxfyyykxshdmv3180sbkrx6fcyynikmc0jd0rh84r"))))
3633 (build-system asdf-build-system/sbcl)
3634 (inputs
3635 `(("sbcl-puri" ,sbcl-puri)
3636 ("sbcl-cl-base64" ,sbcl-cl-base64)
3637 ("sbcl-chunga" ,sbcl-chunga)
3638 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3639 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3640 ("sbcl-chipz" ,sbcl-chipz)
3641 ("sbcl-usocket" ,sbcl-usocket)
3642 ("sbcl-cl+ssl" ,sbcl-cl+ssl)))
3643 (native-inputs
3644 `(("sbcl-fiveam" ,sbcl-fiveam)))
3645 (home-page "https://edicl.github.io/drakma/")
3646 (synopsis "HTTP client written in Common Lisp")
3647 (description
3648 "Drakma is a full-featured HTTP client implemented in Common Lisp. It
3649 knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3650 sockets, SSL, continuable uploads, file uploads, cookies, and more.")
3651 (license license:bsd-2))))
3652
3653 (define-public cl-drakma
3654 (sbcl-package->cl-source-package sbcl-drakma))
3655
3656 (define-public sbcl-hunchentoot
3657 (package
3658 (name "sbcl-hunchentoot")
3659 (version "1.2.38")
3660 (source
3661 (origin
3662 (method git-fetch)
3663 (uri (git-reference
3664 (url "https://github.com/edicl/hunchentoot.git")
3665 (commit (string-append "v" version))))
3666 (file-name (git-file-name "hunchentoot" version))
3667 (sha256
3668 (base32 "1anpcad7w045m4rsjs1f3xdhjwx5cppq1h0vlb3q7dz81fi3i6yq"))))
3669 (build-system asdf-build-system/sbcl)
3670 (native-inputs
3671 `(("sbcl-cl-who" ,sbcl-cl-who)
3672 ("sbcl-drakma" ,sbcl-drakma)))
3673 (inputs
3674 `(("sbcl-chunga" ,sbcl-chunga)
3675 ("sbcl-cl-base64" ,sbcl-cl-base64)
3676 ("sbcl-cl-fad" ,sbcl-cl-fad)
3677 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3678 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3679 ("sbcl-cl+ssl" ,sbcl-cl+ssl)
3680 ("sbcl-md5" ,sbcl-md5)
3681 ("sbcl-rfc2388" ,sbcl-rfc2388)
3682 ("sbcl-trivial-backtrace" ,sbcl-trivial-backtrace)
3683 ("sbcl-usocket" ,sbcl-usocket)))
3684 (home-page "https://edicl.github.io/hunchentoot/")
3685 (synopsis "Web server written in Common Lisp")
3686 (description
3687 "Hunchentoot is a web server written in Common Lisp and at the same
3688 time a toolkit for building dynamic websites. As a stand-alone web server,
3689 Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3690 connections (keep-alive), and SSL.")
3691 (license license:bsd-2)))
3692
3693 (define-public cl-hunchentoot
3694 (sbcl-package->cl-source-package sbcl-hunchentoot))
3695
3696 (define-public sbcl-trivial-types
3697 (package
3698 (name "sbcl-trivial-types")
3699 (version "0.0.1")
3700 (source
3701 (origin
3702 (method git-fetch)
3703 (uri (git-reference
3704 (url "https://github.com/m2ym/trivial-types.git")
3705 (commit "ee869f2b7504d8aa9a74403641a5b42b16f47d88")))
3706 (file-name (git-file-name name version))
3707 (sha256
3708 (base32 "1s4cp9bdlbn8447q7w7f1wkgwrbvfzp20mgs307l5pxvdslin341"))))
3709 (build-system asdf-build-system/sbcl)
3710 (home-page "https://github.com/m2ym/trivial-types")
3711 (synopsis "Trivial type definitions for Common Lisp")
3712 (description
3713 "TRIVIAL-TYPES provides missing but important type definitions such as
3714 PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
3715 (license license:llgpl)))
3716
3717 (define-public cl-trivial-types
3718 (sbcl-package->cl-source-package sbcl-trivial-types))
3719
3720 (define-public sbcl-cl-syntax
3721 (package
3722 (name "sbcl-cl-syntax")
3723 (version "0.0.3")
3724 (source
3725 (origin
3726 (method git-fetch)
3727 (uri (git-reference
3728 (url "https://github.com/m2ym/cl-syntax.git")
3729 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3730 (file-name (git-file-name "cl-syntax" version))
3731 (sha256
3732 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3733 (build-system asdf-build-system/sbcl)
3734 (arguments
3735 '(#:asd-file "cl-syntax.asd"
3736 #:asd-system-name "cl-syntax"))
3737 (inputs `(("sbcl-trivial-types" ,sbcl-trivial-types)
3738 ("sbcl-named-readtables" ,sbcl-named-readtables)))
3739 (home-page "https://github.com/m2ym/cl-syntax")
3740 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3741 (description
3742 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3743 (license license:llgpl)))
3744
3745 (define-public cl-syntax
3746 (sbcl-package->cl-source-package sbcl-cl-syntax))
3747
3748 (define-public sbcl-cl-annot
3749 (let ((commit "c99e69c15d935eabc671b483349a406e0da9518d")
3750 (revision "1"))
3751 (package
3752 (name "sbcl-cl-annot")
3753 (version (git-version "0.0.0" revision commit))
3754 (source
3755 (origin
3756 (method git-fetch)
3757 (uri (git-reference
3758 (url "https://github.com/m2ym/cl-annot.git")
3759 (commit commit)))
3760 (file-name (git-file-name name version))
3761 (sha256
3762 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3763 (build-system asdf-build-system/sbcl)
3764 (arguments
3765 '(#:asd-file "cl-annot.asd"
3766 #:asd-system-name "cl-annot"))
3767 (inputs
3768 `(("sbcl-alexandria" ,sbcl-alexandria)))
3769 (home-page "https://github.com/m2ym/cl-annot")
3770 (synopsis "Python-like Annotation Syntax for Common Lisp.")
3771 (description
3772 "@code{cl-annot} is an general annotation library for Common Lisp.")
3773 (license license:llgpl))))
3774
3775 (define-public cl-annot
3776 (sbcl-package->cl-source-package sbcl-cl-annot))
3777
3778 (define-public sbcl-cl-syntax-annot
3779 (package
3780 (name "sbcl-cl-syntax-annot")
3781 (version "0.0.3")
3782 (source
3783 (origin
3784 (method git-fetch)
3785 (uri (git-reference
3786 (url "https://github.com/m2ym/cl-syntax.git")
3787 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3788 (file-name (git-file-name name version))
3789 (sha256
3790 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3791 (build-system asdf-build-system/sbcl)
3792 (arguments
3793 '(#:asd-file "cl-syntax-annot.asd"
3794 #:asd-system-name "cl-syntax-annot"))
3795 (inputs
3796 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3797 ("sbcl-cl-annot" ,sbcl-cl-annot)))
3798 (home-page "https://github.com/m2ym/cl-syntax")
3799 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3800 (description
3801 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and
3802 SLIME.")
3803 (license license:llgpl)))
3804
3805 (define-public cl-syntax-annot
3806 (sbcl-package->cl-source-package sbcl-cl-syntax-annot))
3807
3808 (define-public sbcl-cl-utilities
3809 (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b")
3810 (revision "1"))
3811 (package
3812 (name "sbcl-cl-utilities")
3813 (version (git-version "0.0.0" revision commit))
3814 (source
3815 (origin
3816 (method url-fetch)
3817 (uri
3818 (string-append
3819 "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/"
3820 "archive/" commit "/cl-utilities-" commit ".tar.gz"))
3821 (sha256
3822 (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2"))))
3823 (build-system asdf-build-system/sbcl)
3824 (arguments
3825 '(#:asd-file "cl-utilities.asd"
3826 #:asd-system-name "cl-utilities"
3827 #:phases
3828 (modify-phases %standard-phases
3829 (add-after 'unpack 'fix-paths
3830 (lambda* (#:key inputs #:allow-other-keys)
3831 (substitute* "rotate-byte.lisp"
3832 (("in-package :cl-utilities)" all)
3833 "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
3834 (home-page "http://common-lisp.net/project/cl-utilities")
3835 (synopsis "A collection of semi-standard utilities")
3836 (description
3837 "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
3838 is a collection of Common Lisp Utilities, things that everybody writes since
3839 they're not part of the official standard. There are some very useful things
3840 there; the only problems are that they aren't implemented as well as you'd
3841 like (some aren't implemented at all) and they aren't conveniently packaged
3842 and maintained. It takes quite a bit of work to carefully implement utilities
3843 for common use, commented and documented, with error checking placed
3844 everywhere some dumb user might make a mistake.")
3845 (license license:public-domain))))
3846
3847 (define-public cl-utilities
3848 (sbcl-package->cl-source-package sbcl-cl-utilities))
3849
3850 (define-public sbcl-map-set
3851 (let ((commit "7b4b545b68b8")
3852 (revision "1"))
3853 (package
3854 (name "sbcl-map-set")
3855 (version (git-version "0.0.0" revision commit))
3856 (source
3857 (origin
3858 (method url-fetch)
3859 (uri (string-append
3860 "https://bitbucket.org/tarballs_are_good/map-set/get/"
3861 commit ".tar.gz"))
3862 (sha256
3863 (base32 "1sx5j5qdsy5fklspfammwb16kjrhkggdavm922a9q86jm5l0b239"))))
3864 (build-system asdf-build-system/sbcl)
3865 (home-page "https://bitbucket.org/tarballs_are_good/map-set")
3866 (synopsis "Set-like data structure")
3867 (description
3868 "Implementation of a set-like data structure with constant time
3869 addition, removal, and random selection.")
3870 (license license:bsd-3))))
3871
3872 (define-public cl-map-set
3873 (sbcl-package->cl-source-package sbcl-map-set))
3874
3875 (define-public sbcl-quri
3876 (let ((commit "76b75103f21ead092c9f715512fa82441ef61185")
3877 (revision "1"))
3878 (package
3879 (name "sbcl-quri")
3880 (version (git-version "0.1.0" revision commit))
3881 (source
3882 (origin
3883 (method git-fetch)
3884 (uri (git-reference
3885 (url "https://github.com/fukamachi/quri.git")
3886 (commit commit)))
3887 (file-name (git-file-name name version))
3888 (sha256
3889 (base32 "1ccbxsgzdibmzq33mmbmmz9vwl6l03xh6nbpsh1hkdvdcl7q0a60"))))
3890 (build-system asdf-build-system/sbcl)
3891 (arguments
3892 ;; Tests fail with: Component QURI-ASD::QURI-TEST not found,
3893 ;; required by #<SYSTEM "quri">. Why?
3894 '(#:tests? #f))
3895 (native-inputs `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3896 ("sbcl-prove" ,sbcl-prove)))
3897 (inputs `(("sbcl-babel" ,sbcl-babel)
3898 ("sbcl-split-sequence" ,sbcl-split-sequence)
3899 ("sbcl-cl-utilities" ,sbcl-cl-utilities)
3900 ("sbcl-alexandria" ,sbcl-alexandria)))
3901 (home-page "https://github.com/fukamachi/quri")
3902 (synopsis "Yet another URI library for Common Lisp")
3903 (description
3904 "QURI (pronounced \"Q-ree\") is yet another URI library for Common
3905 Lisp. It is intended to be a replacement of PURI.")
3906 (license license:bsd-3))))
3907
3908 (define-public cl-quri
3909 (sbcl-package->cl-source-package sbcl-quri))
3910
3911 (define-public sbcl-myway
3912 (let ((commit "286230082a11f879c18b93f17ca571c5f676bfb7")
3913 (revision "1"))
3914 (package
3915 (name "sbcl-myway")
3916 (version (git-version "0.1.0" revision commit))
3917 (source
3918 (origin
3919 (method git-fetch)
3920 (uri (git-reference
3921 (url "https://github.com/fukamachi/myway.git")
3922 (commit commit)))
3923 (file-name (git-file-name "myway" version))
3924 (sha256
3925 (base32 "0briia9bk3lbr0frnx39d1qg6i38dm4j6z9w3yga3d40k6df4a90"))))
3926 (build-system asdf-build-system/sbcl)
3927 (arguments
3928 ;; Tests fail with: Component MYWAY-ASD::MYWAY-TEST not found, required
3929 ;; by #<SYSTEM "myway">. Why?
3930 '(#:tests? #f))
3931 (native-inputs
3932 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3933 ("sbcl-prove" ,sbcl-prove)))
3934 (inputs
3935 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3936 ("sbcl-quri" ,sbcl-quri)
3937 ("sbcl-map-set" ,sbcl-map-set)))
3938 (home-page "https://github.com/fukamachi/myway")
3939 (synopsis "Sinatra-compatible URL routing library for Common Lisp")
3940 (description "My Way is a Sinatra-compatible URL routing library.")
3941 (license license:llgpl))))
3942
3943 (define-public cl-myway
3944 (sbcl-package->cl-source-package sbcl-myway))
3945
3946 (define-public sbcl-xsubseq
3947 (let ((commit "5ce430b3da5cda3a73b9cf5cee4df2843034422b")
3948 (revision "1"))
3949 (package
3950 (name "sbcl-xsubseq")
3951 (version (git-version "0.0.1" revision commit))
3952 (source
3953 (origin
3954 (method git-fetch)
3955 (uri (git-reference
3956 (url "https://github.com/fukamachi/xsubseq")
3957 (commit commit)))
3958 (file-name (git-file-name name version))
3959 (sha256
3960 (base32 "1xz79q0p2mclf3sqjiwf6izdpb6xrsr350bv4mlmdlm6rg5r99px"))))
3961 (build-system asdf-build-system/sbcl)
3962 (arguments
3963 ;; Tests fail with: Component XSUBSEQ-ASD::XSUBSEQ-TEST not found,
3964 ;; required by #<SYSTEM "xsubseq">. Why?
3965 '(#:tests? #f))
3966 (native-inputs
3967 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
3968 ("sbcl-prove" ,sbcl-prove)))
3969 (home-page "https://github.com/fukamachi/xsubseq")
3970 (synopsis "Efficient way to use \"subseq\"s in Common Lisp")
3971 (description
3972 "XSubseq provides functions to be able to handle \"subseq\"s more
3973 effieiently.")
3974 (license license:bsd-2))))
3975
3976 (define-public cl-xsubseq
3977 (sbcl-package->cl-source-package sbcl-xsubseq))
3978
3979 (define-public sbcl-smart-buffer
3980 (let ((commit "09b9a9a0b3abaa37abe9a730f5aac2643dca4e62")
3981 (revision "1"))
3982 (package
3983 (name "sbcl-smart-buffer")
3984 (version (git-version "0.0.1" revision commit))
3985 (source
3986 (origin
3987 (method git-fetch)
3988 (uri (git-reference
3989 (url "https://github.com/fukamachi/smart-buffer")
3990 (commit commit)))
3991 (file-name (git-file-name name version))
3992 (sha256
3993 (base32 "0qz1zzxx0wm5ff7gpgsq550a59p0qj594zfmm2rglj97dahj54l7"))))
3994 (build-system asdf-build-system/sbcl)
3995 (arguments
3996 ;; Tests fail with: Component SMART-BUFFER-ASD::SMART-BUFFER-TEST not
3997 ;; found, required by #<SYSTEM "smart-buffer">. Why?
3998 `(#:tests? #f))
3999 (native-inputs
4000 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4001 ("sbcl-prove" ,sbcl-prove)))
4002 (inputs
4003 `(("sbcl-xsubseq" ,sbcl-xsubseq)
4004 ("sbcl-flexi-streams" ,sbcl-flexi-streams)))
4005 (home-page "https://github.com/fukamachi/smart-buffer")
4006 (synopsis "Smart octets buffer")
4007 (description
4008 "Smart-buffer provides an output buffer which changes the destination
4009 depending on content size.")
4010 (license license:bsd-3))))
4011
4012 (define-public cl-smart-buffer
4013 (sbcl-package->cl-source-package sbcl-smart-buffer))
4014
4015 (define-public sbcl-fast-http
4016 (let ((commit "f9e7597191bae380503e20724fd493a24d024935")
4017 (revision "1"))
4018 (package
4019 (name "sbcl-fast-http")
4020 (version (git-version "0.2.0" revision commit))
4021 (source
4022 (origin
4023 (method git-fetch)
4024 (uri (git-reference
4025 (url "https://github.com/fukamachi/fast-http")
4026 (commit commit)))
4027 (file-name (git-file-name name version))
4028 (sha256
4029 (base32 "0qdmwv2zm0sizxdb8nnclgwl0nfjcbjaimbakavikijw7lr9b4jp"))))
4030 (build-system asdf-build-system/sbcl)
4031 (arguments
4032 ;; Tests fail with: Component FAST-HTTP-ASD::FAST-HTTP-TEST not found,
4033 ;; required by #<SYSTEM "fast-http">. Why?
4034 `(#:tests? #f))
4035 (native-inputs
4036 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4037 ("sbcl-prove" ,sbcl-prove)))
4038 (inputs
4039 `(("sbcl-alexandria" ,sbcl-alexandria)
4040 ("sbcl-proc-parse" ,sbcl-proc-parse)
4041 ("sbcl-xsubseq" ,sbcl-xsubseq)
4042 ("sbcl-smart-buffer" ,sbcl-smart-buffer)
4043 ("sbcl-cl-utilities" ,sbcl-cl-utilities)))
4044 (home-page "https://github.com/fukamachi/fast-http")
4045 (synopsis "HTTP request/response parser for Common Lisp")
4046 (description
4047 "@code{fast-http} is a HTTP request/response protocol parser for Common
4048 Lisp.")
4049 ;; Author specified the MIT license
4050 (license license:expat))))
4051
4052 (define-public cl-fast-http
4053 (sbcl-package->cl-source-package sbcl-fast-http))
4054
4055 (define-public sbcl-static-vectors
4056 (let ((commit "0681eac1f49370cde03e64b077251e8abf47d702")
4057 (revision "1"))
4058 (package
4059 (name "sbcl-static-vectors")
4060 (version (git-version "1.8.3" revision commit))
4061 (source
4062 (origin
4063 (method git-fetch)
4064 (uri (git-reference
4065 (url "https://github.com/sionescu/static-vectors.git")
4066 (commit commit)))
4067 (file-name (git-file-name name version))
4068 (sha256
4069 (base32 "138nlsq14hv8785ycjm6jw3i6ablhq8vcwys7q09y80arcgrg6r3"))))
4070 (native-inputs
4071 `(("sbcl-fiveam" ,sbcl-fiveam)))
4072 (inputs
4073 `(("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
4074 ("sbcl-cffi" ,sbcl-cffi)))
4075 (build-system asdf-build-system/sbcl)
4076 (home-page "http://common-lisp.net/projects/iolib/")
4077 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
4078 (description
4079 "With @code{static-vectors}, you can create vectors allocated in static
4080 memory.")
4081 (license license:expat))))
4082
4083 (define-public cl-static-vectors
4084 (sbcl-package->cl-source-package sbcl-static-vectors))
4085
4086 (define-public sbcl-marshal
4087 (let ((commit "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec")
4088 (revision "1"))
4089 (package
4090 (name "sbcl-marshal")
4091 (version (git-version "1.3.0" revision commit))
4092 (source
4093 (origin
4094 (method git-fetch)
4095 (uri (git-reference
4096 (url "https://github.com/wlbr/cl-marshal.git")
4097 (commit commit)))
4098 (file-name (git-file-name name version))
4099 (sha256
4100 (base32 "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh"))))
4101 (build-system asdf-build-system/sbcl)
4102 (home-page "https://github.com/wlbr/cl-marshal")
4103 (synopsis "Simple (de)serialization of Lisp datastructures")
4104 (description
4105 "Simple and fast marshalling of Lisp datastructures. Convert any object
4106 into a string representation, put it on a stream an revive it from there.
4107 Only minimal changes required to make your CLOS objects serializable.")
4108 (license license:expat))))
4109
4110 (define-public cl-marshal
4111 (sbcl-package->cl-source-package sbcl-marshal))
4112
4113 (define-public sbcl-checkl
4114 (let ((commit "80328800d047fef9b6e32dfe6bdc98396aee3cc9")
4115 (revision "1"))
4116 (package
4117 (name "sbcl-checkl")
4118 (version (git-version "0.0.0" revision commit))
4119 (source
4120 (origin
4121 (method git-fetch)
4122 (uri (git-reference
4123 (url "https://github.com/rpav/CheckL.git")
4124 (commit commit)))
4125 (file-name (git-file-name name version))
4126 (sha256
4127 (base32 "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx"))))
4128 (build-system asdf-build-system/sbcl)
4129 (arguments
4130 ;; Error while trying to load definition for system checkl-test from
4131 ;; pathname [...]/checkl-test.asd: The function CHECKL:DEFINE-TEST-OP
4132 ;; is undefined.
4133 '(#:tests? #f))
4134 (native-inputs
4135 `(("sbcl-fiveam" ,sbcl-fiveam)))
4136 (inputs
4137 `(("sbcl-marshal" ,sbcl-marshal)))
4138 (home-page "https://github.com/rpav/CheckL/")
4139 (synopsis "Dynamic testing for Common Lisp")
4140 (description
4141 "CheckL lets you write tests dynamically, it checks resulting values
4142 against the last run.")
4143 ;; The author specifies both LLGPL and "BSD", but the "BSD" license
4144 ;; isn't specified anywhere, so I don't know which kind. LLGPL is the
4145 ;; stronger of the two and so I think only listing this should suffice.
4146 (license license:llgpl))))
4147
4148 (define-public cl-checkl
4149 (sbcl-package->cl-source-package sbcl-checkl))
4150
4151 (define-public sbcl-fast-io
4152 (let ((commit "dc3a71db7e9b756a88781ae9c342fe9d4bbab51c")
4153 (revision "1"))
4154 (package
4155 (name "sbcl-fast-io")
4156 (version (git-version "1.0.0" revision commit))
4157 (source
4158 (origin
4159 (method git-fetch)
4160 (uri (git-reference
4161 (url "https://github.com/rpav/fast-io.git")
4162 (commit commit)))
4163 (file-name (git-file-name name version))
4164 (sha256
4165 (base32 "1jsp6xvi26ln6fdy5j5zi05xvan8jsqdhisv552dy6xg6ws8i1yq"))))
4166 (build-system asdf-build-system/sbcl)
4167 (arguments
4168 ;; Error while trying to load definition for system fast-io-test from
4169 ;; pathname [...]/fast-io-test.asd: The function CHECKL:DEFINE-TEST-OP
4170 ;; is undefined.
4171 '(#:tests? #f))
4172 (native-inputs
4173 `(("sbcl-fiveam" ,sbcl-fiveam)
4174 ("sbcl-checkl" ,sbcl-checkl)))
4175 (inputs
4176 `(("sbcl-alexandria" ,sbcl-alexandria)
4177 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
4178 ("sbcl-static-vectors" ,sbcl-static-vectors)))
4179 (home-page "https://github.com/rpav/fast-io")
4180 (synopsis "Fast octet-vector/stream I/O for Common Lisp")
4181 (description
4182 "Fast-io is about improving performance to octet-vectors and octet
4183 streams (though primarily the former, while wrapping the latter).")
4184 ;; Author specifies this as NewBSD which is an alias
4185 (license license:bsd-3))))
4186
4187 (define-public cl-fast-io
4188 (sbcl-package->cl-source-package sbcl-fast-io))
4189
4190 (define-public sbcl-jonathan
4191 (let ((commit "1f448b4f7ac8265e56e1c02b32ce383e65316300")
4192 (revision "1"))
4193 (package
4194 (name "sbcl-jonathan")
4195 (version (git-version "0.1.0" revision commit))
4196 (source
4197 (origin
4198 (method git-fetch)
4199 (uri (git-reference
4200 (url "https://github.com/Rudolph-Miller/jonathan.git")
4201 (commit commit)))
4202 (file-name (git-file-name name version))
4203 (sha256
4204 (base32 "14x4iwz3mbag5jzzzr4sb6ai0m9r4q4kyypbq32jmsk2dx1hi807"))))
4205 (build-system asdf-build-system/sbcl)
4206 (arguments
4207 ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found,
4208 ;; required by #<SYSTEM "jonathan">. Why?
4209 `(#:tests? #f))
4210 (native-inputs
4211 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4212 ("sbcl-prove" ,sbcl-prove)))
4213 (inputs
4214 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4215 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4216 ("sbcl-fast-io" ,sbcl-fast-io)
4217 ("sbcl-proc-parse" ,sbcl-proc-parse)
4218 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
4219 (home-page "http://rudolph-miller.github.io/jonathan/overview.html")
4220 (synopsis "JSON encoder and decoder")
4221 (description
4222 "High performance JSON encoder and decoder. Currently support: SBCL,
4223 CCL.")
4224 ;; Author specifies the MIT license
4225 (license license:expat))))
4226
4227 (define-public cl-jonathan
4228 (sbcl-package->cl-source-package sbcl-jonathan))
4229
4230 (define-public sbcl-http-body
4231 (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
4232 (revision "1"))
4233 (package
4234 (name "sbcl-http-body")
4235 (version (git-version "0.1.0" revision commit))
4236 (source
4237 (origin
4238 (method git-fetch)
4239 (uri (git-reference
4240 (url "https://github.com/fukamachi/http-body")
4241 (commit commit)))
4242 (file-name (git-file-name name version))
4243 (sha256
4244 (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
4245 (build-system asdf-build-system/sbcl)
4246 (arguments
4247 ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
4248 ;; found, required by #<SYSTEM "http-body">. Why?
4249 `(#:tests? #f))
4250 (native-inputs
4251 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4252 ("sbcl-prove" ,sbcl-prove)))
4253 (inputs
4254 `(("sbcl-fast-http" ,sbcl-fast-http)
4255 ("sbcl-jonathan" ,sbcl-jonathan)
4256 ("sbcl-quri" ,sbcl-quri)))
4257 (home-page "https://github.com/fukamachi/http-body")
4258 (synopsis "HTTP POST data parser")
4259 (description
4260 "HTTP-Body parses HTTP POST data and returns POST parameters. It
4261 supports application/x-www-form-urlencoded, application/json, and
4262 multipart/form-data.")
4263 (license license:bsd-2))))
4264
4265 (define-public cl-http-body
4266 (sbcl-package->cl-source-package sbcl-http-body))
4267
4268 (define-public sbcl-circular-streams
4269 (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df")
4270 (revision "1"))
4271 (package
4272 (name "sbcl-circular-streams")
4273 (version (git-version "0.1.0" revision commit))
4274 (source
4275 (origin
4276 (method git-fetch)
4277 (uri (git-reference
4278 (url "https://github.com/fukamachi/circular-streams")
4279 (commit commit)))
4280 (file-name (git-file-name name version))
4281 (sha256
4282 (base32 "1wpw6d5cciyqcf92f7mvihak52pd5s47kk4qq6f0r2z2as68p5rs"))))
4283 (build-system asdf-build-system/sbcl)
4284 (arguments
4285 ;; The tests depend on cl-test-more which is now prove. Prove
4286 ;; tests aren't working for some reason.
4287 `(#:tests? #f))
4288 (inputs
4289 `(("sbcl-fast-io" ,sbcl-fast-io)
4290 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
4291 (home-page "https://github.com/fukamachi/circular-streams")
4292 (synopsis "Circularly readable streams for Common Lisp")
4293 (description
4294 "Circular-Streams allows you to read streams circularly by wrapping real
4295 streams. Once you reach end-of-file of a stream, it's file position will be
4296 reset to 0 and you're able to read it again.")
4297 (license license:llgpl))))
4298
4299 (define-public cl-circular-streams
4300 (sbcl-package->cl-source-package sbcl-circular-streams))
4301
4302 (define-public sbcl-lack-request
4303 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4304 (revision "1"))
4305 (package
4306 (name "sbcl-lack-request")
4307 (version (git-version "0.1.0" revision commit))
4308 (source
4309 (origin
4310 (method git-fetch)
4311 (uri (git-reference
4312 (url "https://github.com/fukamachi/lack.git")
4313 (commit commit)))
4314 (file-name (git-file-name "lack-request" version))
4315 (sha256
4316 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4317 (build-system asdf-build-system/sbcl)
4318 (arguments
4319 '(#:asd-file "lack-request.asd"
4320 #:asd-system-name "lack-request"
4321 #:test-asd-file "t-lack-request.asd"
4322 ;; XXX: Component :CLACK-TEST not found
4323 #:tests? #f))
4324 (native-inputs
4325 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4326 ("sbcl-prove" ,sbcl-prove)))
4327 (inputs
4328 `(("sbcl-quri" ,sbcl-quri)
4329 ("sbcl-http-body" ,sbcl-http-body)
4330 ("sbcl-circular-streams" ,sbcl-circular-streams)))
4331 (home-page "https://github.com/fukamachi/lack")
4332 (synopsis "Lack, the core of Clack")
4333 (description
4334 "Lack is a Common Lisp library which allows web applications to be
4335 constructed of modular components. It was originally a part of Clack, however
4336 it's going to be rewritten as an individual project since Clack v2 with
4337 performance and simplicity in mind.")
4338 (license license:llgpl))))
4339
4340 (define-public cl-lack-request
4341 (sbcl-package->cl-source-package sbcl-lack-request))
4342
4343 (define-public sbcl-local-time
4344 (let ((commit "beac054eef428552b63d4ae7820c32ffef9a3015")
4345 (revision "1"))
4346 (package
4347 (name "sbcl-local-time")
4348 (version (git-version "1.0.6" revision commit))
4349 (source
4350 (origin
4351 (method git-fetch)
4352 (uri (git-reference
4353 (url "https://github.com/dlowe-net/local-time.git")
4354 (commit commit)))
4355 (file-name (git-file-name name version))
4356 (sha256
4357 (base32 "0xhkmgxh41dg2wwlsp0h2l41jp144xn4gpxhh0lna6kh0560w2cc"))))
4358 (build-system asdf-build-system/sbcl)
4359 (arguments
4360 ;; TODO: Component :STEFIL not found, required by #<SYSTEM
4361 ;; "local-time/test">
4362 '(#:tests? #f))
4363 (native-inputs
4364 `(("stefil" ,sbcl-hu.dwim.stefil)))
4365 (inputs
4366 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4367 (home-page "https://common-lisp.net/project/local-time/")
4368 (synopsis "Time manipulation library for Common Lisp")
4369 (description
4370 "The LOCAL-TIME library is a Common Lisp library for the manipulation of
4371 dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4372 Long Painful History of Time\".")
4373 (license license:expat))))
4374
4375 (define-public cl-local-time
4376 (sbcl-package->cl-source-package sbcl-local-time))
4377
4378 (define-public sbcl-lack-response
4379 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4380 (revision "1"))
4381 (package
4382 (name "sbcl-lack-response")
4383 (version (git-version "0.1.0" revision commit))
4384 (source
4385 (origin
4386 (method git-fetch)
4387 (uri (git-reference
4388 (url "https://github.com/fukamachi/lack.git")
4389 (commit commit)))
4390 (file-name (git-file-name name version))
4391 (sha256
4392 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4393 (build-system asdf-build-system/sbcl)
4394 (arguments
4395 '(#:asd-file "lack-response.asd"
4396 #:asd-system-name "lack-response"
4397 ;; XXX: no tests for lack-response.
4398 #:tests? #f))
4399 (native-inputs
4400 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4401 ("sbcl-prove" ,sbcl-prove)))
4402 (inputs
4403 `(("sbcl-quri" ,sbcl-quri)
4404 ("sbcl-http-body" ,sbcl-http-body)
4405 ("sbcl-circular-streams" ,sbcl-circular-streams)
4406 ("sbcl-local-time" ,sbcl-local-time)))
4407 (home-page "https://github.com/fukamachi/lack")
4408 (synopsis "Lack, the core of Clack")
4409 (description
4410 "Lack is a Common Lisp library which allows web applications to be
4411 constructed of modular components. It was originally a part of Clack, however
4412 it's going to be rewritten as an individual project since Clack v2 with
4413 performance and simplicity in mind.")
4414 (license license:llgpl))))
4415
4416 (define-public cl-lack-response
4417 (sbcl-package->cl-source-package sbcl-lack-response))
4418
4419 (define-public sbcl-lack-component
4420 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4421 (revision "1"))
4422 (package
4423 (name "sbcl-lack-component")
4424 (version (git-version "0.0.0" revision commit))
4425 (source
4426 (origin
4427 (method git-fetch)
4428 (uri (git-reference
4429 (url "https://github.com/fukamachi/lack.git")
4430 (commit commit)))
4431 (file-name (git-file-name "lack-component" version))
4432 (sha256
4433 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4434 (build-system asdf-build-system/sbcl)
4435 (arguments
4436 '(#:asd-file "lack-component.asd"
4437 #:asd-system-name "lack-component"
4438 #:test-asd-file "t-lack-component.asd"
4439 ;; XXX: Component :LACK-TEST not found
4440 #:tests? #f))
4441 (native-inputs
4442 `(("prove-asdf" ,sbcl-prove-asdf)))
4443 (home-page "https://github.com/fukamachi/lack")
4444 (synopsis "Lack, the core of Clack")
4445 (description
4446 "Lack is a Common Lisp library which allows web applications to be
4447 constructed of modular components. It was originally a part of Clack, however
4448 it's going to be rewritten as an individual project since Clack v2 with
4449 performance and simplicity in mind.")
4450 (license license:llgpl))))
4451
4452 (define-public cl-lack-component
4453 (sbcl-package->cl-source-package sbcl-lack-component))
4454
4455 (define-public sbcl-lack-util
4456 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4457 (revision "1"))
4458 (package
4459 (name "sbcl-lack-util")
4460 (version (git-version "0.1.0" revision commit))
4461 (source
4462 (origin
4463 (method git-fetch)
4464 (uri (git-reference
4465 (url "https://github.com/fukamachi/lack.git")
4466 (commit commit)))
4467 (file-name (git-file-name "lack-util" version))
4468 (sha256
4469 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4470 (build-system asdf-build-system/sbcl)
4471 (arguments
4472 '(#:asd-file "lack-util.asd"
4473 #:asd-system-name "lack-util"
4474 #:test-asd-file "t-lack-util.asd"
4475 ;; XXX: Component :LACK-TEST not found
4476 #:tests? #f))
4477 (native-inputs
4478 `(("prove-asdf" ,sbcl-prove-asdf)))
4479 (inputs
4480 `(("sbcl-ironclad" ,sbcl-ironclad)))
4481 (home-page "https://github.com/fukamachi/lack")
4482 (synopsis "Lack, the core of Clack")
4483 (description
4484 "Lack is a Common Lisp library which allows web applications to be
4485 constructed of modular components. It was originally a part of Clack, however
4486 it's going to be rewritten as an individual project since Clack v2 with
4487 performance and simplicity in mind.")
4488 (license license:llgpl))))
4489
4490 (define-public cl-lack-util
4491 (sbcl-package->cl-source-package sbcl-lack-util))
4492
4493 (define-public sbcl-lack-middleware-backtrace
4494 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4495 (revision "1"))
4496 (package
4497 (name "sbcl-lack-middleware-backtrace")
4498 (version (git-version "0.1.0" revision commit))
4499 (source
4500 (origin
4501 (method git-fetch)
4502 (uri (git-reference
4503 (url "https://github.com/fukamachi/lack.git")
4504 (commit commit)))
4505 (file-name (git-file-name "lack-middleware-backtrace" version))
4506 (sha256
4507 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4508 (build-system asdf-build-system/sbcl)
4509 (arguments
4510 '(#:asd-file "lack-middleware-backtrace.asd"
4511 #:asd-system-name "lack-middleware-backtrace"
4512 #:test-asd-file "t-lack-middleware-backtrace.asd"
4513 ;; XXX: Component :LACK not found
4514 #:tests? #f))
4515 (native-inputs
4516 `(("prove-asdf" ,sbcl-prove-asdf)))
4517 (home-page "https://github.com/fukamachi/lack")
4518 (synopsis "Lack, the core of Clack")
4519 (description
4520 "Lack is a Common Lisp library which allows web applications to be
4521 constructed of modular components. It was originally a part of Clack, however
4522 it's going to be rewritten as an individual project since Clack v2 with
4523 performance and simplicity in mind.")
4524 (license license:llgpl))))
4525
4526 (define-public cl-lack-middleware-backtrace
4527 (sbcl-package->cl-source-package sbcl-lack-middleware-backtrace))
4528
4529 (define-public sbcl-trivial-mimes
4530 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
4531 (revision "1"))
4532 (package
4533 (name "sbcl-trivial-mimes")
4534 (version (git-version "1.1.0" revision commit))
4535 (source
4536 (origin
4537 (method git-fetch)
4538 (uri (git-reference
4539 (url "https://github.com/Shinmera/trivial-mimes.git")
4540 (commit commit)))
4541 (file-name (git-file-name name version))
4542 (sha256
4543 (base32 "17jxgl47r695bvsb7wi3n2ws5rp1zzgvw0zii8cy5ggw4b4ayv6m"))))
4544 (build-system asdf-build-system/sbcl)
4545 (arguments
4546 '(#:phases
4547 (modify-phases %standard-phases
4548 (add-after
4549 'unpack 'fix-paths
4550 (lambda* (#:key inputs #:allow-other-keys)
4551 (let ((anchor "#p\"/etc/mime.types\""))
4552 (substitute* "mime-types.lisp"
4553 ((anchor all)
4554 (string-append
4555 anchor "\n"
4556 "(asdf:system-relative-pathname :trivial-mimes "
4557 "\"../../share/common-lisp/" (%lisp-type)
4558 "-source/trivial-mimes/mime.types\")")))))))))
4559 (native-inputs
4560 `(("stefil" ,sbcl-hu.dwim.stefil)))
4561 (inputs
4562 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4563 (home-page "http://shinmera.github.io/trivial-mimes/")
4564 (synopsis "Tiny Common Lisp library to detect mime types in files")
4565 (description
4566 "This is a teensy library that provides some functions to determine the
4567 mime-type of a file.")
4568 (license license:artistic2.0))))
4569
4570 (define-public cl-trivial-mimes
4571 (sbcl-package->cl-source-package sbcl-trivial-mimes))
4572
4573 (define-public ecl-trivial-mimes
4574 (sbcl-package->ecl-package sbcl-trivial-mimes))
4575
4576 (define-public sbcl-lack-middleware-static
4577 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4578 (revision "1"))
4579 (package
4580 (name "sbcl-lack-middleware-static")
4581 (version (git-version "0.1.0" revision commit))
4582 (source
4583 (origin
4584 (method git-fetch)
4585 (uri (git-reference
4586 (url "https://github.com/fukamachi/lack.git")
4587 (commit commit)))
4588 (file-name (git-file-name "lack-middleware-static" version))
4589 (sha256
4590 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4591 (build-system asdf-build-system/sbcl)
4592 (arguments
4593 '(#:asd-file "lack-middleware-static.asd"
4594 #:asd-system-name "lack-middleware-static"
4595 #:test-asd-file "t-lack-middleware-static.asd"
4596 ;; XXX: Component :LACK not found
4597 #:tests? #f))
4598 (native-inputs
4599 `(("prove-asdf" ,sbcl-prove-asdf)))
4600 (inputs
4601 `(("sbcl-ironclad" ,sbcl-ironclad)
4602 ("sbcl-trivial-mimes" ,sbcl-trivial-mimes)
4603 ("sbcl-local-time" ,sbcl-local-time)))
4604 (home-page "https://github.com/fukamachi/lack")
4605 (synopsis "Lack, the core of Clack")
4606 (description
4607 "Lack is a Common Lisp library which allows web applications to be
4608 constructed of modular components. It was originally a part of Clack, however
4609 it's going to be rewritten as an individual project since Clack v2 with
4610 performance and simplicity in mind.")
4611 (license license:llgpl))))
4612
4613 (define-public cl-lack-middleware-static
4614 (sbcl-package->cl-source-package sbcl-lack-middleware-static))
4615
4616 (define-public sbcl-lack
4617 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4618 (revision "1"))
4619 (package
4620 (name "sbcl-lack")
4621 (version (git-version "0.1.0" revision commit))
4622 (source
4623 (origin
4624 (method git-fetch)
4625 (uri (git-reference
4626 (url "https://github.com/fukamachi/lack.git")
4627 (commit commit)))
4628 (file-name (git-file-name "lack" version))
4629 (sha256
4630 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4631 (build-system asdf-build-system/sbcl)
4632 (arguments
4633 '(#:test-asd-file "t-lack.asd"
4634 ;; XXX: Component :CLACK not found
4635 #:tests? #f))
4636 (native-inputs
4637 `(("prove-asdf" ,sbcl-prove-asdf)))
4638 (inputs
4639 `(("sbcl-lack-component" ,sbcl-lack-component)
4640 ("sbcl-lack-util" ,sbcl-lack-util)))
4641 (home-page "https://github.com/fukamachi/lack")
4642 (synopsis "Lack, the core of Clack")
4643 (description
4644 "Lack is a Common Lisp library which allows web applications to be
4645 constructed of modular components. It was originally a part of Clack, however
4646 it's going to be rewritten as an individual project since Clack v2 with
4647 performance and simplicity in mind.")
4648 (license license:llgpl))))
4649
4650 (define-public cl-lack
4651 (sbcl-package->cl-source-package sbcl-lack))
4652
4653 (define-public sbcl-ningle
4654 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
4655 (revision "1"))
4656 (package
4657 (name "sbcl-ningle")
4658 (version (git-version "0.3.0" revision commit))
4659 (source
4660 (origin
4661 (method git-fetch)
4662 (uri (git-reference
4663 (url "https://github.com/fukamachi/ningle.git")
4664 (commit commit)))
4665 (file-name (git-file-name name version))
4666 (sha256
4667 (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
4668 (build-system asdf-build-system/sbcl)
4669 (arguments
4670 ;; TODO: pull in clack-test
4671 '(#:tests? #f
4672 #:phases
4673 (modify-phases %standard-phases
4674 (delete 'cleanup-files)
4675 (delete 'cleanup)
4676 (add-before 'cleanup 'combine-fasls
4677 (lambda* (#:key outputs #:allow-other-keys)
4678 (let* ((out (assoc-ref outputs "out"))
4679 (lib (string-append out "/lib/sbcl"))
4680 (ningle-path (string-append lib "/ningle"))
4681 (fasl-files (find-files out "\\.fasl$")))
4682 (mkdir-p ningle-path)
4683 (let ((fasl-path (lambda (name)
4684 (string-append ningle-path
4685 "/"
4686 (basename name)
4687 "--system.fasl"))))
4688 (for-each (lambda (file)
4689 (rename-file file
4690 (fasl-path
4691 (basename file ".fasl"))))
4692 fasl-files))
4693 fasl-files)
4694 #t)))))
4695 (native-inputs
4696 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4697 ("sbcl-prove" ,sbcl-prove)))
4698 (inputs
4699 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4700 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4701 ("sbcl-myway" ,sbcl-myway)
4702 ("sbcl-lack-request" ,sbcl-lack-request)
4703 ("sbcl-lack-response" ,sbcl-lack-response)
4704 ("sbcl-lack-component" ,sbcl-lack-component)
4705 ("sbcl-alexandria" ,sbcl-alexandria)
4706 ("sbcl-babel" ,sbcl-babel)))
4707 (home-page "http://8arrow.org/ningle/")
4708 (synopsis "Super micro framework for Common Lisp")
4709 (description
4710 "Ningle is a lightweight web application framework for Common Lisp.")
4711 (license license:llgpl))))
4712
4713 (define-public cl-ningle
4714 (sbcl-package->cl-source-package sbcl-ningle))
4715
4716 (define-public sbcl-clack
4717 (let ((commit "e3e032843bb1220ab96263c411aa7f2feb4746e0")
4718 (revision "1"))
4719 (package
4720 (name "sbcl-clack")
4721 (version (git-version "2.0.0" revision commit))
4722 (source
4723 (origin
4724 (method git-fetch)
4725 (uri (git-reference
4726 (url "https://github.com/fukamachi/clack.git")
4727 (commit commit)))
4728 (file-name (git-file-name name version))
4729 (sha256
4730 (base32 "1ymzs6qyrwhlj6cgqsnpyn6g5cbp7a3s1vgxwna20y2q7y4iacy0"))))
4731 (build-system asdf-build-system/sbcl)
4732 (inputs
4733 `(("sbcl-lack" ,sbcl-lack)
4734 ("sbcl-lack-middleware-backtrace" ,sbcl-lack-middleware-backtrace)
4735 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)))
4736 (home-page "https://github.com/fukamachi/clack")
4737 (synopsis "Web Application Environment for Common Lisp")
4738 (description
4739 "Clack is a web application environment for Common Lisp inspired by
4740 Python's WSGI and Ruby's Rack.")
4741 (license license:llgpl))))
4742
4743 (define-public cl-clack
4744 (sbcl-package->cl-source-package sbcl-clack))
4745
4746 (define-public sbcl-log4cl
4747 (let ((commit "611e094458504b938d49de904eab141285328c7c")
4748 (revision "1"))
4749 (package
4750 (name "sbcl-log4cl")
4751 (build-system asdf-build-system/sbcl)
4752 (version "1.1.2")
4753 (source
4754 (origin
4755 (method git-fetch)
4756 (uri (git-reference
4757 (url "https://github.com/sharplispers/log4cl")
4758 (commit commit)))
4759 (file-name (git-file-name name version))
4760 (sha256
4761 (base32
4762 "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
4763 ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
4764 (arguments
4765 `(#:tests? #f))
4766 (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
4767 (synopsis "Common Lisp logging framework, modeled after Log4J")
4768 (home-page "https://github.com/7max/log4cl")
4769 (description "This is a Common Lisp logging framework that can log at
4770 various levels and mix text with expressions.")
4771 (license license:asl2.0))))
4772
4773 (define-public cl-log4cl
4774 (sbcl-package->cl-source-package sbcl-log4cl))
4775
4776 (define-public ecl-log4cl
4777 (sbcl-package->ecl-package sbcl-log4cl))
4778
4779 (define-public sbcl-find-port
4780 (let ((commit "00c96a25af93a0f8681d34ec548861f2d7485478")
4781 (revision "1"))
4782 (package
4783 (name "sbcl-find-port")
4784 (build-system asdf-build-system/sbcl)
4785 (version "0.1")
4786 (home-page "https://github.com/eudoxia0/find-port")
4787 (source
4788 (origin
4789 (method git-fetch)
4790 (uri (git-reference
4791 (url home-page)
4792 (commit commit)))
4793 (file-name (git-file-name name version))
4794 (sha256
4795 (base32
4796 "0d6dzbb45jh0rx90wgs6v020k2xa87mvzas3mvfzvivjvqqlpryq"))))
4797 (native-inputs
4798 `(("fiveam" ,sbcl-fiveam)))
4799 (inputs
4800 `(("sbcl-usocket" ,sbcl-usocket)))
4801 (synopsis "Find open ports programmatically in Common Lisp")
4802 (description "This is a small Common Lisp library that finds an open
4803 port within a range.")
4804 (license license:expat))))
4805
4806 (define-public cl-find-port
4807 (sbcl-package->cl-source-package sbcl-find-port))
4808
4809 (define-public ecl-find-port
4810 (sbcl-package->ecl-package sbcl-find-port))
4811
4812 (define-public sbcl-clunit
4813 (let ((commit "6f6d72873f0e1207f037470105969384f8380628")
4814 (revision "1"))
4815 (package
4816 (name "sbcl-clunit")
4817 (version (git-version "0.2.3" revision commit))
4818 (source
4819 (origin
4820 (method git-fetch)
4821 (uri (git-reference
4822 (url "https://github.com/tgutu/clunit.git")
4823 (commit commit)))
4824 (file-name (git-file-name name version))
4825 (sha256
4826 (base32
4827 "1idf2xnqzlhi8rbrqmzpmb3i1l6pbdzhhajkmhwbp6qjkmxa4h85"))))
4828 (build-system asdf-build-system/sbcl)
4829 (synopsis "CLUnit is a Common Lisp unit testing framework")
4830 (description
4831 "CLUnit is a Common Lisp unit testing framework. It is designed
4832 to be easy to use so that you can quickly start testing. CLUnit
4833 provides a rich set of features aimed at improving your unit testing
4834 experience.")
4835 (home-page "http://tgutu.github.io/clunit/")
4836 ;; MIT License
4837 (license license:expat))))
4838
4839 (define-public cl-clunit
4840 (sbcl-package->cl-source-package sbcl-clunit))
4841
4842 (define-public ecl-clunit
4843 (sbcl-package->ecl-package sbcl-clunit))
4844
4845 (define-public sbcl-py4cl
4846 (let ((commit "4c8a2b0814fd311f978964f825ce012290f60136")
4847 (revision "1"))
4848 (package
4849 (name "sbcl-py4cl")
4850 (version (git-version "0.0.0" revision commit))
4851 (source
4852 (origin
4853 (method git-fetch)
4854 (uri (git-reference
4855 (url "https://github.com/bendudson/py4cl.git")
4856 (commit commit)))
4857 (file-name (git-file-name name version))
4858 (sha256
4859 (base32
4860 "15mk7qdqjkj56gdnbyrdyz6r7m1h26ldvn6ch96pmvg5vmr1m45r"))
4861 (modules '((guix build utils)))))
4862 (build-system asdf-build-system/sbcl)
4863 (native-inputs
4864 `(("sbcl-clunit" ,sbcl-clunit)))
4865 (inputs
4866 `(("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
4867 (propagated-inputs
4868 ;; This package doesn't do anything without python available
4869 `(("python" ,python)
4870 ;; For multi-dimensional array support
4871 ("python-numpy" ,python-numpy)))
4872 (arguments
4873 '(#:phases
4874 (modify-phases %standard-phases
4875 (add-after 'unpack 'replace-*base-directory*-var
4876 (lambda* (#:key outputs #:allow-other-keys)
4877 ;; In the ASD, the author makes an attempt to
4878 ;; programatically determine the location of the
4879 ;; source-code so lisp can call into "py4cl.py". We can
4880 ;; hard-code this since we know where this file will
4881 ;; reside.
4882 (substitute* "src/callpython.lisp"
4883 (("py4cl/config:\\*base-directory\\*")
4884 (string-append
4885 "\""
4886 (assoc-ref outputs "out")
4887 "/share/common-lisp/sbcl-source/py4cl/"
4888 "\""))))))))
4889 (synopsis "Call python from Common Lisp")
4890 (description
4891 "Py4CL is a bridge between Common Lisp and Python, which enables Common
4892 Lisp to interact with Python code. It uses streams to communicate with a
4893 separate python process, the approach taken by cl4py. This is different to
4894 the CFFI approach used by burgled-batteries, but has the same goal.")
4895 (home-page "https://github.com/bendudson/py4cl")
4896 ;; MIT License
4897 (license license:expat))))
4898
4899 (define-public cl-py4cl
4900 (sbcl-package->cl-source-package sbcl-py4cl))
4901
4902 (define-public ecl-py4cl
4903 (sbcl-package->ecl-package sbcl-py4cl))
4904
4905 (define-public sbcl-parse-declarations
4906 (package
4907 (name "sbcl-parse-declarations")
4908 (version "1.0.0")
4909 (source
4910 (origin
4911 (method url-fetch)
4912 (uri (string-append
4913 "http://beta.quicklisp.org/archive/parse-declarations/"
4914 "2010-10-06/parse-declarations-20101006-darcs.tgz"))
4915 (sha256
4916 (base32
4917 "0r85b0jfacd28kr65kw9c13dx4i6id1dpmby68zjy63mqbnyawrd"))))
4918 (build-system asdf-build-system/sbcl)
4919 (arguments
4920 `(#:asd-file "parse-declarations-1.0.asd"
4921 #:asd-system-name "parse-declarations-1.0"))
4922 (home-page "https://common-lisp.net/project/parse-declarations/")
4923 (synopsis "Parse, filter, and build declarations")
4924 (description
4925 "Parse-Declarations is a Common Lisp library to help writing
4926 macros which establish bindings. To be semantically correct, such
4927 macros must take user declarations into account, as these may affect
4928 the bindings they establish. Yet the ANSI standard of Common Lisp does
4929 not provide any operators to work with declarations in a convenient,
4930 high-level way. This library provides such operators.")
4931 ;; MIT License
4932 (license license:expat)))
4933
4934 (define-public cl-parse-declarations
4935 (sbcl-package->cl-source-package sbcl-parse-declarations))
4936
4937 (define-public ecl-parse-declarations
4938 (sbcl-package->ecl-package sbcl-parse-declarations))
4939
4940 (define-public sbcl-cl-quickcheck
4941 (let ((commit "807b2792a30c883a2fbecea8e7db355b50ba662f")
4942 (revision "1"))
4943 (package
4944 (name "sbcl-cl-quickcheck")
4945 (version (git-version "0.0.4" revision commit))
4946 (source
4947 (origin
4948 (method git-fetch)
4949 (uri (git-reference
4950 (url "https://github.com/mcandre/cl-quickcheck.git")
4951 (commit commit)))
4952 (file-name (git-file-name name version))
4953 (sha256
4954 (base32
4955 "165lhypq5xkcys6hvzb3jq7ywnmqvzaflda29qk2cbs3ggas4767"))))
4956 (build-system asdf-build-system/sbcl)
4957 (synopsis
4958 "Common Lisp port of the QuickCheck unit test framework")
4959 (description
4960 "Common Lisp port of the QuickCheck unit test framework")
4961 (home-page "https://github.com/mcandre/cl-quickcheck")
4962 ;; MIT
4963 (license license:expat))))
4964
4965 (define-public cl-cl-quickcheck
4966 (sbcl-package->cl-source-package sbcl-cl-quickcheck))
4967
4968 (define-public ecl-cl-quickcheck
4969 (sbcl-package->ecl-package sbcl-cl-quickcheck))
4970
4971 (define-public sbcl-burgled-batteries3
4972 (let ((commit "9c0f6667e1a71ddf77e21793a0bea524710fef6e")
4973 (revision "1"))
4974 (package
4975 (name "sbcl-burgled-batteries3")
4976 (version (git-version "0.0.0" revision commit))
4977 (source
4978 (origin
4979 (method git-fetch)
4980 (uri (git-reference
4981 (url "https://github.com/snmsts/burgled-batteries3.git")
4982 (commit commit)))
4983 (file-name (git-file-name name version))
4984 (sha256
4985 (base32
4986 "0b726kz2xxcg5l930gz035rsdvhxrzmp05iwfwympnb4z4ammicb"))))
4987 (build-system asdf-build-system/sbcl)
4988 (arguments
4989 '(#:tests? #f
4990 #:phases
4991 (modify-phases %standard-phases
4992 (add-after 'unpack 'set-*cpython-include-dir*-var
4993 (lambda* (#:key inputs #:allow-other-keys)
4994 (substitute* "grovel-include-dir.lisp"
4995 (("\\(defparameter \\*cpython-include-dir\\* \\(detect-python\\)\\)")
4996 (string-append
4997 "(defparameter *cpython-include-dir* \""
4998 (assoc-ref inputs "python")
4999 "/include/python3.7m"
5000 "\")")))
5001 (substitute* "ffi-interface.lisp"
5002 (("\\*cpython-lib\\*")
5003 (format #f "'(\"~a/lib/libpython3.so\")"
5004 (assoc-ref inputs "python"))))
5005 #t)))))
5006 (native-inputs
5007 `(("python" ,python)
5008 ("sbcl-cl-fad" ,sbcl-cl-fad)
5009 ("sbcl-lift" ,sbcl-lift)
5010 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
5011 (inputs
5012 `(("sbcl-cffi" ,sbcl-cffi)
5013 ("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
5014 ("sbcl-alexandria" , sbcl-alexandria)
5015 ("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
5016 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
5017 (synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
5018 (description
5019 "This package provides a shim between Python3 (specifically, the
5020 CPython implementation of Python) and Common Lisp.")
5021 (home-page "https://github.com/snmsts/burgled-batteries3")
5022 ;; MIT
5023 (license license:expat))))
5024
5025 (define-public cl-burgled-batteries3
5026 (sbcl-package->cl-source-package sbcl-burgled-batteries3))
5027
5028 (define-public ecl-burgled-batteries3
5029 (sbcl-package->ecl-package sbcl-burgled-batteries3))
5030
5031 (define-public sbcl-metabang-bind
5032 (let ((commit "c93b7f7e1c18c954c2283efd6a7fdab36746ab5e")
5033 (revision "1"))
5034 (package
5035 (name "sbcl-metabang-bind")
5036 (version (git-version "0.8.0" revision commit))
5037 (source
5038 (origin
5039 (method git-fetch)
5040 (uri (git-reference
5041 (url "https://github.com/gwkkwg/metabang-bind.git")
5042 (commit commit)))
5043 (file-name (git-file-name name version))
5044 (sha256
5045 (base32
5046 "0hd0kr91795v77akpbcyqiss9p0p7ypa9dznrllincnmgvsxlmf0"))))
5047 (build-system asdf-build-system/sbcl)
5048 (native-inputs
5049 `(("sbcl-lift" ,sbcl-lift)))
5050 (synopsis "Macro that generalizes @code{multiple-value-bind} etc.")
5051 (description
5052 "Bind extends the idea of of let and destructing to provide a uniform
5053 syntax for all your accessor needs. It combines @code{let},
5054 @code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
5055 editing, property or association-lists, and @code{multiple-value-bind} and a
5056 whole lot more into a single form.")
5057 (home-page "https://common-lisp.net/project/metabang-bind/")
5058 ;; MIT License
5059 (license license:expat))))
5060
5061 (define-public cl-metabang-bind
5062 (sbcl-package->cl-source-package sbcl-metabang-bind))
5063
5064 (define-public ecl-metabang-bind
5065 (sbcl-package->ecl-package sbcl-metabang-bind))
5066
5067 (define-public sbcl-fare-utils
5068 (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
5069 (revision "1"))
5070 (package
5071 (name "sbcl-fare-utils")
5072 (version (git-version "1.0.0.5" revision commit))
5073 (source
5074 (origin
5075 (method git-fetch)
5076 (uri
5077 (git-reference
5078 (url
5079 "https://gitlab.common-lisp.net/frideau/fare-utils.git")
5080 (commit commit)))
5081 (file-name (git-file-name name version))
5082 (sha256
5083 (base32
5084 "01wsr1aap3jdzhn4hrqjbhsjx6qci9dbd3gh4gayv1p49rbg8aqr"))))
5085 (build-system asdf-build-system/sbcl)
5086 (arguments
5087 `(#:test-asd-file "test/fare-utils-test.asd"))
5088 (native-inputs
5089 `(("sbcl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
5090 (synopsis "Collection of utilities and data structures")
5091 (description
5092 "fare-utils is a small collection of utilities. It contains a lot of
5093 basic everyday functions and macros.")
5094 (home-page "https://gitlab.common-lisp.net/frideau/fare-utils")
5095 ;; MIT License
5096 (license license:expat))))
5097
5098 (define-public cl-fare-utils
5099 (sbcl-package->cl-source-package sbcl-fare-utils))
5100
5101 (define-public ecl-fare-utils
5102 (sbcl-package->ecl-package sbcl-fare-utils))
5103
5104 (define-public sbcl-trivial-utf-8
5105 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f")
5106 (revision "1"))
5107 (package
5108 (name "sbcl-trivial-utf-8")
5109 (version (git-version "0.0.0" revision commit))
5110 (source
5111 (origin
5112 (method git-fetch)
5113 (uri
5114 (git-reference
5115 (url (string-append "https://gitlab.common-lisp.net/"
5116 "trivial-utf-8/trivial-utf-8.git"))
5117 (commit commit)))
5118 (file-name (git-file-name name version))
5119 (sha256
5120 (base32
5121 "1jz27gz8gvqdmvp3k9bxschs6d5b3qgk94qp2bj6nv1d0jc3m1l1"))))
5122 (arguments
5123 ;; Guix incorrectly assumes the "8" is part of the version
5124 ;; number and lobs it off.
5125 `(#:asd-file "trivial-utf-8.asd"
5126 #:asd-system-name "trivial-utf-8"))
5127 (build-system asdf-build-system/sbcl)
5128 (synopsis "UTF-8 input/output library")
5129 (description
5130 "The Babel library solves a similar problem while understanding more
5131 encodings. Trivial UTF-8 was written before Babel existed, but for new
5132 projects you might be better off going with Babel. The one plus that Trivial
5133 UTF-8 has is that it doesn't depend on any other libraries.")
5134 (home-page "https://common-lisp.net/project/trivial-utf-8/")
5135 (license license:bsd-3))))
5136
5137 (define-public cl-trivial-utf-8
5138 (sbcl-package->cl-source-package sbcl-trivial-utf-8))
5139
5140 (define-public ecl-trivial-utf-8
5141 (sbcl-package->ecl-package sbcl-trivial-utf-8))
5142
5143 (define-public sbcl-idna
5144 (package
5145 (name "sbcl-idna")
5146 (build-system asdf-build-system/sbcl)
5147 (version "0.2.2")
5148 (home-page "https://github.com/antifuchs/idna")
5149 (source
5150 (origin
5151 (method git-fetch)
5152 (uri (git-reference
5153 (url home-page)
5154 (commit version)))
5155 (file-name (git-file-name name version))
5156 (sha256
5157 (base32
5158 "00nbr3mffxhlq14gg9d16pa6691s4qh35inyw76v906s77khm5a2"))))
5159 (inputs
5160 `(("split-sequence" ,sbcl-split-sequence)))
5161 (synopsis "IDNA string encoding and decoding routines for Common Lisp")
5162 (description "This Common Lisp library provides string encoding and
5163 decoding routines for IDNA, the International Domain Names in Applications.")
5164 (license license:expat)))
5165
5166 (define-public cl-idna
5167 (sbcl-package->cl-source-package sbcl-idna))
5168
5169 (define-public ecl-idna
5170 (sbcl-package->ecl-package sbcl-idna))
5171
5172 (define-public sbcl-swap-bytes
5173 (package
5174 (name "sbcl-swap-bytes")
5175 (build-system asdf-build-system/sbcl)
5176 (version "1.1")
5177 (home-page "https://github.com/sionescu/swap-bytes")
5178 (source
5179 (origin
5180 (method git-fetch)
5181 (uri (git-reference
5182 (url home-page)
5183 (commit (string-append "v" version))))
5184 (file-name (git-file-name name version))
5185 (sha256
5186 (base32
5187 "1qysbv0jngdfkv53y874qjhcxc4qi8ixaqq6j8bzxh5z0931wv55"))))
5188 (inputs
5189 `(("trivial-features" ,sbcl-trivial-features)))
5190 (native-inputs
5191 `(("fiveam" ,sbcl-fiveam)))
5192 (arguments
5193 ;; TODO: Tests fail, why?
5194 `(#:tests? #f))
5195 (synopsis "Efficient endianness conversion for Common Lisp")
5196 (description "This Common Lisp library provides optimized byte-swapping
5197 primitives. The library can change endianness of unsigned integers of length
5198 1/2/4/8. Very useful in implementing various network protocols and file
5199 formats.")
5200 (license license:expat)))
5201
5202 (define-public cl-swap-bytes
5203 (sbcl-package->cl-source-package sbcl-swap-bytes))
5204
5205 (define-public ecl-swap-bytes
5206 (sbcl-package->ecl-package sbcl-swap-bytes))
5207
5208 (define-public sbcl-iolib.asdf
5209 ;; Latest release is from June 2017.
5210 (let ((commit "81e20614c0d27f9605bf9766214e236fd31b99b4")
5211 (revision "1"))
5212 (package
5213 (name "sbcl-iolib.asdf")
5214 (build-system asdf-build-system/sbcl)
5215 (version "0.8.3")
5216 (home-page "https://github.com/sionescu/iolib")
5217 (source
5218 (origin
5219 (method git-fetch)
5220 (uri (git-reference
5221 (url home-page)
5222 (commit commit)))
5223 (file-name (git-file-name name version))
5224 (sha256
5225 (base32
5226 "1j81r0wm7nfbwl991f26s4npcy7kybzybd3m47rbxy31h0cfcmdm"))))
5227 (inputs
5228 `(("alexandria" ,sbcl-alexandria)))
5229 (arguments
5230 '(#:asd-file "iolib.asdf.asd"))
5231 (synopsis "ASDF component classes for IOLib, a Common Lisp I/O library")
5232 (description "IOlib is to be a better and more modern I/O library than
5233 the standard Common Lisp library. It contains a socket library, a DNS
5234 resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
5235 and @code{kqueue(2)}), a pathname library and file-system utilities.")
5236 (license license:expat))))
5237
5238 (define-public sbcl-iolib.conf
5239 (package
5240 (inherit sbcl-iolib.asdf)
5241 (name "sbcl-iolib.conf")
5242 (inputs
5243 `(("iolib.asdf" ,sbcl-iolib.asdf)))
5244 (arguments
5245 '(#:asd-file "iolib.conf.asd"))
5246 (synopsis "Compile-time configuration for IOLib, a Common Lisp I/O library")))
5247
5248 (define-public sbcl-iolib.common-lisp
5249 (package
5250 (inherit sbcl-iolib.asdf)
5251 (name "sbcl-iolib.common-lisp")
5252 (inputs
5253 `(("iolib.asdf" ,sbcl-iolib.asdf)
5254 ("iolib.conf" ,sbcl-iolib.conf)))
5255 (arguments
5256 '(#:asd-file "iolib.common-lisp.asd"))
5257 (synopsis "Slightly modified Common Lisp for IOLib, a Common Lisp I/O library")))
5258
5259 (define-public sbcl-iolib.base
5260 (package
5261 (inherit sbcl-iolib.asdf)
5262 (name "sbcl-iolib.base")
5263 (inputs
5264 `(("iolib.asdf" ,sbcl-iolib.asdf)
5265 ("iolib.conf" ,sbcl-iolib.conf)
5266 ("iolib.common-lisp" ,sbcl-iolib.common-lisp)
5267 ("split-sequence" ,sbcl-split-sequence)))
5268 (arguments
5269 '(#:asd-file "iolib.base.asd"))
5270 (synopsis "Base package for IOLib, a Common Lisp I/O library")))
5271
5272 (define-public sbcl-iolib.grovel
5273 (package
5274 (inherit sbcl-iolib.asdf)
5275 (name "sbcl-iolib.grovel")
5276 (inputs
5277 `(("iolib.asdf" ,sbcl-iolib.asdf)
5278 ("iolib.conf" ,sbcl-iolib.conf)
5279 ("iolib.base", sbcl-iolib.base)
5280 ("cffi", sbcl-cffi)))
5281 (arguments
5282 '(#:asd-file "iolib.grovel.asd"
5283 #:phases
5284 (modify-phases %standard-phases
5285 (add-after 'install 'install-header
5286 (lambda* (#:key outputs #:allow-other-keys)
5287 ;; This header is required by sbcl-iolib.
5288 (install-file "src/grovel/grovel-common.h"
5289 (string-append (assoc-ref outputs "out")
5290 "/lib/sbcl"))
5291 #t)))))
5292 (synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))
5293
5294 (define-public sbcl-iolib
5295 (package
5296 (inherit sbcl-iolib.asdf)
5297 (name "sbcl-iolib")
5298 (inputs
5299 `(("iolib.asdf" ,sbcl-iolib.asdf)
5300 ("iolib.conf" ,sbcl-iolib.conf)
5301 ("iolib.grovel" ,sbcl-iolib.grovel)
5302 ("iolib.base" ,sbcl-iolib.base)
5303 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5304 ("idna" ,sbcl-idna)
5305 ("swap-bytes" ,sbcl-swap-bytes)
5306 ("libfixposix" ,libfixposix)
5307 ("cffi" ,sbcl-cffi)))
5308 (native-inputs
5309 `(("fiveam" ,sbcl-fiveam)))
5310 (arguments
5311 '(#:asd-file "iolib.asd"
5312 #:asd-system-name "iolib"
5313 #:test-asd-file "iolib.tests.asd"
5314 #:phases
5315 (modify-phases %standard-phases
5316 (add-after 'unpack 'fix-paths
5317 (lambda* (#:key inputs #:allow-other-keys)
5318 (substitute* "src/syscalls/ffi-functions-unix.lisp"
5319 (("\\(:default \"libfixposix\"\\)")
5320 (string-append
5321 "(:default \""
5322 (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
5323 ;; Socket tests need Internet access, disable them.
5324 (substitute* "iolib.tests.asd"
5325 (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
5326 "")))))))
5327 (synopsis "Common Lisp I/O library")))
5328
5329 (define-public cl-iolib
5330 (sbcl-package->cl-source-package sbcl-iolib))
5331
5332 (define sbcl-iolib+multiplex
5333 (package
5334 (inherit sbcl-iolib)
5335 (name "sbcl-iolib+multiplex")
5336 (arguments
5337 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5338 ((#:asd-system-name _) "iolib/multiplex")))))
5339
5340 (define sbcl-iolib+syscalls
5341 (package
5342 (inherit sbcl-iolib)
5343 (name "sbcl-iolib+syscalls")
5344 (arguments
5345 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5346 ((#:asd-system-name _) "iolib/syscalls")))))
5347
5348 (define sbcl-iolib+streams
5349 (package
5350 (inherit sbcl-iolib)
5351 (name "sbcl-iolib+streams")
5352 (arguments
5353 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5354 ((#:asd-system-name _) "iolib/streams")))))
5355
5356 (define sbcl-iolib+sockets
5357 (package
5358 (inherit sbcl-iolib)
5359 (name "sbcl-iolib+sockets")
5360 (arguments
5361 (substitute-keyword-arguments (package-arguments sbcl-iolib)
5362 ((#:asd-system-name _) "iolib/sockets")))))
5363
5364 (define-public sbcl-ieee-floats
5365 (let ((commit "566b51a005e81ff618554b9b2f0b795d3b29398d")
5366 (revision "1"))
5367 (package
5368 (name "sbcl-ieee-floats")
5369 (build-system asdf-build-system/sbcl)
5370 (version (git-version "20170924" revision commit))
5371 (home-page "https://github.com/marijnh/ieee-floats/")
5372 (source
5373 (origin
5374 (method git-fetch)
5375 (uri (git-reference
5376 (url home-page)
5377 (commit commit)))
5378 (file-name (git-file-name name version))
5379 (sha256
5380 (base32
5381 "1xyj49j9x3lc84cv3dhbf9ja34ywjk1c46dklx425fxw9mkwm83m"))))
5382 (native-inputs
5383 `(("fiveam" ,sbcl-fiveam)))
5384 (synopsis "IEEE 754 binary representation for floats in Common Lisp")
5385 (description "This is a Common Lisp library that allows to convert
5386 floating point values to IEEE 754 binary representation.")
5387 (license license:bsd-3))))
5388
5389 (define-public cl-ieee-floats
5390 (sbcl-package->cl-source-package sbcl-ieee-floats))
5391
5392 (define sbcl-closure-common
5393 (let ((commit "e3c5f5f454b72b01b89115e581c3c52a7e201e5c")
5394 (revision "1"))
5395 (package
5396 (name "sbcl-closure-common")
5397 (build-system asdf-build-system/sbcl)
5398 (version (git-version "20101006" revision commit))
5399 (home-page "https://common-lisp.net/project/cxml/")
5400 (source
5401 (origin
5402 (method git-fetch)
5403 (uri (git-reference
5404 (url "https://github.com/sharplispers/closure-common")
5405 (commit commit)))
5406 (file-name (git-file-name name version))
5407 (sha256
5408 (base32
5409 "0k5r2qxn122pxi301ijir3nayi9sg4d7yiy276l36qmzwhp4mg5n"))))
5410 (inputs
5411 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5412 ("babel" ,sbcl-babel)))
5413 (synopsis "Support Common Lisp library for CXML")
5414 (description "Closure-common is an internal helper library. The name
5415 Closure is a reference to the web browser it was originally written for.")
5416 ;; TODO: License?
5417 (license #f))))
5418
5419 (define-public sbcl-cxml+xml
5420 (let ((commit "00b22bf4c4cf11c993d5866fae284f95ab18e6bf")
5421 (revision "1"))
5422 (package
5423 (name "sbcl-cxml+xml")
5424 (build-system asdf-build-system/sbcl)
5425 (version (git-version "0.0.0" revision commit))
5426 (home-page "https://common-lisp.net/project/cxml/")
5427 (source
5428 (origin
5429 (method git-fetch)
5430 (uri (git-reference
5431 (url "https://github.com/sharplispers/cxml")
5432 (commit commit)))
5433 (file-name (git-file-name name version))
5434 (sha256
5435 (base32
5436 "13kif7rf3gqdycsk9zq0d7y0g9y81krkl0z87k0p2fkbjfgrph37"))))
5437 (inputs
5438 `(("closure-common" ,sbcl-closure-common)
5439 ("puri" ,sbcl-puri)
5440 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
5441 (arguments
5442 `(#:asd-file "cxml.asd"
5443 #:asd-system-name "cxml/xml"))
5444 (synopsis "Common Lisp XML parser")
5445 (description "CXML implements a namespace-aware, validating XML 1.0
5446 parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are
5447 offered, one SAX-like, the other similar to StAX.")
5448 (license license:llgpl))))
5449
5450 (define sbcl-cxml+dom
5451 (package
5452 (inherit sbcl-cxml+xml)
5453 (name "sbcl-cxml+dom")
5454 (inputs
5455 `(("closure-common" ,sbcl-closure-common)
5456 ("puri" ,sbcl-puri)
5457 ("cxml+xml" ,sbcl-cxml+xml)))
5458 (arguments
5459 `(#:asd-file "cxml.asd"
5460 #:asd-system-name "cxml/dom"))))
5461
5462 (define sbcl-cxml+klacks
5463 (package
5464 (inherit sbcl-cxml+xml)
5465 (name "sbcl-cxml+klacks")
5466 (inputs
5467 `(("closure-common" ,sbcl-closure-common)
5468 ("puri" ,sbcl-puri)
5469 ("cxml+xml" ,sbcl-cxml+xml)))
5470 (arguments
5471 `(#:asd-file "cxml.asd"
5472 #:asd-system-name "cxml/klacks"))))
5473
5474 (define sbcl-cxml+test
5475 (package
5476 (inherit sbcl-cxml+xml)
5477 (name "sbcl-cxml+test")
5478 (inputs
5479 `(("closure-common" ,sbcl-closure-common)
5480 ("puri" ,sbcl-puri)
5481 ("cxml+xml" ,sbcl-cxml+xml)))
5482 (arguments
5483 `(#:asd-file "cxml.asd"
5484 #:asd-system-name "cxml/test"))))
5485
5486 (define-public sbcl-cxml
5487 (package
5488 (inherit sbcl-cxml+xml)
5489 (name "sbcl-cxml")
5490 (inputs
5491 `(("closure-common" ,sbcl-closure-common)
5492 ("puri" ,sbcl-puri)
5493 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5494 ("cxml+dom" ,sbcl-cxml+dom)
5495 ("cxml+klacks" ,sbcl-cxml+klacks)
5496 ("cxml+test" ,sbcl-cxml+test)))
5497 (arguments
5498 `(#:asd-file "cxml.asd"
5499 #:asd-system-name "cxml"
5500 #:phases
5501 (modify-phases %standard-phases
5502 (add-after 'build 'install-dtd
5503 (lambda* (#:key outputs #:allow-other-keys)
5504 (install-file "catalog.dtd"
5505 (string-append
5506 (assoc-ref outputs "out")
5507 "/lib/" (%lisp-type)))))
5508 (add-after 'create-asd 'remove-component
5509 ;; XXX: The original .asd has no components, but our build system
5510 ;; creates an entry nonetheless. We need to remove it for the
5511 ;; generated .asd to load properly. See trivia.trivial for a
5512 ;; similar problem.
5513 (lambda* (#:key outputs #:allow-other-keys)
5514 (let* ((out (assoc-ref outputs "out"))
5515 (asd (string-append out "/lib/sbcl/cxml.asd")))
5516 (substitute* asd
5517 ((" :components
5518 ")
5519 ""))
5520 (substitute* asd
5521 ((" *\\(\\(:compiled-file \"cxml--system\"\\)\\)")
5522 ""))))))))))
5523
5524 (define-public cl-cxml
5525 (sbcl-package->cl-source-package sbcl-cxml))
5526
5527 (define-public sbcl-cl-reexport
5528 (let ((commit "312f3661bbe187b5f28536cd7ec2956e91366c3b")
5529 (revision "1"))
5530 (package
5531 (name "sbcl-cl-reexport")
5532 (build-system asdf-build-system/sbcl)
5533 (version (git-version "0.1" revision commit))
5534 (home-page "https://github.com/takagi/cl-reexport")
5535 (source
5536 (origin
5537 (method git-fetch)
5538 (uri (git-reference
5539 (url home-page)
5540 (commit commit)))
5541 (file-name (git-file-name name version))
5542 (sha256
5543 (base32
5544 "1cwpn1m3wrl0fl9plznn7p464db646gnfc8zkyk97dyxski2aq0x"))))
5545 (inputs
5546 `(("alexandria" ,sbcl-alexandria)))
5547 (arguments
5548 ;; TODO: Tests fail because cl-test-more is missing, but I can't find it online.
5549 `(#:tests? #f))
5550 (synopsis "HTTP cookie manager for Common Lisp")
5551 (description "cl-cookie is a Common Lisp library featuring parsing of
5552 cookie headers, cookie creation, cookie jar creation and more.")
5553 (license license:llgpl))))
5554
5555 (define-public cl-reexport
5556 (sbcl-package->cl-source-package sbcl-cl-reexport))
5557
5558 (define-public sbcl-cl-cookie
5559 (let ((commit "cea55aed8b9ad25fafd13defbcb9fe8f41b29546")
5560 (revision "1"))
5561 (package
5562 (name "sbcl-cl-cookie")
5563 (build-system asdf-build-system/sbcl)
5564 (version (git-version "0.9.10" revision commit))
5565 (home-page "https://github.com/fukamachi/cl-cookie")
5566 (source
5567 (origin
5568 (method git-fetch)
5569 (uri (git-reference
5570 (url home-page)
5571 (commit commit)))
5572 (file-name (git-file-name name version))
5573 (sha256
5574 (base32
5575 "090g7z75h98zvc1ldx0vh4jn4086dhjm2w30jcwkq553qmyxwl8h"))))
5576 (inputs
5577 `(("proc-parse" ,sbcl-proc-parse)
5578 ("alexandria" ,sbcl-alexandria)
5579 ("quri" ,sbcl-quri)
5580 ("cl-ppcre" ,sbcl-cl-ppcre)
5581 ("local-time" ,sbcl-local-time)))
5582 (native-inputs
5583 `(("prove-asdf" ,sbcl-prove-asdf)
5584 ("prove" ,sbcl-prove)))
5585 (arguments
5586 ;; TODO: Tests fail because cl-cookie depends on cl-cookie-test.
5587 `(#:tests? #f))
5588 (synopsis "HTTP cookie manager for Common Lisp")
5589 (description "cl-cookie is a Common Lisp library featuring parsing of
5590 cookie headers, cookie creation, cookie jar creation and more.")
5591 (license license:bsd-2))))
5592
5593 (define-public cl-cookie
5594 (sbcl-package->cl-source-package sbcl-cl-cookie))
5595
5596 (define-public sbcl-dexador
5597 (let ((commit "a2714d126cc94bc7a9a6e1e3c08de455b3a66378")
5598 (revision "1"))
5599 (package
5600 (name "sbcl-dexador")
5601 (build-system asdf-build-system/sbcl)
5602 (version (git-version "0.9.10" revision commit))
5603 (home-page "https://github.com/fukamachi/dexador")
5604 (source
5605 (origin
5606 (method git-fetch)
5607 (uri (git-reference
5608 (url home-page)
5609 (commit commit)))
5610 (file-name (git-file-name name version))
5611 (sha256
5612 (base32
5613 "0nbqgn4v3l2z6m1k1bdxfnqpfrk84nxdmz7csz11zzcfs4flkv79"))))
5614 (inputs
5615 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5616 ("babel" ,sbcl-babel)
5617 ("usocket" ,sbcl-usocket)
5618 ("fast-http" ,sbcl-fast-http)
5619 ("quri" ,sbcl-quri)
5620 ("fast-io" ,sbcl-fast-io)
5621 ("chunga" ,sbcl-chunga)
5622 ("cl-ppcre" ,sbcl-cl-ppcre)
5623 ("cl-cookie" ,sbcl-cl-cookie)
5624 ("trivial-mimes" ,sbcl-trivial-mimes)
5625 ("chipz" ,sbcl-chipz)
5626 ("cl-base64" ,sbcl-cl-base64)
5627 ("cl-reexport" ,sbcl-cl-reexport)
5628 ("cl+ssl" ,sbcl-cl+ssl)
5629 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5630 ("alexandria" ,sbcl-alexandria)))
5631 (native-inputs
5632 `(("prove" ,sbcl-prove)
5633 ("prove-asdf" ,sbcl-prove-asdf)
5634 ("lack-request" ,sbcl-lack-request)
5635 ("clack" ,sbcl-clack)
5636 ("babel" ,sbcl-babel)
5637 ("alexandria" ,sbcl-alexandria)
5638 ("cl-ppcre" ,sbcl-cl-ppcre)
5639 ("local-time" ,sbcl-local-time)))
5640 (arguments
5641 ;; TODO: Circular dependency: tests depend on clack-test which depends on dexador.
5642 `(#:tests? #f
5643 #:phases
5644 (modify-phases %standard-phases
5645 (add-after 'unpack 'fix-permissions
5646 (lambda _ (make-file-writable "t/data/test.gz") #t)))))
5647 (synopsis "Yet another HTTP client for Common Lisp")
5648 (description "Dexador is yet another HTTP client for Common Lisp with
5649 neat APIs and connection-pooling. It is meant to supersede Drakma.")
5650 (license license:expat))))
5651
5652 (define-public cl-dexador
5653 (package
5654 (inherit (sbcl-package->cl-source-package sbcl-dexador))
5655 (arguments
5656 `(#:phases
5657 ;; asdf-build-system/source has its own phases and does not inherit
5658 ;; from asdf-build-system/sbcl phases.
5659 (modify-phases %standard-phases/source
5660 (add-after 'unpack 'fix-permissions
5661 (lambda _ (make-file-writable "t/data/test.gz") #t)))))))
5662
5663 (define-public ecl-dexador
5664 (sbcl-package->ecl-package sbcl-dexador))
5665
5666 (define-public sbcl-lisp-namespace
5667 (let ((commit "28107cafe34e4c1c67490fde60c7f92dc610b2e0")
5668 (revision "1"))
5669 (package
5670 (name "sbcl-lisp-namespace")
5671 (build-system asdf-build-system/sbcl)
5672 (version (git-version "0.1" revision commit))
5673 (home-page "https://github.com/guicho271828/lisp-namespace")
5674 (source
5675 (origin
5676 (method git-fetch)
5677 (uri (git-reference
5678 (url home-page)
5679 (commit commit)))
5680 (file-name (git-file-name name version))
5681 (sha256
5682 (base32
5683 "1jw2wykp06z2afb9nm1lgfzll5cjlj36pnknjx614057zkkxq4iy"))))
5684 (inputs
5685 `(("alexandria" ,sbcl-alexandria)))
5686 (native-inputs
5687 `(("fiveam" ,sbcl-fiveam)))
5688 (arguments
5689 `(#:test-asd-file "lisp-namespace.test.asd"
5690 ;; XXX: Component LISP-NAMESPACE-ASD::LISP-NAMESPACE.TEST not found
5691 #:tests? #f))
5692 (synopsis "LISP-N, or extensible namespaces in Common Lisp")
5693 (description "Common Lisp already has major 2 namespaces, function
5694 namespace and value namespace (or variable namespace), but there are actually
5695 more — e.g., class namespace.
5696 This library offers macros to deal with symbols from any namespace.")
5697 (license license:llgpl))))
5698
5699 (define-public cl-lisp-namespace
5700 (sbcl-package->cl-source-package sbcl-lisp-namespace))
5701
5702 (define-public sbcl-trivial-cltl2
5703 (let ((commit "8eec8407df833e8f27df8a388bc10913f16d9e83")
5704 (revision "1"))
5705 (package
5706 (name "sbcl-trivial-cltl2")
5707 (build-system asdf-build-system/sbcl)
5708 (version (git-version "0.1.1" revision commit))
5709 (home-page "https://github.com/Zulu-Inuoe/trivial-cltl2")
5710 (source
5711 (origin
5712 (method git-fetch)
5713 (uri (git-reference
5714 (url home-page)
5715 (commit commit)))
5716 (file-name (git-file-name name version))
5717 (sha256
5718 (base32
5719 "1dyyxz17vqv8hlfwq287gl8xxbvcnq798ajb7p5jdjz91wqf4bgk"))))
5720 (synopsis "Simple CLtL2 compatibility layer for Common Lisp")
5721 (description "This library is a portable compatibility layer around
5722 \"Common Lisp the Language, 2nd
5723 Edition\" (@url{https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html})
5724 and it exports symbols from implementation-specific packages.")
5725 (license license:llgpl))))
5726
5727 (define-public cl-trivial-cltl2
5728 (sbcl-package->cl-source-package sbcl-trivial-cltl2))
5729
5730 (define-public sbcl-introspect-environment
5731 (let ((commit "fff42f8f8fd0d99db5ad6c5812e53de7d660020b")
5732 (revision "1"))
5733 (package
5734 (name "sbcl-introspect-environment")
5735 (build-system asdf-build-system/sbcl)
5736 (version (git-version "0.1" revision commit))
5737 (home-page "https://github.com/Bike/introspect-environment")
5738 (source
5739 (origin
5740 (method git-fetch)
5741 (uri (git-reference
5742 (url home-page)
5743 (commit commit)))
5744 (file-name (git-file-name name version))
5745 (sha256
5746 (base32
5747 "1i305n0wfmpac63ni4i3vixnnkl8daw5ncxy0k3dv92krgx6qzhp"))))
5748 (native-inputs
5749 `(("fiveam" ,sbcl-fiveam)))
5750 (synopsis "Common Lisp environment introspection portability layer")
5751 (description "This library is a small interface to portable but
5752 nonstandard introspection of Common Lisp environments. It is intended to
5753 allow a bit more compile-time introspection of environments in Common Lisp.
5754
5755 Quite a bit of information is available at the time a macro or compiler-macro
5756 runs; inlining info, type declarations, that sort of thing. This information
5757 is all standard - any Common Lisp program can @code{(declare (integer x))} and
5758 such.
5759
5760 This info ought to be accessible through the standard @code{&environment}
5761 parameters, but it is not. Several implementations keep the information for
5762 their own purposes but do not make it available to user programs, because
5763 there is no standard mechanism to do so.
5764
5765 This library uses implementation-specific hooks to make information available
5766 to users. This is currently supported on SBCL, CCL, and CMUCL. Other
5767 implementations have implementations of the functions that do as much as they
5768 can and/or provide reasonable defaults.")
5769 (license license:wtfpl2))))
5770
5771 (define-public cl-introspect-environment
5772 (sbcl-package->cl-source-package sbcl-introspect-environment))
5773
5774 (define-public sbcl-type-i
5775 (let ((commit "dea233f45f94064105ec09f0767de338f67dcbe2")
5776 (revision "1"))
5777 (package
5778 (name "sbcl-type-i")
5779 (build-system asdf-build-system/sbcl)
5780 (version (git-version "0.1" revision commit))
5781 (home-page "https://github.com/guicho271828/type-i")
5782 (source
5783 (origin
5784 (method git-fetch)
5785 (uri (git-reference
5786 (url home-page)
5787 (commit commit)))
5788 (file-name (git-file-name name version))
5789 (sha256
5790 (base32
5791 "039g5pbrhh65s0bhr9314gmd2nwc2y5lp2377c5qrc2lxky89qs3"))))
5792 (inputs
5793 `(("alexandria" ,sbcl-alexandria)
5794 ("introspect-environment" ,sbcl-introspect-environment)
5795 ("trivia.trivial" ,sbcl-trivia.trivial)))
5796 (native-inputs
5797 `(("fiveam" ,sbcl-fiveam)))
5798 (arguments
5799 `(#:test-asd-file "type-i.test.asd"))
5800 (synopsis "Type inference utility on unary predicates for Common Lisp")
5801 (description "This library tries to provide a way to detect what kind of
5802 type the given predicate is trying to check. This is different from inferring
5803 the return type of a function.")
5804 (license license:llgpl))))
5805
5806 (define-public cl-type-i
5807 (sbcl-package->cl-source-package sbcl-type-i))
5808
5809 (define-public sbcl-optima
5810 (let ((commit "373b245b928c1a5cce91a6cb5bfe5dd77eb36195")
5811 (revision "1"))
5812 (package
5813 (name "sbcl-optima")
5814 (build-system asdf-build-system/sbcl)
5815 (version (git-version "1.0" revision commit))
5816 (home-page "https://github.com/m2ym/optima")
5817 (source
5818 (origin
5819 (method git-fetch)
5820 (uri (git-reference
5821 (url home-page)
5822 (commit commit)))
5823 (file-name (git-file-name name version))
5824 (sha256
5825 (base32
5826 "1yw4ymq7ms89342kkvb3aqxgv0w38m9kd8ikdqxxzyybnkjhndal"))))
5827 (inputs
5828 `(("alexandria" ,sbcl-alexandria)
5829 ("closer-mop" ,sbcl-closer-mop)))
5830 (native-inputs
5831 `(("eos" ,sbcl-eos)))
5832 (arguments
5833 ;; XXX: Circular dependencies: tests depend on optima.ppcre which depends on optima.
5834 `(#:tests? #f
5835 #:test-asd-file "optima.test.asd"))
5836 (synopsis "Optimized pattern matching library for Common Lisp")
5837 (description "Optima is a fast pattern matching library which uses
5838 optimizing techniques widely used in the functional programming world.")
5839 (license license:expat))))
5840
5841 (define-public cl-optima
5842 (sbcl-package->cl-source-package sbcl-optima))
5843
5844 (define-public sbcl-fare-quasiquote
5845 (package
5846 (name "sbcl-fare-quasiquote")
5847 (build-system asdf-build-system/sbcl)
5848 (version "20171130")
5849 (home-page "http://common-lisp.net/project/fare-quasiquote")
5850 (source
5851 (origin
5852 (method url-fetch)
5853 (uri (string-append "http://beta.quicklisp.org/archive/fare-quasiquote/"
5854 (date->string (string->date version "~Y~m~d") "~Y-~m-~d")
5855 "/fare-quasiquote-"
5856 version
5857 "-git.tgz"))
5858 (sha256
5859 (base32
5860 "00brmh7ndsi0c97nibi8cy10j3l4gmkyrfrr5jr5lzkfb7ngyfqa"))))
5861 (inputs
5862 `(("fare-utils" ,sbcl-fare-utils)))
5863 (arguments
5864 ;; XXX: Circular dependencies: Tests depend on subsystems, which depend on the main systems.
5865 `(#:tests? #f
5866 #:phases
5867 (modify-phases %standard-phases
5868 ;; XXX: Require 1.0.0 version of fare-utils, and we package some
5869 ;; commits after 1.0.0.5, but ASDF fails to read the
5870 ;; "-REVISION-COMMIT" part generated by Guix.
5871 (add-after 'unpack 'patch-requirement
5872 (lambda _
5873 (substitute* "fare-quasiquote.asd"
5874 (("\\(:version \"fare-utils\" \"1.0.0\"\\)") "\"fare-utils\"")))))))
5875 (synopsis "Pattern-matching friendly implementation of quasiquote for Common Lisp")
5876 (description "The main purpose of this n+2nd reimplementation of
5877 quasiquote is enable matching of quasiquoted patterns, using Optima or
5878 Trivia.")
5879 (license license:expat)))
5880
5881 (define-public cl-fare-quasiquote
5882 (sbcl-package->cl-source-package sbcl-fare-quasiquote))
5883
5884 (define-public sbcl-fare-quasiquote-optima
5885 (package
5886 (inherit sbcl-fare-quasiquote)
5887 (name "sbcl-fare-quasiquote-optima")
5888 (inputs
5889 `(("optima" ,sbcl-optima)
5890 ("fare-quasiquote" ,sbcl-fare-quasiquote)))
5891 (arguments
5892 '(#:phases
5893 (modify-phases %standard-phases
5894 (add-after 'unpack 'patch-requirement
5895 (lambda _
5896 (substitute* "fare-quasiquote-optima.asd"
5897 (("\\(:version \"optima\" \"1\\.0\"\\)")
5898 "\"optima\""))
5899 #t)))))))
5900
5901 (define-public cl-fare-quasiquote-optima
5902 (sbcl-package->cl-source-package sbcl-fare-quasiquote-optima))
5903
5904 (define-public sbcl-fare-quasiquote-readtable
5905 (package
5906 (inherit sbcl-fare-quasiquote)
5907 (name "sbcl-fare-quasiquote-readtable")
5908 (inputs
5909 `(("fare-quasiquote" ,sbcl-fare-quasiquote)
5910 ("named-readtables" ,sbcl-named-readtables)))
5911 (description "The main purpose of this n+2nd reimplementation of
5912 quasiquote is enable matching of quasiquoted patterns, using Optima or
5913 Trivia.
5914
5915 This package uses fare-quasiquote with named-readtable.")))
5916
5917 (define-public cl-fare-quasiquote-readtable
5918 (sbcl-package->cl-source-package sbcl-fare-quasiquote-readtable))
5919
5920 ;; TODO: Add support for component-less system in asdf-build-system/sbcl.
5921 (define-public cl-fare-quasiquote-extras
5922 (package
5923 (inherit cl-fare-quasiquote)
5924 (name "cl-fare-quasiquote-extras")
5925 (build-system asdf-build-system/source)
5926 (propagated-inputs
5927 `(("fare-quasiquote" ,cl-fare-quasiquote)
5928 ("fare-quasiquote-optima" ,cl-fare-quasiquote-optima)
5929 ("fare-quasiquote-readtable" ,cl-fare-quasiquote-readtable)))
5930 (description "This library combines @code{fare-quasiquote-readtable} and
5931 @code{fare-quasiquote-optima}.")))
5932
5933 (define-public sbcl-trivia.level0
5934 (let ((commit "902e0c65602bbfe96ae82e679330b3771ddc7603")
5935 (revision "1"))
5936 (package
5937 (name "sbcl-trivia.level0")
5938 (build-system asdf-build-system/sbcl)
5939 (version (git-version "0.0.0" revision commit))
5940 (home-page "https://github.com/guicho271828/trivia")
5941 (source
5942 (origin
5943 (method git-fetch)
5944 (uri (git-reference
5945 (url home-page)
5946 (commit commit)))
5947 (file-name (git-file-name name version))
5948 (sha256
5949 (base32
5950 "11qbab30qqnfy9mx3x9fvgcw1jbvh1qn2cqv3p8xdn2m8981jvhr"))))
5951 (inputs
5952 `(("alexandria" ,sbcl-alexandria)))
5953 (synopsis "Pattern matching in Common Lisp")
5954 (description "Trivia is a pattern matching compiler that is compatible
5955 with Optima, another pattern matching library for Common Lisp. It is meant to
5956 be faster and more extensible than Optima.")
5957 (license license:llgpl))))
5958
5959 (define-public sbcl-trivia.level1
5960 (package
5961 (inherit sbcl-trivia.level0)
5962 (name "sbcl-trivia.level1")
5963 (inputs
5964 `(("trivia.level0" ,sbcl-trivia.level0)))
5965 (description "Trivia is a pattern matching compiler that is compatible
5966 with Optima, another pattern matching library for Common Lisp. It is meant to
5967 be faster and more extensible than Optima.
5968
5969 This system contains the core patterns of Trivia.")))
5970
5971 (define-public sbcl-trivia.level2
5972 (package
5973 (inherit sbcl-trivia.level0)
5974 (name "sbcl-trivia.level2")
5975 (inputs
5976 `(("trivia.level1" ,sbcl-trivia.level1)
5977 ("lisp-namespace" ,sbcl-lisp-namespace)
5978 ("trivial-cltl2" ,sbcl-trivial-cltl2)
5979 ("closer-mop" ,sbcl-closer-mop)))
5980 (description "Trivia is a pattern matching compiler that is compatible
5981 with Optima, another pattern matching library for Common Lisp. It is meant to
5982 be faster and more extensible than Optima.
5983
5984 This system contains a non-optimized pattern matcher compatible with Optima,
5985 with extensible optimizer interface.")))
5986
5987 (define-public sbcl-trivia.trivial
5988 (package
5989 (inherit sbcl-trivia.level0)
5990 (name "sbcl-trivia.trivial")
5991 (inputs
5992 `(("trivia.level2" ,sbcl-trivia.level2)))
5993 (arguments
5994 `(#:phases
5995 (modify-phases %standard-phases
5996 (replace 'create-asd-file
5997 (lambda* (#:key outputs inputs #:allow-other-keys)
5998 (let* ((out (assoc-ref outputs "out"))
5999 (lib (string-append out "/lib/" (%lisp-type)))
6000 (level2 (assoc-ref inputs "trivia.level2")))
6001 (mkdir-p lib)
6002 (install-file "trivia.trivial.asd" lib)
6003 ;; XXX: This .asd does not have any component and the build
6004 ;; system fails to work in this case. We should update the
6005 ;; build system to handle component-less .asd.
6006 ;; TODO: How do we append to file in Guile? It seems that
6007 ;; (open-file ... "a") gets a "Permission denied".
6008 (substitute* (string-append lib "/trivia.trivial.asd")
6009 (("\"\\)")
6010 (string-append "\")
6011
6012 (progn (asdf/source-registry:ensure-source-registry)
6013 (setf (gethash
6014 \"trivia.level2\"
6015 asdf/source-registry:*source-registry*)
6016 #p\""
6017 level2
6018 "/share/common-lisp/sbcl-bundle-systems/trivia.level2.asd\"))")))))))))
6019 (description "Trivia is a pattern matching compiler that is compatible
6020 with Optima, another pattern matching library for Common Lisp. It is meant to
6021 be faster and more extensible than Optima.
6022
6023 This system contains the base level system of Trivia with a trivial optimizer.")))
6024
6025 (define-public sbcl-trivia.balland2006
6026 (package
6027 (inherit sbcl-trivia.level0)
6028 (name "sbcl-trivia.balland2006")
6029 (inputs
6030 `(("trivia.trivial" ,sbcl-trivia.trivial)
6031 ("iterate" ,sbcl-iterate)
6032 ("type-i" ,sbcl-type-i)
6033 ("alexandria" ,sbcl-alexandria)))
6034 (arguments
6035 ;; Tests are done in trivia itself.
6036 `(#:tests? #f))
6037 (description "Trivia is a pattern matching compiler that is compatible
6038 with Optima, another pattern matching library for Common Lisp. It is meant to
6039 be faster and more extensible than Optima.
6040
6041 This system contains the base level system of Trivia with a trivial optimizer.")))
6042
6043 (define-public sbcl-trivia.ppcre
6044 (package
6045 (inherit sbcl-trivia.level0)
6046 (name "sbcl-trivia.ppcre")
6047 (inputs
6048 `(("trivia.trivial" ,sbcl-trivia.trivial)
6049 ("cl-ppcre" ,sbcl-cl-ppcre)))
6050 (description "Trivia is a pattern matching compiler that is compatible
6051 with Optima, another pattern matching library for Common Lisp. It is meant to
6052 be faster and more extensible than Optima.
6053
6054 This system contains the PPCRE extension.")))
6055
6056 (define-public sbcl-trivia.quasiquote
6057 (package
6058 (inherit sbcl-trivia.level0)
6059 (name "sbcl-trivia.quasiquote")
6060 (inputs
6061 `(("trivia.trivial" ,sbcl-trivia.trivial)
6062 ("fare-quasiquote" ,sbcl-fare-quasiquote)
6063 ("fare-quasiquote-readtable" ,sbcl-fare-quasiquote-readtable)))
6064 (description "Trivia is a pattern matching compiler that is compatible
6065 with Optima, another pattern matching library for Common Lisp. It is meant to
6066 be faster and more extensible than Optima.
6067
6068 This system contains the fare-quasiquote extension.")))
6069
6070 (define-public sbcl-trivia.cffi
6071 (package
6072 (inherit sbcl-trivia.level0)
6073 (name "sbcl-trivia.cffi")
6074 (inputs
6075 `(("cffi" ,sbcl-cffi)
6076 ("trivia.trivial" ,sbcl-trivia.trivial)))
6077 (description "Trivia is a pattern matching compiler that is compatible
6078 with Optima, another pattern matching library for Common Lisp. It is meant to
6079 be faster and more extensible than Optima.
6080
6081 This system contains the CFFI foreign slot access extension.")))
6082
6083 (define-public sbcl-trivia
6084 (package
6085 (inherit sbcl-trivia.level0)
6086 (name "sbcl-trivia")
6087 (inputs
6088 `(("trivia.balland2006" ,sbcl-trivia.balland2006)))
6089 (native-inputs
6090 `(("fiveam" ,sbcl-fiveam)
6091 ("trivia.ppcre" ,sbcl-trivia.ppcre)
6092 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
6093 ("trivia.cffi" ,sbcl-trivia.cffi)
6094 ("optima" ,sbcl-optima)))
6095 (arguments
6096 `(#:test-asd-file "trivia.test.asd"
6097 #:phases
6098 (modify-phases %standard-phases
6099 (add-after 'create-asd 'remove-component
6100 ;; XXX: The original .asd has no components, but our build system
6101 ;; creates an entry nonetheless. We need to remove it for the
6102 ;; generated .asd to load properly. See trivia.trivial for a
6103 ;; similar problem.
6104 (lambda* (#:key outputs #:allow-other-keys)
6105 (let* ((out (assoc-ref outputs "out"))
6106 (asd (string-append out "/lib/" (%lisp-type) "/trivia.asd")))
6107 (substitute* asd
6108 ((" :components
6109 ")
6110 ""))
6111 (substitute* asd
6112 ((" *\\(\\(:compiled-file \"trivia--system\"\\)\\)")
6113 ""))))))))
6114 (description "Trivia is a pattern matching compiler that is compatible
6115 with Optima, another pattern matching library for Common Lisp. It is meant to
6116 be faster and more extensible than Optima.")))
6117
6118 (define-public cl-trivia
6119 (sbcl-package->cl-source-package sbcl-trivia))
6120
6121 (define-public sbcl-mk-string-metrics
6122 (package
6123 (name "sbcl-mk-string-metrics")
6124 (version "0.1.2")
6125 (home-page "https://github.com/cbaggers/mk-string-metrics/")
6126 (source (origin
6127 (method git-fetch)
6128 (uri (git-reference
6129 (url home-page)
6130 (commit version)))
6131 (sha256
6132 (base32 "0bg0bv2mfd4k0g3x72x563hvmrx18xavaffr6xk5rh4if5j7kcf6"))
6133 (file-name (git-file-name name version))))
6134 (build-system asdf-build-system/sbcl)
6135 (synopsis "Calculate various string metrics efficiently in Common Lisp")
6136 (description "This library implements efficient algorithms that calculate
6137 various string metrics in Common Lisp:
6138
6139 @itemize
6140 @item Damerau-Levenshtein distance
6141 @item Hamming distance
6142 @item Jaccard similarity coefficient
6143 @item Jaro distance
6144 @item Jaro-Winkler distance
6145 @item Levenshtein distance
6146 @item Normalized Damerau-Levenshtein distance
6147 @item Normalized Levenshtein distance
6148 @item Overlap coefficient
6149 @end itemize\n")
6150 (license license:x11)))
6151
6152 (define-public cl-mk-string-metrics
6153 (sbcl-package->cl-source-package sbcl-mk-string-metrics))
6154
6155 (define-public sbcl-cl-str
6156 (let ((commit "3d5ec86e3a0199e5973aacde951086dfd754b5e5"))
6157 (package
6158 (name "sbcl-cl-str")
6159 (version (git-version "0.8" "1" commit))
6160 (home-page "https://github.com/vindarel/cl-str")
6161 (source (origin
6162 (method git-fetch)
6163 (uri (git-reference
6164 (url home-page)
6165 (commit commit)))
6166 (sha256
6167 (base32 "0szzzbygw9h985yxz909vvqrp69pmpcpahn7hn350lnyjislk9ga"))
6168 (file-name (git-file-name name version))))
6169 (build-system asdf-build-system/sbcl)
6170 (inputs
6171 `(("cl-ppcre" ,sbcl-cl-ppcre)
6172 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
6173 (native-inputs
6174 `(("prove" ,sbcl-prove)
6175 ("prove-asdf" ,sbcl-prove-asdf)))
6176 (arguments
6177 `(#:asd-file "str.asd"
6178 #:asd-system-name "str"
6179 #:test-asd-file "str.test.asd"))
6180 (synopsis "Modern, consistent and terse Common Lisp string manipulation library")
6181 (description "A modern and consistent Common Lisp string manipulation
6182 library that focuses on modernity, simplicity and discoverability:
6183 @code{(str:trim s)} instead of @code{(string-trim '(#\\Space ...) s)}), or
6184 @code{str:concat strings} instead of an unusual format construct; one
6185 discoverable library instead of many; consistency and composability, where
6186 @code{s} is always the last argument, which makes it easier to feed pipes and
6187 arrows.")
6188 (license license:expat))))
6189
6190 (define-public cl-str
6191 (sbcl-package->cl-source-package sbcl-cl-str))
6192
6193 (define-public sbcl-cl-xmlspam
6194 (let ((commit "ea06abcca2a73a9779bcfb09081e56665f94e22a"))
6195 (package
6196 (name "sbcl-cl-xmlspam")
6197 (build-system asdf-build-system/sbcl)
6198 (version (git-version "0.0.0" "1" commit))
6199 (home-page "https://github.com/rogpeppe/cl-xmlspam")
6200 (source
6201 (origin
6202 (method git-fetch)
6203 (uri (git-reference
6204 (url home-page)
6205 (commit commit)))
6206 (file-name (string-append name "-" version))
6207 (sha256
6208 (base32
6209 "0w4rqvrgdgk3fwfq3kx4r7wwdr2bv3b6n3bdqwsiriw9psqzpz2s"))))
6210 (inputs
6211 `(("cxml" ,sbcl-cxml)
6212 ("cl-ppcre" ,sbcl-cl-ppcre)))
6213 (synopsis "Concise, regexp-like pattern matching on streaming XML for Common Lisp")
6214 (description "CXML does an excellent job at parsing XML elements, but what
6215 do you do when you have a XML file that's larger than you want to fit in
6216 memory, and you want to extract some information from it? Writing code to deal
6217 with SAX events, or even using Klacks, quickly becomes tedious.
6218 @code{cl-xmlspam} (for XML Stream PAttern Matcher) is designed to make it easy
6219 to write code that mirrors the structure of the XML that it's parsing. It
6220 also makes it easy to shift paradigms when necessary - the usual Lisp control
6221 constructs can be used interchangeably with pattern matching, and the full
6222 power of CXML is available when necessary.")
6223 (license license:bsd-3))))
6224
6225 ;; TODO: dbus uses ASDF's package-inferred-system which is not supported by
6226 ;; asdf-build-system/sbcl as of 2019-08-02. We should fix
6227 ;; asdf-build-system/sbcl.
6228 (define-public cl-dbus
6229 (let ((commit "24b452df3a45ca5dc95015500f34baad175c981a")
6230 (revision "1"))
6231 (package
6232 (name "cl-dbus")
6233 (build-system asdf-build-system/source)
6234 (version (git-version "20190408" revision commit))
6235 (home-page "https://github.com/death/dbus")
6236 (source
6237 (origin
6238 (method git-fetch)
6239 (uri (git-reference
6240 (url home-page)
6241 (commit commit)))
6242 (file-name (git-file-name name version))
6243 (sha256
6244 (base32
6245 "0fw2q866yddbf23nk9pxphm9gsasx35vjyss82xzvndnjmzlqfl5"))))
6246 ;; Inputs must be propagated or else packages depending on this won't have the necessary packages.
6247 (propagated-inputs
6248 `(("alexandria" ,sbcl-alexandria)
6249 ("trivial-garbage" ,sbcl-trivial-garbage)
6250 ("babel" ,sbcl-babel)
6251 ("iolib" ,sbcl-iolib)
6252 ("iolib+multiplex" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+multiplex))
6253 ("iolib+syscalls" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+syscalls))
6254 ("iolib+streams" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+streams))
6255 ("iolib+sockets" ,(@@ (gnu packages lisp-xyz) sbcl-iolib+sockets))
6256 ("ieee-floats" ,sbcl-ieee-floats)
6257 ("flexi-streams" ,sbcl-flexi-streams)
6258 ("cl-xmlspam" ,sbcl-cl-xmlspam)
6259 ("ironclad" ,sbcl-ironclad)))
6260 (synopsis "D-Bus client library for Common Lisp")
6261 (description "This is a Common Lisp library that allows to publish D-Bus
6262 objects as well as send and notify other objects connected to a bus.")
6263 (license license:bsd-2))))
6264
6265 (define-public sbcl-cl-hooks
6266 (let ((commit "5b638083f3b4f1221a52631d9c8a0a265565cac7")
6267 (revision "1"))
6268 (package
6269 (name "sbcl-cl-hooks")
6270 (build-system asdf-build-system/sbcl)
6271 (version (git-version "0.2.1" revision commit))
6272 (home-page "https://github.com/scymtym/architecture.hooks")
6273 (source
6274 (origin
6275 (method git-fetch)
6276 (uri (git-reference
6277 (url home-page)
6278 (commit commit)))
6279 (file-name (git-file-name name version))
6280 (sha256
6281 (base32
6282 "0bg3l0a28lw5gqqjp6p6b5nhwqk46sgkb7184w5qbfngw1hk8x9y"))))
6283 (inputs
6284 `(("alexandria" ,sbcl-alexandria)
6285 ("let-plus" ,sbcl-let-plus)
6286 ("trivial-garbage" ,sbcl-trivial-garbage)
6287 ("closer-mop" ,sbcl-closer-mop)))
6288 (native-inputs
6289 `(("fiveam" ,sbcl-fiveam)))
6290 (synopsis "Hooks extension point mechanism (as in Emacs) for Common Lisp")
6291 (description "A hook, in the present context, is a certain kind of
6292 extension point in a program that allows interleaving the execution of
6293 arbitrary code with the execution of a the program without introducing any
6294 coupling between the two. Hooks are used extensively in the extensible editor
6295 Emacs.
6296
6297 In the Common LISP Object System (CLOS), a similar kind of extensibility is
6298 possible using the flexible multi-method dispatch mechanism. It may even seem
6299 that the concept of hooks does not provide any benefits over the possibilities
6300 of CLOS. However, there are some differences:
6301
6302 @itemize
6303
6304 @item There can be only one method for each combination of specializers and
6305 qualifiers. As a result this kind of extension point cannot be used by
6306 multiple extensions independently.
6307 @item Removing code previously attached via a @code{:before}, @code{:after} or
6308 @code{:around} method can be cumbersome.
6309 @item There could be other or even multiple extension points besides @code{:before}
6310 and @code{:after} in a single method.
6311 @item Attaching codes to individual objects using eql specializers can be
6312 cumbersome.
6313 @item Introspection of code attached a particular extension point is
6314 cumbersome since this requires enumerating and inspecting the methods of a
6315 generic function.
6316 @end itemize
6317
6318 This library tries to complement some of these weaknesses of method-based
6319 extension-points via the concept of hooks.")
6320 (license license:llgpl))))
6321
6322 (define-public cl-hooks
6323 (sbcl-package->cl-source-package sbcl-cl-hooks))
6324
6325 (define-public ecl-cl-hooks
6326 (sbcl-package->ecl-package sbcl-cl-hooks))
6327
6328 (define-public sbcl-s-sysdeps
6329 (let ((commit "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d")
6330 (revision "1"))
6331 (package
6332 (name "sbcl-s-sysdeps")
6333 (build-system asdf-build-system/sbcl)
6334 (version (git-version "1" revision commit))
6335 (home-page "https://github.com/svenvc/s-sysdeps")
6336 (source
6337 (origin
6338 (method git-fetch)
6339 (uri (git-reference
6340 (url home-page)
6341 (commit commit)))
6342 (file-name (git-file-name name version))
6343 (sha256
6344 (base32
6345 "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9"))))
6346 (synopsis "Common Lisp abstraction layer over platform dependent functionality")
6347 (description "@code{s-sysdeps} is an abstraction layer over platform
6348 dependent functionality. This simple package is used as a building block in a
6349 number of other open source projects.
6350
6351 @code{s-sysdeps} abstracts:
6352
6353 @itemize
6354 @item managing processes,
6355 @item implementing a standard TCP/IP server,
6356 @item opening a client TCP/IP socket stream,
6357 @item working with process locks.
6358 @end itemize\n")
6359 (license license:llgpl))))
6360
6361 (define-public cl-s-sysdeps
6362 (sbcl-package->cl-source-package sbcl-s-sysdeps))
6363
6364 (define-public ecl-s-sysdeps
6365 (sbcl-package->ecl-package sbcl-s-sysdeps))
6366
6367 (define-public sbcl-cl-prevalence
6368 (let ((commit "c163c227ed85d430b82cb1e3502f72d4f88e3cfa")
6369 (revision "1"))
6370 (package
6371 (name "sbcl-cl-prevalence")
6372 (build-system asdf-build-system/sbcl)
6373 (version (git-version "5" revision commit))
6374 (home-page "https://github.com/40ants/cl-prevalence")
6375 (source
6376 (origin
6377 (method git-fetch)
6378 (uri (git-reference
6379 (url home-page)
6380 (commit commit)))
6381 (file-name (git-file-name name version))
6382 (sha256
6383 (base32
6384 "1i9zj1q2ahgwch56an21yzbgkynz0kab9fyxkq9mg8p3xrv38jjn"))))
6385 (inputs
6386 `(("s-sysdeps" ,sbcl-s-sysdeps)
6387 ("s-xml" ,sbcl-s-xml)))
6388 (synopsis "Implementation of object prevalence for Common Lisp")
6389 (description "This Common Lisp library implements object prevalence (see
6390 @url{https://en.wikipedia.org/wiki/System_prevalence}). It allows
6391 for (de)serializing to and from s-exps as well as XML. Serialization of arbitrary
6392 classes and cyclic data structures are supported.")
6393 (license license:llgpl))))
6394
6395 (define-public cl-prevalence
6396 (sbcl-package->cl-source-package sbcl-cl-prevalence))
6397
6398 (define-public ecl-cl-prevalence
6399 (sbcl-package->ecl-package sbcl-cl-prevalence))
6400
6401 (define-public sbcl-series
6402 (let ((commit "da9061b336119d1e5214aff9117171d494d5a58a")
6403 (revision "1"))
6404 (package
6405 (name "sbcl-series")
6406 (version (git-version "2.2.11" revision commit))
6407 (source
6408 (origin
6409 (method git-fetch)
6410 (uri (git-reference
6411 (url "git://git.code.sf.net/p/series/series")
6412 (commit commit)))
6413 (file-name (git-file-name name version))
6414 (sha256
6415 (base32
6416 "07hk2lhfx42zk018pxqvn4gs77vd4n4g8m4xxbqaxgca76mifwfw"))))
6417 (build-system asdf-build-system/sbcl)
6418 (arguments
6419 ;; Disable the tests, they are apparently buggy and I didn't find
6420 ;; a simple way to make them run and pass.
6421 '(#:tests? #f))
6422 (synopsis "Series data structure for Common Lisp")
6423 (description
6424 "This Common Lisp library provides a series data structure much like
6425 a sequence, with similar kinds of operations. The difference is that in many
6426 situations, operations on series may be composed functionally and yet execute
6427 iteratively, without the need to construct intermediate series values
6428 explicitly. In this manner, series provide both the clarity of a functional
6429 programming style and the efficiency of an iterative programming style.")
6430 (home-page "http://series.sourceforge.net/")
6431 (license license:expat))))
6432
6433 (define-public cl-series
6434 (sbcl-package->cl-source-package sbcl-series))
6435
6436 (define-public ecl-series
6437 (sbcl-package->ecl-package sbcl-series))
6438
6439 (define-public sbcl-periods
6440 (let ((commit "983d4a57325db3c8def942f163133cec5391ec28")
6441 (revision "1"))
6442 (package
6443 (name "sbcl-periods")
6444 (version (git-version "0.0.2" revision commit))
6445 (source
6446 (origin
6447 (method git-fetch)
6448 (uri (git-reference
6449 (url "https://github.com/jwiegley/periods.git")
6450 (commit commit)))
6451 (file-name (git-file-name name version))
6452 (sha256
6453 (base32
6454 "0z30jr3lxz3cmi019fsl4lgcgwf0yqpn95v9zkkkwgymdrkd4lga"))))
6455 (build-system asdf-build-system/sbcl)
6456 (inputs
6457 `(("local-time" ,sbcl-local-time)))
6458 (synopsis "Common Lisp library for manipulating date/time objects")
6459 (description
6460 "Periods is a Common Lisp library providing a set of utilities for
6461 manipulating times, distances between times, and both contiguous and
6462 discontiguous ranges of time.")
6463 (home-page "https://github.com/jwiegley/periods")
6464 (license license:bsd-3))))
6465
6466 (define-public cl-periods
6467 (sbcl-package->cl-source-package sbcl-periods))
6468
6469 (define-public ecl-periods
6470 (sbcl-package->ecl-package sbcl-periods))
6471
6472 (define-public sbcl-periods-series
6473 (package
6474 (inherit sbcl-periods)
6475 (name "sbcl-periods-series")
6476 (inputs
6477 `(("periods" ,sbcl-periods)
6478 ("series" ,sbcl-series)))
6479 (arguments
6480 '(#:asd-file "periods-series.asd"
6481 #:asd-system-name "periods-series"))
6482 (description
6483 "Periods-series is an extension of the periods Common Lisp library
6484 providing functions compatible with the series Common Lisp library.")))
6485
6486 (define-public cl-periods-series
6487 (sbcl-package->cl-source-package sbcl-periods-series))
6488
6489 (define-public ecl-periods-series
6490 (sbcl-package->ecl-package sbcl-periods-series))
6491
6492 (define-public sbcl-metatilities-base
6493 (let ((commit "6eaa9e3ff0939a93a92109dd0fcd218de85417d5")
6494 (revision "1"))
6495 (package
6496 (name "sbcl-metatilities-base")
6497 (version (git-version "0.6.6" revision commit))
6498 (source
6499 (origin
6500 (method git-fetch)
6501 (uri (git-reference
6502 (url "https://github.com/gwkkwg/metatilities-base.git")
6503 (commit commit)))
6504 (file-name (git-file-name name version))
6505 (sha256
6506 (base32
6507 "0xpa86pdzlnf4v5g64j3ifaplx71sx2ha8b7vvakswi652679ma0"))))
6508 (build-system asdf-build-system/sbcl)
6509 (native-inputs
6510 `(("lift" ,sbcl-lift)))
6511 (synopsis "Core of the metatilities Common Lisp library")
6512 (description
6513 "Metatilities-base is the core of the metatilities Common Lisp library
6514 which implements a set of utilities.")
6515 (home-page "https://common-lisp.net/project/metatilities-base/")
6516 (license license:expat))))
6517
6518 (define-public cl-metatilities-base
6519 (sbcl-package->cl-source-package sbcl-metatilities-base))
6520
6521 (define-public ecl-metatilities-base
6522 (sbcl-package->ecl-package sbcl-metatilities-base))
6523
6524 (define-public sbcl-cl-containers
6525 (let ((commit "810927e19d933bcf38ffeb7a23ce521efc432d45")
6526 (revision "1"))
6527 (package
6528 (name "sbcl-cl-containers")
6529 (version (git-version "0.12.1" revision commit))
6530 (source
6531 (origin
6532 (method git-fetch)
6533 (uri (git-reference
6534 (url "https://github.com/gwkkwg/cl-containers.git")
6535 (commit commit)))
6536 (file-name (git-file-name name version))
6537 (sha256
6538 (base32
6539 "1s9faxw7svhbjpkhfrz2qxgjm3cvyjb8wpyb4m8dx4i5g7vvprkv"))))
6540 (build-system asdf-build-system/sbcl)
6541 (native-inputs
6542 `(("lift" ,sbcl-lift)))
6543 (inputs
6544 `(("metatilities-base" ,sbcl-metatilities-base)))
6545 (arguments
6546 '(#:phases
6547 (modify-phases %standard-phases
6548 (add-after 'unpack 'relax-version-checks
6549 (lambda _
6550 (substitute* "cl-containers.asd"
6551 (("\\(:version \"metatilities-base\" \"0\\.6\\.6\"\\)")
6552 "\"metatilities-base\""))
6553 (substitute* "cl-containers-test.asd"
6554 (("\\(:version \"lift\" \"1\\.7\\.0\"\\)")
6555 "\"lift\""))
6556 #t)))))
6557 (synopsis "Container library for Common Lisp")
6558 (description
6559 "Common Lisp ships with a set of powerful built in data structures
6560 including the venerable list, full featured arrays, and hash-tables.
6561 CL-containers enhances and builds on these structures by adding containers
6562 that are not available in native Lisp (for example: binary search trees,
6563 red-black trees, sparse arrays and so on), and by providing a standard
6564 interface so that they are simpler to use and so that changing design
6565 decisions becomes significantly easier.")
6566 (home-page "https://common-lisp.net/project/cl-containers/")
6567 (license license:expat))))
6568
6569 (define-public cl-containers
6570 (sbcl-package->cl-source-package sbcl-cl-containers))
6571
6572 (define-public ecl-cl-containers
6573 (sbcl-package->ecl-package sbcl-cl-containers))
6574
6575 (define-public sbcl-xlunit
6576 (let ((commit "3805d34b1d8dc77f7e0ee527a2490194292dd0fc")
6577 (revision "1"))
6578 (package
6579 (name "sbcl-xlunit")
6580 (version (git-version "0.6.3" revision commit))
6581 (source
6582 (origin
6583 (method git-fetch)
6584 (uri (git-reference
6585 (url "http://git.kpe.io/xlunit.git")
6586 (commit commit)))
6587 (file-name (git-file-name name version))
6588 (sha256
6589 (base32
6590 "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3"))))
6591 (build-system asdf-build-system/sbcl)
6592 (arguments
6593 '(#:phases
6594 (modify-phases %standard-phases
6595 (add-after 'unpack 'fix-tests
6596 (lambda _
6597 (substitute* "xlunit.asd"
6598 ((" :force t") ""))
6599 #t)))))
6600 (synopsis "Unit testing package for Common Lisp")
6601 (description
6602 "The XLUnit package is a toolkit for building test suites. It is based
6603 on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
6604 (home-page "http://quickdocs.org/xlunit/")
6605 (license license:bsd-3))))
6606
6607 (define-public cl-xlunit
6608 (sbcl-package->cl-source-package sbcl-xlunit))
6609
6610 (define-public ecl-xlunit
6611 (sbcl-package->ecl-package sbcl-xlunit))
6612
6613 (define-public sbcl-fprog
6614 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6615 (revision "1"))
6616 (package
6617 (name "sbcl-fprog")
6618 (version (git-version "1.0.0" revision commit))
6619 (source
6620 (origin
6621 (method git-fetch)
6622 (uri (git-reference
6623 (url "https://github.com/jwiegley/cambl.git")
6624 (commit commit)))
6625 (file-name (git-file-name name version))
6626 (sha256
6627 (base32
6628 "103mry04j2k9vznsxm7wcvccgxkil92cdrv52miwcmxl8daa4jiz"))))
6629 (build-system asdf-build-system/sbcl)
6630 (synopsis "Functional programming utilities for Common Lisp")
6631 (description
6632 "@code{fprog} is a Common Lisp library allowing iteration over
6633 immutable lists sharing identical sublists.")
6634 (home-page "https://github.com/jwiegley/cambl")
6635 (license license:bsd-3))))
6636
6637 (define-public cl-fprog
6638 (sbcl-package->cl-source-package sbcl-fprog))
6639
6640 (define-public ecl-fprog
6641 (sbcl-package->ecl-package sbcl-fprog))
6642
6643 (define-public sbcl-cambl
6644 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6645 (revision "1"))
6646 (package
6647 (inherit sbcl-fprog)
6648 (name "sbcl-cambl")
6649 (version (git-version "4.0.0" revision commit))
6650 (native-inputs
6651 `(("xlunit" ,sbcl-xlunit)))
6652 (inputs
6653 `(("alexandria" ,sbcl-alexandria)
6654 ("cl-containers" ,sbcl-cl-containers)
6655 ("local-time" ,sbcl-local-time)
6656 ("periods" ,sbcl-periods)
6657 ("fprog" ,sbcl-fprog)))
6658 (synopsis "Commoditized amounts and balances for Common Lisp")
6659 (description
6660 "CAMBL is a Common Lisp library providing a convenient facility for
6661 working with commoditized values. It does not allow compound units (and so is
6662 not suited for scientific operations) but does work rather nicely for the
6663 purpose of financial calculations."))))
6664
6665 (define-public cl-cambl
6666 (sbcl-package->cl-source-package sbcl-cambl))
6667
6668 (define-public ecl-cambl
6669 (sbcl-package->ecl-package sbcl-cambl))
6670
6671 (define-public sbcl-cl-ledger
6672 (let ((commit "08e0be41795e804cd36142e51756ad0b1caa377b")
6673 (revision "1"))
6674 (package
6675 (name "sbcl-cl-ledger")
6676 (version (git-version "4.0.0" revision commit))
6677 (source
6678 (origin
6679 (method git-fetch)
6680 (uri (git-reference
6681 (url "https://github.com/ledger/cl-ledger.git")
6682 (commit commit)))
6683 (file-name (git-file-name name version))
6684 (sha256
6685 (base32
6686 "1via0qf6wjcyxnfbmfxjvms0ik9j8rqbifgpmnhrzvkhrq9pv8h1"))))
6687 (build-system asdf-build-system/sbcl)
6688 (inputs
6689 `(("cambl" ,sbcl-cambl)
6690 ("cl-ppcre" ,sbcl-cl-ppcre)
6691 ("local-time" ,sbcl-local-time)
6692 ("periods-series" ,sbcl-periods-series)))
6693 (arguments
6694 '(#:phases
6695 (modify-phases %standard-phases
6696 (add-after 'unpack 'fix-system-definition
6697 (lambda _
6698 (substitute* "cl-ledger.asd"
6699 ((" :build-operation program-op") "")
6700 ((" :build-pathname \"cl-ledger\"") "")
6701 ((" :entry-point \"ledger::main\"") ""))
6702 #t)))))
6703 (synopsis "Common Lisp port of the Ledger accounting system")
6704 (description
6705 "CL-Ledger is a Common Lisp port of the Ledger double-entry accounting
6706 system.")
6707 (home-page "https://github.com/ledger/cl-ledger")
6708 (license license:bsd-3))))
6709
6710 (define-public cl-ledger
6711 (sbcl-package->cl-source-package sbcl-cl-ledger))
6712
6713 (define-public ecl-cl-ledger
6714 (sbcl-package->ecl-package sbcl-cl-ledger))
6715
6716 (define-public sbcl-bst
6717 (let ((commit "34f9c7e8e0a9f2c952fe310ab36cb630d5d9c15a")
6718 (revision "1"))
6719 (package
6720 (name "sbcl-bst")
6721 (version (git-version "1.1" revision commit))
6722 (source
6723 (origin
6724 (method git-fetch)
6725 (uri (git-reference
6726 (url "https://github.com/glv2/bst.git")
6727 (commit commit)))
6728 (file-name (git-file-name name version))
6729 (sha256
6730 (base32
6731 "1amxns7hvvh4arwbh8ciwfzplg127vh37dnbamv1m1kmmnmihfc8"))))
6732 (build-system asdf-build-system/sbcl)
6733 (native-inputs
6734 `(("alexandria" ,sbcl-alexandria)
6735 ("fiveam" ,sbcl-fiveam)))
6736 (synopsis "Binary search tree for Common Lisp")
6737 (description
6738 "BST is a Common Lisp library for working with binary search trees that
6739 can contain any kind of values.")
6740 (home-page "https://github.com/glv2/bst")
6741 (license license:gpl3))))
6742
6743 (define-public cl-bst
6744 (sbcl-package->cl-source-package sbcl-bst))
6745
6746 (define-public ecl-bst
6747 (sbcl-package->ecl-package sbcl-bst))
6748
6749 (define-public sbcl-cl-octet-streams
6750 (package
6751 (name "sbcl-cl-octet-streams")
6752 (version "1.0")
6753 (source
6754 (origin
6755 (method git-fetch)
6756 (uri (git-reference
6757 (url "https://github.com/glv2/cl-octet-streams.git")
6758 (commit (string-append "v" version))))
6759 (file-name (git-file-name name version))
6760 (sha256
6761 (base32
6762 "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
6763 (build-system asdf-build-system/sbcl)
6764 (native-inputs
6765 `(("fiveam" ,sbcl-fiveam)))
6766 (inputs
6767 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6768 (synopsis "In-memory octet streams for Common Lisp")
6769 (description
6770 "CL-octet-streams is a library implementing in-memory octet
6771 streams for Common Lisp. It was inspired by the trivial-octet-streams and
6772 cl-plumbing libraries.")
6773 (home-page "https://github.com/glv2/cl-octet-streams")
6774 (license license:gpl3+)))
6775
6776 (define-public cl-octet-streams
6777 (sbcl-package->cl-source-package sbcl-cl-octet-streams))
6778
6779 (define-public ecl-cl-octet-streams
6780 (sbcl-package->ecl-package sbcl-cl-octet-streams))
6781
6782 (define-public sbcl-lzlib
6783 (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
6784 (revision "1"))
6785 (package
6786 (name "sbcl-lzlib")
6787 (version (git-version "1.0" revision commit))
6788 (source
6789 (origin
6790 (method git-fetch)
6791 (uri (git-reference
6792 (url "https://github.com/glv2/cl-lzlib.git")
6793 (commit commit)))
6794 (file-name (git-file-name name version))
6795 (sha256
6796 (base32
6797 "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
6798 (build-system asdf-build-system/sbcl)
6799 (native-inputs
6800 `(("fiveam" ,sbcl-fiveam)))
6801 (inputs
6802 `(("cffi" ,sbcl-cffi)
6803 ("cl-octet-streams" ,sbcl-cl-octet-streams)
6804 ("lzlib" ,lzlib)))
6805 (arguments
6806 '(#:phases
6807 (modify-phases %standard-phases
6808 (add-after 'unpack 'fix-paths
6809 (lambda* (#:key inputs #:allow-other-keys)
6810 (substitute* "src/lzlib.lisp"
6811 (("liblz\\.so")
6812 (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
6813 #t)))))
6814 (synopsis "Common Lisp library for lzip (de)compression")
6815 (description
6816 "This Common Lisp library provides functions for lzip (LZMA)
6817 compression/decompression using bindings to the lzlib C library.")
6818 (home-page "https://github.com/glv2/cl-lzlib")
6819 (license license:gpl3+))))
6820
6821 (define-public cl-lzlib
6822 (sbcl-package->cl-source-package sbcl-lzlib))
6823
6824 (define-public ecl-lzlib
6825 (sbcl-package->ecl-package sbcl-lzlib))
6826
6827 (define-public sbcl-chanl
6828 (let ((commit "2362b57550c2c9238cc882d03553aaa1040b7340")
6829 (revision "0"))
6830 (package
6831 (name "sbcl-chanl")
6832 (version (git-version "0.4.1" revision commit))
6833 (source
6834 (origin
6835 (method git-fetch)
6836 (uri (git-reference
6837 (url "https://github.com/zkat/chanl.git")
6838 (commit commit)))
6839 (file-name (git-file-name name version))
6840 (sha256
6841 (base32
6842 "0ag3wz7yrqwp0s5069wwda98z3rrqd25spg8sa8rdqghj084w28w"))))
6843 (build-system asdf-build-system/sbcl)
6844 (native-inputs
6845 `(("fiveam" ,sbcl-fiveam)))
6846 (inputs
6847 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
6848 (synopsis "Portable channel-based concurrency for Common Lisp")
6849 (description "Common Lisp library for channel-based concurrency. In
6850 a nutshell, you create various threads sequentially executing tasks you need
6851 done, and use channel objects to communicate and synchronize the state of these
6852 threads.")
6853 (home-page "https://github.com/zkat/chanl")
6854 (license (list license:expat license:bsd-3)))))
6855
6856 (define-public cl-chanl
6857 (sbcl-package->cl-source-package sbcl-chanl))
6858
6859 (define-public ecl-chanl
6860 (let ((base (sbcl-package->ecl-package sbcl-chanl)))
6861 (package
6862 (inherit base)
6863 (arguments
6864 (substitute-keyword-arguments (package-arguments base)
6865 ;; The CHANL.ACTORS package uses the :ARGUMENTS option of
6866 ;; DEFINE-METHOD-COMBINATION, which is not implemented in ECL yet
6867 ;; (see https://gitlab.com/embeddable-common-lisp/ecl/issues/305).
6868 ;; So let's disable it for now, as it allows compiling the library
6869 ;; and using the rest of it.
6870 ((#:phases phases '%standard-phases)
6871 `(modify-phases ,phases
6872 (add-after 'unpack 'disable-chanl-actors
6873 (lambda _
6874 (substitute* "chanl.asd"
6875 (("\\(:file \"actors\"\\)") ""))
6876 #t))))
6877 ;; Disable the tests for now, as the SEND-SEQUENCE test seems to
6878 ;; never end.
6879 ((#:tests? _ #f) #f))))))
6880
6881 (define-public sbcl-cl-store
6882 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
6883 (revision "1"))
6884 (package
6885 (name "sbcl-cl-store")
6886 (version (git-version "0.8.11" revision commit))
6887 (source
6888 (origin
6889 (method git-fetch)
6890 (uri (git-reference
6891 (url "https://github.com/skypher/cl-store.git")
6892 (commit commit)))
6893 (file-name (git-file-name name version))
6894 (sha256
6895 (base32
6896 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
6897 (build-system asdf-build-system/sbcl)
6898 (native-inputs
6899 `(("rt" ,sbcl-rt)))
6900 (synopsis "Common Lisp library to serialize data")
6901 (description
6902 "CL-STORE is a portable serialization package which should give you the
6903 ability to store all Common Lisp data types into streams.")
6904 (home-page "https://www.common-lisp.net/project/cl-store/")
6905 (license license:expat))))
6906
6907 (define-public cl-store
6908 (sbcl-package->cl-source-package sbcl-cl-store))
6909
6910 (define-public ecl-cl-store
6911 (sbcl-package->ecl-package sbcl-cl-store))
6912
6913 (define-public sbcl-cl-gobject-introspection
6914 (let ((commit "7b703e2384945ea0ac39d9b766de434a08d81560")
6915 (revision "0"))
6916 (package
6917 (name "sbcl-cl-gobject-introspection")
6918 (version (git-version "0.3" revision commit))
6919 (home-page "https://github.com/andy128k/cl-gobject-introspection")
6920 (source
6921 (origin
6922 (method git-fetch)
6923 (uri (git-reference
6924 (url home-page)
6925 (commit commit)))
6926 (file-name (git-file-name name version))
6927 (sha256
6928 (base32
6929 "1zcqd2qj14f6b38vys8gr89s6cijsp9r8j43xa8lynilwva7bwyh"))))
6930 (build-system asdf-build-system/sbcl)
6931 (inputs
6932 `(("alexandria" ,sbcl-alexandria)
6933 ("cffi" ,sbcl-cffi)
6934 ("iterate" ,sbcl-iterate)
6935 ("trivial-garbage" ,sbcl-trivial-garbage)
6936 ("glib" ,glib)
6937 ("gobject-introspection" ,gobject-introspection)))
6938 (native-inputs
6939 `(("fiveam" ,sbcl-fiveam)))
6940 (arguments
6941 ;; TODO: Tests fail, see
6942 ;; https://github.com/andy128k/cl-gobject-introspection/issues/70.
6943 '(#:tests? #f
6944 #:phases
6945 (modify-phases %standard-phases
6946 (add-after (quote unpack) (quote fix-paths)
6947 (lambda* (#:key inputs #:allow-other-keys)
6948 (substitute* "src/init.lisp"
6949 (("libgobject-2\\.0\\.so")
6950 (string-append (assoc-ref inputs "glib") "/lib/libgobject-2.0.so"))
6951 (("libgirepository-1\\.0\\.so")
6952 (string-append (assoc-ref inputs "gobject-introspection")
6953 "/lib/libgirepository-1.0.so")))
6954 #t)))))
6955 (synopsis "Common Lisp bindings to GObject Introspection")
6956 (description
6957 "This library is a bridge between Common Lisp and GObject
6958 Introspection, which enables Common Lisp programs to access the full interface
6959 of C+GObject libraries without the need of writing dedicated bindings.")
6960 (license (list license:bsd-3
6961 ;; Tests are under a different license.
6962 license:llgpl)))))
6963
6964 (define-public cl-gobject-introspection
6965 (sbcl-package->cl-source-package sbcl-cl-gobject-introspection))
6966
6967 (define-public sbcl-string-case
6968 (let ((commit "718c761e33749e297cd2809c7ba3ade1985c49f7")
6969 (revision "0"))
6970 (package
6971 (name "sbcl-string-case")
6972 (version (git-version "0.0.2" revision commit))
6973 (home-page "https://github.com/pkhuong/string-case")
6974 (source
6975 (origin
6976 (method git-fetch)
6977 (uri (git-reference
6978 (url home-page)
6979 (commit commit)))
6980 (file-name (git-file-name name version))
6981 (sha256
6982 (base32
6983 "1n5i3yh0h5s636rcnwn7jwqy3rjflikra04lymimhpcshhjsk0md"))))
6984 (build-system asdf-build-system/sbcl)
6985 (synopsis "Efficient string= case in Common Lisp")
6986 (description
6987 "@code{string-case} is a Common Lisp macro that generates specialised decision
6988 trees to dispatch on string equality.")
6989 (license license:bsd-3))))
6990
6991 (define-public cl-string-case
6992 (sbcl-package->cl-source-package sbcl-string-case))
6993
6994 (define-public ecl-string-case
6995 (sbcl-package->ecl-package sbcl-string-case))
6996
6997 (define-public sbcl-global-vars
6998 (let ((commit "c749f32c9b606a1457daa47d59630708ac0c266e")
6999 (revision "0"))
7000 (package
7001 (name "sbcl-global-vars")
7002 (version (git-version "1.0.0" revision commit))
7003 (home-page "https://github.com/lmj/global-vars")
7004 (source
7005 (origin
7006 (method git-fetch)
7007 (uri (git-reference
7008 (url home-page)
7009 (commit commit)))
7010 (file-name (git-file-name name version))
7011 (sha256
7012 (base32
7013 "06m3xc8l3pgsapl8fvsi9wf6y46zs75cp9zn7zh6dc65v4s5wz3d"))))
7014 (build-system asdf-build-system/sbcl)
7015 (synopsis "Efficient global variables in Common Lisp")
7016 (description
7017 "In Common Lisp, a special variable that is never dynamically bound
7018 typically serves as a stand-in for a global variable. The @code{global-vars}
7019 library provides true global variables that are implemented by some compilers.
7020 An attempt to rebind a global variable properly results in a compiler error.
7021 That is, a global variable cannot be dynamically bound.
7022
7023 Global variables therefore allow us to communicate an intended usage that
7024 differs from special variables. Global variables are also more efficient than
7025 special variables, especially in the presence of threads.")
7026 (license license:expat))))
7027
7028 (define-public cl-global-vars
7029 (sbcl-package->cl-source-package sbcl-global-vars))
7030
7031 (define-public ecl-global-vars
7032 (sbcl-package->ecl-package sbcl-global-vars))
7033
7034 (define-public sbcl-trivial-file-size
7035 (let ((commit "1c1d672a01a446ba0391dbb4ffc40be3b0476f23")
7036 (revision "0"))
7037 (package
7038 (name "sbcl-trivial-file-size")
7039 (version (git-version "0.0.0" revision commit))
7040 (home-page "https://github.com/ruricolist/trivial-file-size")
7041 (source
7042 (origin
7043 (method git-fetch)
7044 (uri (git-reference
7045 (url home-page)
7046 (commit commit)))
7047 (file-name (git-file-name name version))
7048 (sha256
7049 (base32
7050 "17pp86c9zs4y7i1sh7q9gbfw9iqv6655k7fz8qbj9ly1ypgxp4qs"))))
7051 (build-system asdf-build-system/sbcl)
7052 (native-inputs
7053 `(("fiveam" ,sbcl-fiveam)))
7054 (synopsis "Size of a file in bytes in Common Lisp")
7055 (description
7056 "The canonical way to determine the size of a file in bytes, using Common Lisp,
7057 is to open the file with an element type of (unsigned-byte 8) and then
7058 calculate the length of the stream. This is less than ideal. In most cases
7059 it is better to get the size of the file from its metadata, using a system
7060 call.
7061
7062 This library exports a single function, file-size-in-octets. It returns the
7063 size of a file in bytes, using system calls when possible.")
7064 (license license:expat))))
7065
7066 (define-public cl-trivial-file-size
7067 (sbcl-package->cl-source-package sbcl-trivial-file-size))
7068
7069 (define-public ecl-trivial-file-size
7070 (sbcl-package->ecl-package sbcl-trivial-file-size))
7071
7072 (define-public sbcl-trivial-macroexpand-all
7073 (let ((commit "933270ac7107477de1bc92c1fd641fe646a7a8a9")
7074 (revision "0"))
7075 (package
7076 (name "sbcl-trivial-macroexpand-all")
7077 (version (git-version "0.0.0" revision commit))
7078 (home-page "https://github.com/cbaggers/trivial-macroexpand-all")
7079 (source
7080 (origin
7081 (method git-fetch)
7082 (uri (git-reference
7083 (url home-page)
7084 (commit commit)))
7085 (file-name (git-file-name name version))
7086 (sha256
7087 (base32
7088 "191hnn4b5j4i3crydmlzbm231kj0h7l8zj6mzj69r1npbzkas4bd"))))
7089 (build-system asdf-build-system/sbcl)
7090 (native-inputs
7091 `(("fiveam" ,sbcl-fiveam)))
7092 (synopsis "Portable macroexpand-all for Common Lisp")
7093 (description
7094 "This library provides a macroexpand-all function that calls the
7095 implementation specific equivalent.")
7096 (license license:unlicense))))
7097
7098 (define-public cl-trivial-macroexpand-all
7099 (sbcl-package->cl-source-package sbcl-trivial-macroexpand-all))
7100
7101 (define-public ecl-trivial-macroexpand-all
7102 (sbcl-package->ecl-package sbcl-trivial-macroexpand-all))
7103
7104 (define-public sbcl-serapeum
7105 (let ((commit "65837f8a0d65b36369ec8d000fff5c29a395b5fe")
7106 (revision "0"))
7107 (package
7108 (name "sbcl-serapeum")
7109 (version (git-version "0.0.0" revision commit))
7110 (home-page "https://github.com/ruricolist/serapeum")
7111 (source
7112 (origin
7113 (method git-fetch)
7114 (uri (git-reference
7115 (url home-page)
7116 (commit commit)))
7117 (file-name (git-file-name name version))
7118 (sha256
7119 (base32
7120 "0clwf81r2lvk1rbfvk91s9zmbkas9imf57ilqclw12mxaxlfsnbw"))))
7121 (build-system asdf-build-system/sbcl)
7122 (inputs
7123 `(("alexandria" ,sbcl-alexandria)
7124 ("trivia" ,sbcl-trivia)
7125 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
7126 ("split-sequence" ,sbcl-split-sequence)
7127 ("string-case" ,sbcl-string-case)
7128 ("parse-number" ,sbcl-parse-number)
7129 ("trivial-garbage" ,sbcl-trivial-garbage)
7130 ("bordeaux-threads" ,sbcl-bordeaux-threads)
7131 ("named-readtables" ,sbcl-named-readtables)
7132 ("fare-quasiquote-extras" ,cl-fare-quasiquote-extras)
7133 ("parse-declarations-1.0" ,sbcl-parse-declarations)
7134 ("global-vars" ,sbcl-global-vars)
7135 ("trivial-file-size" ,sbcl-trivial-file-size)
7136 ("trivial-macroexpand-all" ,sbcl-trivial-macroexpand-all)))
7137 (native-inputs
7138 `(("fiveam" ,sbcl-fiveam)
7139 ("local-time" ,sbcl-local-time)))
7140 (arguments
7141 '(#:phases
7142 (modify-phases %standard-phases
7143 (add-after 'unpack 'disable-failing-tests
7144 (lambda* (#:key inputs #:allow-other-keys)
7145 (substitute* "serapeum.asd"
7146 ;; Guix does not have Quicklisp, and probably never will.
7147 (("\\(:file \"quicklisp\"\\)") ""))
7148 #t)))))
7149 (synopsis "Common Lisp utility library beyond Alexandria")
7150 (description
7151 "Serapeum is a conservative library of Common Lisp utilities. It is a
7152 supplement, not a competitor, to Alexandria.")
7153 (license license:expat))))
7154
7155 (define-public cl-serapeum
7156 (sbcl-package->cl-source-package sbcl-serapeum))
7157
7158 (define-public sbcl-arrows
7159 (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382")
7160 (revision "0"))
7161 (package
7162 (name "sbcl-arrows")
7163 (version (git-version "0.2.0" revision commit))
7164 (source
7165 (origin
7166 (method git-fetch)
7167 (uri (git-reference
7168 (url "https://gitlab.com/Harleqin/arrows.git")
7169 (commit commit)))
7170 (file-name (git-file-name name version))
7171 (sha256
7172 (base32
7173 "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy"))))
7174 (build-system asdf-build-system/sbcl)
7175 (native-inputs
7176 `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
7177 (synopsis "Clojure-like arrow macros for Common Lisp")
7178 (description
7179 "This library implements the @code{->} and @code{->>} macros from
7180 Clojure, as well as several expansions on the idea.")
7181 (home-page "https://gitlab.com/Harleqin/arrows")
7182 (license license:public-domain))))
7183
7184 (define-public cl-arrows
7185 (sbcl-package->cl-source-package sbcl-arrows))
7186
7187 (define-public ecl-arrows
7188 (sbcl-package->ecl-package sbcl-arrows))
7189
7190 (define-public sbcl-simple-parallel-tasks
7191 (let ((commit "db460f7a3f7bbfe2d3a2223ed21e162068d04dda")
7192 (revision "0"))
7193 (package
7194 (name "sbcl-simple-parallel-tasks")
7195 (version (git-version "1.0" revision commit))
7196 (source
7197 (origin
7198 (method git-fetch)
7199 (uri (git-reference
7200 (url "https://github.com/glv2/simple-parallel-tasks.git")
7201 (commit commit)))
7202 (file-name (git-file-name name version))
7203 (sha256
7204 (base32
7205 "0amw3qk23wnlyrsgzszs6rs7y4zvxv8dr03rnqhc60mnm8ds4dd5"))))
7206 (build-system asdf-build-system/sbcl)
7207 (native-inputs
7208 `(("fiveam" ,sbcl-fiveam)))
7209 (inputs
7210 `(("chanl" ,sbcl-chanl)))
7211 (synopsis "Common Lisp library to evaluate some forms in parallel")
7212 (description "This is a simple Common Lisp library to evaluate some
7213 forms in parallel.")
7214 (home-page "https://github.com/glv2/simple-parallel-tasks")
7215 (license license:gpl3))))
7216
7217 (define-public cl-simple-parallel-tasks
7218 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
7219
7220 (define-public ecl-simple-parallel-tasks
7221 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
7222
7223 (define-public sbcl-cl-heap
7224 (package
7225 (name "sbcl-cl-heap")
7226 (version "0.1.6")
7227 (source
7228 (origin
7229 (method url-fetch)
7230 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
7231 "cl-heap_" version ".tar.gz"))
7232 (sha256
7233 (base32
7234 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
7235 (build-system asdf-build-system/sbcl)
7236 (native-inputs
7237 `(("xlunit" ,sbcl-xlunit)))
7238 (arguments
7239 `(#:test-asd-file "cl-heap-tests.asd"))
7240 (synopsis "Heap and priority queue data structures for Common Lisp")
7241 (description
7242 "CL-HEAP provides various implementations of heap data structures (a
7243 binary heap and a Fibonacci heap) as well as an efficient priority queue.")
7244 (home-page "https://common-lisp.net/project/cl-heap/")
7245 (license license:gpl3+)))
7246
7247 (define-public cl-heap
7248 (sbcl-package->cl-source-package sbcl-cl-heap))
7249
7250 (define-public ecl-cl-heap
7251 (sbcl-package->ecl-package sbcl-cl-heap))
7252
7253 (define-public sbcl-curry-compose-reader-macros
7254 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
7255 (revision "0"))
7256 (package
7257 (name "sbcl-curry-compose-reader-macros")
7258 (version (git-version "1.0.0" revision commit))
7259 (source
7260 (origin
7261 (method git-fetch)
7262 (uri
7263 (git-reference
7264 (url "https://github.com/eschulte/curry-compose-reader-macros.git")
7265 (commit commit)))
7266 (file-name (git-file-name name version))
7267 (sha256
7268 (base32
7269 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
7270 (build-system asdf-build-system/sbcl)
7271 (inputs
7272 `(("alexandria" ,sbcl-alexandria)
7273 ("named-readtables" ,sbcl-named-readtables)))
7274 (synopsis "Reader macros for partial application and composition")
7275 (description
7276 "This Common Lisp library provides reader macros for concise expression
7277 of function partial application and composition.")
7278 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
7279 (license license:public-domain))))
7280
7281 (define-public cl-curry-compose-reader-macros
7282 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
7283
7284 (define-public ecl-curry-compose-reader-macros
7285 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
7286
7287 (define-public sbcl-yason
7288 (package
7289 (name "sbcl-yason")
7290 (version "0.7.7")
7291 (source
7292 (origin
7293 (method git-fetch)
7294 (uri (git-reference
7295 (url "https://github.com/phmarek/yason.git")
7296 (commit (string-append "v" version))))
7297 (file-name (git-file-name name version))
7298 (sha256
7299 (base32
7300 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
7301 (build-system asdf-build-system/sbcl)
7302 (inputs
7303 `(("alexandria" ,sbcl-alexandria)
7304 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7305 (synopsis "Common Lisp JSON parser/encoder")
7306 (description
7307 "YASON is a Common Lisp library for encoding and decoding data in the
7308 JSON interchange format.")
7309 (home-page "https://github.com/phmarek/yason")
7310 (license license:bsd-3)))
7311
7312 (define-public cl-yason
7313 (sbcl-package->cl-source-package sbcl-yason))
7314
7315 (define-public ecl-yason
7316 (sbcl-package->ecl-package sbcl-yason))
7317
7318 (define-public sbcl-stefil
7319 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
7320 (revision "0"))
7321 (package
7322 (name "sbcl-stefil")
7323 (version (git-version "0.1" revision commit))
7324 (source
7325 (origin
7326 (method git-fetch)
7327 (uri (git-reference
7328 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
7329 (commit commit)))
7330 (file-name (git-file-name name version))
7331 (sha256
7332 (base32
7333 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
7334 (build-system asdf-build-system/sbcl)
7335 (inputs
7336 `(("alexandria" ,sbcl-alexandria)
7337 ("iterate" ,sbcl-iterate)
7338 ("metabang-bind" ,sbcl-metabang-bind)))
7339 (propagated-inputs
7340 ;; Swank doesn't have a pre-compiled package, therefore we must
7341 ;; propagate its sources.
7342 `(("swank" ,cl-slime-swank)))
7343 (arguments
7344 '(#:phases
7345 (modify-phases %standard-phases
7346 (add-after 'unpack 'drop-unnecessary-dependency
7347 (lambda _
7348 (substitute* "package.lisp"
7349 ((":stefil-system") ""))
7350 #t)))))
7351 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
7352 (synopsis "Simple test framework")
7353 (description
7354 "Stefil is a simple test framework for Common Lisp, with a focus on
7355 interactive development.")
7356 (license license:public-domain))))
7357
7358 (define-public cl-stefil
7359 (sbcl-package->cl-source-package sbcl-stefil))
7360
7361 (define-public sbcl-graph
7362 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
7363 (revision "0"))
7364 (package
7365 (name "sbcl-graph")
7366 (version (git-version "0.0.0" revision commit))
7367 (source
7368 (origin
7369 (method git-fetch)
7370 (uri
7371 (git-reference
7372 (url "https://github.com/eschulte/graph.git")
7373 (commit commit)))
7374 (file-name (git-file-name name version))
7375 (sha256
7376 (base32
7377 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))
7378 (patches (search-patches "sbcl-graph-asdf-definitions.patch"))))
7379 (build-system asdf-build-system/sbcl)
7380 (native-inputs
7381 `(("stefil" ,sbcl-stefil)))
7382 (inputs
7383 `(("alexandria" ,sbcl-alexandria)
7384 ("cl-heap" ,sbcl-cl-heap)
7385 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7386 ("metabang-bind" ,sbcl-metabang-bind)
7387 ("named-readtables" ,sbcl-named-readtables)))
7388 (arguments
7389 '(#:test-asd-file "graph.test.asd"))
7390 (synopsis "Graph data structure and algorithms for Common Lisp")
7391 (description
7392 "The GRAPH Common Lisp library provides a data structures to represent
7393 graphs, as well as some graph manipulation and analysis algorithms (shortest
7394 path, maximum flow, minimum spanning tree, etc.).")
7395 (home-page "https://eschulte.github.io/graph/")
7396 (license license:gpl3+))))
7397
7398 (define-public cl-graph
7399 (sbcl-package->cl-source-package sbcl-graph))
7400
7401 (define-public sbcl-graph-dot
7402 (package
7403 (inherit sbcl-graph)
7404 (name "sbcl-graph-dot")
7405 (inputs
7406 `(("alexandria" ,sbcl-alexandria)
7407 ("cl-ppcre" ,sbcl-cl-ppcre)
7408 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7409 ("graph" ,sbcl-graph)
7410 ("metabang-bind" ,sbcl-metabang-bind)
7411 ("named-readtables" ,sbcl-named-readtables)))
7412 (arguments
7413 (substitute-keyword-arguments (package-arguments sbcl-graph)
7414 ((#:asd-file _ "") "graph.dot.asd")
7415 ((#:asd-system-name _ #f) "graph-dot")))
7416 (synopsis "Serialize graphs to and from DOT format")))
7417
7418 (define-public sbcl-graph-json
7419 (package
7420 (inherit sbcl-graph)
7421 (name "sbcl-graph-json")
7422 (inputs
7423 `(("alexandria" ,sbcl-alexandria)
7424 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7425 ("graph" ,sbcl-graph)
7426 ("metabang-bind" ,sbcl-metabang-bind)
7427 ("named-readtables" ,sbcl-named-readtables)
7428 ("yason" ,sbcl-yason)))
7429 (arguments
7430 (substitute-keyword-arguments (package-arguments sbcl-graph)
7431 ((#:asd-file _ "") "graph.json.asd")
7432 ((#:asd-system-name _ #f) "graph-json")))
7433 (synopsis "Serialize graphs to and from JSON format")))
7434
7435 (define-public sbcl-trivial-indent
7436 (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
7437 (revision "0"))
7438 (package
7439 (name "sbcl-trivial-indent")
7440 (version (git-version "1.0.0" revision commit))
7441 (source
7442 (origin
7443 (method git-fetch)
7444 (uri
7445 (git-reference
7446 (url "https://github.com/Shinmera/trivial-indent")
7447 (commit commit)))
7448 (file-name (git-file-name name version))
7449 (sha256
7450 (base32
7451 "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
7452 (build-system asdf-build-system/sbcl)
7453 (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
7454 (description
7455 "This library allows you to define custom indentation hints for your
7456 macros if the one recognised by SLIME automatically produces unwanted
7457 results.")
7458 (home-page "https://shinmera.github.io/trivial-indent/")
7459 (license license:zlib))))
7460
7461 (define-public cl-trivial-indent
7462 (sbcl-package->cl-source-package sbcl-trivial-indent))
7463
7464 (define-public sbcl-documentation-utils
7465 (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
7466 (revision "0"))
7467 (package
7468 (name "sbcl-documentation-utils")
7469 (version (git-version "1.2.0" revision commit))
7470 (source
7471 (origin
7472 (method git-fetch)
7473 (uri
7474 (git-reference
7475 (url "https://github.com/Shinmera/documentation-utils.git")
7476 (commit commit)))
7477 (file-name (git-file-name name version))
7478 (sha256
7479 (base32
7480 "098qhkqskmmrh4wix34mawf7p5c87yql28r51r75yjxj577k5idq"))))
7481 (build-system asdf-build-system/sbcl)
7482 (inputs
7483 `(("trivial-indent" ,sbcl-trivial-indent)))
7484 (synopsis "Few simple tools to document Common Lisp libraries")
7485 (description
7486 "This is a small library to help you with managing the Common Lisp
7487 docstrings for your library.")
7488 (home-page "https://shinmera.github.io/documentation-utils/")
7489 (license license:zlib))))
7490
7491 (define-public cl-documentation-utils
7492 (sbcl-package->cl-source-package sbcl-documentation-utils))
7493
7494 (define-public sbcl-form-fiddle
7495 (let ((commit "e0c23599dbb8cff3e83e012f3d86d0764188ad18")
7496 (revision "0"))
7497 (package
7498 (name "sbcl-form-fiddle")
7499 (version (git-version "1.1.0" revision commit))
7500 (source
7501 (origin
7502 (method git-fetch)
7503 (uri
7504 (git-reference
7505 (url "https://github.com/Shinmera/form-fiddle")
7506 (commit commit)))
7507 (file-name (git-file-name name version))
7508 (sha256
7509 (base32
7510 "041iznc9mpfyrl0sv5893ys9pbb2pvbn9g3clarqi7gsfj483jln"))))
7511 (build-system asdf-build-system/sbcl)
7512 (inputs
7513 `(("documentation-utils" ,sbcl-documentation-utils)))
7514 (synopsis "Utilities to destructure Common Lisp lambda forms")
7515 (description
7516 "Often times we need to destructure a form definition in a Common Lisp
7517 macro. This library provides a set of simple utilities to help with that.")
7518 (home-page "https://shinmera.github.io/form-fiddle/")
7519 (license license:zlib))))
7520
7521 (define-public cl-form-fiddle
7522 (sbcl-package->cl-source-package sbcl-form-fiddle))
7523
7524 (define-public sbcl-parachute
7525 (let ((commit "ca04dd8e43010a6dfffa26dbe1d62af86008d666")
7526 (revision "0"))
7527 (package
7528 (name "sbcl-parachute")
7529 (version (git-version "1.1.1" revision commit))
7530 (source
7531 (origin
7532 (method git-fetch)
7533 (uri
7534 (git-reference
7535 (url "https://github.com/Shinmera/parachute")
7536 (commit commit)))
7537 (file-name (git-file-name name version))
7538 (sha256
7539 (base32
7540 "1mvsm3r0r6a2bg75nw0q7n9vlby3ch45qjl7hnb5k1z2n5x5lh60"))))
7541 (build-system asdf-build-system/sbcl)
7542 (inputs
7543 `(("documentation-utils" ,sbcl-documentation-utils)
7544 ("form-fiddle" ,sbcl-form-fiddle)))
7545 (synopsis "Extensible and cross-compatible testing framework for Common Lisp")
7546 (description
7547 "Parachute is a simple-to-use and extensible testing framework.
7548 In Parachute, things are organised as a bunch of named tests within a package.
7549 Each test can contain a bunch of test forms that make up its body.")
7550 (home-page "https://shinmera.github.io/parachute/")
7551 (license license:zlib))))
7552
7553 (define-public cl-parachute
7554 (sbcl-package->cl-source-package sbcl-parachute))
7555
7556 (define-public sbcl-array-utils
7557 (let ((commit "f90eb9070d0b2205af51126a35033574725e5c56")
7558 (revision "0"))
7559 (package
7560 (name "sbcl-array-utils")
7561 (version (git-version "1.1.1" revision commit))
7562 (source
7563 (origin
7564 (method git-fetch)
7565 (uri
7566 (git-reference
7567 (url "https://github.com/Shinmera/array-utils")
7568 (commit commit)))
7569 (file-name (git-file-name name version))
7570 (sha256
7571 (base32
7572 "0zhwfbpr53vs1ii4sx75dz2k9yhh1xpwdqqpg8nmfndxkmhpbi3x"))))
7573 (build-system asdf-build-system/sbcl)
7574 (native-inputs
7575 `(("parachute" ,sbcl-parachute)))
7576 (inputs
7577 `(("documentation-utils" ,sbcl-documentation-utils)))
7578 (synopsis "Tiny collection of array and vector utilities for Common Lisp")
7579 (description
7580 "A miniature toolkit that contains some useful shifting/popping/pushing
7581 functions for arrays and vectors. Originally from Plump.")
7582 (home-page "https://shinmera.github.io/array-utils/")
7583 (license license:zlib))))
7584
7585 (define-public cl-array-utils
7586 (sbcl-package->cl-source-package sbcl-array-utils))
7587
7588 (define-public sbcl-plump
7589 (let ((commit "16f1231bf706cfbc54d9e55a853ca945e4452a08")
7590 (revision "0"))
7591 (package
7592 (name "sbcl-plump")
7593 (version (git-version "2.0.0" revision commit))
7594 (source
7595 (origin
7596 (method git-fetch)
7597 (uri
7598 (git-reference
7599 (url "https://github.com/Shinmera/plump")
7600 (commit commit)))
7601 (file-name (git-file-name name version))
7602 (sha256
7603 (base32
7604 "0705k8pbip51v74rccgwscwph439f2pma9f915qf1h4bhjx999ip"))))
7605 (build-system asdf-build-system/sbcl)
7606 (inputs
7607 `(("array-utils" ,sbcl-array-utils)
7608 ("documentation-utils" ,sbcl-documentation-utils)))
7609 (synopsis "Lenient XML / XHTML / HTML parser for Common Lisp")
7610 (description
7611 "Plump is a parser for HTML/XML-like documents, focusing on being
7612 lenient towards invalid markup. It can handle things like invalid attributes,
7613 bad closing tag order, unencoded entities, inexistent tag types, self-closing
7614 tags and so on. It parses documents to a class representation and offers a
7615 small set of DOM functions to manipulate it. It can be extended to parse to
7616 your own classes.")
7617 (home-page "https://shinmera.github.io/plump/")
7618 (license license:zlib))))
7619
7620 (define-public cl-plump
7621 (sbcl-package->cl-source-package sbcl-plump))
7622
7623 (define-public sbcl-antik-base
7624 (let ((commit "e4711a69b3d6bf37b5727af05c3cfd03e8428ba3")
7625 (revision "1"))
7626 (package
7627 (name "sbcl-antik-base")
7628 (version (git-version "0.0.0" revision commit))
7629 (source
7630 (origin
7631 (method git-fetch)
7632 (uri (git-reference
7633 (url "https://gitlab.common-lisp.net/antik/antik.git")
7634 (commit commit)))
7635 (file-name (git-file-name name version))
7636 (sha256
7637 (base32
7638 "047ga2c38par2xbgg4qx6hwv06qhf1c1f67as8xvir6s80lip1km"))))
7639 (build-system asdf-build-system/sbcl)
7640 (inputs
7641 `(("alexandria" ,sbcl-alexandria)
7642 ("cl-ppcre" ,sbcl-cl-ppcre)
7643 ("iterate" ,sbcl-iterate)
7644 ("metabang-bind" ,sbcl-metabang-bind)
7645 ("named-readtables" ,sbcl-named-readtables)
7646 ("split-sequence" ,sbcl-split-sequence)))
7647 (native-inputs
7648 `(("lisp-unit" ,sbcl-lisp-unit)))
7649 (synopsis "Scientific and engineering computation in Common Lisp")
7650 (description
7651 "Antik provides a foundation for scientific and engineering
7652 computation in Common Lisp. It is designed not only to facilitate
7653 numerical computations, but to permit the use of numerical computation
7654 libraries and the interchange of data and procedures, whether
7655 foreign (non-Lisp) or Lisp libraries. It is named after the
7656 Antikythera mechanism, one of the oldest examples of a scientific
7657 computer known.")
7658 (home-page "https://common-lisp.net/project/antik/")
7659 (license license:gpl3))))
7660
7661 (define-public cl-antik-base
7662 (sbcl-package->cl-source-package sbcl-antik-base))
7663
7664 (define-public ecl-antik-base
7665 (sbcl-package->ecl-package sbcl-antik-base))
7666
7667 (define-public sbcl-foreign-array
7668 (package
7669 (inherit sbcl-antik-base)
7670 (name "sbcl-foreign-array")
7671 (arguments
7672 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7673 ((#:asd-file _ "") "foreign-array.asd")
7674 ((#:asd-system-name _ #f) "foreign-array")))
7675 (inputs
7676 `(("antik-base" ,sbcl-antik-base)
7677 ("cffi" ,sbcl-cffi)
7678 ("trivial-garbage" ,sbcl-trivial-garbage)
7679 ("static-vectors" ,sbcl-static-vectors)))
7680 (synopsis "Common Lisp library providing access to foreign arrays")))
7681
7682 (define-public cl-foreign-array
7683 (sbcl-package->cl-source-package sbcl-foreign-array))
7684
7685 (define-public ecl-foreign-array
7686 (sbcl-package->ecl-package sbcl-foreign-array))
7687
7688 (define-public sbcl-physical-dimension
7689 (package
7690 (inherit sbcl-antik-base)
7691 (name "sbcl-physical-dimension")
7692 (inputs
7693 `(("fare-utils" ,sbcl-fare-utils)
7694 ("foreign-array" ,sbcl-foreign-array)
7695 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
7696 (arguments
7697 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7698 ((#:asd-file _ "") "physical-dimension.asd")
7699 ((#:asd-system-name _ #f) "physical-dimension")))
7700 (synopsis
7701 "Common Lisp library providing computations with physical units")))
7702
7703 (define-public cl-physical-dimension
7704 (sbcl-package->cl-source-package sbcl-physical-dimension))
7705
7706 (define-public sbcl-science-data
7707 (package
7708 (inherit sbcl-antik-base)
7709 (name "sbcl-science-data")
7710 (inputs
7711 `(("physical-dimension" ,sbcl-physical-dimension)
7712 ("drakma" ,sbcl-drakma)))
7713 (arguments
7714 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7715 ((#:asd-file _ "") "science-data.asd")
7716 ((#:asd-system-name _ #f) "science-data")))
7717 (synopsis
7718 "Common Lisp library for scientific and engineering numerical data")))
7719
7720 (define-public cl-science-data
7721 (sbcl-package->cl-source-package sbcl-science-data))
7722
7723 (define-public sbcl-gsll
7724 (let ((commit "1a8ada22f9cf5ed7372d352b2317f4ccdb6ab308")
7725 (revision "1"))
7726 (package
7727 (name "sbcl-gsll")
7728 (version (git-version "0.0.0" revision commit))
7729 (source
7730 (origin
7731 (method git-fetch)
7732 (uri (git-reference
7733 (url "https://gitlab.common-lisp.net/antik/gsll.git")
7734 (commit commit)))
7735 (file-name (git-file-name name version))
7736 (sha256
7737 (base32
7738 "0z5nypfk26hxihb08p085644afawicrgb4xvadh3lmrn46qbjfn4"))))
7739 (build-system asdf-build-system/sbcl)
7740 (native-inputs
7741 `(("lisp-unit" ,sbcl-lisp-unit)))
7742 (inputs
7743 `(("alexandria" ,sbcl-alexandria)
7744 ("cffi-grovel" ,sbcl-cffi-grovel)
7745 ("cffi-libffi" ,sbcl-cffi-libffi)
7746 ("foreign-array" ,sbcl-foreign-array)
7747 ("gsl" ,gsl)
7748 ("metabang-bind" ,sbcl-metabang-bind)
7749 ("trivial-features" ,sbcl-trivial-features)
7750 ("trivial-garbage" ,sbcl-trivial-garbage)))
7751 (arguments
7752 `(#:tests? #f
7753 #:phases
7754 (modify-phases %standard-phases
7755 (add-after 'unpack 'fix-cffi-paths
7756 (lambda* (#:key inputs #:allow-other-keys)
7757 (substitute* "gsll.asd"
7758 ((":depends-on \\(#:foreign-array")
7759 ":depends-on (#:foreign-array #:cffi-libffi"))
7760 (substitute* "init/init.lisp"
7761 (("libgslcblas.so" all)
7762 (string-append
7763 (assoc-ref inputs "gsl") "/lib/" all)))
7764 (substitute* "init/init.lisp"
7765 (("libgsl.so" all)
7766 (string-append
7767 (assoc-ref inputs "gsl") "/lib/" all))))))))
7768 (synopsis "GNU Scientific Library for Lisp")
7769 (description
7770 "The GNU Scientific Library for Lisp (GSLL) allows the use of the
7771 GNU Scientific Library (GSL) from Common Lisp. This library provides a
7772 full range of common mathematical operations useful to scientific and
7773 engineering applications. The design of the GSLL interface is such
7774 that access to most of the GSL library is possible in a Lisp-natural
7775 way; the intent is that the user not be hampered by the restrictions
7776 of the C language in which GSL has been written. GSLL thus provides
7777 interactive use of GSL for getting quick answers, even for someone not
7778 intending to program in Lisp.")
7779 (home-page "https://common-lisp.net/project/gsll/")
7780 (license license:gpl3))))
7781
7782 (define-public cl-gsll
7783 (sbcl-package->cl-source-package sbcl-gsll))
7784
7785 (define-public sbcl-antik
7786 (package
7787 (inherit sbcl-antik-base)
7788 (name "sbcl-antik")
7789 (inputs
7790 `(("gsll" ,sbcl-gsll)
7791 ("physical-dimension" ,sbcl-physical-dimension)))
7792 (arguments
7793 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7794 ((#:asd-file _ "") "antik.asd")
7795 ((#:asd-system-name _ #f) "antik")))))
7796
7797 (define-public cl-antik
7798 (sbcl-package->cl-source-package sbcl-antik))
7799
7800 (define-public sbcl-cl-interpol
7801 (let ((commit "1fd288d861db85bc4677cff3cdd6af75fda1afb4")
7802 (revision "1"))
7803 (package
7804 (name "sbcl-cl-interpol")
7805 (version (git-version "0.2.6" revision commit))
7806 (source
7807 (origin
7808 (method git-fetch)
7809 (uri (git-reference
7810 (url "https://github.com/edicl/cl-interpol.git")
7811 (commit commit)))
7812 (file-name (git-file-name name version))
7813 (sha256
7814 (base32
7815 "1hnikak52hmcq1r5f616m6qq1108qnkw80pja950nv1fq5p0ppjn"))))
7816 (build-system asdf-build-system/sbcl)
7817 (inputs
7818 `(("cl-unicode" ,sbcl-cl-unicode)
7819 ("named-readtables" ,sbcl-named-readtables)))
7820 (native-inputs
7821 `(("flexi-streams" ,sbcl-flexi-streams)))
7822 (synopsis "String interpolation for Common Lisp")
7823 (description
7824 "CL-INTERPOL is a library for Common Lisp which modifies the
7825 reader so that you can have interpolation within strings similar to
7826 Perl or Unix Shell scripts. It also provides various ways to insert
7827 arbitrary characters into literal strings even if your editor/IDE
7828 doesn't support them.")
7829 (home-page "https://edicl.github.io/cl-interpol/")
7830 (license license:bsd-3))))
7831
7832 (define-public cl-interpol
7833 (sbcl-package->cl-source-package sbcl-cl-interpol))
7834
7835 (define-public ecl-cl-interpol
7836 (sbcl-package->ecl-package sbcl-cl-interpol))
7837
7838 (define sbcl-symbol-munger-boot0
7839 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7840 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7841 (let ((commit "cc2bb4b7acd454d756484aec81ba487648385fc3")
7842 (revision "1"))
7843 (package
7844 (name "sbcl-symbol-munger-boot0")
7845 (version (git-version "0.0.1" revision commit))
7846 (source
7847 (origin
7848 (method git-fetch)
7849 (uri (git-reference
7850 (url "https://github.com/AccelerationNet/symbol-munger.git")
7851 (commit commit)))
7852 (file-name (git-file-name name version))
7853 (sha256
7854 (base32
7855 "0diav5ricqsybqvbp4bkxyj3bn3v9n7xb2pqqc4vg1algsw2pyjl"))))
7856 (build-system asdf-build-system/sbcl)
7857 (arguments
7858 `(#:asd-file "symbol-munger.asd"
7859 #:asd-system-name "symbol-munger"))
7860 (inputs
7861 `(("iterate" ,sbcl-iterate)
7862 ("alexandria" ,sbcl-alexandria)))
7863 (native-inputs
7864 `(("lisp-unit" ,sbcl-lisp-unit)))
7865 (synopsis
7866 "Capitalization and spacing conversion functions for Common Lisp")
7867 (description
7868 "This is a Common Lisp library to change the capitalization and spacing
7869 of a string or a symbol. It can convert to and from Lisp, english, underscore
7870 and camel-case rules.")
7871 (home-page "https://github.com/AccelerationNet/symbol-munger")
7872 ;; The package declares a BSD license, but all of the license
7873 ;; text is MIT.
7874 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
7875 (license license:expat))))
7876
7877 (define sbcl-lisp-unit2-boot0
7878 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7879 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7880 (let ((commit "fb9721524d1e4e73abb223ee036d74ce14a5505c")
7881 (revision "1"))
7882 (package
7883 (name "sbcl-lisp-unit2-boot0")
7884 (version (git-version "0.2.0" revision commit))
7885 (source
7886 (origin
7887 (method git-fetch)
7888 (uri (git-reference
7889 (url "https://github.com/AccelerationNet/lisp-unit2.git")
7890 (commit commit)))
7891 (file-name (git-file-name name version))
7892 (sha256
7893 (base32
7894 "1rsqy8y0jqll6xn9a593848f5wvd5ribv4csry1ly0hmdhfnqzlp"))))
7895 (build-system asdf-build-system/sbcl)
7896 (arguments
7897 `(#:asd-file "lisp-unit2.asd"
7898 #:asd-system-name "lisp-unit2"))
7899 (inputs
7900 `(("alexandria" ,sbcl-alexandria)
7901 ("cl-interpol" ,sbcl-cl-interpol)
7902 ("iterate" ,sbcl-iterate)
7903 ("symbol-munger-boot0" ,sbcl-symbol-munger-boot0)))
7904 (synopsis "Test Framework for Common Lisp")
7905 (description
7906 "LISP-UNIT2 is a Common Lisp library that supports unit testing in the
7907 style of JUnit for Java. It is a new version of the lisp-unit library written
7908 by Chris Riesbeck.")
7909 (home-page "https://github.com/AccelerationNet/lisp-unit2")
7910 (license license:expat))))
7911
7912 (define-public sbcl-symbol-munger
7913 (let ((commit "97598d4c3c53fd5da72ab78908fbd5d8c7a13416")
7914 (revision "1"))
7915 (package
7916 (name "sbcl-symbol-munger")
7917 (version (git-version "0.0.1" revision commit))
7918 (source
7919 (origin
7920 (method git-fetch)
7921 (uri (git-reference
7922 (url "https://github.com/AccelerationNet/symbol-munger.git")
7923 (commit commit)))
7924 (file-name (git-file-name name version))
7925 (sha256
7926 (base32
7927 "0y8jywjy0ldyhp7bxf16fdvdd2qgqnd7nlhlqfpfnzxcqk4xy1km"))))
7928 (build-system asdf-build-system/sbcl)
7929 (inputs
7930 `(("alexandria" ,sbcl-alexandria)
7931 ("iterate" ,sbcl-iterate)))
7932 (native-inputs
7933 `(("lisp-unit2-boot0" ,sbcl-lisp-unit2-boot0)))
7934 (synopsis
7935 "Capitalization and spacing conversion functions for Common Lisp")
7936 (description
7937 "This is a Common Lisp library to change the capitalization and spacing
7938 of a string or a symbol. It can convert to and from Lisp, english, underscore
7939 and camel-case rules.")
7940 (home-page "https://github.com/AccelerationNet/symbol-munger")
7941 ;; The package declares a BSD license, but all of the license
7942 ;; text is MIT.
7943 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
7944 (license license:expat))))
7945
7946 (define-public cl-symbol-munger
7947 (sbcl-package->cl-source-package sbcl-symbol-munger))
7948
7949 (define-public ecl-symbol-munger
7950 (sbcl-package->ecl-package sbcl-symbol-munger))
7951
7952 (define-public sbcl-lisp-unit2
7953 (package
7954 (inherit sbcl-lisp-unit2-boot0)
7955 (name "sbcl-lisp-unit2")
7956 (inputs
7957 `(("alexandria" ,sbcl-alexandria)
7958 ("cl-interpol" ,sbcl-cl-interpol)
7959 ("iterate" ,sbcl-iterate)
7960 ("symbol-munger" ,sbcl-symbol-munger)))))
7961
7962 (define-public cl-lisp-unit2
7963 (sbcl-package->cl-source-package sbcl-lisp-unit2))
7964
7965 (define-public ecl-lisp-unit2
7966 (sbcl-package->ecl-package sbcl-lisp-unit2))
7967
7968 (define-public sbcl-cl-csv
7969 (let ((commit "3eba29c8364b033fbe0d189c2500559278b6a362")
7970 (revision "1"))
7971 (package
7972 (name "sbcl-cl-csv")
7973 (version (git-version "1.0.6" revision commit))
7974 (source
7975 (origin
7976 (method git-fetch)
7977 (uri (git-reference
7978 (url "https://github.com/AccelerationNet/cl-csv.git")
7979 (commit commit)))
7980 (file-name (git-file-name name version))
7981 (sha256
7982 (base32
7983 "07h4ni89jzx93clx453hlnnb5g53hhlcmz5hghqv6ysam48lc8g6"))))
7984 (build-system asdf-build-system/sbcl)
7985 (arguments
7986 ;; See: https://github.com/AccelerationNet/cl-csv/pull/34
7987 `(#:tests? #f))
7988 (inputs
7989 `(("alexandria" ,sbcl-alexandria)
7990 ("cl-interpol" ,sbcl-cl-interpol)
7991 ("iterate" ,sbcl-iterate)))
7992 (native-inputs
7993 `(("lisp-unit2" ,sbcl-lisp-unit2)))
7994 (synopsis "Common lisp library for comma-separated values")
7995 (description
7996 "This is a Common Lisp library providing functions to read/write CSV
7997 from/to strings, streams and files.")
7998 (home-page "https://github.com/AccelerationNet/cl-csv")
7999 (license license:bsd-3))))
8000
8001 (define-public cl-csv
8002 (sbcl-package->cl-source-package sbcl-cl-csv))
8003
8004 (define-public ecl-cl-csv
8005 (sbcl-package->ecl-package sbcl-cl-csv))
8006
8007 (define-public sbcl-external-program
8008 (let ((commit "5888b8f1fd3953feeeacecbba4384ddda584a749")
8009 (revision "1"))
8010 (package
8011 (name "sbcl-external-program")
8012 (version (git-version "0.0.6" revision commit))
8013 (source
8014 (origin
8015 (method git-fetch)
8016 (uri (git-reference
8017 (url "https://github.com/sellout/external-program.git")
8018 (commit commit)))
8019 (file-name (git-file-name name version))
8020 (sha256
8021 (base32
8022 "0vww1x3yilb3bjwg6k184vaj4vxyxw4vralhnlm6lk4xac67kc9z"))))
8023 (build-system asdf-build-system/sbcl)
8024 (inputs
8025 `(("trivial-features" ,sbcl-trivial-features)))
8026 (native-inputs
8027 `(("fiveam" ,sbcl-fiveam)))
8028 (synopsis "Common Lisp library for running external programs")
8029 (description
8030 "EXTERNAL-PROGRAM enables running programs outside the Lisp
8031 process. It is an attempt to make the RUN-PROGRAM functionality in
8032 implementations like SBCL and CCL as portable as possible without
8033 sacrificing much in the way of power.")
8034 (home-page "https://github.com/sellout/external-program")
8035 (license license:llgpl))))
8036
8037 (define-public cl-external-program
8038 (sbcl-package->cl-source-package sbcl-external-program))
8039
8040 (define-public ecl-external-program
8041 (sbcl-package->ecl-package sbcl-external-program))
8042
8043 (define sbcl-cl-ana-boot0
8044 (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
8045 (revision "1"))
8046 (package
8047 (name "sbcl-cl-ana-boot0")
8048 (version (git-version "0.0.0" revision commit))
8049 (source
8050 (origin
8051 (method git-fetch)
8052 (uri (git-reference
8053 (url "https://github.com/ghollisjr/cl-ana.git")
8054 (commit commit)))
8055 (file-name (git-file-name name version))
8056 (sha256
8057 (base32
8058 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
8059 (build-system asdf-build-system/sbcl)
8060 (synopsis "Common Lisp data analysis library")
8061 (description
8062 "CL-ANA is a data analysis library in Common Lisp providing tabular and
8063 binned data analysis along with nonlinear least squares fitting and
8064 visualization.")
8065 (home-page "https://github.com/ghollisjr/cl-ana")
8066 (license license:gpl3))))
8067
8068 (define-public sbcl-cl-ana.pathname-utils
8069 (package
8070 (inherit sbcl-cl-ana-boot0)
8071 (name "sbcl-cl-ana.pathname-utils")
8072 (arguments
8073 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8074 ((#:asd-file _ "") "pathname-utils/cl-ana.pathname-utils.asd")
8075 ((#:asd-system-name _ #f) "cl-ana.pathname-utils")))))
8076
8077 (define-public cl-ana.pathname-utils
8078 (sbcl-package->cl-source-package sbcl-cl-ana.pathname-utils))
8079
8080 (define-public ecl-cl-ana.pathname-utils
8081 (sbcl-package->ecl-package sbcl-cl-ana.pathname-utils))
8082
8083 (define-public sbcl-cl-ana.package-utils
8084 (package
8085 (inherit sbcl-cl-ana-boot0)
8086 (name "sbcl-cl-ana.package-utils")
8087 (inputs
8088 `(("alexandria" ,sbcl-alexandria)))
8089 (arguments
8090 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8091 ((#:asd-file _ "") "package-utils/cl-ana.package-utils.asd")
8092 ((#:asd-system-name _ #f) "cl-ana.package-utils")))))
8093
8094 (define-public cl-ana.package-utils
8095 (sbcl-package->cl-source-package sbcl-cl-ana.package-utils))
8096
8097 (define-public ecl-cl-ana.package-utils
8098 (sbcl-package->ecl-package sbcl-cl-ana.package-utils))
8099
8100 (define-public sbcl-cl-ana.string-utils
8101 (package
8102 (inherit sbcl-cl-ana-boot0)
8103 (name "sbcl-cl-ana.string-utils")
8104 (inputs
8105 `(("split-sequence" ,sbcl-split-sequence)))
8106 (arguments
8107 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8108 ((#:asd-file _ "") "string-utils/cl-ana.string-utils.asd")
8109 ((#:asd-system-name _ #f) "cl-ana.string-utils")))))
8110
8111 (define-public cl-ana.string-utils
8112 (sbcl-package->cl-source-package sbcl-cl-ana.string-utils))
8113
8114 (define-public ecl-cl-ana.string-utils
8115 (sbcl-package->ecl-package sbcl-cl-ana.string-utils))
8116
8117 (define-public sbcl-cl-ana.functional-utils
8118 (package
8119 (inherit sbcl-cl-ana-boot0)
8120 (name "sbcl-cl-ana.functional-utils")
8121 (arguments
8122 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8123 ((#:asd-file _ "") "functional-utils/cl-ana.functional-utils.asd")
8124 ((#:asd-system-name _ #f) "cl-ana.functional-utils")))))
8125
8126 (define-public cl-ana.functional-utils
8127 (sbcl-package->cl-source-package sbcl-cl-ana.functional-utils))
8128
8129 (define-public ecl-cl-ana.functional-utils
8130 (sbcl-package->ecl-package sbcl-cl-ana.functional-utils))
8131
8132 (define-public sbcl-cl-ana.list-utils
8133 (package
8134 (inherit sbcl-cl-ana-boot0)
8135 (name "sbcl-cl-ana.list-utils")
8136 (inputs
8137 `(("alexandria" ,sbcl-alexandria)
8138 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8139 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)))
8140 (arguments
8141 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8142 ((#:asd-file _ "") "list-utils/cl-ana.list-utils.asd")
8143 ((#:asd-system-name _ #f) "cl-ana.list-utils")))))
8144
8145 (define-public cl-ana.list-utils
8146 (sbcl-package->cl-source-package sbcl-cl-ana.list-utils))
8147
8148 (define-public ecl-cl-ana.list-utils
8149 (sbcl-package->ecl-package sbcl-cl-ana.list-utils))
8150
8151 (define-public sbcl-cl-ana.generic-math
8152 (package
8153 (inherit sbcl-cl-ana-boot0)
8154 (name "sbcl-cl-ana.generic-math")
8155 (inputs
8156 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8157 ("cl-ana.package-utils" ,sbcl-cl-ana.package-utils)))
8158 (arguments
8159 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8160 ((#:asd-file _ "") "generic-math/cl-ana.generic-math.asd")
8161 ((#:asd-system-name _ #f) "cl-ana.generic-math")))))
8162
8163 (define-public cl-ana.generic-math
8164 (sbcl-package->cl-source-package sbcl-cl-ana.generic-math))
8165
8166 (define-public ecl-cl-ana.generic-math
8167 (sbcl-package->ecl-package sbcl-cl-ana.generic-math))
8168
8169 (define-public sbcl-cl-ana.math-functions
8170 (package
8171 (inherit sbcl-cl-ana-boot0)
8172 (name "sbcl-cl-ana.math-functions")
8173 (inputs
8174 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8175 ("gsll" ,sbcl-gsll)))
8176 (arguments
8177 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8178 ((#:asd-file _ "") "math-functions/cl-ana.math-functions.asd")
8179 ((#:asd-system-name _ #f) "cl-ana.math-functions")))))
8180
8181 (define-public cl-ana.math-functions
8182 (sbcl-package->cl-source-package sbcl-cl-ana.math-functions))
8183
8184 (define-public sbcl-cl-ana.calculus
8185 (package
8186 (inherit sbcl-cl-ana-boot0)
8187 (name "sbcl-cl-ana.calculus")
8188 (inputs
8189 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)))
8190 (arguments
8191 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8192 ((#:asd-file _ "") "calculus/cl-ana.calculus.asd")
8193 ((#:asd-system-name _ #f) "cl-ana.calculus")))))
8194
8195 (define-public cl-ana.calculus
8196 (sbcl-package->cl-source-package sbcl-cl-ana.calculus))
8197
8198 (define-public ecl-cl-ana.calculus
8199 (sbcl-package->ecl-package sbcl-cl-ana.calculus))
8200
8201 (define-public sbcl-cl-ana.symbol-utils
8202 (package
8203 (inherit sbcl-cl-ana-boot0)
8204 (name "sbcl-cl-ana.symbol-utils")
8205 (inputs
8206 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)))
8207 (arguments
8208 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8209 ((#:asd-file _ "") "symbol-utils/cl-ana.symbol-utils.asd")
8210 ((#:asd-system-name _ #f) "cl-ana.symbol-utils")))))
8211
8212 (define-public cl-ana.symbol-utils
8213 (sbcl-package->cl-source-package sbcl-cl-ana.symbol-utils))
8214
8215 (define-public ecl-cl-ana.symbol-utils
8216 (sbcl-package->ecl-package sbcl-cl-ana.symbol-utils))
8217
8218 (define-public sbcl-cl-ana.macro-utils
8219 (package
8220 (inherit sbcl-cl-ana-boot0)
8221 (name "sbcl-cl-ana.macro-utils")
8222 (inputs
8223 `(("alexandria" ,sbcl-alexandria)
8224 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8225 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8226 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8227 ("split-sequence" ,sbcl-split-sequence)))
8228 (arguments
8229 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8230 ((#:asd-file _ "") "macro-utils/cl-ana.macro-utils.asd")
8231 ((#:asd-system-name _ #f) "cl-ana.macro-utils")))))
8232
8233 (define-public cl-ana.macro-utils
8234 (sbcl-package->cl-source-package sbcl-cl-ana.macro-utils))
8235
8236 (define-public ecl-cl-ana.macro-utils
8237 (sbcl-package->ecl-package sbcl-cl-ana.macro-utils))
8238
8239 (define-public sbcl-cl-ana.binary-tree
8240 (package
8241 (inherit sbcl-cl-ana-boot0)
8242 (name "sbcl-cl-ana.binary-tree")
8243 (inputs
8244 `(("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8245 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8246 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)))
8247 (arguments
8248 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8249 ((#:asd-file _ "") "binary-tree/cl-ana.binary-tree.asd")
8250 ((#:asd-system-name _ #f) "cl-ana.binary-tree")))))
8251
8252 (define-public cl-ana.binary-tree
8253 (sbcl-package->cl-source-package sbcl-cl-ana.binary-tree))
8254
8255 (define-public ecl-cl-ana.binary-tree
8256 (sbcl-package->ecl-package sbcl-cl-ana.binary-tree))
8257
8258 (define-public sbcl-cl-ana.tensor
8259 (package
8260 (inherit sbcl-cl-ana-boot0)
8261 (name "sbcl-cl-ana.tensor")
8262 (inputs
8263 `(("alexandria" ,sbcl-alexandria)
8264 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8265 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8266 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8267 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8268 (arguments
8269 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8270 ((#:asd-file _ "") "tensor/cl-ana.tensor.asd")
8271 ((#:asd-system-name _ #f) "cl-ana.tensor")))))
8272
8273 (define-public cl-ana.tensor
8274 (sbcl-package->cl-source-package sbcl-cl-ana.tensor))
8275
8276 (define-public ecl-cl-ana.tensor
8277 (sbcl-package->ecl-package sbcl-cl-ana.tensor))
8278
8279 (define-public sbcl-cl-ana.error-propogation
8280 (package
8281 (inherit sbcl-cl-ana-boot0)
8282 (name "sbcl-cl-ana.error-propogation")
8283 (inputs
8284 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8285 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)))
8286 (arguments
8287 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8288 ((#:asd-file _ "") "error-propogation/cl-ana.error-propogation.asd")
8289 ((#:asd-system-name _ #f) "cl-ana.error-propogation")))))
8290
8291 (define-public cl-ana.error-propogation
8292 (sbcl-package->cl-source-package sbcl-cl-ana.error-propogation))
8293
8294 (define-public sbcl-cl-ana.quantity
8295 (package
8296 (inherit sbcl-cl-ana-boot0)
8297 (name "sbcl-cl-ana.quantity")
8298 (inputs
8299 `(("alexandria" ,sbcl-alexandria)
8300 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8301 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8302 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8303 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8304 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8305 (arguments
8306 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8307 ((#:asd-file _ "") "quantity/cl-ana.quantity.asd")
8308 ((#:asd-system-name _ #f) "cl-ana.quantity")))))
8309
8310 (define-public cl-ana.quantity
8311 (sbcl-package->cl-source-package sbcl-cl-ana.quantity))
8312
8313 (define-public sbcl-cl-ana.table
8314 (package
8315 (inherit sbcl-cl-ana-boot0)
8316 (name "sbcl-cl-ana.table")
8317 (inputs
8318 `(("alexandria" ,sbcl-alexandria)
8319 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8320 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8321 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8322 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8323 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8324 (arguments
8325 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8326 ((#:asd-file _ "") "table/cl-ana.table.asd")
8327 ((#:asd-system-name _ #f) "cl-ana.table")))))
8328
8329 (define-public cl-ana.table
8330 (sbcl-package->cl-source-package sbcl-cl-ana.table))
8331
8332 (define-public ecl-cl-ana.table
8333 (sbcl-package->ecl-package sbcl-cl-ana.table))
8334
8335 (define-public sbcl-cl-ana.table-utils
8336 (package
8337 (inherit sbcl-cl-ana-boot0)
8338 (name "sbcl-cl-ana.table-utils")
8339 (inputs
8340 `(("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8341 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8342 ("cl-ana.table" ,sbcl-cl-ana.table)))
8343 (arguments
8344 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8345 ((#:asd-file _ "") "table-utils/cl-ana.table-utils.asd")
8346 ((#:asd-system-name _ #f) "cl-ana.table-utils")))))
8347
8348 (define-public cl-ana.table-utils
8349 (sbcl-package->cl-source-package sbcl-cl-ana.table-utils))
8350
8351 (define-public ecl-cl-ana.table-utils
8352 (sbcl-package->ecl-package sbcl-cl-ana.table-utils))
8353
8354 (define-public sbcl-cl-ana.hdf-cffi
8355 (package
8356 (inherit sbcl-cl-ana-boot0)
8357 (name "sbcl-cl-ana.hdf-cffi")
8358 (inputs
8359 `(("cffi" ,sbcl-cffi)
8360 ("hdf5" ,hdf5-parallel-openmpi)))
8361 (arguments
8362 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8363 ((#:asd-file _ "") "hdf-cffi/cl-ana.hdf-cffi.asd")
8364 ((#:asd-system-name _ #f) "cl-ana.hdf-cffi")
8365 ((#:phases phases '%standard-phases)
8366 `(modify-phases ,phases
8367 (add-after 'unpack 'fix-paths
8368 (lambda* (#:key inputs #:allow-other-keys)
8369 (substitute* "hdf-cffi/hdf-cffi.lisp"
8370 (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
8371 (string-append
8372 (assoc-ref inputs "hdf5")
8373 "/lib/libhdf5.so")))))))))))
8374
8375 (define-public cl-ana.hdf-cffi
8376 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-cffi))
8377
8378 (define-public ecl-cl-ana.hdf-cffi
8379 (sbcl-package->ecl-package sbcl-cl-ana.hdf-cffi))
8380
8381 (define-public sbcl-cl-ana.int-char
8382 (package
8383 (inherit sbcl-cl-ana-boot0)
8384 (name "sbcl-cl-ana.int-char")
8385 (arguments
8386 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8387 ((#:asd-file _ "") "int-char/cl-ana.int-char.asd")
8388 ((#:asd-system-name _ #f) "cl-ana.int-char")))))
8389
8390 (define-public cl-ana.int-char
8391 (sbcl-package->cl-source-package sbcl-cl-ana.int-char))
8392
8393 (define-public ecl-cl-ana.int-char
8394 (sbcl-package->ecl-package sbcl-cl-ana.int-char))
8395
8396 (define-public sbcl-cl-ana.memoization
8397 (package
8398 (inherit sbcl-cl-ana-boot0)
8399 (name "sbcl-cl-ana.memoization")
8400 (inputs
8401 `(("alexandria" ,sbcl-alexandria)))
8402 (arguments
8403 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8404 ((#:asd-file _ "") "memoization/cl-ana.memoization.asd")
8405 ((#:asd-system-name _ #f) "cl-ana.memoization")))))
8406
8407 (define-public cl-ana.memoization
8408 (sbcl-package->cl-source-package sbcl-cl-ana.memoization))
8409
8410 (define-public ecl-cl-ana.memoization
8411 (sbcl-package->ecl-package sbcl-cl-ana.memoization))
8412
8413 (define-public sbcl-cl-ana.typespec
8414 (package
8415 (inherit sbcl-cl-ana-boot0)
8416 (name "sbcl-cl-ana.typespec")
8417 (inputs
8418 `(("alexandria" ,sbcl-alexandria)
8419 ("cffi" ,sbcl-cffi)
8420 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
8421 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8422 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8423 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8424 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8425 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)))
8426 (arguments
8427 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8428 ((#:asd-file _ "") "typespec/cl-ana.typespec.asd")
8429 ((#:asd-system-name _ #f) "cl-ana.typespec")))))
8430
8431 (define-public cl-ana.typespec
8432 (sbcl-package->cl-source-package sbcl-cl-ana.typespec))
8433
8434 (define-public ecl-cl-ana.typespec
8435 (sbcl-package->ecl-package sbcl-cl-ana.typespec))
8436
8437 (define-public sbcl-cl-ana.hdf-typespec
8438 (package
8439 (inherit sbcl-cl-ana-boot0)
8440 (name "sbcl-cl-ana.hdf-typespec")
8441 (inputs
8442 `(("alexandria" ,sbcl-alexandria)
8443 ("cffi" ,sbcl-cffi)
8444 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8445 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8446 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8447 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8448 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8449 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8450 (arguments
8451 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8452 ((#:asd-file _ "") "hdf-typespec/cl-ana.hdf-typespec.asd")
8453 ((#:asd-system-name _ #f) "cl-ana.hdf-typespec")))))
8454
8455 (define-public cl-ana.hdf-typespec
8456 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-typespec))
8457
8458 (define-public ecl-cl-ana.hdf-typespec
8459 (sbcl-package->ecl-package sbcl-cl-ana.hdf-typespec))
8460
8461 (define-public sbcl-cl-ana.hdf-utils
8462 (package
8463 (inherit sbcl-cl-ana-boot0)
8464 (name "sbcl-cl-ana.hdf-utils")
8465 (inputs
8466 `(("alexandria" ,sbcl-alexandria)
8467 ("cffi" ,sbcl-cffi)
8468 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8469 ("cl-ana.hdf-typespec" ,sbcl-cl-ana.hdf-typespec)
8470 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8471 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8472 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
8473 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8474 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8475 (arguments
8476 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8477 ((#:asd-file _ "") "hdf-utils/cl-ana.hdf-utils.asd")
8478 ((#:asd-system-name _ #f) "cl-ana.hdf-utils")))))
8479
8480 (define-public cl-ana.hdf-utils
8481 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-utils))
8482
8483 (define-public ecl-cl-ana.hdf-utils
8484 (sbcl-package->ecl-package sbcl-cl-ana.hdf-utils))
8485
8486 (define-public sbcl-cl-ana.typed-table
8487 (package
8488 (inherit sbcl-cl-ana-boot0)
8489 (name "sbcl-cl-ana.typed-table")
8490 (inputs
8491 `(("alexandria" ,sbcl-alexandria)
8492 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8493 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8494 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8495 ("cl-ana.table" ,sbcl-cl-ana.table)
8496 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8497 (arguments
8498 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8499 ((#:asd-file _ "") "typed-table/cl-ana.typed-table.asd")
8500 ((#:asd-system-name _ #f) "cl-ana.typed-table")))))
8501
8502 (define-public cl-ana.typed-table
8503 (sbcl-package->cl-source-package sbcl-cl-ana.typed-table))
8504
8505 (define-public ecl-cl-ana.typed-table
8506 (sbcl-package->ecl-package sbcl-cl-ana.typed-table))
8507
8508 (define-public sbcl-cl-ana.hdf-table
8509 (package
8510 (inherit sbcl-cl-ana-boot0)
8511 (name "sbcl-cl-ana.hdf-table")
8512 (inputs
8513 `(("alexandria" ,sbcl-alexandria)
8514 ("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
8515 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8516 ("cl-ana.hdf-typespec" ,sbcl-cl-ana.hdf-typespec)
8517 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
8518 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8519 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8520 ("cl-ana.table" ,sbcl-cl-ana.table)
8521 ("cl-ana.typed-table" ,sbcl-cl-ana.typed-table)
8522 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8523 (arguments
8524 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8525 ((#:asd-file _ "") "hdf-table/cl-ana.hdf-table.asd")
8526 ((#:asd-system-name _ #f) "cl-ana.hdf-table")))))
8527
8528 (define-public cl-ana.hdf-table
8529 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-table))
8530
8531 (define-public ecl-cl-ana.hdf-table
8532 (sbcl-package->ecl-package sbcl-cl-ana.hdf-table))
8533
8534 (define-public sbcl-cl-ana.gsl-cffi
8535 (package
8536 (inherit sbcl-cl-ana-boot0)
8537 (name "sbcl-cl-ana.gsl-cffi")
8538 (inputs
8539 `(("cffi" ,sbcl-cffi)
8540 ("gsl" ,gsl)))
8541 (arguments
8542 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8543 ((#:asd-file _ "") "gsl-cffi/cl-ana.gsl-cffi.asd")
8544 ((#:asd-system-name _ #f) "cl-ana.gsl-cffi")
8545 ((#:phases phases '%standard-phases)
8546 `(modify-phases ,phases
8547 (add-after 'unpack 'fix-paths
8548 (lambda* (#:key inputs #:allow-other-keys)
8549 (substitute* "gsl-cffi/gsl-cffi.lisp"
8550 (("define-foreign-library gsl-cffi" all)
8551 (string-append all " (:unix "
8552 (assoc-ref inputs "gsl")
8553 "/lib/libgsl.so)")))))))))))
8554
8555 (define-public cl-ana.gsl-cffi
8556 (sbcl-package->cl-source-package sbcl-cl-ana.gsl-cffi))
8557
8558 (define-public ecl-cl-ana.gsl-cffi
8559 (sbcl-package->ecl-package sbcl-cl-ana.gsl-cffi))
8560
8561 (define-public sbcl-cl-ana.ntuple-table
8562 (package
8563 (inherit sbcl-cl-ana-boot0)
8564 (name "sbcl-cl-ana.ntuple-table")
8565 (inputs
8566 `(("alexandria" ,sbcl-alexandria)
8567 ("cffi" ,sbcl-cffi)
8568 ("cl-ana.gsl-cffi" ,sbcl-cl-ana.gsl-cffi)
8569 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8570 ("cl-ana.table" ,sbcl-cl-ana.table)
8571 ("cl-ana.typed-table" ,sbcl-cl-ana.typed-table)
8572 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)
8573 ("gsll" ,sbcl-gsll)))
8574 (arguments
8575 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8576 ((#:asd-file _ "") "ntuple-table/cl-ana.ntuple-table.asd")
8577 ((#:asd-system-name _ #f) "cl-ana.ntuple-table")))))
8578
8579 (define-public cl-ana.ntuple-table
8580 (sbcl-package->cl-source-package sbcl-cl-ana.ntuple-table))
8581
8582 (define-public sbcl-cl-ana.csv-table
8583 (package
8584 (inherit sbcl-cl-ana-boot0)
8585 (name "sbcl-cl-ana.csv-table")
8586 (inputs
8587 `(("alexandria" ,sbcl-alexandria)
8588 ("antik" ,sbcl-antik)
8589 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8590 ("cl-ana.table" ,sbcl-cl-ana.table)
8591 ("cl-csv" ,sbcl-cl-csv)
8592 ("iterate" ,sbcl-iterate)))
8593 (arguments
8594 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8595 ((#:asd-file _ "") "csv-table/cl-ana.csv-table.asd")
8596 ((#:asd-system-name _ #f) "cl-ana.csv-table")))))
8597
8598 (define-public cl-ana.csv-table
8599 (sbcl-package->cl-source-package sbcl-cl-ana.csv-table))
8600
8601 (define-public sbcl-cl-ana.reusable-table
8602 (package
8603 (inherit sbcl-cl-ana-boot0)
8604 (name "sbcl-cl-ana.reusable-table")
8605 (inputs
8606 `(("alexandria" ,sbcl-alexandria)
8607 ("cl-ana.table" ,sbcl-cl-ana.table)))
8608 (arguments
8609 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8610 ((#:asd-file _ "") "reusable-table/cl-ana.reusable-table.asd")
8611 ((#:asd-system-name _ #f) "cl-ana.reusable-table")))))
8612
8613 (define-public cl-ana.reusable-table
8614 (sbcl-package->cl-source-package sbcl-cl-ana.reusable-table))
8615
8616 (define-public ecl-cl-ana.reusable-table
8617 (sbcl-package->ecl-package sbcl-cl-ana.reusable-table))
8618
8619 (define-public sbcl-cl-ana.linear-algebra
8620 (package
8621 (inherit sbcl-cl-ana-boot0)
8622 (name "sbcl-cl-ana.linear-algebra")
8623 (inputs
8624 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8625 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8626 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
8627 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8628 ("gsll" ,sbcl-gsll)))
8629 (arguments
8630 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8631 ((#:asd-file _ "") "linear-algebra/cl-ana.linear-algebra.asd")
8632 ((#:asd-system-name _ #f) "cl-ana.linear-algebra")))))
8633
8634 (define-public cl-ana.linear-algebra
8635 (sbcl-package->cl-source-package sbcl-cl-ana.linear-algebra))
8636
8637 (define-public sbcl-cl-ana.lorentz
8638 (package
8639 (inherit sbcl-cl-ana-boot0)
8640 (name "sbcl-cl-ana.lorentz")
8641 (inputs
8642 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8643 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
8644 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8645 ("iterate" ,sbcl-iterate)))
8646 (arguments
8647 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8648 ((#:asd-file _ "") "lorentz/cl-ana.lorentz.asd")
8649 ((#:asd-system-name _ #f) "cl-ana.lorentz")))))
8650
8651 (define-public cl-ana.lorentz
8652 (sbcl-package->cl-source-package sbcl-cl-ana.lorentz))
8653
8654 (define-public sbcl-cl-ana.clos-utils
8655 (package
8656 (inherit sbcl-cl-ana-boot0)
8657 (name "sbcl-cl-ana.clos-utils")
8658 (inputs
8659 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8660 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8661 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8662 ("closer-mop" ,sbcl-closer-mop)))
8663 (arguments
8664 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8665 ((#:asd-file _ "") "clos-utils/cl-ana.clos-utils.asd")
8666 ((#:asd-system-name _ #f) "cl-ana.clos-utils")))))
8667
8668 (define-public cl-ana.clos-utils
8669 (sbcl-package->cl-source-package sbcl-cl-ana.clos-utils))
8670
8671 (define-public ecl-cl-ana.clos-utils
8672 (sbcl-package->ecl-package sbcl-cl-ana.clos-utils))
8673
8674 (define-public sbcl-cl-ana.hash-table-utils
8675 (package
8676 (inherit sbcl-cl-ana-boot0)
8677 (name "sbcl-cl-ana.hash-table-utils")
8678 (arguments
8679 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8680 ((#:asd-file _ "") "hash-table-utils/cl-ana.hash-table-utils.asd")
8681 ((#:asd-system-name _ #f) "cl-ana.hash-table-utils")))))
8682
8683 (define-public cl-ana.hash-table-utils
8684 (sbcl-package->cl-source-package sbcl-cl-ana.hash-table-utils))
8685
8686 (define-public ecl-cl-ana.hash-table-utils
8687 (sbcl-package->ecl-package sbcl-cl-ana.hash-table-utils))
8688
8689 (define-public sbcl-cl-ana.map
8690 (package
8691 (inherit sbcl-cl-ana-boot0)
8692 (name "sbcl-cl-ana.map")
8693 (inputs
8694 `(("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)))
8695 (arguments
8696 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8697 ((#:asd-file _ "") "map/cl-ana.map.asd")
8698 ((#:asd-system-name _ #f) "cl-ana.map")))))
8699
8700 (define-public cl-ana.map
8701 (sbcl-package->cl-source-package sbcl-cl-ana.map))
8702
8703 (define-public ecl-cl-ana.map
8704 (sbcl-package->ecl-package sbcl-cl-ana.map))
8705
8706 (define-public sbcl-cl-ana.fitting
8707 (package
8708 (inherit sbcl-cl-ana-boot0)
8709 (name "sbcl-cl-ana.fitting")
8710 (inputs
8711 `(("alexandria" ,sbcl-alexandria)
8712 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8713 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8714 ("cl-ana.map" ,sbcl-cl-ana.map)
8715 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
8716 ("gsll" ,sbcl-gsll)))
8717 (arguments
8718 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8719 ((#:asd-file _ "") "fitting/cl-ana.fitting.asd")
8720 ((#:asd-system-name _ #f) "cl-ana.fitting")))))
8721
8722 (define-public cl-ana.fitting
8723 (sbcl-package->cl-source-package sbcl-cl-ana.fitting))
8724
8725 (define-public sbcl-cl-ana.histogram
8726 (package
8727 (inherit sbcl-cl-ana-boot0)
8728 (name "sbcl-cl-ana.histogram")
8729 (inputs
8730 `(("alexandria" ,sbcl-alexandria)
8731 ("iterate" ,sbcl-iterate)
8732 ("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
8733 ("cl-ana.clos-utils" ,sbcl-cl-ana.clos-utils)
8734 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
8735 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8736 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8737 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
8738 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8739 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8740 ("cl-ana.map" ,sbcl-cl-ana.map)
8741 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)))
8742 (arguments
8743 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8744 ((#:asd-file _ "") "histogram/cl-ana.histogram.asd")
8745 ((#:asd-system-name _ #f) "cl-ana.histogram")))))
8746
8747 (define-public cl-ana.histogram
8748 (sbcl-package->cl-source-package sbcl-cl-ana.histogram))
8749
8750 (define-public sbcl-cl-ana.file-utils
8751 (package
8752 (inherit sbcl-cl-ana-boot0)
8753 (name "sbcl-cl-ana.file-utils")
8754 (inputs
8755 `(("external-program" ,sbcl-external-program)
8756 ("split-sequence" ,sbcl-split-sequence)))
8757 (arguments
8758 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8759 ((#:asd-file _ "") "file-utils/cl-ana.file-utils.asd")
8760 ((#:asd-system-name _ #f) "cl-ana.file-utils")))))
8761
8762 (define-public cl-ana.file-utils
8763 (sbcl-package->cl-source-package sbcl-cl-ana.file-utils))
8764
8765 (define-public ecl-cl-ana.file-utils
8766 (sbcl-package->ecl-package sbcl-cl-ana.file-utils))
8767
8768 (define-public sbcl-cl-ana.statistics
8769 (package
8770 (inherit sbcl-cl-ana-boot0)
8771 (name "sbcl-cl-ana.statistics")
8772 (inputs
8773 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8774 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
8775 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8776 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8777 ("cl-ana.map" ,sbcl-cl-ana.map)))
8778 (arguments
8779 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8780 ((#:asd-file _ "") "statistics/cl-ana.statistics.asd")
8781 ((#:asd-system-name _ #f) "cl-ana.statistics")))))
8782
8783 (define-public cl-ana.statistics
8784 (sbcl-package->cl-source-package sbcl-cl-ana.statistics))
8785
8786 (define-public sbcl-cl-ana.gnuplot-interface
8787 (package
8788 (inherit sbcl-cl-ana-boot0)
8789 (name "sbcl-cl-ana.gnuplot-interface")
8790 (inputs
8791 `(("external-program" ,sbcl-external-program)))
8792 (arguments
8793 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8794 ((#:asd-file _ "") "gnuplot-interface/cl-ana.gnuplot-interface.asd")
8795 ((#:asd-system-name _ #f) "cl-ana.gnuplot-interface")))))
8796
8797 (define-public cl-ana.gnuplot-interface
8798 (sbcl-package->cl-source-package sbcl-cl-ana.gnuplot-interface))
8799
8800 (define-public ecl-cl-ana.gnuplot-interface
8801 (sbcl-package->ecl-package sbcl-cl-ana.gnuplot-interface))
8802
8803 (define-public sbcl-cl-ana.plotting
8804 (package
8805 (inherit sbcl-cl-ana-boot0)
8806 (name "sbcl-cl-ana.plotting")
8807 (inputs
8808 `(("alexandria" ,sbcl-alexandria)
8809 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8810 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8811 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8812 ("cl-ana.gnuplot-interface" ,sbcl-cl-ana.gnuplot-interface)
8813 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
8814 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8815 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8816 ("cl-ana.map" ,sbcl-cl-ana.map)
8817 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
8818 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
8819 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8820 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8821 ("external-program" ,sbcl-external-program)
8822 ("split-sequence" ,sbcl-split-sequence)))
8823 (arguments
8824 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8825 ((#:asd-file _ "") "plotting/cl-ana.plotting.asd")
8826 ((#:asd-system-name _ #f) "cl-ana.plotting")))))
8827
8828 (define-public cl-ana.plotting
8829 (sbcl-package->cl-source-package sbcl-cl-ana.plotting))
8830
8831 (define-public sbcl-cl-ana.table-viewing
8832 (package
8833 (inherit sbcl-cl-ana-boot0)
8834 (name "sbcl-cl-ana.table-viewing")
8835 (inputs
8836 `(("alexandria" ,sbcl-alexandria)
8837 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8838 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
8839 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8840 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
8841 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8842 ("cl-ana.table" ,sbcl-cl-ana.table)))
8843 (arguments
8844 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8845 ((#:asd-file _ "") "table-viewing/cl-ana.table-viewing.asd")
8846 ((#:asd-system-name _ #f) "cl-ana.table-viewing")))))
8847
8848 (define-public cl-ana.table-viewing
8849 (sbcl-package->cl-source-package sbcl-cl-ana.table-viewing))
8850
8851 (define-public sbcl-cl-ana.serialization
8852 (package
8853 (inherit sbcl-cl-ana-boot0)
8854 (name "sbcl-cl-ana.serialization")
8855 (inputs
8856 `(("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8857 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
8858 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
8859 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
8860 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
8861 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8862 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8863 (arguments
8864 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8865 ((#:asd-file _ "") "serialization/cl-ana.serialization.asd")
8866 ((#:asd-system-name _ #f) "cl-ana.serialization")))))
8867
8868 (define-public cl-ana.serialization
8869 (sbcl-package->cl-source-package sbcl-cl-ana.serialization))
8870
8871 (define-public sbcl-cl-ana.makeres
8872 (package
8873 (inherit sbcl-cl-ana-boot0)
8874 (name "sbcl-cl-ana.makeres")
8875 (inputs
8876 `(("alexandria" ,sbcl-alexandria)
8877 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8878 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
8879 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8880 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8881 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
8882 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
8883 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
8884 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8885 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8886 ("cl-ana.map" ,sbcl-cl-ana.map)
8887 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8888 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
8889 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
8890 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
8891 ("cl-ana.serialization" ,sbcl-cl-ana.serialization)
8892 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8893 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8894 ("cl-ana.table" ,sbcl-cl-ana.table)
8895 ("external-program" ,sbcl-external-program)))
8896 (native-inputs
8897 `(("cl-fad" ,sbcl-cl-fad)))
8898 (arguments
8899 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8900 ((#:asd-file _ "") "makeres/cl-ana.makeres.asd")
8901 ((#:asd-system-name _ #f) "cl-ana.makeres")))))
8902
8903 (define-public cl-ana.makeres
8904 (sbcl-package->cl-source-package sbcl-cl-ana.makeres))
8905
8906 (define-public sbcl-cl-ana.makeres-macro
8907 (package
8908 (inherit sbcl-cl-ana-boot0)
8909 (name "sbcl-cl-ana.makeres-macro")
8910 (inputs
8911 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8912 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
8913 (arguments
8914 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8915 ((#:asd-file _ "") "makeres-macro/cl-ana.makeres-macro.asd")
8916 ((#:asd-system-name _ #f) "cl-ana.makeres-macro")))))
8917
8918 (define-public cl-ana.makeres-macro
8919 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-macro))
8920
8921 (define-public sbcl-cl-ana.makeres-block
8922 (package
8923 (inherit sbcl-cl-ana-boot0)
8924 (name "sbcl-cl-ana.makeres-block")
8925 (inputs
8926 `(("alexandria" ,sbcl-alexandria)
8927 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8928 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8929 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
8930 (arguments
8931 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8932 ((#:asd-file _ "") "makeres-block/cl-ana.makeres-block.asd")
8933 ((#:asd-system-name _ #f) "cl-ana.makeres-block")))))
8934
8935 (define-public cl-ana.makeres-block
8936 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-block))
8937
8938 (define-public sbcl-cl-ana.makeres-progress
8939 (package
8940 (inherit sbcl-cl-ana-boot0)
8941 (name "sbcl-cl-ana.makeres-progress")
8942 (inputs
8943 `(("alexandria" ,sbcl-alexandria)
8944 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8945 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
8946 (arguments
8947 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8948 ((#:asd-file _ "") "makeres-progress/cl-ana.makeres-progress.asd")
8949 ((#:asd-system-name _ #f) "cl-ana.makeres-progress")))))
8950
8951 (define-public cl-ana.makeres-progress
8952 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-progress))
8953
8954 (define-public sbcl-cl-ana.makeres-table
8955 (package
8956 (inherit sbcl-cl-ana-boot0)
8957 (name "sbcl-cl-ana.makeres-table")
8958 (inputs
8959 `(("cl-ana.csv-table" ,sbcl-cl-ana.csv-table)
8960 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
8961 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
8962 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
8963 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8964 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8965 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
8966 ("cl-ana.makeres-macro" ,sbcl-cl-ana.makeres-macro)
8967 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8968 ("cl-ana.ntuple-table" ,sbcl-cl-ana.ntuple-table)
8969 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
8970 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8971 ("cl-ana.table" ,sbcl-cl-ana.table)))
8972 (native-inputs
8973 `(("cl-fad" ,sbcl-cl-fad)))
8974 (arguments
8975 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8976 ((#:asd-file _ "") "makeres-table/cl-ana.makeres-table.asd")
8977 ((#:asd-system-name _ #f) "cl-ana.makeres-table")))))
8978
8979 (define-public cl-ana.makeres-table
8980 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-table))
8981
8982 (define-public sbcl-cl-ana.makeres-graphviz
8983 (package
8984 (inherit sbcl-cl-ana-boot0)
8985 (name "sbcl-cl-ana.makeres-graphviz")
8986 (inputs
8987 `(("cl-ana.makeres" ,sbcl-cl-ana.makeres)
8988 ("external-program" ,sbcl-external-program)))
8989 (arguments
8990 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8991 ((#:asd-file _ "") "makeres-graphviz/cl-ana.makeres-graphviz.asd")
8992 ((#:asd-system-name _ #f) "cl-ana.makeres-graphviz")))))
8993
8994 (define-public cl-ana.makeres-graphviz
8995 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-graphviz))
8996
8997 (define-public sbcl-cl-ana.makeres-branch
8998 (package
8999 (inherit sbcl-cl-ana-boot0)
9000 (name "sbcl-cl-ana.makeres-branch")
9001 (inputs
9002 `(("alexandria" ,sbcl-alexandria)
9003 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9004 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9005 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9006 ("cl-ana.map" ,sbcl-cl-ana.map)
9007 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
9008 (arguments
9009 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9010 ((#:asd-file _ "") "makeres-branch/cl-ana.makeres-branch.asd")
9011 ((#:asd-system-name _ #f) "cl-ana.makeres-branch")))))
9012
9013 (define-public cl-ana.makeres-branch
9014 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-branch))
9015
9016 (define-public sbcl-cl-ana.makeres-utils
9017 (package
9018 (inherit sbcl-cl-ana-boot0)
9019 (name "sbcl-cl-ana.makeres-utils")
9020 (inputs
9021 `(("alexandria" ,sbcl-alexandria)
9022 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
9023 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
9024 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9025 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9026 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9027 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9028 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9029 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9030 ("cl-ana.map" ,sbcl-cl-ana.map)
9031 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9032 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9033 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9034 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9035 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
9036 ("cl-ana.table" ,sbcl-cl-ana.table)))
9037 (native-inputs
9038 `(("cl-fad" ,sbcl-cl-fad)))
9039 (arguments
9040 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9041 ((#:asd-file _ "") "makeres-utils/cl-ana.makeres-utils.asd")
9042 ((#:asd-system-name _ #f) "cl-ana.makeres-utils")))))
9043
9044 (define-public cl-ana.makeres-utils
9045 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-utils))
9046
9047 (define-public sbcl-cl-ana.statistical-learning
9048 (package
9049 (inherit sbcl-cl-ana-boot0)
9050 (name "sbcl-cl-ana.statistical-learning")
9051 (inputs
9052 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9053 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9054 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9055 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
9056 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9057 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9058 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
9059 ("cl-ana.map" ,sbcl-cl-ana.map)
9060 ("cl-ana.statistics" ,sbcl-cl-ana.statistics)))
9061 (native-inputs
9062 `(("cl-fad" ,sbcl-cl-fad)))
9063 (arguments
9064 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9065 ((#:asd-file _ "")
9066 "statistical-learning/cl-ana.statistical-learning.asd")
9067 ((#:asd-system-name _ #f) "cl-ana.statistical-learning")))))
9068
9069 (define-public cl-ana.statistical-learning
9070 (sbcl-package->cl-source-package sbcl-cl-ana.statistical-learning))
9071
9072 (define-public sbcl-cl-ana
9073 (package
9074 (inherit sbcl-cl-ana-boot0)
9075 (name "sbcl-cl-ana")
9076 (inputs
9077 `(("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
9078 ("cl-ana.calculus" ,sbcl-cl-ana.calculus)
9079 ("cl-ana.clos-utils" ,sbcl-cl-ana.clos-utils)
9080 ("cl-ana.csv-table" ,sbcl-cl-ana.csv-table)
9081 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
9082 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
9083 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
9084 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9085 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9086 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
9087 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9088 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
9089 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
9090 ("cl-ana.lorentz" ,sbcl-cl-ana.lorentz)
9091 ("cl-ana.map" ,sbcl-cl-ana.map)
9092 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9093 ("cl-ana.makeres-block" ,sbcl-cl-ana.makeres-block)
9094 ("cl-ana.makeres-branch" ,sbcl-cl-ana.makeres-branch)
9095 ("cl-ana.makeres-graphviz" ,sbcl-cl-ana.makeres-graphviz)
9096 ("cl-ana.makeres-macro" ,sbcl-cl-ana.makeres-macro)
9097 ("cl-ana.makeres-progress" ,sbcl-cl-ana.makeres-progress)
9098 ("cl-ana.makeres-table" ,sbcl-cl-ana.makeres-table)
9099 ("cl-ana.makeres-utils" ,sbcl-cl-ana.makeres-utils)
9100 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
9101 ("cl-ana.ntuple-table" ,sbcl-cl-ana.ntuple-table)
9102 ("cl-ana.package-utils" ,sbcl-cl-ana.package-utils)
9103 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9104 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9105 ("cl-ana.quantity" ,sbcl-cl-ana.quantity)
9106 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9107 ("cl-ana.serialization" ,sbcl-cl-ana.serialization)
9108 ("cl-ana.statistics" ,sbcl-cl-ana.statistics)
9109 ("cl-ana.statistical-learning" ,sbcl-cl-ana.statistical-learning)
9110 ("cl-ana.table" ,sbcl-cl-ana.table)
9111 ("cl-ana.table-utils" ,sbcl-cl-ana.table-utils)
9112 ("cl-ana.table-viewing" ,sbcl-cl-ana.table-viewing)
9113 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
9114 ("libffi" ,libffi)))
9115 (native-inputs
9116 `(("cl-fad" ,sbcl-cl-fad)))
9117 (arguments
9118 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9119 ((#:asd-file _ "") "cl-ana.asd")
9120 ((#:asd-system-name _ #f) "cl-ana")))))
9121
9122 (define-public cl-ana
9123 (sbcl-package->cl-source-package sbcl-cl-ana))