gnu: Add clawk.
[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 Nikita <nikita@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, 2020 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, 2020 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 ;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
20 ;;; Copyright © 2020 Dimakis Dimakakos <me@bendersteed.tech>
21 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
22 ;;; Copyright © 2020 Adam Kandur <rndd@tuta.io>
23 ;;;
24 ;;; This file is part of GNU Guix.
25 ;;;
26 ;;; GNU Guix is free software; you can redistribute it and/or modify it
27 ;;; under the terms of the GNU General Public License as published by
28 ;;; the Free Software Foundation; either version 3 of the License, or (at
29 ;;; your option) any later version.
30 ;;;
31 ;;; GNU Guix is distributed in the hope that it will be useful, but
32 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 ;;; GNU General Public License for more details.
35 ;;;
36 ;;; You should have received a copy of the GNU General Public License
37 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
38
39 ;;; This file only contains Common Lisp libraries.
40 ;;; Common Lisp compilers and tooling go to lisp.scm.
41 ;;; Common Lisp applications should go to the most appropriate file,
42 ;;; e.g. StumpWM is in wm.scm.
43
44 (define-module (gnu packages lisp-xyz)
45 #:use-module (gnu packages)
46 #:use-module ((guix licenses) #:prefix license:)
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix git-download)
50 #:use-module (guix hg-download)
51 #:use-module (guix utils)
52 #:use-module (guix build-system asdf)
53 #:use-module (guix build-system trivial)
54 #:use-module (gnu packages c)
55 #:use-module (gnu packages compression)
56 #:use-module (gnu packages databases)
57 #:use-module (gnu packages enchant)
58 #:use-module (gnu packages fonts)
59 #:use-module (gnu packages fontutils)
60 #:use-module (gnu packages glib)
61 #:use-module (gnu packages gtk)
62 #:use-module (gnu packages imagemagick)
63 #:use-module (gnu packages libevent)
64 #:use-module (gnu packages libffi)
65 #:use-module (gnu packages lisp)
66 #:use-module (gnu packages maths)
67 #:use-module (gnu packages networking)
68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages python)
70 #:use-module (gnu packages python-xyz)
71 #:use-module (gnu packages sqlite)
72 #:use-module (gnu packages tcl)
73 #:use-module (gnu packages tls)
74 #:use-module (gnu packages web)
75 #:use-module (gnu packages webkit)
76 #:use-module (gnu packages xdisorg)
77 #:use-module (ice-9 match)
78 #:use-module (srfi srfi-1)
79 #:use-module (srfi srfi-19))
80
81 (define-public sbcl-alexandria
82 (package
83 (name "sbcl-alexandria")
84 (version "1.2")
85 (source
86 (origin
87 (method git-fetch)
88 (uri (git-reference
89 (url "https://gitlab.common-lisp.net/alexandria/alexandria.git")
90 (commit (string-append "v" version))))
91 (sha256
92 (base32
93 "0bcqs0z9xlqgjz43qzgq9i07vdlnjllpm1wwa37wpkg0w975r712"))
94 (file-name (git-file-name name version))))
95 (build-system asdf-build-system/sbcl)
96 (native-inputs
97 `(("rt" ,sbcl-rt)))
98 (synopsis "Collection of portable utilities for Common Lisp")
99 (description
100 "Alexandria is a collection of portable utilities. It does not contain
101 conceptual extensions to Common Lisp. It is conservative in scope, and
102 portable between implementations.")
103 (home-page "https://common-lisp.net/project/alexandria/")
104 (license license:public-domain)))
105
106 (define-public cl-alexandria
107 (sbcl-package->cl-source-package sbcl-alexandria))
108
109 (define-public ecl-alexandria
110 (sbcl-package->ecl-package sbcl-alexandria))
111
112 (define-public sbcl-net.didierverna.asdf-flv
113 (package
114 (name "sbcl-net.didierverna.asdf-flv")
115 (version "2.1")
116 (source
117 (origin
118 (method git-fetch)
119 (uri (git-reference
120 (url "https://github.com/didierverna/asdf-flv")
121 (commit (string-append "version-" version))))
122 (file-name (git-file-name "asdf-flv" version))
123 (sha256
124 (base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj"))))
125 (build-system asdf-build-system/sbcl)
126 (synopsis "Common Lisp ASDF extension to provide support for file-local variables")
127 (description "ASDF-FLV provides support for file-local variables through
128 ASDF. A file-local variable behaves like @code{*PACKAGE*} and
129 @code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
130 dynamic binding is created before processing the file, so that any
131 modification to the variable becomes essentially file-local.
132
133 In order to make one or several variables file-local, use the macros
134 @code{SET-FILE-LOCAL-VARIABLE(S)}.")
135 (home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv")
136 (license (license:non-copyleft
137 "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"
138 "GNU All-Permissive License"))))
139
140 (define-public cl-net.didierverna.asdf-flv
141 (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv))
142
143 (define-public ecl-net.didierverna.asdf-flv
144 (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
145
146 (define-public sbcl-fiveam
147 (package
148 (name "sbcl-fiveam")
149 (version "1.4.1")
150 (source
151 (origin
152 (method git-fetch)
153 (uri (git-reference
154 (url "https://github.com/sionescu/fiveam")
155 (commit (string-append "v" version))))
156 (file-name (git-file-name "fiveam" version))
157 (sha256
158 (base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli"))))
159 (inputs
160 `(("alexandria" ,sbcl-alexandria)
161 ("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv)
162 ("trivial-backtrace" ,sbcl-trivial-backtrace)))
163 (build-system asdf-build-system/sbcl)
164 (synopsis "Common Lisp testing framework")
165 (description "FiveAM is a simple (as far as writing and running tests
166 goes) regression testing framework. It has been designed with Common Lisp's
167 interactive development model in mind.")
168 (home-page "https://common-lisp.net/project/fiveam/")
169 (license license:bsd-3)))
170
171 (define-public cl-fiveam
172 (sbcl-package->cl-source-package sbcl-fiveam))
173
174 (define-public ecl-fiveam
175 (sbcl-package->ecl-package sbcl-fiveam))
176
177 (define-public sbcl-bordeaux-threads
178 (package
179 (name "sbcl-bordeaux-threads")
180 (version "0.8.8")
181 (source (origin
182 (method git-fetch)
183 (uri (git-reference
184 (url "https://github.com/sionescu/bordeaux-threads")
185 (commit (string-append "v" version))))
186 (sha256
187 (base32 "19i443fz3488v1pbbr9x24y8h8vlyhny9vj6c9jk5prm702awrp6"))
188 (file-name
189 (git-file-name "bordeaux-threads" version))))
190 (inputs `(("alexandria" ,sbcl-alexandria)))
191 (native-inputs `(("fiveam" ,sbcl-fiveam)))
192 (build-system asdf-build-system/sbcl)
193 (synopsis "Portable shared-state concurrency library for Common Lisp")
194 (description "BORDEAUX-THREADS is a proposed standard for a minimal
195 MP/Threading interface. It is similar to the CLIM-SYS threading and lock
196 support.")
197 (home-page "https://common-lisp.net/project/bordeaux-threads/")
198 (license license:x11)))
199
200 (define-public cl-bordeaux-threads
201 (sbcl-package->cl-source-package sbcl-bordeaux-threads))
202
203 (define-public ecl-bordeaux-threads
204 (sbcl-package->ecl-package sbcl-bordeaux-threads))
205
206 (define-public sbcl-trivial-gray-streams
207 (let ((revision "1")
208 (commit "ebd59b1afed03b9dc8544320f8f432fdf92ab010"))
209 (package
210 (name "sbcl-trivial-gray-streams")
211 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
212 (source
213 (origin
214 (method git-fetch)
215 (uri
216 (git-reference
217 (url "https://github.com/trivial-gray-streams/trivial-gray-streams")
218 (commit commit)))
219 (sha256
220 (base32 "0b1pxlccmnagk9cbh4cy8s5k66g3x0gwib5shjwr24xvrji6lp94"))
221 (file-name
222 (string-append "trivial-gray-streams-" version "-checkout"))))
223 (build-system asdf-build-system/sbcl)
224 (synopsis "Compatibility layer for Gray streams implementations")
225 (description "Gray streams is an interface proposed for inclusion with
226 ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
227 popular CL implementations implement it. This package provides an extremely
228 thin compatibility layer for gray streams.")
229 (home-page "https://www.cliki.net/trivial-gray-streams")
230 (license license:x11))))
231
232 (define-public cl-trivial-gray-streams
233 (sbcl-package->cl-source-package sbcl-trivial-gray-streams))
234
235 (define-public ecl-trivial-gray-streams
236 (sbcl-package->ecl-package sbcl-trivial-gray-streams))
237
238 (define-public sbcl-fiasco
239 (let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
240 (revision "1"))
241 (package
242 (name "sbcl-fiasco")
243 (version (git-version "0.0.1" revision commit))
244 (source
245 (origin
246 (method git-fetch)
247 (uri (git-reference
248 (url "https://github.com/joaotavora/fiasco")
249 (commit commit)))
250 (file-name (git-file-name "fiasco" version))
251 (sha256
252 (base32
253 "1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
254 (build-system asdf-build-system/sbcl)
255 (inputs
256 `(("alexandria" ,sbcl-alexandria)
257 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
258 (synopsis "Simple and powerful test framework for Common Lisp")
259 (description "A Common Lisp test framework that treasures your failures,
260 logical continuation of Stefil. It focuses on interactive debugging.")
261 (home-page "https://github.com/joaotavora/fiasco")
262 ;; LICENCE specifies this is public-domain unless the legislation
263 ;; doesn't allow or recognize it. In that case it falls back to a
264 ;; permissive licence.
265 (license (list license:public-domain
266 (license:x11-style "file://LICENCE"))))))
267
268 (define-public cl-fiasco
269 (sbcl-package->cl-source-package sbcl-fiasco))
270
271 (define-public ecl-fiasco
272 (sbcl-package->ecl-package sbcl-fiasco))
273
274 (define-public sbcl-flexi-streams
275 (package
276 (name "sbcl-flexi-streams")
277 (version "1.0.18")
278 (source
279 (origin
280 (method git-fetch)
281 (uri (git-reference
282 (url "https://github.com/edicl/flexi-streams")
283 (commit (string-append "v" version))))
284 (file-name (git-file-name "flexi-streams" version))
285 (sha256
286 (base32 "0bjv7fd2acknidc5dyi3h85pn10krxv5jyxs1xg8jya2rlfv7f1j"))))
287 (build-system asdf-build-system/sbcl)
288 (arguments
289 `(#:phases
290 (modify-phases %standard-phases
291 (add-after 'unpack 'make-git-checkout-writable
292 (lambda _
293 (for-each make-file-writable (find-files "."))
294 #t)))))
295 (inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
296 (synopsis "Implementation of virtual bivalent streams for Common Lisp")
297 (description "Flexi-streams is an implementation of \"virtual\" bivalent
298 streams that can be layered atop real binary or bivalent streams and that can
299 be used to read and write character data in various single- or multi-octet
300 encodings which can be changed on the fly. It also supplies in-memory binary
301 streams which are similar to string streams.")
302 (home-page "http://weitz.de/flexi-streams/")
303 (license license:bsd-3)))
304
305 (define-public cl-flexi-streams
306 (sbcl-package->cl-source-package sbcl-flexi-streams))
307
308 (define-public ecl-flexi-streams
309 (sbcl-package->ecl-package sbcl-flexi-streams))
310
311 (define-public sbcl-cl-ppcre
312 (package
313 (name "sbcl-cl-ppcre")
314 (version "2.1.1")
315 (source
316 (origin
317 (method git-fetch)
318 (uri (git-reference
319 (url "https://github.com/edicl/cl-ppcre")
320 (commit (string-append "v" version))))
321 (file-name (git-file-name "cl-ppcre" version))
322 (sha256
323 (base32 "0dwvr29diqzcg5n6jvbk2rnd90i05l7n828hhw99khmqd0kz7xsi"))))
324 (build-system asdf-build-system/sbcl)
325 (native-inputs
326 `(("flexi-streams" ,sbcl-flexi-streams)))
327 (arguments
328 `(#:phases
329 (modify-phases %standard-phases
330 (add-after 'unpack 'disable-ppcre-unicode
331 ;; cl-ppcre and cl-ppcre-unicode are put in different packages
332 ;; to work around the circular dependency between edicl/cl-ppcre
333 ;; and edicl/cl-unicode.
334 (lambda _
335 (delete-file "cl-ppcre-unicode.asd")
336 #t)))))
337 (synopsis "Portable regular expression library for Common Lisp")
338 (description "CL-PPCRE is a portable regular expression library for Common
339 Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
340 compatible with ANSI-compliant Common Lisp implementations.")
341 (home-page "http://weitz.de/cl-ppcre/")
342 (license license:bsd-2)))
343
344 (define-public cl-ppcre
345 (sbcl-package->cl-source-package sbcl-cl-ppcre))
346
347 (define-public ecl-cl-ppcre
348 (sbcl-package->ecl-package sbcl-cl-ppcre))
349
350 (define-public sbcl-cl-unicode
351 (package
352 (name "sbcl-cl-unicode")
353 (version "0.1.6")
354 (source (origin
355 (method git-fetch)
356 (uri (git-reference
357 (url "https://github.com/edicl/cl-unicode")
358 (commit (string-append "v" version))))
359 (file-name (git-file-name name version))
360 (sha256
361 (base32
362 "0ykx2s9lqfl74p1px0ik3l2izd1fc9jd1b4ra68s5x34rvjy0hza"))))
363 (build-system asdf-build-system/sbcl)
364 (native-inputs
365 `(("flexi-streams" ,sbcl-flexi-streams)))
366 (inputs
367 `(("cl-ppcre" ,sbcl-cl-ppcre)))
368 (home-page "http://weitz.de/cl-unicode/")
369 (synopsis "Portable Unicode library for Common Lisp")
370 (description "CL-UNICODE is a portable Unicode library Common Lisp, which
371 is compatible with perl. It is pretty fast, thread-safe, and compatible with
372 ANSI-compliant Common Lisp implementations.")
373 (license license:bsd-2)))
374
375 (define-public ecl-cl-unicode
376 (sbcl-package->ecl-package sbcl-cl-unicode))
377
378 (define-public cl-unicode
379 (sbcl-package->cl-source-package sbcl-cl-unicode))
380
381 (define-public sbcl-cl-ppcre-unicode
382 (package (inherit sbcl-cl-ppcre)
383 (name "sbcl-cl-ppcre-unicode")
384 (inputs
385 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
386 ("sbcl-cl-unicode" ,sbcl-cl-unicode)))
387 (arguments
388 `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
389 #:phases
390 (modify-phases %standard-phases
391 (add-after 'unpack 'disable-ppcre
392 ;; cl-ppcre and cl-ppcre-unicode are put in different packages
393 ;; to work around the circular dependency between edicl/cl-ppcre
394 ;; and edicl/cl-unicode.
395 (lambda _
396 (delete-file "cl-ppcre.asd")
397 #t)))))))
398
399 (define-public cl-ppcre-unicode
400 (sbcl-package->cl-source-package sbcl-cl-ppcre-unicode))
401
402 (define-public ecl-cl-ppcre-unicode
403 (sbcl-package->ecl-package sbcl-cl-ppcre-unicode))
404
405 (define-public sbcl-zpb-ttf
406 (package
407 (name "sbcl-zpb-ttf")
408 (version "1.0.3")
409 (source
410 (origin
411 (method git-fetch)
412 (uri (git-reference
413 (url "https://github.com/xach/zpb-ttf")
414 (commit (string-append "release-" version))))
415 (file-name (git-file-name name version))
416 (sha256
417 (base32
418 "1wh66vjijzqlydnrihynpwp6796917xwrh0i9li93c17kyxa74ih"))))
419 (build-system asdf-build-system/sbcl)
420 (home-page "https://github.com/xach/zpb-ttf")
421 (synopsis "TrueType font file access for Common Lisp")
422 (description
423 "ZPB-TTF is a TrueType font file parser that provides an interface for
424 reading typographic metrics, glyph outlines, and other information from the
425 file.")
426 (license license:bsd-2)))
427
428 (define-public ecl-zpb-ttf
429 (sbcl-package->ecl-package sbcl-zpb-ttf))
430
431 (define-public cl-zpb-ttf
432 (sbcl-package->cl-source-package sbcl-zpb-ttf))
433
434 (define-public sbcl-cl-vectors
435 (package
436 (name "sbcl-cl-vectors")
437 (version "0.1.5")
438 (source
439 (origin
440 (method url-fetch)
441 (uri (string-append "http://projects.tuxee.net/cl-vectors/"
442 "files/cl-vectors-" version ".tar.gz"))
443 (sha256
444 (base32
445 "04lhwi0kq8pkwhgd885pk80m1cp9sfvjjn5zj70s1dnckibhdmqh"))))
446 (build-system asdf-build-system/sbcl)
447 (inputs
448 `(("zpb-ttf" ,sbcl-zpb-ttf)))
449 (arguments
450 '(#:asd-systems '("cl-vectors"
451 "cl-paths-ttf")))
452 (home-page "http://projects.tuxee.net/cl-vectors/")
453 (synopsis "Create, transform and render anti-aliased vectorial paths")
454 (description
455 "This is a pure Common Lisp library to create, transform and render
456 anti-aliased vectorial paths.")
457 (license license:expat)))
458
459 (define-public ecl-cl-vectors
460 (sbcl-package->ecl-package sbcl-cl-vectors))
461
462 (define-public cl-vectors
463 (sbcl-package->cl-source-package sbcl-cl-vectors))
464
465 (define-public sbcl-spatial-trees
466 ;; There have been no releases.
467 (let ((commit "81fdad0a0bf109c80a53cc96eca2e093823400ba")
468 (revision "1"))
469 (package
470 (name "sbcl-spatial-trees")
471 (version (git-version "0" revision commit))
472 (source
473 (origin
474 (method git-fetch)
475 (uri (git-reference
476 (url "https://github.com/rpav/spatial-trees")
477 (commit commit)))
478 (file-name (git-file-name name version))
479 (sha256
480 (base32
481 "11rhc6h501dwcik2igkszz7b9n515cr99m5pjh4r2qfwgiri6ysa"))))
482 (build-system asdf-build-system/sbcl)
483 (arguments
484 '(#:tests? #f ; spatial-trees.test requires spatial-trees.nns
485 #:test-asd-file "spatial-trees.test.asd"))
486 (native-inputs
487 `(("fiveam" ,sbcl-fiveam)))
488 (home-page "https://github.com/rpav/spatial-trees")
489 (synopsis "Dynamic index data structures for spatially-extended data")
490 (description
491 "Spatial-trees is a set of dynamic index data structures for
492 spatially-extended data.")
493 (license license:bsd-3))))
494
495 (define-public ecl-spatial-trees
496 (sbcl-package->ecl-package sbcl-spatial-trees))
497
498 (define-public cl-spatial-trees
499 (sbcl-package->cl-source-package sbcl-spatial-trees))
500
501 (define-public sbcl-flexichain
502 ;; There are no releases.
503 (let ((commit "13d2a6c505ed0abfcd4c4ec7d7145059b06855d6")
504 (revision "1"))
505 (package
506 (name "sbcl-flexichain")
507 (version "1.5.1")
508 (source
509 (origin
510 (method git-fetch)
511 (uri (git-reference
512 (url "https://github.com/robert-strandh/Flexichain")
513 (commit commit)))
514 (file-name (git-file-name name version))
515 (sha256
516 (base32
517 "0pfyvhsfbjd2sjb30grfs52r51a428xglv7bwydvpg2lc117qimg"))))
518 (build-system asdf-build-system/sbcl)
519 (home-page "https://github.com/robert-strandh/Flexichain.git")
520 (synopsis "Dynamically add elements to or remove them from sequences")
521 (description
522 "This package provides an implementation of the flexichain protocol,
523 allowing client code to dynamically add elements to, and delete elements from
524 a sequence (or chain) of such elements.")
525 (license license:lgpl2.1+))))
526
527 (define-public ecl-flexichain
528 (sbcl-package->ecl-package sbcl-flexichain))
529
530 (define-public cl-flexichain
531 (sbcl-package->cl-source-package sbcl-flexichain))
532
533 (define-public sbcl-cl-pdf
534 ;; There are no releases
535 (let ((commit "752e337e6d6fc206f09d091a982e7f8e5c404e4e")
536 (revision "1"))
537 (package
538 (name "sbcl-cl-pdf")
539 (version (git-version "0" revision commit))
540 (source
541 (origin
542 (method git-fetch)
543 (uri (git-reference
544 (url "https://github.com/mbattyani/cl-pdf")
545 (commit commit)))
546 (file-name (git-file-name name version))
547 (sha256
548 (base32
549 "1cg3k3m3r11ipb8j008y8ipynj97l3xjlpi2knqc9ndmx4r3kb1r"))))
550 (build-system asdf-build-system/sbcl)
551 (inputs
552 `(("iterate" ,sbcl-iterate)
553 ("zpb-ttf" ,sbcl-zpb-ttf)))
554 (home-page "https://github.com/mbattyani/cl-pdf")
555 (synopsis "Common Lisp library for generating PDF files")
556 (description
557 "CL-PDF is a cross-platform Common Lisp library for generating PDF
558 files.")
559 (license license:bsd-2))))
560
561 (define-public ecl-cl-pdf
562 (sbcl-package->ecl-package sbcl-cl-pdf))
563
564 (define-public cl-pdf
565 (sbcl-package->cl-source-package sbcl-cl-pdf))
566
567 (define-public sbcl-clx
568 (package
569 (name "sbcl-clx")
570 (version "0.7.5")
571 (source
572 (origin
573 (method git-fetch)
574 (uri
575 (git-reference
576 (url "https://github.com/sharplispers/clx")
577 (commit version)))
578 (sha256
579 (base32
580 "1vi67z9hpj5rr4xcmfbfwzmlcc0ah7hzhrmfid6lqdkva238v2wf"))
581 (file-name (string-append "clx-" version))))
582 (build-system asdf-build-system/sbcl)
583 (native-inputs
584 `(("fiasco" ,sbcl-fiasco)))
585 (home-page "https://www.cliki.net/portable-clx")
586 (synopsis "X11 client library for Common Lisp")
587 (description "CLX is an X11 client library for Common Lisp. The code was
588 originally taken from a CMUCL distribution, was modified somewhat in order to
589 make it compile and run under SBCL, then a selection of patches were added
590 from other CLXes around the net.")
591 (license license:x11)))
592
593 (define-public cl-clx
594 (sbcl-package->cl-source-package sbcl-clx))
595
596 (define-public ecl-clx
597 (sbcl-package->ecl-package sbcl-clx))
598
599 (define-public sbcl-clx-truetype
600 (let ((commit "c6e10a918d46632324d5863a8ed067a83fc26de8")
601 (revision "1"))
602 (package
603 (name "sbcl-clx-truetype")
604 (version (git-version "0.0.1" revision commit))
605 (source
606 (origin
607 (method git-fetch)
608 (uri (git-reference
609 (url "https://github.com/l04m33/clx-truetype")
610 (commit commit)))
611 (file-name (git-file-name name version))
612 (sha256
613 (base32
614 "079hyp92cjkdfn6bhkxsrwnibiqbz4y4af6nl31lzw6nm91j5j37"))
615 (modules '((guix build utils)))
616 (snippet
617 '(begin
618 (substitute* "package.lisp"
619 ((":export") ":export\n :+font-cache-filename+"))
620 #t))))
621 (build-system asdf-build-system/sbcl)
622 (inputs
623 `(("clx" ,sbcl-clx)
624 ("zpb-ttf" ,sbcl-zpb-ttf)
625 ("cl-vectors" ,sbcl-cl-vectors)
626 ("cl-fad" ,sbcl-cl-fad)
627 ("cl-store" ,sbcl-cl-store)
628 ("trivial-features" ,sbcl-trivial-features)))
629 (home-page "https://github.com/l04m33/clx-truetype")
630 (synopsis "Antialiased TrueType font rendering using CLX and XRender")
631 (description "CLX-TrueType is pure common lisp solution for
632 antialiased TrueType font rendering using CLX and XRender extension.")
633 (license license:expat))))
634
635 (define-public cl-clx-truetype
636 (sbcl-package->cl-source-package sbcl-clx-truetype))
637
638 (define-public ecl-clx-truetype
639 (sbcl-package->ecl-package sbcl-clx-truetype))
640
641 (define-public sbcl-slynk
642 (let ((revision "4")
643 ;; Update together with emacs-sly.
644 (commit "68561f1b7b66fa0240766ece836bb04da31ea17d"))
645 (package
646 (name "sbcl-slynk")
647 (version (git-version "1.0.0-beta" revision commit))
648 (source
649 (origin
650 (method git-fetch)
651 (uri
652 (git-reference
653 (url "https://github.com/joaotavora/sly")
654 (commit commit)))
655 (sha256
656 (base32 "1xwx537dhgclngi6b0faf320i8pnac9309wvmk6z2g6dm3v652ds"))
657 (file-name (git-file-name "slynk" version))
658 (modules '((guix build utils)
659 (ice-9 ftw)))
660 (snippet
661 '(begin
662 ;; Move the contribs into the main source directory for easier
663 ;; access
664 (substitute* "slynk/slynk.asd"
665 (("\\.\\./contrib")
666 "contrib"))
667 (rename-file "contrib" "slynk/contrib")
668 ;; Move slynk's contents into the base directory for easier
669 ;; access
670 (for-each (lambda (file)
671 (unless (string-prefix? "." file)
672 (rename-file (string-append "slynk/" file)
673 (string-append "./" (basename file)))))
674 (scandir "slynk"))
675 #t))))
676 (build-system asdf-build-system/sbcl)
677 (outputs '("out" "image"))
678 (arguments
679 `(#:tests? #f ; No test suite
680 #:asd-systems '("slynk"
681 "slynk/arglists"
682 "slynk/fancy-inspector"
683 "slynk/package-fu"
684 "slynk/mrepl"
685 "slynk/trace-dialog"
686 "slynk/profiler"
687 "slynk/stickers"
688 "slynk/indentation"
689 "slynk/retro")
690 #:phases
691 (modify-phases %standard-phases
692 (add-after 'create-asdf-configuration 'build-image
693 (lambda* (#:key outputs #:allow-other-keys)
694 (build-image (string-append
695 (assoc-ref %outputs "image")
696 "/bin/slynk")
697 %outputs
698 #:dependencies '("slynk"
699 "slynk/arglists"
700 "slynk/fancy-inspector"
701 "slynk/package-fu"
702 "slynk/mrepl"
703 "slynk/trace-dialog"
704 "slynk/profiler"
705 "slynk/stickers"
706 "slynk/indentation"
707 "slynk/retro"))
708 #t)))))
709 (synopsis "Common Lisp IDE for Emacs")
710 (description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
711 It also features a completely redesigned REPL based on Emacs's own
712 full-featured @code{comint-mode}, live code annotations, and a consistent interactive
713 button interface. Everything can be copied to the REPL. One can create
714 multiple inspectors with independent history.")
715 (home-page "https://github.com/joaotavora/sly")
716 (license license:public-domain)
717 (properties `((cl-source-variant . ,(delay cl-slynk)))))))
718
719 (define-public cl-slynk
720 (sbcl-package->cl-source-package sbcl-slynk))
721
722 (define-public ecl-slynk
723 (let ((pkg (sbcl-package->ecl-package sbcl-slynk)))
724 (package
725 (inherit pkg)
726 (outputs '("out"))
727 (arguments
728 (substitute-keyword-arguments (package-arguments pkg)
729 ((#:phases phases)
730 `(modify-phases ,phases
731 (delete 'build-image))))))))
732
733 (define-public sbcl-parse-js
734 (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
735 (revision "1"))
736 (package
737 (name "sbcl-parse-js")
738 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
739 (source
740 (origin
741 (method git-fetch)
742 (uri (git-reference
743 (url "http://marijn.haverbeke.nl/git/parse-js")
744 (commit commit)))
745 (file-name (string-append name "-" commit "-checkout"))
746 (sha256
747 (base32
748 "1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
749 (build-system asdf-build-system/sbcl)
750 (home-page "https://marijnhaverbeke.nl/parse-js/")
751 (synopsis "Parse JavaScript")
752 (description "Parse-js is a Common Lisp package for parsing
753 JavaScript (ECMAScript 3). It has basic support for ECMAScript 5.")
754 (license license:zlib))))
755
756 (define-public cl-parse-js
757 (sbcl-package->cl-source-package sbcl-parse-js))
758
759 (define-public ecl-parse-js
760 (sbcl-package->ecl-package sbcl-parse-js))
761
762 (define-public sbcl-parse-number
763 (package
764 (name "sbcl-parse-number")
765 (version "1.7")
766 (source
767 (origin
768 (method git-fetch)
769 (uri (git-reference
770 (url "https://github.com/sharplispers/parse-number/")
771 (commit (string-append "v" version))))
772 (file-name (git-file-name name version))
773 (sha256
774 (base32
775 "0sk06ib1bhqv9y39vwnnw44vmbc4b0kvqm37xxmkxd4dwchq82d7"))))
776 (build-system asdf-build-system/sbcl)
777 (home-page "https://www.cliki.net/PARSE-NUMBER")
778 (synopsis "Parse numbers")
779 (description "@code{parse-number} is a library of functions for parsing
780 strings into one of the standard Common Lisp number types without using the
781 reader. @code{parse-number} accepts an arbitrary string and attempts to parse
782 the string into one of the standard Common Lisp number types, if possible, or
783 else @code{parse-number} signals an error of type @code{invalid-number}.")
784 (license license:bsd-3)))
785
786 (define-public cl-parse-number
787 (sbcl-package->cl-source-package sbcl-parse-number))
788
789 (define-public ecl-parse-number
790 (sbcl-package->ecl-package sbcl-parse-number))
791
792 (define-public sbcl-iterate
793 (package
794 (name "sbcl-iterate")
795 (version "1.5")
796 (source
797 (origin
798 (method url-fetch)
799 (uri (string-append "https://common-lisp.net/project/iterate/releases/"
800 "iterate-" version ".tar.gz"))
801 (sha256
802 (base32
803 "1lqsbhrkfl0yif46aymvb7l3nb9wdcmj4jyw485blj32jb4famzn"))))
804 (build-system asdf-build-system/sbcl)
805 (native-inputs
806 `(("rt" ,sbcl-rt)))
807 (home-page "https://common-lisp.net/project/iterate/")
808 (synopsis "Iteration construct for Common Lisp")
809 (description "@code{iterate} is an iteration construct for Common Lisp.
810 It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
811
812 @itemize
813 @item it is extensible,
814 @item it helps editors like Emacs indent iterate forms by having a more
815 lisp-like syntax, and
816 @item it isn't part of the ANSI standard for Common Lisp.
817 @end itemize\n")
818 (license license:expat)))
819
820 (define-public cl-iterate
821 (sbcl-package->cl-source-package sbcl-iterate))
822
823 (define-public ecl-iterate
824 (sbcl-package->ecl-package sbcl-iterate))
825
826 (define-public sbcl-cl-uglify-js
827 ;; There have been many bug fixes since the 2010 release.
828 (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
829 (revision "1"))
830 (package
831 (name "sbcl-cl-uglify-js")
832 (version (string-append "0.1-" revision "." (string-take commit 9)))
833 (source
834 (origin
835 (method git-fetch)
836 (uri (git-reference
837 (url "https://github.com/mishoo/cl-uglify-js")
838 (commit commit)))
839 (file-name (git-file-name name version))
840 (sha256
841 (base32
842 "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
843 (build-system asdf-build-system/sbcl)
844 (inputs
845 `(("sbcl-parse-js" ,sbcl-parse-js)
846 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
847 ("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
848 ("sbcl-parse-number" ,sbcl-parse-number)
849 ("sbcl-iterate" ,sbcl-iterate)))
850 (home-page "https://github.com/mishoo/cl-uglify-js")
851 (synopsis "JavaScript compressor library for Common Lisp")
852 (description "This is a Common Lisp version of UglifyJS, a JavaScript
853 compressor. It works on data produced by @code{parse-js} to generate a
854 @dfn{minified} version of the code. Currently it can:
855
856 @itemize
857 @item reduce variable names (usually to single letters)
858 @item join consecutive @code{var} statements
859 @item resolve simple binary expressions
860 @item group most consecutive statements using the @code{sequence} operator (comma)
861 @item remove unnecessary blocks
862 @item convert @code{IF} expressions in various ways that result in smaller code
863 @item remove some unreachable code
864 @end itemize\n")
865 (license license:zlib))))
866
867 (define-public cl-uglify-js
868 (sbcl-package->cl-source-package sbcl-cl-uglify-js))
869
870 (define-public ecl-cl-uglify-js
871 (sbcl-package->ecl-package sbcl-cl-uglify-js))
872
873 (define-public uglify-js
874 (package
875 (inherit sbcl-cl-uglify-js)
876 (name "uglify-js")
877 (build-system trivial-build-system)
878 (arguments
879 `(#:modules ((guix build utils))
880 #:builder
881 (let* ((bin (string-append (assoc-ref %outputs "out") "/bin/"))
882 (script (string-append bin "uglify-js")))
883 (use-modules (guix build utils))
884 (mkdir-p bin)
885 (with-output-to-file script
886 (lambda _
887 (format #t "#!~a/bin/sbcl --script
888
889 (require :asdf)
890 (asdf:initialize-source-registry
891 #p\"~a/etc/common-lisp/source-registry.conf.d/\")
892 (asdf:initialize-output-translations
893 #p\"~a/etc/common-lisp/asdf-output-translations.conf.d/\")"
894 (assoc-ref %build-inputs "sbcl")
895 (assoc-ref %build-inputs "sbcl-cl-uglify-js")
896 (assoc-ref %build-inputs "sbcl-cl-uglify-js"))
897 ;; FIXME: cannot use progn here because otherwise it fails to
898 ;; find cl-uglify-js.
899 (for-each
900 write
901 '(;; Quiet, please!
902 (let ((*standard-output* (make-broadcast-stream))
903 (*error-output* (make-broadcast-stream)))
904 (asdf:load-system :cl-uglify-js))
905 (let ((file (cadr *posix-argv*)))
906 (if file
907 (format t "~a"
908 (cl-uglify-js:ast-gen-code
909 (cl-uglify-js:ast-mangle
910 (cl-uglify-js:ast-squeeze
911 (with-open-file (in file)
912 (parse-js:parse-js in))))
913 :beautify nil))
914 (progn
915 (format *error-output*
916 "Please provide a JavaScript file.~%")
917 (sb-ext:exit :code 1))))))))
918 (chmod script #o755)
919 #t)))
920 (inputs
921 `(("sbcl" ,sbcl)
922 ("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
923 (synopsis "JavaScript compressor")))
924
925 (define-public sbcl-cl-strings
926 (let ((revision "1")
927 (commit "c5c5cbafbf3e6181d03c354d66e41a4f063f00ae"))
928 (package
929 (name "sbcl-cl-strings")
930 (version (git-version "0.0.0" revision commit))
931 (source
932 (origin
933 (method git-fetch)
934 (uri (git-reference
935 (url "https://github.com/diogoalexandrefranco/cl-strings")
936 (commit commit)))
937 (sha256
938 (base32
939 "00754mfaqallj480lwd346nkfb6ra8pa8xcxcylf4baqn604zlmv"))
940 (file-name (string-append "cl-strings-" version "-checkout"))))
941 (build-system asdf-build-system/sbcl)
942 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
943 (description
944 "@command{cl-strings} is a small, portable, dependency-free set of
945 utilities that make it even easier to manipulate text in Common Lisp. It has
946 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
947 (home-page "https://github.com/diogoalexandrefranco/cl-strings")
948 (license license:expat))))
949
950 (define-public cl-strings
951 (sbcl-package->cl-source-package sbcl-cl-strings))
952
953 (define-public ecl-cl-strings
954 (sbcl-package->ecl-package sbcl-cl-strings))
955
956 (define-public sbcl-trivial-features
957 ;; No release since 2014.
958 (let ((commit "870d03de0ed44067963350936856e17ee725153e"))
959 (package
960 (name "sbcl-trivial-features")
961 (version (git-version "0.8" "1" commit))
962 (source
963 (origin
964 (method git-fetch)
965 (uri (git-reference
966 (url "https://github.com/trivial-features/trivial-features")
967 (commit commit)))
968 (file-name (git-file-name "trivial-features" version))
969 (sha256
970 (base32 "14pcahr8r2j3idhyy216zyw8jnj1dnrx0qbkkbdqkvwzign1ah4j"))))
971 (build-system asdf-build-system/sbcl)
972 (arguments
973 '(#:asd-files '("trivial-features.asd")
974 #:tests? #f))
975 (home-page "https://cliki.net/trivial-features")
976 (synopsis "Ensures consistency of @code{*FEATURES*} in Common Lisp")
977 (description "Trivial-features ensures that @code{*FEATURES*} is
978 consistent across multiple Common Lisp implementations.")
979 (license license:expat))))
980
981 (define-public cl-trivial-features
982 (sbcl-package->cl-source-package sbcl-trivial-features))
983
984 (define-public ecl-trivial-features
985 (sbcl-package->ecl-package sbcl-trivial-features))
986
987 (define-public sbcl-hu.dwim.asdf
988 (package
989 (name "sbcl-hu.dwim.asdf")
990 (version "20190521")
991 (source
992 (origin
993 (method url-fetch)
994 (uri (string-append "http://beta.quicklisp.org/archive/hu.dwim.asdf/"
995 "2019-05-21/hu.dwim.asdf-" version "-darcs.tgz"))
996 (sha256
997 (base32
998 "0rsbv71vyszy8w35yjwb5h6zcmknjq223hkzir79y72qdsc6sabn"))))
999 (build-system asdf-build-system/sbcl)
1000 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.asdf")
1001 (synopsis "Extensions to ASDF")
1002 (description "Various ASDF extensions such as attached test and
1003 documentation system, explicit development support, etc.")
1004 (license license:public-domain)))
1005
1006 (define-public cl-hu.dwim.asdf
1007 (sbcl-package->cl-source-package sbcl-hu.dwim.asdf))
1008
1009 (define-public ecl-hu.dwim.asdf
1010 (sbcl-package->ecl-package sbcl-hu.dwim.asdf))
1011
1012 (define-public sbcl-hu.dwim.stefil
1013 (let ((commit "ab6d1aa8995878a1b66d745dfd0ba021090bbcf9"))
1014 (package
1015 (name "sbcl-hu.dwim.stefil")
1016 (version (git-version "0.0.0" "1" commit))
1017 (source
1018 (origin
1019 (method git-fetch)
1020 (uri
1021 (git-reference
1022 (url "https://gitlab.common-lisp.net/xcvb/hu.dwim.stefil.git")
1023 (commit commit)))
1024 (sha256
1025 (base32 "1d8yccw65zj3zh46cbi3x6nmn1dwdb76s9d0av035077mvyirqqp"))
1026 (file-name (git-file-name "hu.dwim.stefil" version))))
1027 (build-system asdf-build-system/sbcl)
1028 (native-inputs
1029 `(("asdf:cl-hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
1030 (inputs
1031 `(("sbcl-alexandria" ,sbcl-alexandria)))
1032 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.stefil")
1033 (synopsis "Simple test framework")
1034 (description "Stefil is a simple test framework for Common Lisp,
1035 with a focus on interactive development.")
1036 (license license:public-domain))))
1037
1038 (define-public cl-hu.dwim.stefil
1039 (sbcl-package->cl-source-package sbcl-hu.dwim.stefil))
1040
1041 (define-public ecl-hu.dwim.stefil
1042 (sbcl-package->ecl-package sbcl-hu.dwim.stefil))
1043
1044 (define-public sbcl-babel
1045 ;; No release since 2014.
1046 (let ((commit "aeed2d1b76358db48e6b70a64399c05678a6b9ea"))
1047 (package
1048 (name "sbcl-babel")
1049 (version (git-version "0.5.0" "1" commit))
1050 (source
1051 (origin
1052 (method git-fetch)
1053 (uri (git-reference
1054 (url "https://github.com/cl-babel/babel")
1055 (commit commit)))
1056 (file-name (git-file-name "babel" version))
1057 (sha256
1058 (base32 "0lkvv4xdpv4cv1y2bqillmabx8sdb2y4l6pbinq6mjh33w2brpvb"))))
1059 (build-system asdf-build-system/sbcl)
1060 (native-inputs
1061 `(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
1062 (inputs
1063 `(("sbcl-alexandria" ,sbcl-alexandria)
1064 ("sbcl-trivial-features" ,sbcl-trivial-features)))
1065 (home-page "https://common-lisp.net/project/babel/")
1066 (synopsis "Charset encoding and decoding library")
1067 (description "Babel is a charset encoding and decoding library, not unlike
1068 GNU libiconv, but completely written in Common Lisp.")
1069 (license license:expat))))
1070
1071 (define-public cl-babel
1072 (sbcl-package->cl-source-package sbcl-babel))
1073
1074 (define-public ecl-babel
1075 (sbcl-package->ecl-package sbcl-babel))
1076
1077 (define-public sbcl-cl-yacc
1078 (package
1079 (name "sbcl-cl-yacc")
1080 (version "0.3")
1081 (source
1082 (origin
1083 (method git-fetch)
1084 (uri (git-reference
1085 (url "https://github.com/jech/cl-yacc")
1086 (commit (string-append "cl-yacc-" version))))
1087 (sha256
1088 (base32
1089 "16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
1090 (file-name (string-append "cl-yacc-" version "-checkout"))))
1091 (build-system asdf-build-system/sbcl)
1092 (arguments
1093 `(#:asd-systems '("yacc")))
1094 (synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
1095 (description
1096 "CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
1097 to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
1098
1099 CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
1100 by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
1101 to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
1102 (home-page "https://www.irif.fr/~jch//software/cl-yacc/")
1103 (license license:expat)))
1104
1105 (define-public cl-yacc
1106 (sbcl-package->cl-source-package sbcl-cl-yacc))
1107
1108 (define-public ecl-cl-yacc
1109 (sbcl-package->ecl-package sbcl-cl-yacc))
1110
1111 (define-public sbcl-eager-future2
1112 (let ((commit "54df8effd9d9eccac917509590286b5ac5f9cb30"))
1113 (package
1114 (name "sbcl-eager-future2")
1115 (version (git-version "0.0.0" "1" commit))
1116 (source
1117 (origin
1118 (method git-fetch)
1119 (uri (git-reference
1120 (url "https://gitlab.common-lisp.net/vsedach/eager-future2.git")
1121 (commit commit)))
1122 (file-name (git-file-name name version))
1123 (sha256
1124 (base32
1125 "1qs1bv3m0ki8l5czhsflxcryh22r9d9g9a3a3b0cr0pl954q5rld"))))
1126 (build-system asdf-build-system/sbcl)
1127 (inputs
1128 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
1129 ("trivial-garbage" ,sbcl-trivial-garbage)))
1130 (synopsis "Futures promises synchronization mechanism for Common Lisp")
1131 (description
1132 "Eager Future2 is a Common Lisp library that provides composable
1133 concurrency primitives that unify parallel and lazy evaluation, are integrated
1134 with the Common Lisp condition system, and have automatic resource
1135 management.")
1136 (home-page "https://gitlab.common-lisp.net/vsedach/eager-future2")
1137 (license license:lgpl3+))))
1138
1139 (define-public cl-eager-future2
1140 (sbcl-package->cl-source-package sbcl-eager-future2))
1141
1142 (define-public ecl-eager-future2
1143 (sbcl-package->ecl-package sbcl-eager-future2))
1144
1145 (define-public sbcl-jpl-util
1146 (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
1147 (package
1148 (name "sbcl-jpl-util")
1149 (version "20151005")
1150 (source
1151 (origin
1152 (method git-fetch)
1153 (uri (git-reference
1154 ;; Quicklisp uses this fork.
1155 (url "https://github.com/hawkir/cl-jpl-util")
1156 (commit commit)))
1157 (file-name
1158 (git-file-name "jpl-util" version))
1159 (sha256
1160 (base32
1161 "0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
1162 (build-system asdf-build-system/sbcl)
1163 (synopsis "Collection of Common Lisp utility functions and macros")
1164 (description
1165 "@command{cl-jpl-util} is a collection of Common Lisp utility functions
1166 and macros, primarily for software projects written in CL by the author.")
1167 (home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
1168 (license license:isc))))
1169
1170 (define-public cl-jpl-util
1171 (sbcl-package->cl-source-package sbcl-jpl-util))
1172
1173 (define-public ecl-jpl-util
1174 (sbcl-package->ecl-package sbcl-jpl-util))
1175
1176 (define-public sbcl-jpl-queues
1177 (package
1178 (name "sbcl-jpl-queues")
1179 (version "0.1")
1180 (source
1181 (origin
1182 (method url-fetch)
1183 (uri (string-append
1184 "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
1185 version
1186 ".tar.gz"))
1187 (sha256
1188 (base32
1189 "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
1190 (build-system asdf-build-system/sbcl)
1191 (inputs
1192 `(("jpl-util" ,sbcl-jpl-util)
1193 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1194 (arguments
1195 ;; Tests seem to be broken.
1196 `(#:tests? #f))
1197 (synopsis "Common Lisp library implementing a few different kinds of queues")
1198 (description
1199 "A Common Lisp library implementing a few different kinds of queues:
1200
1201 @itemize
1202 @item Bounded and unbounded FIFO queues.
1203 @item Lossy bounded FIFO queues that drop elements when full.
1204 @item Unbounded random-order queues that use less memory than unbounded FIFO queues.
1205 @end itemize
1206
1207 Additionally, a synchronization wrapper is provided to make any queue
1208 conforming to the @command{jpl-queues} API thread-safe for lightweight
1209 multithreading applications. (See Calispel for a more sophisticated CL
1210 multithreaded message-passing library with timeouts and alternation among
1211 several blockable channels.)")
1212 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1213 (license license:isc)))
1214
1215 (define-public cl-jpl-queues
1216 (sbcl-package->cl-source-package sbcl-jpl-queues))
1217
1218 (define-public ecl-jpl-queues
1219 (sbcl-package->ecl-package sbcl-jpl-queues))
1220
1221 (define-public sbcl-calispel
1222 (let ((commit "e9f2f9c1af97f4d7bb4c8ac25fb2a8f3e8fada7a"))
1223 (package
1224 (name "sbcl-calispel")
1225 (version (git-version "0.1" "1" commit))
1226 (source
1227 (origin
1228 (method git-fetch)
1229 (uri (git-reference
1230 ;; This fork replaces the dependency on the obsolete
1231 ;; eager-future with eager-future2.
1232 (url "https://github.com/hawkir/calispel")
1233 (commit commit)))
1234 (file-name (git-file-name name version))
1235 (sha256
1236 (base32
1237 "08bmf3pi7n5hadpmqqkg65cxcj6kbvm997wcs1f53ml1nb79d9z8"))))
1238 (build-system asdf-build-system/sbcl)
1239 (inputs
1240 `(("jpl-queues" ,sbcl-jpl-queues)
1241 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1242 (native-inputs
1243 `(("eager-future2" ,sbcl-eager-future2)))
1244 (synopsis "Thread-safe message-passing channels in Common Lisp")
1245 (description
1246 "Calispel is a Common Lisp library for thread-safe message-passing
1247 channels, in the style of the occam programming language, also known as
1248 communicating sequential processes (CSP). See
1249 @url{https://en.wikipedia.org/wiki/Communicating_sequential_processes}.
1250
1251 Calispel channels let one thread communicate with another, facilitating
1252 unidirectional communication of any Lisp object. Channels may be unbuffered,
1253 where a sender waits for a receiver (or vice versa) before either operation can
1254 continue, or channels may be buffered with flexible policy options.
1255
1256 Because sending and receiving on a channel may block, either operation can time
1257 out after a specified amount of time.
1258
1259 A syntax for alternation is provided (like @code{ALT} in occam, or Unix
1260 @code{select()}): given a sequence of operations, any or all of which may
1261 block, alternation selects the first operation that doesn't block and executes
1262 associated code. Alternation can also time out, executing an \"otherwise\"
1263 clause if no operation becomes available within a set amount of time.
1264
1265 Calispel is a message-passing library, and as such leaves the role of
1266 threading abstractions and utilities left to be filled by complementary
1267 libraries such as Bordeaux-Threads and Eager Future.")
1268 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1269 (license license:isc))))
1270
1271 (define-public cl-calispel
1272 (sbcl-package->cl-source-package sbcl-calispel))
1273
1274 (define-public ecl-calispel
1275 (sbcl-package->ecl-package sbcl-calispel))
1276
1277 (define-public sbcl-eos
1278 (let ((commit "b4413bccc4d142cbe1bf49516c3a0a22c9d99243")
1279 (revision "2"))
1280 (package
1281 (name "sbcl-eos")
1282 (version (git-version "0.0.0" revision commit))
1283 (source
1284 (origin
1285 (method git-fetch)
1286 (uri (git-reference
1287 (url "https://github.com/adlai/Eos")
1288 (commit commit)))
1289 (sha256
1290 (base32 "1afllvmlnx97yzz404gycl3pa3kwx427k3hrbf37rpmjlv47knhk"))
1291 (file-name (git-file-name "eos" version))))
1292 (build-system asdf-build-system/sbcl)
1293 (synopsis "Unit Testing for Common Lisp")
1294 (description
1295 "Eos was a unit testing library for Common Lisp.
1296 It began as a fork of FiveAM; however, FiveAM development has continued, while
1297 that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
1298 (home-page "https://github.com/adlai/Eos")
1299 (license license:expat))))
1300
1301 (define-public cl-eos
1302 (sbcl-package->cl-source-package sbcl-eos))
1303
1304 (define-public ecl-eos
1305 (sbcl-package->ecl-package sbcl-eos))
1306
1307 (define-public sbcl-esrap
1308 (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
1309 (package
1310 (name "sbcl-esrap")
1311 (version (git-version "0.0.0" "1" commit))
1312 (source
1313 (origin
1314 (method git-fetch)
1315 (uri (git-reference
1316 (url "https://github.com/nikodemus/esrap")
1317 (commit commit)))
1318 (sha256
1319 (base32
1320 "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
1321 (file-name (git-file-name "esrap" version))))
1322 (build-system asdf-build-system/sbcl)
1323 (native-inputs
1324 `(("eos" ,sbcl-eos))) ;For testing only.
1325 (inputs
1326 `(("alexandria" ,sbcl-alexandria)))
1327 (synopsis "Common Lisp packrat parser")
1328 (description
1329 "A packrat parser for Common Lisp.
1330 In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
1331
1332 @itemize
1333 @item dynamic redefinition of nonterminals
1334 @item inline grammars
1335 @item semantic predicates
1336 @item introspective facilities (describing grammars, tracing, setting breaks)
1337 @end itemize\n")
1338 (home-page "https://nikodemus.github.io/esrap/")
1339 (license license:expat))))
1340
1341 (define-public cl-esrap
1342 (sbcl-package->cl-source-package sbcl-esrap))
1343
1344 (define-public ecl-esrap
1345 (sbcl-package->ecl-package sbcl-esrap))
1346
1347 (define-public sbcl-split-sequence
1348 (package
1349 (name "sbcl-split-sequence")
1350 (version "2.0.0")
1351 (source
1352 (origin
1353 (method git-fetch)
1354 (uri (git-reference
1355 (url "https://github.com/sharplispers/split-sequence")
1356 (commit (string-append "v" version))))
1357 (sha256
1358 (base32
1359 "0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
1360 (file-name (git-file-name "split-sequence" version))))
1361 (build-system asdf-build-system/sbcl)
1362 (native-inputs
1363 `(("fiveam" ,sbcl-fiveam)))
1364 (synopsis "Member of the Common Lisp Utilities family of programs")
1365 (description
1366 "Splits sequence into a list of subsequences delimited by objects
1367 satisfying the test.")
1368 (home-page "https://cliki.net/split-sequence")
1369 (license license:expat)))
1370
1371 (define-public cl-split-sequence
1372 (sbcl-package->cl-source-package sbcl-split-sequence))
1373
1374 (define-public ecl-split-sequence
1375 (sbcl-package->ecl-package sbcl-split-sequence))
1376
1377 (define-public sbcl-html-encode
1378 (package
1379 (name "sbcl-html-encode")
1380 (version "1.2")
1381 (source
1382 (origin
1383 (method url-fetch)
1384 (uri (string-append
1385 "http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
1386 version ".tgz"))
1387 (sha256
1388 (base32
1389 "06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
1390 (file-name (string-append "colorize" version "-checkout"))))
1391 (build-system asdf-build-system/sbcl)
1392 (synopsis "Common Lisp library for encoding text in various web-savvy encodings")
1393 (description
1394 "A library for encoding text in various web-savvy encodings.")
1395 (home-page "http://quickdocs.org/html-encode/")
1396 (license license:expat)))
1397
1398 (define-public cl-html-encode
1399 (sbcl-package->cl-source-package sbcl-html-encode))
1400
1401 (define-public ecl-html-encode
1402 (sbcl-package->ecl-package sbcl-html-encode))
1403
1404 (define-public sbcl-colorize
1405 (let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
1406 (package
1407 (name "sbcl-colorize")
1408 (version (git-version "0.0.0" "1" commit))
1409 (source
1410 (origin
1411 (method git-fetch)
1412 (uri (git-reference
1413 (url "https://github.com/kingcons/colorize")
1414 (commit commit)))
1415 (sha256
1416 (base32
1417 "1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
1418 (file-name (git-file-name "colorize" version))))
1419 (build-system asdf-build-system/sbcl)
1420 (inputs
1421 `(("alexandria" ,sbcl-alexandria)
1422 ("split-sequence" ,sbcl-split-sequence)
1423 ("html-encode" ,sbcl-html-encode)))
1424 (synopsis "Common Lisp for syntax highlighting")
1425 (description
1426 "@command{colorize} is a Lisp library for syntax highlighting
1427 supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1428 C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
1429 (home-page "https://github.com/kingcons/colorize")
1430 ;; TODO: Missing license?
1431 (license license:expat))))
1432
1433 (define-public cl-colorize
1434 (sbcl-package->cl-source-package sbcl-colorize))
1435
1436 (define-public ecl-colorize
1437 (sbcl-package->ecl-package sbcl-colorize))
1438
1439 (define-public sbcl-3bmd
1440 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1441 (package
1442 (name "sbcl-3bmd")
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/3b/3bmd")
1449 (commit commit)))
1450 (sha256
1451 (base32
1452 "1rgv3gi7wf963ikmmpk132wgn0icddf226gq3bmcnk1fr3v9gf2f"))
1453 (file-name (git-file-name "3bmd" version))))
1454 (build-system asdf-build-system/sbcl)
1455 (arguments
1456 ;; FIXME: We need to specify the name because the build-system thinks
1457 ;; "3" is a version marker.
1458 `(#:asd-systems '("3bmd"
1459 "3bmd-ext-code-blocks")))
1460 (inputs
1461 `(("colorize" ,sbcl-colorize)
1462 ("esrap" ,sbcl-esrap)
1463 ("split-sequence" ,sbcl-split-sequence)))
1464 (synopsis "Markdown processor in Command Lisp using esrap parser")
1465 (description
1466 "Common Lisp Markdown -> HTML converter, using @command{esrap} for
1467 parsing, and grammar based on @command{peg-markdown}.")
1468 (home-page "https://github.com/3b/3bmd")
1469 (license license:expat))))
1470
1471 (define-public cl-3bmd
1472 (sbcl-package->cl-source-package sbcl-3bmd))
1473
1474 (define-public ecl-3bmd
1475 (sbcl-package->ecl-package sbcl-3bmd))
1476
1477 (define-public sbcl-cl-fad
1478 (package
1479 (name "sbcl-cl-fad")
1480 (version "0.7.6")
1481 (source
1482 (origin
1483 (method git-fetch)
1484 (uri (git-reference
1485 (url "https://github.com/edicl/cl-fad/")
1486 (commit (string-append "v" version))))
1487 (sha256
1488 (base32
1489 "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa"))
1490 (file-name (string-append "cl-fad" version "-checkout"))))
1491 (build-system asdf-build-system/sbcl)
1492 (inputs
1493 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
1494 (synopsis "Portable pathname library for Common Lisp")
1495 (description
1496 "CL-FAD (for \"Files and Directories\") is a thin layer atop Common
1497 Lisp's standard pathname functions. It is intended to provide some
1498 unification between current CL implementations on Windows, OS X, Linux, and
1499 Unix. Most of the code was written by Peter Seibel for his book Practical
1500 Common Lisp.")
1501 (home-page "https://edicl.github.io/cl-fad/")
1502 (license license:bsd-2)))
1503
1504 (define-public cl-fad
1505 (sbcl-package->cl-source-package sbcl-cl-fad))
1506
1507 (define-public ecl-cl-fad
1508 (sbcl-package->ecl-package sbcl-cl-fad))
1509
1510 (define-public sbcl-rt
1511 (let ((commit "a6a7503a0b47953bc7579c90f02a6dba1f6e4c5a")
1512 (revision "1"))
1513 (package
1514 (name "sbcl-rt")
1515 (version (git-version "1990.12.19" revision commit))
1516 (source
1517 (origin
1518 (method git-fetch)
1519 (uri (git-reference
1520 (url "http://git.kpe.io/rt.git")
1521 (commit commit)))
1522 (file-name (git-file-name name version))
1523 (sha256
1524 (base32 "13si2rrxaagbr0bkvg6sqicxxpyshabx6ad6byc9n2ik5ysna69b"))))
1525 (build-system asdf-build-system/sbcl)
1526 (synopsis "MIT Regression Tester")
1527 (description
1528 "RT provides a framework for writing regression test suites.")
1529 (home-page "https://www.cliki.net/rt")
1530 (license license:expat))))
1531
1532 (define-public cl-rt
1533 (sbcl-package->cl-source-package sbcl-rt))
1534
1535 (define-public ecl-rt
1536 (sbcl-package->ecl-package sbcl-rt))
1537
1538 (define-public sbcl-nibbles
1539 (package
1540 (name "sbcl-nibbles")
1541 (version "0.14")
1542 (source
1543 (origin
1544 (method git-fetch)
1545 (uri (git-reference
1546 (url "https://github.com/sharplispers/nibbles/")
1547 (commit (string-append "v" version))))
1548 (sha256
1549 (base32
1550 "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
1551 (file-name (git-file-name "nibbles" version))))
1552 (build-system asdf-build-system/sbcl)
1553 (native-inputs
1554 ;; Tests only.
1555 `(("rt" ,sbcl-rt)))
1556 (synopsis "Common Lisp library for accessing octet-addressed blocks of data")
1557 (description
1558 "When dealing with network protocols and file formats, it's common to
1559 have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1560 flavors. Common Lisp sort of supports this by specifying :element-type for
1561 streams, but that facility is underspecified and there's nothing similar for
1562 read/write from octet vectors. What most people wind up doing is rolling their
1563 own small facility for their particular needs and calling it a day.
1564
1565 This library attempts to be comprehensive and centralize such
1566 facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1567 vectors in signed or unsigned flavors are provided; these functions are also
1568 SETFable. Since it's sometimes desirable to read/write directly from streams,
1569 functions for doing so are also provided. On some implementations,
1570 reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1571 also be supported.")
1572 (home-page "https://github.com/sharplispers/nibbles")
1573 (license license:bsd-3)))
1574
1575 (define-public cl-nibbles
1576 (sbcl-package->cl-source-package sbcl-nibbles))
1577
1578 (define-public ecl-nibbles
1579 (sbcl-package->ecl-package sbcl-nibbles))
1580
1581 (define-public sbcl-ironclad
1582 (package
1583 (name "sbcl-ironclad")
1584 (version "0.52")
1585 (source
1586 (origin
1587 (method git-fetch)
1588 (uri (git-reference
1589 (url "https://github.com/sharplispers/ironclad/")
1590 (commit (string-append "v" version))))
1591 (sha256
1592 (base32 "0cyghppxwg7jr56af6098drbl6byknqlqcnj9sqlab5pxlywzkxx"))
1593 (file-name (git-file-name name version))))
1594 (build-system asdf-build-system/sbcl)
1595 (native-inputs
1596 ;; Tests only.
1597 `(("rt" ,sbcl-rt)))
1598 (inputs
1599 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
1600 ("flexi-streams" ,sbcl-flexi-streams)))
1601 (synopsis "Cryptographic toolkit written in Common Lisp")
1602 (description
1603 "Ironclad is a cryptography library written entirely in Common Lisp.
1604 It includes support for several popular ciphers, digests, MACs and public key
1605 cryptography algorithms. For several implementations that support Gray
1606 streams, support is included for convenient stream wrappers.")
1607 (home-page "https://github.com/sharplispers/ironclad")
1608 (license license:bsd-3)))
1609
1610 (define-public cl-ironclad
1611 (sbcl-package->cl-source-package sbcl-ironclad))
1612
1613 (define-public ecl-ironclad
1614 (sbcl-package->ecl-package sbcl-ironclad))
1615
1616 (define-public sbcl-named-readtables
1617 (let ((commit "64bd53f37a1694cfde48fc38b8f03901f6f0c05b")
1618 (revision "2"))
1619 (package
1620 (name "sbcl-named-readtables")
1621 (version (git-version "0.9" revision commit))
1622 (source
1623 (origin
1624 (method git-fetch)
1625 (uri (git-reference
1626 (url "https://github.com/melisgl/named-readtables")
1627 (commit commit)))
1628 (sha256
1629 (base32 "01l4831m7k84qvhzyx0qgdl50isr4zmp40qf6dfq2iqcaj8y4h3n"))
1630 (file-name (git-file-name "named-readtables" version))))
1631 (build-system asdf-build-system/sbcl)
1632 (arguments
1633 ;; Tests seem to be broken.
1634 `(#:tests? #f))
1635 (home-page "https://github.com/melisgl/named-readtables/")
1636 (synopsis "Library that creates a namespace for named readtables")
1637 (description "Named readtables is a library that creates a namespace for
1638 named readtables, which is akin to package namespacing in Common Lisp.")
1639 (license license:bsd-3))))
1640
1641 (define-public cl-named-readtables
1642 (sbcl-package->cl-source-package sbcl-named-readtables))
1643
1644 (define-public ecl-named-readtables
1645 (sbcl-package->ecl-package sbcl-named-readtables))
1646
1647 (define-public sbcl-pythonic-string-reader
1648 (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
1649 (package
1650 (name "sbcl-pythonic-string-reader")
1651 (version (git-version "0.0.0" "1" commit))
1652 (source
1653 (origin
1654 (method git-fetch)
1655 (uri (git-reference
1656 (url "https://github.com/smithzvk/pythonic-string-reader/")
1657 (commit commit)))
1658 (sha256
1659 (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
1660 (file-name (git-file-name "pythonic-string-reader" version))))
1661 (build-system asdf-build-system/sbcl)
1662 (inputs
1663 `(("named-readtables" ,sbcl-named-readtables)))
1664 (home-page "https://github.com/smithzvk/pythonic-string-reader")
1665 (synopsis "Read table modification inspired by Python's three quote strings")
1666 (description "This piece of code sets up some reader macros that make it
1667 simpler to input string literals which contain backslashes and double quotes
1668 This is very useful for writing complicated docstrings and, as it turns out,
1669 writing code that contains string literals that contain code themselves.")
1670 (license license:bsd-3))))
1671
1672 (define-public cl-pythonic-string-reader
1673 (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
1674
1675 (define-public ecl-pythonic-string-reader
1676 (sbcl-package->ecl-package sbcl-pythonic-string-reader))
1677
1678 (define-public sbcl-slime-swank
1679 (package
1680 (name "sbcl-slime-swank")
1681 (version "2.26")
1682 (source
1683 (origin
1684 (file-name (git-file-name "slime-swank" version))
1685 (method git-fetch)
1686 (uri (git-reference
1687 (url "https://github.com/slime/slime/")
1688 (commit (string-append "v" version))))
1689 (sha256
1690 (base32
1691 "0mxb1wnw19v0s72w2wkz5afdlzvpy5nn7pr4vav403qybac0sw5c"))))
1692 (build-system asdf-build-system/sbcl)
1693 (arguments
1694 '(#:asd-systems '("swank")))
1695 (home-page "https://github.com/slime/slime")
1696 (synopsis "Common Lisp Swank server")
1697 (description
1698 "This is only useful if you want to start a Swank server in a Lisp
1699 processes that doesn't run under Emacs. Lisp processes created by
1700 @command{M-x slime} automatically start the server.")
1701 (license (list license:gpl2+ license:public-domain))))
1702
1703 (define-public cl-slime-swank
1704 (sbcl-package->cl-source-package sbcl-slime-swank))
1705
1706 (define-public ecl-slime-swank
1707 (sbcl-package->ecl-package sbcl-slime-swank))
1708
1709 (define-public sbcl-mgl-pax
1710 (let ((commit "818448418d6b9de74620f606f5b23033c6082769"))
1711 (package
1712 (name "sbcl-mgl-pax")
1713 (version (git-version "0.0.0" "1" commit))
1714 (source
1715 (origin
1716 (method git-fetch)
1717 (uri (git-reference
1718 (url "https://github.com/melisgl/mgl-pax")
1719 (commit commit)))
1720 (sha256
1721 (base32
1722 "1p97zfkh130bdxqqxwaw2j9psv58751wakx7czbfpq410lg7dd7i"))
1723 (file-name (git-file-name "mgl-pax" version))))
1724 (build-system asdf-build-system/sbcl)
1725 (inputs
1726 `(("3bmd" ,sbcl-3bmd)
1727 ("babel" ,sbcl-babel)
1728 ("cl-fad" ,sbcl-cl-fad)
1729 ("ironclad" ,sbcl-ironclad)
1730 ("named-readtables" ,sbcl-named-readtables)
1731 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)
1732 ("swank" ,sbcl-slime-swank)))
1733 (synopsis "Exploratory programming environment and documentation generator")
1734 (description
1735 "PAX provides an extremely poor man's Explorable Programming
1736 environment. Narrative primarily lives in so called sections that mix markdown
1737 docstrings with references to functions, variables, etc, all of which should
1738 probably have their own docstrings.
1739
1740 The primary focus is on making code easily explorable by using SLIME's
1741 @command{M-.} (@command{slime-edit-definition}). See how to enable some
1742 fanciness in Emacs Integration. Generating documentation from sections and all
1743 the referenced items in Markdown or HTML format is also implemented.
1744
1745 With the simplistic tools provided, one may accomplish similar effects as with
1746 Literate Programming, but documentation is generated from code, not vice versa
1747 and there is no support for chunking yet. Code is first, code must look
1748 pretty, documentation is code.")
1749 (home-page "http://quotenil.com/")
1750 (license license:expat))))
1751
1752 (define-public cl-mgl-pax
1753 (sbcl-package->cl-source-package sbcl-mgl-pax))
1754
1755 (define-public ecl-mgl-pax
1756 (let ((pkg (sbcl-package->ecl-package sbcl-mgl-pax)))
1757 (package
1758 (inherit pkg)
1759 (arguments
1760 (substitute-keyword-arguments (package-arguments pkg)
1761 ;; TODO: Find why the tests fail on ECL.
1762 ((#:tests? _ #f) #f))))))
1763
1764 (define-public sbcl-lisp-unit
1765 (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
1766 (package
1767 (name "sbcl-lisp-unit")
1768 (version (git-version "0.0.0" "1" commit))
1769 (source
1770 (origin
1771 (method git-fetch)
1772 (uri (git-reference
1773 (url "https://github.com/OdonataResearchLLC/lisp-unit")
1774 (commit commit)))
1775 (sha256
1776 (base32
1777 "0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
1778 (file-name (git-file-name "lisp-unit" version))))
1779 (build-system asdf-build-system/sbcl)
1780 (synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
1781 (description
1782 "@command{lisp-unit} is a Common Lisp library that supports unit
1783 testing. It is an extension of the library written by Chris Riesbeck.")
1784 (home-page "https://github.com/OdonataResearchLLC/lisp-unit")
1785 (license license:expat))))
1786
1787 (define-public cl-lisp-unit
1788 (sbcl-package->cl-source-package sbcl-lisp-unit))
1789
1790 (define-public ecl-lisp-unit
1791 (sbcl-package->ecl-package sbcl-lisp-unit))
1792
1793 (define-public sbcl-anaphora
1794 (package
1795 (name "sbcl-anaphora")
1796 (version "0.9.6")
1797 (source
1798 (origin
1799 (method git-fetch)
1800 (uri (git-reference
1801 (url "https://github.com/tokenrove/anaphora")
1802 (commit version)))
1803 (sha256
1804 (base32
1805 "19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
1806 (file-name (git-file-name "anaphora" version))))
1807 (build-system asdf-build-system/sbcl)
1808 (native-inputs
1809 `(("rt" ,sbcl-rt)))
1810 (synopsis "The anaphoric macro collection from Hell")
1811 (description
1812 "Anaphora is the anaphoric macro collection from Hell: it includes many
1813 new fiends in addition to old friends like @command{aif} and
1814 @command{awhen}.")
1815 (home-page "https://github.com/tokenrove/anaphora")
1816 (license license:public-domain)))
1817
1818 (define-public cl-anaphora
1819 (sbcl-package->cl-source-package sbcl-anaphora))
1820
1821 (define-public ecl-anaphora
1822 (sbcl-package->ecl-package sbcl-anaphora))
1823
1824 (define-public sbcl-lift
1825 (let ((commit "7d49a66c62759535624037826891152223d4206c"))
1826 (package
1827 (name "sbcl-lift")
1828 (version (git-version "1.7.1" "1" commit))
1829 (source
1830 (origin
1831 (method git-fetch)
1832 (uri (git-reference
1833 (url "https://github.com/gwkkwg/lift")
1834 (commit commit)))
1835 (sha256
1836 (base32
1837 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp"))
1838 (file-name (git-file-name "lift" version))
1839 (modules '((guix build utils)))
1840 (snippet
1841 ;; Don't keep the bundled website
1842 `(begin
1843 (delete-file-recursively "website")
1844 #t))))
1845 (build-system asdf-build-system/sbcl)
1846 (arguments
1847 ;; The tests require a debugger, but we run with the debugger disabled.
1848 '(#:tests? #f))
1849 (synopsis "LIsp Framework for Testing")
1850 (description
1851 "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
1852 Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1853 testcases are organized into hierarchical testsuites each of which can have
1854 its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1855 supports randomized testing, benchmarking, profiling, and reporting.")
1856 (home-page "https://github.com/gwkkwg/lift")
1857 (license license:expat))))
1858
1859 (define-public cl-lift
1860 (sbcl-package->cl-source-package sbcl-lift))
1861
1862 (define-public ecl-lift
1863 (sbcl-package->ecl-package sbcl-lift))
1864
1865 (define-public sbcl-let-plus
1866 (let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
1867 (package
1868 (name "sbcl-let-plus")
1869 (version (git-version "0.0.0" "1" commit))
1870 (source
1871 (origin
1872 (method git-fetch)
1873 (uri (git-reference
1874 (url "https://github.com/sharplispers/let-plus")
1875 (commit commit)))
1876 (sha256
1877 (base32
1878 "0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
1879 (file-name (git-file-name "let-plus" version))))
1880 (build-system asdf-build-system/sbcl)
1881 (inputs
1882 `(("alexandria" ,sbcl-alexandria)
1883 ("anaphora" ,sbcl-anaphora)))
1884 (native-inputs
1885 `(("lift" ,sbcl-lift)))
1886 (synopsis "Destructuring extension of let*")
1887 (description
1888 "This library implements the let+ macro, which is a dectructuring
1889 extension of let*. It features:
1890
1891 @itemize
1892 @item Clean, consistent syntax and small implementation (less than 300 LOC,
1893 not counting tests)
1894 @item Placeholder macros allow editor hints and syntax highlighting
1895 @item @command{&ign} for ignored values (in forms where that makes sense)
1896 @item Very easy to extend
1897 @end itemize\n")
1898 (home-page "https://github.com/sharplispers/let-plus")
1899 (license license:boost1.0))))
1900
1901 (define-public cl-let-plus
1902 (sbcl-package->cl-source-package sbcl-let-plus))
1903
1904 (define-public ecl-let-plus
1905 (sbcl-package->ecl-package sbcl-let-plus))
1906
1907 (define-public sbcl-cl-colors
1908 (let ((commit "827410584553f5c717eec6182343b7605f707f75"))
1909 (package
1910 (name "sbcl-cl-colors")
1911 (version (git-version "0.0.0" "1" commit))
1912 (source
1913 (origin
1914 (method git-fetch)
1915 (uri (git-reference
1916 (url "https://github.com/tpapp/cl-colors")
1917 (commit commit)))
1918 (sha256
1919 (base32
1920 "0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
1921 (file-name (git-file-name "cl-colors" version))))
1922 (build-system asdf-build-system/sbcl)
1923 (inputs
1924 `(("alexandria" ,sbcl-alexandria)
1925 ("let-plus" ,sbcl-let-plus)))
1926 (synopsis "Simple color library for Common Lisp")
1927 (description
1928 "This is a very simple color library for Common Lisp, providing
1929
1930 @itemize
1931 @item Types for representing colors in HSV and RGB spaces.
1932 @item Simple conversion functions between the above types (and also
1933 hexadecimal representation for RGB).
1934 @item Some predefined colors (currently X11 color names – of course the
1935 library does not depend on X11).Because color in your terminal is nice.
1936 @end itemize
1937
1938 This library is no longer supported by its author.")
1939 (home-page "https://github.com/tpapp/cl-colors")
1940 (license license:boost1.0))))
1941
1942 (define-public cl-colors
1943 (sbcl-package->cl-source-package sbcl-cl-colors))
1944
1945 (define-public ecl-cl-colors
1946 (sbcl-package->ecl-package sbcl-cl-colors))
1947
1948 (define-public sbcl-cl-ansi-text
1949 (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
1950 (package
1951 (name "sbcl-cl-ansi-text")
1952 (version (git-version "1.0.0" "1" commit))
1953 (source
1954 (origin
1955 (method git-fetch)
1956 (uri (git-reference
1957 (url "https://github.com/pnathan/cl-ansi-text")
1958 (commit commit)))
1959 (sha256
1960 (base32
1961 "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
1962 (file-name (git-file-name "cl-ansi-text" version))))
1963 (build-system asdf-build-system/sbcl)
1964 (inputs
1965 `(("alexandria" ,sbcl-alexandria)
1966 ("cl-colors" ,sbcl-cl-colors)))
1967 (native-inputs
1968 `(("fiveam" ,sbcl-fiveam)))
1969 (synopsis "ANSI terminal color implementation for Common Lisp")
1970 (description
1971 "@command{cl-ansi-text} provides utilities which enable printing to an
1972 ANSI terminal with colored text. It provides the macro @command{with-color}
1973 which causes everything printed in the body to be displayed with the provided
1974 color. It further provides functions which will print the argument with the
1975 named color.")
1976 (home-page "https://github.com/pnathan/cl-ansi-text")
1977 (license license:llgpl))))
1978
1979 (define-public cl-ansi-text
1980 (sbcl-package->cl-source-package sbcl-cl-ansi-text))
1981
1982 (define-public ecl-cl-ansi-text
1983 (sbcl-package->ecl-package sbcl-cl-ansi-text))
1984
1985 (define-public sbcl-prove
1986 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
1987 (package
1988 (name "sbcl-prove")
1989 (version (git-version "1.0.0" "1" commit))
1990 (source
1991 (origin
1992 (method git-fetch)
1993 (uri (git-reference
1994 (url "https://github.com/fukamachi/prove")
1995 (commit commit)))
1996 (sha256
1997 (base32
1998 "07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
1999 (file-name (git-file-name "prove" version))))
2000 (build-system asdf-build-system/sbcl)
2001 (inputs
2002 `(("alexandria" ,sbcl-alexandria)
2003 ("cl-ppcre" ,sbcl-cl-ppcre)
2004 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
2005 (synopsis "Yet another unit testing framework for Common Lisp")
2006 (description
2007 "This project was originally called @command{cl-test-more}.
2008 @command{prove} is yet another unit testing framework for Common Lisp. The
2009 advantages of @command{prove} are:
2010
2011 @itemize
2012 @item Various simple functions for testing and informative error messages
2013 @item ASDF integration
2014 @item Extensible test reporters
2015 @item Colorizes the report if it's available (note for SLIME)
2016 @item Reports test durations
2017 @end itemize\n")
2018 (home-page "https://github.com/fukamachi/prove")
2019 (license license:expat))))
2020
2021 (define-public cl-prove
2022 (sbcl-package->cl-source-package sbcl-prove))
2023
2024 (define-public ecl-prove
2025 (sbcl-package->ecl-package sbcl-prove))
2026
2027 (define-public sbcl-proc-parse
2028 (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
2029 (package
2030 (name "sbcl-proc-parse")
2031 (version (git-version "0.0.0" "1" commit))
2032 (source
2033 (origin
2034 (method git-fetch)
2035 (uri (git-reference
2036 (url "https://github.com/fukamachi/proc-parse")
2037 (commit commit)))
2038 (sha256
2039 (base32
2040 "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
2041 (file-name (git-file-name "proc-parse" version))))
2042 (build-system asdf-build-system/sbcl)
2043 (inputs
2044 `(("alexandria" ,sbcl-alexandria)
2045 ("babel" ,sbcl-babel)))
2046 (native-inputs
2047 `(("prove" ,sbcl-prove)))
2048 (arguments
2049 ;; TODO: Tests don't find "proc-parse-test", why?
2050 `(#:tests? #f))
2051 (synopsis "Procedural vector parser")
2052 (description
2053 "This is a string/octets parser library for Common Lisp with speed and
2054 readability in mind. Unlike other libraries, the code is not a
2055 pattern-matching-like, but a char-by-char procedural parser.")
2056 (home-page "https://github.com/fukamachi/proc-parse")
2057 (license license:bsd-2))))
2058
2059 (define-public cl-proc-parse
2060 (sbcl-package->cl-source-package sbcl-proc-parse))
2061
2062 (define-public ecl-proc-parse
2063 (sbcl-package->ecl-package sbcl-proc-parse))
2064
2065 (define-public sbcl-parse-float
2066 (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
2067 (package
2068 (name "sbcl-parse-float")
2069 (version (git-version "0.0.0" "1" commit))
2070 (source
2071 (origin
2072 (method git-fetch)
2073 (uri (git-reference
2074 (url "https://github.com/soemraws/parse-float")
2075 (commit commit)))
2076 (sha256
2077 (base32
2078 "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
2079 (file-name (git-file-name "proc-parse" version))))
2080 (build-system asdf-build-system/sbcl)
2081 (inputs
2082 `(("alexandria" ,sbcl-alexandria)
2083 ("babel" ,sbcl-babel)))
2084 (native-inputs
2085 `(("prove" ,sbcl-prove)))
2086 (arguments
2087 ;; TODO: Tests don't find "proc-parse-test", why?
2088 `(#:tests? #f))
2089 (synopsis "Parse a floating point value from a string in Common Lisp")
2090 (description
2091 "This package exports the following function to parse floating-point
2092 values from a string in Common Lisp.")
2093 (home-page "https://github.com/soemraws/parse-float")
2094 (license license:public-domain))))
2095
2096 (define-public cl-parse-float
2097 (sbcl-package->cl-source-package sbcl-parse-float))
2098
2099 (define-public ecl-parse-float
2100 (sbcl-package->ecl-package sbcl-parse-float))
2101
2102 (define-public sbcl-cl-string-match
2103 (let ((revision "1")
2104 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
2105 (package
2106 (name "sbcl-cl-string-match")
2107 (version (git-version "0" revision changeset))
2108 (source
2109 (origin
2110 (method hg-fetch)
2111 (uri (hg-reference
2112 (url "https://bitbucket.org/vityok/cl-string-match/")
2113 (changeset changeset)))
2114 (sha256
2115 (base32
2116 "01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
2117 (file-name (git-file-name "cl-string-match" version))))
2118 (build-system asdf-build-system/sbcl)
2119 (inputs
2120 `(("alexandria" ,sbcl-alexandria)
2121 ("babel" ,sbcl-babel)
2122 ("iterate" ,sbcl-iterate)
2123 ("jpl-queues" ,sbcl-jpl-queues)
2124 ("jpl-util" ,sbcl-jpl-util)
2125 ("mgl-pax" ,sbcl-mgl-pax)
2126 ("parse-float" ,sbcl-parse-float)
2127 ("proc-parse" ,sbcl-proc-parse)
2128 ("yacc" ,sbcl-cl-yacc)))
2129 ;; TODO: Tests are not evaluated properly.
2130 (native-inputs
2131 ;; For testing:
2132 `(("lisp-unit" ,sbcl-lisp-unit)))
2133 (arguments
2134 `(#:tests? #f))
2135 (synopsis "Set of utilities to manipulate strings in Common Lisp")
2136 (description
2137 "@command{cl-strings} is a small, portable, dependency-free set of
2138 utilities that make it even easier to manipulate text in Common Lisp. It has
2139 100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
2140 (home-page "https://bitbucket.org/vityok/cl-string-match/")
2141 (license license:bsd-3))))
2142
2143 (define-public cl-string-match
2144 (sbcl-package->cl-source-package sbcl-cl-string-match))
2145
2146 (define-public ecl-cl-string-match
2147 (sbcl-package->ecl-package sbcl-cl-string-match))
2148
2149 (define-public sbcl-ptester
2150 (let ((commit "fe69fde54f4bce00ce577feb918796c293fc7253")
2151 (revision "1"))
2152 (package
2153 (name "sbcl-ptester")
2154 (version (git-version "2.1.3" revision commit))
2155 (source
2156 (origin
2157 (method git-fetch)
2158 (uri (git-reference
2159 (url "http://git.kpe.io/ptester.git")
2160 (commit commit)))
2161 (file-name (git-file-name name version))
2162 (sha256
2163 (base32 "1l0lfl7cdnr2qf4zh38hi4llxg22c49zkm639bdkmvlkzwj3ndwf"))))
2164 (build-system asdf-build-system/sbcl)
2165 (home-page "http://quickdocs.org/ptester/")
2166 (synopsis "Portable test harness package")
2167 (description
2168 "@command{ptester} is a portable testing framework based on Franz's
2169 tester module.")
2170 (license license:llgpl))))
2171
2172 (define-public cl-ptester
2173 (sbcl-package->cl-source-package sbcl-ptester))
2174
2175 (define-public ecl-ptester
2176 (sbcl-package->ecl-package sbcl-ptester))
2177
2178 (define-public sbcl-puri
2179 (let ((commit "ef5afb9e5286c8e952d4344f019c1a636a717b97")
2180 (revision "1"))
2181 (package
2182 (name "sbcl-puri")
2183 (version (git-version "1.5.7" revision commit))
2184 (source
2185 (origin
2186 (method git-fetch)
2187 (uri (git-reference
2188 (url "http://git.kpe.io/puri.git")
2189 (commit commit)))
2190 (file-name (git-file-name name version))
2191 (sha256
2192 (base32 "1vm25pdl92laj72p5vyd538kf3cjy2655z6bdc99h20ana2p231s"))))
2193 (build-system asdf-build-system/sbcl)
2194 (native-inputs
2195 `(("ptester" ,sbcl-ptester)))
2196 (home-page "http://quickdocs.org/puri/")
2197 (synopsis "Portable URI Library")
2198 (description
2199 "This is a portable Universal Resource Identifier library for Common
2200 Lisp programs. It parses URI according to the RFC 2396 specification.")
2201 (license license:llgpl))))
2202
2203 (define-public cl-puri
2204 (sbcl-package->cl-source-package sbcl-puri))
2205
2206 (define-public ecl-puri
2207 (sbcl-package->ecl-package sbcl-puri))
2208
2209 (define-public sbcl-queues
2210 (let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
2211 (package
2212 (name "sbcl-queues")
2213 (version (git-version "0.0.0" "1" commit))
2214 (source
2215 (origin
2216 (method git-fetch)
2217 (uri (git-reference
2218 (url "https://github.com/oconnore/queues")
2219 (commit commit)))
2220 (file-name (git-file-name "queues" version))
2221 (sha256
2222 (base32
2223 "0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
2224 (build-system asdf-build-system/sbcl)
2225 (inputs
2226 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
2227 (arguments
2228 '(#:asd-systems '("queues"
2229 "queues.simple-queue"
2230 "queues.simple-cqueue"
2231 "queues.priority-queue"
2232 "queues.priority-cqueue")))
2233 (home-page "https://github.com/oconnore/queues")
2234 (synopsis "Common Lisp queue library")
2235 (description
2236 "This is a simple queue library for Common Lisp with features such as
2237 non-consing thread safe queues and fibonacci priority queues.")
2238 (license license:expat))))
2239
2240 (define-public cl-queues
2241 (sbcl-package->cl-source-package sbcl-queues))
2242
2243 (define-public ecl-queues
2244 (sbcl-package->ecl-package sbcl-queues))
2245
2246 (define-public sbcl-cffi
2247 (package
2248 (name "sbcl-cffi")
2249 (version "0.21.0")
2250 (source
2251 (origin
2252 (method git-fetch)
2253 (uri (git-reference
2254 (url "https://github.com/cffi/cffi")
2255 (commit (string-append "v" version))))
2256 (file-name (git-file-name "cffi-bootstrap" version))
2257 (sha256
2258 (base32 "1qalargz9bhp850qv60ffwpdqi4xirzar4l3g6qcg8yc6xqf2cjk"))))
2259 (build-system asdf-build-system/sbcl)
2260 (inputs
2261 `(("alexandria" ,sbcl-alexandria)
2262 ("babel" ,sbcl-babel)
2263 ("libffi" ,libffi)
2264 ("trivial-features" ,sbcl-trivial-features)))
2265 (native-inputs
2266 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2267 ("pkg-config" ,pkg-config)
2268 ("rt" ,sbcl-rt)))
2269 (arguments
2270 '(#:phases
2271 (modify-phases %standard-phases
2272 (add-after 'unpack 'fix-arm-support
2273 (lambda _
2274 ;; This is apparently deprecated since libffi-3.3.
2275 (substitute* "libffi/libffi-types.lisp"
2276 (("\\\(\\\(:unix64.*") ")\n"))
2277 #t))
2278 (add-after 'unpack 'fix-paths
2279 (lambda* (#:key inputs #:allow-other-keys)
2280 (substitute* "libffi/libffi.lisp"
2281 (("libffi.so.7" all) (string-append
2282 (assoc-ref inputs "libffi")
2283 "/lib/" all)))
2284 (substitute* "toolchain/c-toolchain.lisp"
2285 (("\"cc\"") (format #f "~S" (which "gcc"))))))
2286 (add-after 'build 'install-headers
2287 (lambda* (#:key outputs #:allow-other-keys)
2288 (install-file "grovel/common.h"
2289 (string-append
2290 (assoc-ref outputs "out")
2291 "/include/grovel")))))
2292 #:asd-files '("cffi.asd"
2293 "cffi-toolchain.asd"
2294 "cffi-grovel.asd"
2295 "cffi-libffi.asd"
2296 "cffi-uffi-compat.asd")
2297 #:asd-systems '("cffi"
2298 "cffi-libffi"
2299 "cffi-uffi-compat")))
2300 (home-page "https://common-lisp.net/project/cffi/")
2301 (synopsis "Common Foreign Function Interface for Common Lisp")
2302 (description "The Common Foreign Function Interface (CFFI)
2303 purports to be a portable foreign function interface for Common Lisp.
2304 The CFFI library is composed of a Lisp-implementation-specific backend
2305 in the CFFI-SYS package, and a portable frontend in the CFFI
2306 package.")
2307 (license license:expat)))
2308
2309 (define-public cl-cffi
2310 (sbcl-package->cl-source-package sbcl-cffi))
2311
2312 (define-public ecl-cffi
2313 (sbcl-package->ecl-package sbcl-cffi))
2314
2315 (define-public sbcl-cl-sqlite
2316 (package
2317 (name "sbcl-cl-sqlite")
2318 (version "0.2.1")
2319 (source
2320 (origin
2321 (method git-fetch)
2322 (uri (git-reference
2323 (url "https://github.com/dmitryvk/cl-sqlite")
2324 (commit version)))
2325 (file-name (git-file-name "cl-sqlite" version))
2326 (sha256
2327 (base32
2328 "08iv7b4m0hh7qx2cvq4f510nrgdld0vicnvmqsh9w0fgrcgmyg4k"))))
2329 (build-system asdf-build-system/sbcl)
2330 (inputs
2331 `(("iterate" ,sbcl-iterate)
2332 ("cffi" ,sbcl-cffi)
2333 ("sqlite" ,sqlite)))
2334 (native-inputs
2335 `(("fiveam" ,sbcl-fiveam)
2336 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2337 (arguments
2338 `(#:asd-systems '("sqlite")
2339 #:phases
2340 (modify-phases %standard-phases
2341 (add-after 'unpack 'fix-paths
2342 (lambda* (#:key inputs #:allow-other-keys)
2343 (substitute* "sqlite-ffi.lisp"
2344 (("libsqlite3" all) (string-append
2345 (assoc-ref inputs "sqlite")"/lib/" all))))))))
2346 (home-page "https://common-lisp.net/project/cl-sqlite/")
2347 (synopsis "Common Lisp binding for SQLite")
2348 (description
2349 "The @command{cl-sqlite} package is an interface to the SQLite embedded
2350 relational database engine.")
2351 (license license:public-domain)))
2352
2353 (define-public cl-sqlite
2354 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2355
2356 (define-public ecl-cl-sqlite
2357 (sbcl-package->ecl-package sbcl-cl-sqlite))
2358
2359 (define-public sbcl-parenscript
2360 ;; Source archives are overwritten on every release, we use the Git repo instead.
2361 (let ((commit "7a1ac46353cecd144fc91915ba9f122aafcf4766"))
2362 (package
2363 (name "sbcl-parenscript")
2364 (version (git-version "2.7.1" "1" commit))
2365 (source
2366 (origin
2367 (method git-fetch)
2368 (uri (git-reference
2369 (url "https://gitlab.common-lisp.net/parenscript/parenscript")
2370 (commit commit)))
2371 (file-name (git-file-name "parenscript" version))
2372 (sha256
2373 (base32
2374 "0c22lqarrpbq82dg1sb3y6mp6w2faczp34ymzhnmff88yfq1xzsf"))))
2375 (build-system asdf-build-system/sbcl)
2376 (inputs
2377 `(("cl-ppcre" ,sbcl-cl-ppcre)
2378 ("anaphora" ,sbcl-anaphora)
2379 ("named-readtables" ,sbcl-named-readtables)))
2380 (home-page "https://common-lisp.net/project/parenscript/")
2381 (synopsis "Translator from a subset of Common Lisp to JavaScript")
2382 (description
2383 "Parenscript is a translator from an extended subset of Common Lisp to
2384 JavaScript. Parenscript code can run almost identically on both the
2385 browser (as JavaScript) and server (as Common Lisp).
2386
2387 Parenscript code is treated the same way as Common Lisp code, making the full
2388 power of Lisp macros available for JavaScript. This provides a web
2389 development environment that is unmatched in its ability to reduce code
2390 duplication and provide advanced meta-programming facilities to web
2391 developers.
2392
2393 At the same time, Parenscript is different from almost all other \"language
2394 X\" to JavaScript translators in that it imposes almost no overhead:
2395
2396 @itemize
2397 @item No run-time dependencies: Any piece of Parenscript code is runnable
2398 as-is. There are no JavaScript files to include.
2399 @item Native types: Parenscript works entirely with native JavaScript data
2400 types. There are no new types introduced, and object prototypes are not
2401 touched.
2402 @item Native calling convention: Any JavaScript code can be called without the
2403 need for bindings. Likewise, Parenscript can be used to make efficient,
2404 self-contained JavaScript libraries.
2405 @item Readable code: Parenscript generates concise, formatted, idiomatic
2406 JavaScript code. Identifier names are preserved. This enables seamless
2407 debugging in tools like Firebug.
2408 @item Efficiency: Parenscript introduces minimal overhead for advanced Common
2409 Lisp features. The generated code is almost as fast as hand-written
2410 JavaScript.
2411 @end itemize\n")
2412 (license license:bsd-3))))
2413
2414 (define-public cl-parenscript
2415 (sbcl-package->cl-source-package sbcl-parenscript))
2416
2417 (define-public ecl-parenscript
2418 (sbcl-package->ecl-package sbcl-parenscript))
2419
2420 (define-public sbcl-cl-json
2421 (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
2422 (package
2423 (name "sbcl-cl-json")
2424 (version (git-version "0.5" "1" commit))
2425 (source
2426 (origin
2427 (method git-fetch)
2428 (uri (git-reference
2429 (url "https://github.com/hankhero/cl-json")
2430 (commit commit)))
2431 (file-name (git-file-name "cl-json" version))
2432 (sha256
2433 (base32
2434 "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
2435 (build-system asdf-build-system/sbcl)
2436 (native-inputs
2437 `(("fiveam" ,sbcl-fiveam)))
2438 (home-page "https://github.com/hankhero/cl-json")
2439 (synopsis "JSON encoder and decoder for Common-Lisp")
2440 (description
2441 "@command{cl-json} provides an encoder of Lisp objects to JSON format
2442 and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2443 and the decoder are highly customizable; at the same time, the default
2444 settings ensure a very simple mode of operation, similar to that provided by
2445 @command{yason} or @command{st-json}.")
2446 (license license:expat))))
2447
2448 (define-public cl-json
2449 (sbcl-package->cl-source-package sbcl-cl-json))
2450
2451 (define-public ecl-cl-json
2452 (sbcl-package->ecl-package sbcl-cl-json))
2453
2454 (define-public sbcl-unix-opts
2455 (package
2456 (name "sbcl-unix-opts")
2457 (version "0.1.7")
2458 (source
2459 (origin
2460 (method git-fetch)
2461 (uri (git-reference
2462 (url "https://github.com/libre-man/unix-opts")
2463 (commit version)))
2464 (file-name (git-file-name "unix-opts" version))
2465 (sha256
2466 (base32
2467 "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
2468 (build-system asdf-build-system/sbcl)
2469 (home-page "https://github.com/hankhero/cl-json")
2470 (synopsis "Unix-style command line options parser")
2471 (description
2472 "This is a minimalistic parser of command line options. The main
2473 advantage of the library is the ability to concisely define command line
2474 options once and then use this definition for parsing and extraction of
2475 command line arguments, as well as printing description of command line
2476 options (you get --help for free). This way you don't need to repeat
2477 yourself. Also, @command{unix-opts} doesn't depend on anything and
2478 precisely controls the behavior of the parser via Common Lisp restarts.")
2479 (license license:expat)))
2480
2481 (define-public cl-unix-opts
2482 (sbcl-package->cl-source-package sbcl-unix-opts))
2483
2484 (define-public ecl-unix-opts
2485 (sbcl-package->ecl-package sbcl-unix-opts))
2486
2487 (define-public sbcl-trivial-garbage
2488 (package
2489 (name "sbcl-trivial-garbage")
2490 (version "0.21")
2491 (source
2492 (origin
2493 (method git-fetch)
2494 (uri (git-reference
2495 (url "https://github.com/trivial-garbage/trivial-garbage")
2496 (commit (string-append "v" version))))
2497 (file-name (git-file-name "trivial-garbage" version))
2498 (sha256
2499 (base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
2500 (build-system asdf-build-system/sbcl)
2501 (native-inputs
2502 `(("rt" ,sbcl-rt)))
2503 (home-page "https://common-lisp.net/project/trivial-garbage/")
2504 (synopsis "Portable GC-related APIs for Common Lisp")
2505 (description "@command{trivial-garbage} provides a portable API to
2506 finalizers, weak hash-tables and weak pointers on all major implementations of
2507 the Common Lisp programming language.")
2508 (license license:public-domain)))
2509
2510 (define-public cl-trivial-garbage
2511 (sbcl-package->cl-source-package sbcl-trivial-garbage))
2512
2513 (define-public ecl-trivial-garbage
2514 (sbcl-package->ecl-package sbcl-trivial-garbage))
2515
2516 (define-public sbcl-closer-mop
2517 (let ((commit "19c9d33f576e10715fd79cc1d4f688dab0f241d6"))
2518 (package
2519 (name "sbcl-closer-mop")
2520 (version (git-version "1.0.0" "2" commit))
2521 (source
2522 (origin
2523 (method git-fetch)
2524 (uri (git-reference
2525 (url "https://github.com/pcostanza/closer-mop")
2526 (commit commit)))
2527 (sha256
2528 (base32 "1w3x087wvlwkd6swfdgbvjfs6kazf0la8ax4pjfzikwjch4snn2c"))
2529 (file-name (git-file-name "closer-mop" version ))))
2530 (build-system asdf-build-system/sbcl)
2531 (home-page "https://github.com/pcostanza/closer-mop")
2532 (synopsis "Rectifies absent or incorrect CLOS MOP features")
2533 (description "Closer to MOP is a compatibility layer that rectifies many
2534 of the absent or incorrect CLOS MOP features across a broad range of Common
2535 Lisp implementations.")
2536 (license license:expat))))
2537
2538 (define-public cl-closer-mop
2539 (sbcl-package->cl-source-package sbcl-closer-mop))
2540
2541 (define-public ecl-closer-mop
2542 (sbcl-package->ecl-package sbcl-closer-mop))
2543
2544 (define-public sbcl-cl-cffi-gtk
2545 (let ((commit "e9a46df65995d9a16e6c8dbdc1e09b775eb4a966"))
2546 (package
2547 (name "sbcl-cl-cffi-gtk")
2548 (version (git-version "0.11.2" "2" commit))
2549 (source
2550 (origin
2551 (method git-fetch)
2552 (uri (git-reference
2553 (url "https://github.com/Ferada/cl-cffi-gtk/")
2554 (commit commit)))
2555 (file-name (git-file-name "cl-cffi-gtk" version))
2556 (sha256
2557 (base32
2558 "04vix0gmqsj91lm975sx7jhlnz5gq1xf9jp873mp7c8frc5dk1jj"))))
2559 (build-system asdf-build-system/sbcl)
2560 (native-inputs
2561 `(("fiveam" ,sbcl-fiveam)))
2562 (inputs
2563 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2564 ("cairo" ,cairo)
2565 ("cffi" ,sbcl-cffi)
2566 ("closer-mop" ,sbcl-closer-mop)
2567 ("gdk-pixbuf" ,gdk-pixbuf)
2568 ("glib" ,glib)
2569 ("gtk" ,gtk+)
2570 ("iterate" ,sbcl-iterate)
2571 ("pango" ,pango)
2572 ("trivial-features" ,sbcl-trivial-features)
2573 ("trivial-garbage" ,sbcl-trivial-garbage)))
2574 (arguments
2575 `(#:asd-files '("gtk/cl-cffi-gtk.asd"
2576 "glib/cl-cffi-gtk-glib.asd"
2577 "gobject/cl-cffi-gtk-gobject.asd"
2578 "gio/cl-cffi-gtk-gio.asd"
2579 "cairo/cl-cffi-gtk-cairo.asd"
2580 "pango/cl-cffi-gtk-pango.asd"
2581 "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
2582 "gdk/cl-cffi-gtk-gdk.asd")
2583 #:test-asd-file "test/cl-cffi-gtk-test.asd"
2584 ;; TODO: Tests fail with memory fault.
2585 ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
2586 #:tests? #f
2587 #:phases
2588 (modify-phases %standard-phases
2589 (add-after 'unpack 'fix-paths
2590 (lambda* (#:key inputs #:allow-other-keys)
2591 (substitute* "glib/glib.init.lisp"
2592 (("libglib|libgthread" all)
2593 (string-append (assoc-ref inputs "glib") "/lib/" all)))
2594 (substitute* "gobject/gobject.init.lisp"
2595 (("libgobject" all)
2596 (string-append (assoc-ref inputs "glib") "/lib/" all)))
2597 (substitute* "gio/gio.init.lisp"
2598 (("libgio" all)
2599 (string-append (assoc-ref inputs "glib") "/lib/" all)))
2600 (substitute* "cairo/cairo.init.lisp"
2601 (("libcairo" all)
2602 (string-append (assoc-ref inputs "cairo") "/lib/" all)))
2603 (substitute* "pango/pango.init.lisp"
2604 (("libpango" all)
2605 (string-append (assoc-ref inputs "pango") "/lib/" all)))
2606 (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
2607 (("libgdk_pixbuf" all)
2608 (string-append (assoc-ref inputs "gdk-pixbuf") "/lib/" all)))
2609 (substitute* "gdk/gdk.init.lisp"
2610 (("libgdk" all)
2611 (string-append (assoc-ref inputs "gtk") "/lib/" all)))
2612 (substitute* "gdk/gdk.package.lisp"
2613 (("libgtk" all)
2614 (string-append (assoc-ref inputs "gtk") "/lib/" all))))))))
2615 (home-page "https://github.com/Ferada/cl-cffi-gtk/")
2616 (synopsis "Common Lisp binding for GTK+3")
2617 (description
2618 "@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
2619 is a library for creating graphical user interfaces.")
2620 (license license:lgpl3))))
2621
2622 (define-public cl-cffi-gtk
2623 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
2624
2625 (define-public ecl-cl-cffi-gtk
2626 (sbcl-package->ecl-package sbcl-cl-cffi-gtk))
2627
2628 (define-public sbcl-cl-webkit
2629 (let ((commit "aecd76a2bcc7bfee049c91d94cc75f893800bf37"))
2630 (package
2631 (name "sbcl-cl-webkit")
2632 (version (git-version "2.4" "9" commit))
2633 (source
2634 (origin
2635 (method git-fetch)
2636 (uri (git-reference
2637 (url "https://github.com/joachifm/cl-webkit")
2638 (commit commit)))
2639 (file-name (git-file-name "cl-webkit" version))
2640 (sha256
2641 (base32
2642 "1j2wvn19kz0bcg17qr9pc4xp6fgjy8zngdnnp5rpfxd25sli62yc"))))
2643 (build-system asdf-build-system/sbcl)
2644 (inputs
2645 `(("cffi" ,sbcl-cffi)
2646 ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
2647 ("webkitgtk" ,webkitgtk)))
2648 (arguments
2649 `(#:asd-systems '("cl-webkit2")
2650 #:phases
2651 (modify-phases %standard-phases
2652 (add-after 'unpack 'fix-paths
2653 (lambda* (#:key inputs #:allow-other-keys)
2654 (substitute* "webkit2/webkit2.init.lisp"
2655 (("libwebkit2gtk" all)
2656 (string-append
2657 (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
2658 (home-page "https://github.com/joachifm/cl-webkit")
2659 (synopsis "Binding to WebKitGTK+ for Common Lisp")
2660 (description
2661 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
2662 currently targeting WebKit version 2. The WebKitGTK+ library adds web
2663 browsing capabilities to an application, leveraging the full power of the
2664 WebKit browsing engine.")
2665 (license license:expat))))
2666
2667 (define-public cl-webkit
2668 (sbcl-package->cl-source-package sbcl-cl-webkit))
2669
2670 (define-public ecl-cl-webkit
2671 (sbcl-package->ecl-package sbcl-cl-webkit))
2672
2673 (define-public sbcl-lparallel
2674 (package
2675 (name "sbcl-lparallel")
2676 (version "2.8.4")
2677 (source
2678 (origin
2679 (method git-fetch)
2680 (uri (git-reference
2681 (url "https://github.com/lmj/lparallel/")
2682 (commit (string-append "lparallel-" version))))
2683 (file-name (git-file-name "lparallel" version))
2684 (sha256
2685 (base32
2686 "0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
2687 (build-system asdf-build-system/sbcl)
2688 (inputs
2689 `(("alexandria" ,sbcl-alexandria)
2690 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2691 ("trivial-garbage" ,sbcl-trivial-garbage)))
2692 (arguments
2693 `(#:phases
2694 (modify-phases %standard-phases
2695 (add-after 'unpack 'fix-dependency
2696 ;; lparallel loads a SBCL specific system in its asd file. This is
2697 ;; not carried over into the fasl which is generated. In order for
2698 ;; it to be carried over, it needs to be listed as a dependency.
2699 (lambda _
2700 (substitute* "lparallel.asd"
2701 ((":depends-on \\(:alexandria" all)
2702 (string-append all " #+sbcl :sb-cltl2"))))))))
2703 (home-page "https://lparallel.org/")
2704 (synopsis "Parallelism for Common Lisp")
2705 (description
2706 "@command{lparallel} is a library for parallel programming in Common
2707 Lisp, featuring:
2708
2709 @itemize
2710 @item a simple model of task submission with receiving queue,
2711 @item constructs for expressing fine-grained parallelism,
2712 @item asynchronous condition handling across thread boundaries,
2713 @item parallel versions of map, reduce, sort, remove, and many others,
2714 @item promises, futures, and delayed evaluation constructs,
2715 @item computation trees for parallelizing interconnected tasks,
2716 @item bounded and unbounded FIFO queues,
2717 @item high and low priority tasks,
2718 @item task killing by category,
2719 @item integrated timeouts.
2720 @end itemize\n")
2721 (license license:expat)))
2722
2723 (define-public cl-lparallel
2724 (sbcl-package->cl-source-package sbcl-lparallel))
2725
2726 (define-public ecl-lparallel
2727 (sbcl-package->ecl-package sbcl-lparallel))
2728
2729 (define-public sbcl-cl-markup
2730 (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
2731 (package
2732 (name "sbcl-cl-markup")
2733 (version (git-version "0.1" "1" commit))
2734 (source
2735 (origin
2736 (method git-fetch)
2737 (uri (git-reference
2738 (url "https://github.com/arielnetworks/cl-markup/")
2739 (commit commit)))
2740 (file-name (git-file-name "cl-markup" version))
2741 (sha256
2742 (base32
2743 "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
2744 (build-system asdf-build-system/sbcl)
2745 (home-page "https://github.com/arielnetworks/cl-markup/")
2746 (synopsis "Markup generation library for Common Lisp")
2747 (description
2748 "A modern markup generation library for Common Lisp that features:
2749
2750 @itemize
2751 @item Fast (even faster through compiling the code)
2752 @item Safety
2753 @item Support for multiple document types (markup, xml, html, html5, xhtml)
2754 @item Output with doctype
2755 @item Direct output to stream
2756 @end itemize\n")
2757 (license license:lgpl3+))))
2758
2759 (define-public cl-markup
2760 (sbcl-package->cl-source-package sbcl-cl-markup))
2761
2762 (define-public ecl-cl-markup
2763 (sbcl-package->ecl-package sbcl-cl-markup))
2764
2765 (define-public sbcl-cl-css
2766 (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
2767 (package
2768 (name "sbcl-cl-css")
2769 (version (git-version "0.1" "1" commit))
2770 (source
2771 (origin
2772 (method git-fetch)
2773 (uri (git-reference
2774 (url "https://github.com/inaimathi/cl-css/")
2775 (commit commit)))
2776 (file-name (git-file-name "cl-css" version))
2777 (sha256
2778 (base32
2779 "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
2780 (build-system asdf-build-system/sbcl)
2781 (home-page "https://github.com/inaimathi/cl-css/")
2782 (synopsis "Non-validating, inline CSS generator for Common Lisp")
2783 (description
2784 "This is a dead-simple, non validating, inline CSS generator for Common
2785 Lisp. Its goals are axiomatic syntax, simple implementation to support
2786 portability, and boilerplate reduction in CSS.")
2787 (license license:expat))))
2788
2789 (define-public cl-css
2790 (sbcl-package->cl-source-package sbcl-cl-css))
2791
2792 (define-public ecl-cl-css
2793 (sbcl-package->ecl-package sbcl-cl-css))
2794
2795 (define-public sbcl-portable-threads
2796 (let ((commit "aa26bf38338a6b068bf8bfb3375d8d8c3b0a28df"))
2797 (package
2798 (name "sbcl-portable-threads")
2799 (version (git-version "2.3" "2" commit))
2800 (source
2801 (origin
2802 (method git-fetch)
2803 (uri (git-reference
2804 (url "https://github.com/binghe/portable-threads/")
2805 (commit commit)))
2806 (file-name (git-file-name "portable-threads" version))
2807 (sha256
2808 (base32 "058ksi07vfdmhrf5mdlc833s82m1rcqfja2266520m3r8bzs8bvs"))))
2809 (build-system asdf-build-system/sbcl)
2810 (arguments
2811 `(;; Tests seem broken.
2812 #:tests? #f))
2813 (home-page "https://github.com/binghe/portable-threads")
2814 (synopsis "Portable threads API for Common Lisp")
2815 (description
2816 "Portable Threads (and Scheduled and Periodic Functions) API for Common
2817 Lisp (from GBBopen project).")
2818 (license license:asl2.0))))
2819
2820 (define-public cl-portable-threads
2821 (sbcl-package->cl-source-package sbcl-portable-threads))
2822
2823 (define-public ecl-portable-threads
2824 (sbcl-package->ecl-package sbcl-portable-threads))
2825
2826 (define-public sbcl-usocket
2827 (package
2828 (name "sbcl-usocket")
2829 (version "0.8.3")
2830 (source
2831 (origin
2832 (method git-fetch)
2833 (uri (git-reference
2834 (url "https://github.com/usocket/usocket/")
2835 (commit (string-append "v" version))))
2836 (file-name (git-file-name "usocket" version))
2837 (sha256
2838 (base32
2839 "0x746wr2324l6bn7skqzgkzcbj5kd0zp2ck0c8rldrw0rzabg826"))))
2840 (build-system asdf-build-system/sbcl)
2841 (native-inputs
2842 `(("rt" ,sbcl-rt)))
2843 (inputs
2844 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2845 ("split-sequence" ,sbcl-split-sequence)))
2846 (arguments
2847 `(#:tests? #f ; FIXME: Tests need network access?
2848 #:asd-systems '("usocket"
2849 "usocket-server")))
2850 (home-page "https://common-lisp.net/project/usocket/")
2851 (synopsis "Universal socket library for Common Lisp")
2852 (description
2853 "This library strives to provide a portable TCP/IP and UDP/IP socket
2854 interface for as many Common Lisp implementations as possible, while keeping
2855 the abstraction and portability layer as thin as possible.")
2856 (license license:expat)))
2857
2858 (define-public cl-usocket
2859 (sbcl-package->cl-source-package sbcl-usocket))
2860
2861 (define-public ecl-usocket
2862 (sbcl-package->ecl-package sbcl-usocket))
2863
2864 (define-public sbcl-s-xml
2865 (package
2866 (name "sbcl-s-xml")
2867 (version "3")
2868 (source
2869 (origin
2870 (method url-fetch)
2871 (uri "https://common-lisp.net/project/s-xml/s-xml.tgz")
2872 (sha256
2873 (base32
2874 "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
2875 (build-system asdf-build-system/sbcl)
2876 (home-page "https://common-lisp.net/project/s-xml/")
2877 (synopsis "Simple XML parser implemented in Common Lisp")
2878 (description
2879 "S-XML is a simple XML parser implemented in Common Lisp. This XML
2880 parser implementation has the following features:
2881
2882 @itemize
2883 @item It works (handling many common XML usages).
2884 @item It is very small (the core is about 700 lines of code, including
2885 comments and whitespace).
2886 @item It has a core API that is simple, efficient and pure functional, much
2887 like that from SSAX (see also http://ssax.sourceforge.net).
2888 @item It supports different DOM models: an XSML-based one, an LXML-based one
2889 and a classic xml-element struct based one.
2890 @item It is reasonably time and space efficient (internally avoiding garbage
2891 generatation as much as possible).
2892 @item It does support CDATA.
2893 @item It should support the same character sets as your Common Lisp
2894 implementation.
2895 @item It does support XML name spaces.
2896 @end itemize
2897
2898 This XML parser implementation has the following limitations:
2899
2900 @itemize
2901 @item It does not support any special tags (like processing instructions).
2902 @item It is not validating, even skips DTD's all together.
2903 @end itemize\n")
2904 (license license:lgpl3+)))
2905
2906 (define-public cl-s-xml
2907 (sbcl-package->cl-source-package sbcl-s-xml))
2908
2909 (define-public ecl-s-xml
2910 (sbcl-package->ecl-package sbcl-s-xml))
2911
2912 (define-public sbcl-s-xml-rpc
2913 (package
2914 (name "sbcl-s-xml-rpc")
2915 (version "7")
2916 (source
2917 (origin
2918 (method url-fetch)
2919 (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz")
2920 (sha256
2921 (base32
2922 "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11"))))
2923 (build-system asdf-build-system/sbcl)
2924 (inputs
2925 `(("s-xml" ,sbcl-s-xml)))
2926 (home-page "https://common-lisp.net/project/s-xml-rpc/")
2927 (synopsis "Implementation of XML-RPC in Common Lisp for both client and server")
2928 (description
2929 "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both
2930 client and server.")
2931 (license license:lgpl3+)))
2932
2933 (define-public cl-s-xml-rpc
2934 (sbcl-package->cl-source-package sbcl-s-xml-rpc))
2935
2936 (define-public ecl-s-xml-rpc
2937 (sbcl-package->ecl-package sbcl-s-xml-rpc))
2938
2939 (define-public sbcl-trivial-clipboard
2940 (let ((commit "afcd3743b842f5a81fc86dba60f9db59970f49c5"))
2941 (package
2942 (name "sbcl-trivial-clipboard")
2943 (version (git-version "0.0.0.0" "3" commit))
2944 (source
2945 (origin
2946 (method git-fetch)
2947 (uri (git-reference
2948 (url "https://github.com/snmsts/trivial-clipboard")
2949 (commit commit)))
2950 (file-name (git-file-name "trivial-clipboard" version))
2951 (sha256
2952 (base32
2953 "1qfbvkzmvkbqpc5s3sx31c5653sy6qlcixafgzd10qpykb843prr"))))
2954 (build-system asdf-build-system/sbcl)
2955 (inputs
2956 `(("xclip" ,xclip)))
2957 (native-inputs
2958 `(("fiveam" ,sbcl-fiveam)))
2959 (arguments
2960 `(#:phases
2961 (modify-phases %standard-phases
2962 (add-after 'unpack 'fix-paths
2963 (lambda* (#:key inputs #:allow-other-keys)
2964 (substitute* "src/text.lisp"
2965 (("\\(executable-find \"xclip\"\\)")
2966 (string-append "(executable-find \""
2967 (assoc-ref inputs "xclip")
2968 "/bin/xclip\")"))))))))
2969 (home-page "https://github.com/snmsts/trivial-clipboard")
2970 (synopsis "Access system clipboard in Common Lisp")
2971 (description
2972 "@command{trivial-clipboard} gives access to the system clipboard.")
2973 (license license:expat))))
2974
2975 (define-public cl-trivial-clipboard
2976 (sbcl-package->cl-source-package sbcl-trivial-clipboard))
2977
2978 (define-public ecl-trivial-clipboard
2979 (sbcl-package->ecl-package sbcl-trivial-clipboard))
2980
2981 (define-public sbcl-trivial-backtrace
2982 (let ((commit "ca81c011b86424a381a7563cea3b924f24e6fbeb")
2983 (revision "1"))
2984 (package
2985 (name "sbcl-trivial-backtrace")
2986 (version (git-version "0.0.0" revision commit))
2987 (source
2988 (origin
2989 (method git-fetch)
2990 (uri (git-reference
2991 (url "https://github.com/gwkkwg/trivial-backtrace")
2992 (commit commit)))
2993 (file-name (git-file-name "trivial-backtrace" version))
2994 (sha256
2995 (base32 "10p41p43skj6cimdg8skjy7372s8v2xpkg8djjy0l8rm45i654k1"))))
2996 (build-system asdf-build-system/sbcl)
2997 (inputs
2998 `(("sbcl-lift" ,sbcl-lift)))
2999 (arguments
3000 `(#:phases
3001 (modify-phases %standard-phases
3002 (add-after 'check 'delete-test-results
3003 (lambda* (#:key outputs #:allow-other-keys)
3004 (let ((test-results (string-append (assoc-ref outputs "out")
3005 "/share/common-lisp/"
3006 (%lisp-type)
3007 "/trivial-backtrace"
3008 "/test-results")))
3009 (when (file-exists? test-results)
3010 (delete-file-recursively test-results)))
3011 #t)))))
3012 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3013 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3014 (description
3015 "One of the many things that didn't quite get into the Common Lisp
3016 standard was how to get a Lisp to output its call stack when something has
3017 gone wrong. As such, each Lisp has developed its own notion of what to
3018 display, how to display it, and what sort of arguments can be used to
3019 customize it. @code{trivial-backtrace} is a simple solution to generating a
3020 backtrace portably.")
3021 (license license:expat))))
3022
3023 (define-public cl-trivial-backtrace
3024 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3025
3026 (define-public ecl-trivial-backtrace
3027 (sbcl-package->ecl-package sbcl-trivial-backtrace))
3028
3029 (define-public sbcl-rfc2388
3030 (let ((commit "591bcf7e77f2c222c43953a80f8c297751dc0c4e")
3031 (revision "1"))
3032 (package
3033 (name "sbcl-rfc2388")
3034 (version (git-version "0.0.0" revision commit))
3035 (source
3036 (origin
3037 (method git-fetch)
3038 (uri (git-reference
3039 (url "https://github.com/jdz/rfc2388")
3040 (commit commit)))
3041 (file-name (git-file-name "rfc2388" version))
3042 (sha256
3043 (base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
3044 (build-system asdf-build-system/sbcl)
3045 (home-page "https://github.com/jdz/rfc2388/")
3046 (synopsis "An implementation of RFC 2388 in Common Lisp")
3047 (description
3048 "This package contains an implementation of RFC 2388, which is used to
3049 process form data posted with HTTP POST method using enctype
3050 \"multipart/form-data\".")
3051 (license license:bsd-2))))
3052
3053 (define-public cl-rfc2388
3054 (sbcl-package->cl-source-package sbcl-rfc2388))
3055
3056 (define-public ecl-rfc2388
3057 (sbcl-package->ecl-package sbcl-rfc2388))
3058
3059 (define-public sbcl-md5
3060 (package
3061 (name "sbcl-md5")
3062 (version "2.0.4")
3063 (source
3064 (origin
3065 (method git-fetch)
3066 (uri (git-reference
3067 (url "https://github.com/pmai/md5")
3068 (commit (string-append "release-" version))))
3069 (file-name (git-file-name "md5" version))
3070 (sha256
3071 (base32 "1waqxzm7vlc22n92hv8r27anlvvjkkh9slhrky1ww7mdx4mmxwb8"))))
3072 (build-system asdf-build-system/sbcl)
3073 (home-page "https://github.com/pmai/md5")
3074 (synopsis
3075 "Common Lisp implementation of the MD5 Message-Digest Algorithm (RFC 1321)")
3076 (description
3077 "This package implements The MD5 Message-Digest Algorithm, as defined in
3078 RFC 1321 by R. Rivest, published April 1992.")
3079 (license license:public-domain)))
3080
3081 (define-public cl-md5
3082 (sbcl-package->cl-source-package sbcl-md5))
3083
3084 (define-public ecl-md5
3085 (package
3086 (inherit (sbcl-package->ecl-package sbcl-md5))
3087 (inputs
3088 `(("flexi-streams" ,ecl-flexi-streams)))))
3089
3090 (define-public sbcl-cl+ssl
3091 (let ((commit "701e645081e6533a3f0f0b3ac86389d6f506c4b5")
3092 (revision "1"))
3093 (package
3094 (name "sbcl-cl+ssl")
3095 (version (git-version "0.0.0" revision commit))
3096 (source
3097 (origin
3098 (method git-fetch)
3099 (uri (git-reference
3100 (url "https://github.com/cl-plus-ssl/cl-plus-ssl")
3101 (commit commit)))
3102 (file-name (git-file-name "cl+ssl" version))
3103 (sha256
3104 (base32 "0nfl275nwhff3m25872y388cydz14kqb6zbwywa6nj85r9k8bgs0"))))
3105 (build-system asdf-build-system/sbcl)
3106 (arguments
3107 '(#:phases
3108 (modify-phases %standard-phases
3109 (add-after 'unpack 'fix-paths
3110 (lambda* (#:key inputs #:allow-other-keys)
3111 (substitute* "src/reload.lisp"
3112 (("libssl.so" all)
3113 (string-append
3114 (assoc-ref inputs "openssl") "/lib/" all))))))))
3115 (inputs
3116 `(("openssl" ,openssl)
3117 ("sbcl-cffi" ,sbcl-cffi)
3118 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3119 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3120 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)
3121 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)
3122 ("sbcl-alexandria" ,sbcl-alexandria)
3123 ("sbcl-trivial-features" ,sbcl-trivial-features)))
3124 (home-page "https://common-lisp.net/project/cl-plus-ssl/")
3125 (synopsis "Common Lisp bindings to OpenSSL")
3126 (description
3127 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3128 code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3129 Development into CL+SSL was done by David Lichteblau.")
3130 (license license:expat))))
3131
3132 (define-public cl-cl+ssl
3133 (sbcl-package->cl-source-package sbcl-cl+ssl))
3134
3135 (define-public ecl-cl+ssl
3136 (sbcl-package->ecl-package sbcl-cl+ssl))
3137
3138 (define-public sbcl-kmrcl
3139 (let ((version "1.111")
3140 (commit "4a27407aad9deb607ffb8847630cde3d041ea25a")
3141 (revision "1"))
3142 (package
3143 (name "sbcl-kmrcl")
3144 (version (git-version version revision commit))
3145 (source
3146 (origin
3147 (method git-fetch)
3148 (uri (git-reference
3149 (url "http://git.kpe.io/kmrcl.git/")
3150 (commit commit)))
3151 (file-name (git-file-name name version))
3152 (sha256
3153 (base32 "06gx04mah5nc8w78s0j8628divbf1s5w7af8w7pvzb2d5mgvrbd2"))))
3154 (build-system asdf-build-system/sbcl)
3155 (inputs
3156 `(("sbcl-rt" ,sbcl-rt)))
3157 (home-page "http://files.kpe.io/kmrcl/")
3158 (synopsis "General utilities for Common Lisp programs")
3159 (description
3160 "KMRCL is a collection of utilities used by a number of Kevin
3161 Rosenberg's Common Lisp packages.")
3162 (license license:llgpl))))
3163
3164 (define-public cl-kmrcl
3165 (sbcl-package->cl-source-package sbcl-kmrcl))
3166
3167 (define-public ecl-kmrcl
3168 (sbcl-package->ecl-package sbcl-kmrcl))
3169
3170 (define-public sbcl-cl-base64
3171 ;; 3.3.4 tests are broken, upstream fixes them.
3172 (let ((commit "577683b18fd880b82274d99fc96a18a710e3987a"))
3173 (package
3174 (name "sbcl-cl-base64")
3175 (version (git-version "3.3.4" "1" commit))
3176 (source
3177 (origin
3178 (method git-fetch)
3179 (uri (git-reference
3180 (url "http://git.kpe.io/cl-base64.git/")
3181 (commit commit)))
3182 (file-name (git-file-name name version))
3183 (sha256
3184 (base32 "12jj54h0fs6n237cvnp8v6hn0imfksammq22ys6pi0gwz2w47rbj"))))
3185 (build-system asdf-build-system/sbcl)
3186 (native-inputs ; For tests.
3187 `(("sbcl-ptester" ,sbcl-ptester)
3188 ("sbcl-kmrcl" ,sbcl-kmrcl)))
3189 (home-page "http://files.kpe.io/cl-base64/")
3190 (synopsis
3191 "Common Lisp package to encode and decode base64 with URI support")
3192 (description
3193 "This package provides highly optimized base64 encoding and decoding.
3194 Besides conversion to and from strings, integer conversions are supported.
3195 Encoding with Uniform Resource Identifiers is supported by using a modified
3196 encoding table that uses only URI-compatible characters.")
3197 (license license:bsd-3))))
3198
3199 (define-public cl-base64
3200 (sbcl-package->cl-source-package sbcl-cl-base64))
3201
3202 (define-public ecl-cl-base64
3203 (sbcl-package->ecl-package sbcl-cl-base64))
3204
3205 (define-public sbcl-chunga
3206 (package
3207 (name "sbcl-chunga")
3208 (version "1.1.7")
3209 (source
3210 (origin
3211 (method git-fetch)
3212 (uri (git-reference
3213 (url "https://github.com/edicl/chunga")
3214 (commit (string-append "v" version))))
3215 (file-name (git-file-name name version))
3216 (sha256
3217 (base32 "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd"))))
3218 (build-system asdf-build-system/sbcl)
3219 (inputs
3220 `(("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3221 (home-page "https://edicl.github.io/chunga/")
3222 (synopsis "Portable chunked streams for Common Lisp")
3223 (description
3224 "Chunga implements streams capable of chunked encoding on demand as
3225 defined in RFC 2616.")
3226 (license license:bsd-2)))
3227
3228 (define-public cl-chunga
3229 (sbcl-package->cl-source-package sbcl-chunga))
3230
3231 (define-public ecl-chunga
3232 (sbcl-package->ecl-package sbcl-chunga))
3233
3234 (define-public sbcl-cl-who
3235 (let ((version "1.1.4")
3236 (commit "2c08caa4bafba720409af9171feeba3f32e86d32")
3237 (revision "1"))
3238 (package
3239 (name "sbcl-cl-who")
3240 (version (git-version version revision commit))
3241 (source
3242 (origin
3243 (method git-fetch)
3244 (uri (git-reference
3245 (url "https://github.com/edicl/cl-who")
3246 (commit commit)))
3247 (file-name (git-file-name name version))
3248 (sha256
3249 (base32
3250 "0yjb6sr3yazm288m318kqvj9xk8rm9n1lpimgf65ymqv0i5agxsb"))))
3251 (build-system asdf-build-system/sbcl)
3252 (native-inputs
3253 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3254 (home-page "https://edicl.github.io/cl-who/")
3255 (synopsis "Yet another Lisp markup language")
3256 (description
3257 "There are plenty of Lisp Markup Languages out there - every Lisp
3258 programmer seems to write at least one during his career - and CL-WHO (where
3259 WHO means \"with-html-output\" for want of a better acronym) is probably just
3260 as good or bad as the next one.")
3261 (license license:bsd-2))))
3262
3263 (define-public cl-who
3264 (sbcl-package->cl-source-package sbcl-cl-who))
3265
3266 (define-public ecl-cl-who
3267 (sbcl-package->ecl-package sbcl-cl-who))
3268
3269 (define-public sbcl-chipz
3270 (let ((version "0.8")
3271 (commit "75dfbc660a5a28161c57f115adf74c8a926bfc4d")
3272 (revision "1"))
3273 (package
3274 (name "sbcl-chipz")
3275 (version (git-version version revision commit))
3276 (source
3277 (origin
3278 (method git-fetch)
3279 (uri (git-reference
3280 (url "https://github.com/froydnj/chipz")
3281 (commit commit)))
3282 (file-name (git-file-name name version))
3283 (sha256
3284 (base32
3285 "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"))))
3286 (build-system asdf-build-system/sbcl)
3287 (native-inputs
3288 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3289 (home-page "http://method-combination.net/lisp/chipz/")
3290 (synopsis
3291 "Common Lisp library for decompressing deflate, zlib, gzip, and bzip2
3292 data")
3293 (description
3294 "DEFLATE data, defined in RFC1951, forms the core of popular
3295 compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3296 Chipz also provides for decompressing data in those formats as well. BZIP2 is
3297 the format used by the popular compression tool bzip2.")
3298 ;; The author describes it as "MIT-like"
3299 (license license:expat))))
3300
3301 (define-public cl-chipz
3302 (sbcl-package->cl-source-package sbcl-chipz))
3303
3304 (define-public ecl-chipz
3305 (sbcl-package->ecl-package sbcl-chipz))
3306
3307 (define-public sbcl-drakma
3308 (package
3309 (name "sbcl-drakma")
3310 (version "2.0.7")
3311 (source
3312 (origin
3313 (method git-fetch)
3314 (uri (git-reference
3315 (url "https://github.com/edicl/drakma")
3316 (commit (string-append "v" version))))
3317 (file-name (git-file-name name version))
3318 (sha256
3319 (base32
3320 "1441idnyif9xzx3ln1p3fg36k2v9h4wasjqrzc8y52j61420qpci"))))
3321 (build-system asdf-build-system/sbcl)
3322 (inputs
3323 `(("sbcl-puri" ,sbcl-puri)
3324 ("sbcl-cl-base64" ,sbcl-cl-base64)
3325 ("sbcl-chunga" ,sbcl-chunga)
3326 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3327 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3328 ("sbcl-chipz" ,sbcl-chipz)
3329 ("sbcl-usocket" ,sbcl-usocket)
3330 ("sbcl-cl+ssl" ,sbcl-cl+ssl)))
3331 (native-inputs
3332 `(("sbcl-fiveam" ,sbcl-fiveam)))
3333 (home-page "https://edicl.github.io/drakma/")
3334 (synopsis "HTTP client written in Common Lisp")
3335 (description
3336 "Drakma is a full-featured HTTP client implemented in Common Lisp. It
3337 knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3338 sockets, SSL, continuable uploads, file uploads, cookies, and more.")
3339 (license license:bsd-2)))
3340
3341 (define-public cl-drakma
3342 (sbcl-package->cl-source-package sbcl-drakma))
3343
3344 (define-public ecl-drakma
3345 (sbcl-package->ecl-package sbcl-drakma))
3346
3347 (define-public sbcl-hunchentoot
3348 (package
3349 (name "sbcl-hunchentoot")
3350 (version "1.2.38")
3351 (source
3352 (origin
3353 (method git-fetch)
3354 (uri (git-reference
3355 (url "https://github.com/edicl/hunchentoot")
3356 (commit (string-append "v" version))))
3357 (file-name (git-file-name "hunchentoot" version))
3358 (sha256
3359 (base32 "1anpcad7w045m4rsjs1f3xdhjwx5cppq1h0vlb3q7dz81fi3i6yq"))))
3360 (build-system asdf-build-system/sbcl)
3361 (native-inputs
3362 `(("sbcl-cl-who" ,sbcl-cl-who)
3363 ("sbcl-drakma" ,sbcl-drakma)))
3364 (inputs
3365 `(("sbcl-chunga" ,sbcl-chunga)
3366 ("sbcl-cl-base64" ,sbcl-cl-base64)
3367 ("sbcl-cl-fad" ,sbcl-cl-fad)
3368 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3369 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3370 ("sbcl-cl+ssl" ,sbcl-cl+ssl)
3371 ("sbcl-md5" ,sbcl-md5)
3372 ("sbcl-rfc2388" ,sbcl-rfc2388)
3373 ("sbcl-trivial-backtrace" ,sbcl-trivial-backtrace)
3374 ("sbcl-usocket" ,sbcl-usocket)))
3375 (home-page "https://edicl.github.io/hunchentoot/")
3376 (synopsis "Web server written in Common Lisp")
3377 (description
3378 "Hunchentoot is a web server written in Common Lisp and at the same
3379 time a toolkit for building dynamic websites. As a stand-alone web server,
3380 Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3381 connections (keep-alive), and SSL.")
3382 (license license:bsd-2)))
3383
3384 (define-public cl-hunchentoot
3385 (sbcl-package->cl-source-package sbcl-hunchentoot))
3386
3387 (define-public ecl-hunchentoot
3388 (package
3389 (inherit (sbcl-package->ecl-package sbcl-hunchentoot))
3390 (arguments
3391 ;; Tests fail on ECL with 'Socket error in "socket": EINVAL'.
3392 '(#:tests? #f))))
3393
3394 (define-public sbcl-trivial-types
3395 (package
3396 (name "sbcl-trivial-types")
3397 (version "0.0.1")
3398 (source
3399 (origin
3400 (method git-fetch)
3401 (uri (git-reference
3402 (url "https://github.com/m2ym/trivial-types")
3403 (commit "ee869f2b7504d8aa9a74403641a5b42b16f47d88")))
3404 (file-name (git-file-name name version))
3405 (sha256
3406 (base32 "1s4cp9bdlbn8447q7w7f1wkgwrbvfzp20mgs307l5pxvdslin341"))))
3407 (build-system asdf-build-system/sbcl)
3408 (home-page "https://github.com/m2ym/trivial-types")
3409 (synopsis "Trivial type definitions for Common Lisp")
3410 (description
3411 "TRIVIAL-TYPES provides missing but important type definitions such as
3412 PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
3413 (license license:llgpl)))
3414
3415 (define-public cl-trivial-types
3416 (sbcl-package->cl-source-package sbcl-trivial-types))
3417
3418 (define-public ecl-trivial-types
3419 (sbcl-package->ecl-package sbcl-trivial-types))
3420
3421 (define-public sbcl-cl-annot
3422 (let ((commit "c99e69c15d935eabc671b483349a406e0da9518d")
3423 (revision "1"))
3424 (package
3425 (name "sbcl-cl-annot")
3426 (version (git-version "0.0.0" revision commit))
3427 (source
3428 (origin
3429 (method git-fetch)
3430 (uri (git-reference
3431 (url "https://github.com/m2ym/cl-annot")
3432 (commit commit)))
3433 (file-name (git-file-name name version))
3434 (sha256
3435 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3436 (build-system asdf-build-system/sbcl)
3437 (inputs
3438 `(("sbcl-alexandria" ,sbcl-alexandria)))
3439 (home-page "https://github.com/m2ym/cl-annot")
3440 (synopsis "Python-like Annotation Syntax for Common Lisp.")
3441 (description
3442 "@code{cl-annot} is an general annotation library for Common Lisp.")
3443 (license license:llgpl))))
3444
3445 (define-public cl-annot
3446 (sbcl-package->cl-source-package sbcl-cl-annot))
3447
3448 (define-public ecl-cl-annot
3449 (sbcl-package->ecl-package sbcl-cl-annot))
3450
3451 (define-public sbcl-cl-syntax
3452 (package
3453 (name "sbcl-cl-syntax")
3454 (version "0.0.3")
3455 (source
3456 (origin
3457 (method git-fetch)
3458 (uri (git-reference
3459 (url "https://github.com/m2ym/cl-syntax")
3460 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3461 (file-name (git-file-name "cl-syntax" version))
3462 (sha256
3463 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3464 (build-system asdf-build-system/sbcl)
3465 (inputs
3466 `(("cl-annot" ,sbcl-cl-annot)
3467 ("cl-interpol" ,sbcl-cl-interpol)
3468 ("named-readtables" ,sbcl-named-readtables)
3469 ("trivial-types" ,sbcl-trivial-types)))
3470 (arguments
3471 '(#:asd-systems '("cl-syntax"
3472 "cl-syntax-annot"
3473 "cl-syntax-interpol")))
3474 (home-page "https://github.com/m2ym/cl-syntax")
3475 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3476 (description
3477 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3478 (license license:llgpl)))
3479
3480 (define-public cl-syntax
3481 (sbcl-package->cl-source-package sbcl-cl-syntax))
3482
3483 (define-public ecl-cl-syntax
3484 (sbcl-package->ecl-package sbcl-cl-syntax))
3485
3486 (define-public sbcl-cl-utilities
3487 (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b")
3488 (revision "1"))
3489 (package
3490 (name "sbcl-cl-utilities")
3491 (version (git-version "0.0.0" revision commit))
3492 (source
3493 (origin
3494 (method url-fetch)
3495 (uri
3496 (string-append
3497 "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/"
3498 "archive/" commit "/cl-utilities-" commit ".tar.gz"))
3499 (sha256
3500 (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2"))))
3501 (build-system asdf-build-system/sbcl)
3502 (arguments
3503 '(#:phases
3504 (modify-phases %standard-phases
3505 (add-after 'unpack 'fix-paths
3506 (lambda* (#:key inputs #:allow-other-keys)
3507 (substitute* "rotate-byte.lisp"
3508 (("in-package :cl-utilities)" all)
3509 "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
3510 (home-page "http://common-lisp.net/project/cl-utilities")
3511 (synopsis "A collection of semi-standard utilities")
3512 (description
3513 "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
3514 is a collection of Common Lisp Utilities, things that everybody writes since
3515 they're not part of the official standard. There are some very useful things
3516 there; the only problems are that they aren't implemented as well as you'd
3517 like (some aren't implemented at all) and they aren't conveniently packaged
3518 and maintained. It takes quite a bit of work to carefully implement utilities
3519 for common use, commented and documented, with error checking placed
3520 everywhere some dumb user might make a mistake.")
3521 (license license:public-domain))))
3522
3523 (define-public cl-utilities
3524 (sbcl-package->cl-source-package sbcl-cl-utilities))
3525
3526 (define-public ecl-cl-utilities
3527 (sbcl-package->ecl-package sbcl-cl-utilities))
3528
3529 (define-public sbcl-map-set
3530 (let ((commit "7b4b545b68b8")
3531 (revision "1"))
3532 (package
3533 (name "sbcl-map-set")
3534 (version (git-version "0.0.0" revision commit))
3535 (source
3536 (origin
3537 (method url-fetch)
3538 (uri (string-append
3539 "https://bitbucket.org/tarballs_are_good/map-set/get/"
3540 commit ".tar.gz"))
3541 (sha256
3542 (base32 "1sx5j5qdsy5fklspfammwb16kjrhkggdavm922a9q86jm5l0b239"))))
3543 (build-system asdf-build-system/sbcl)
3544 (home-page "https://bitbucket.org/tarballs_are_good/map-set")
3545 (synopsis "Set-like data structure")
3546 (description
3547 "Implementation of a set-like data structure with constant time
3548 addition, removal, and random selection.")
3549 (license license:bsd-3))))
3550
3551 (define-public cl-map-set
3552 (sbcl-package->cl-source-package sbcl-map-set))
3553
3554 (define-public ecl-map-set
3555 (sbcl-package->ecl-package sbcl-map-set))
3556
3557 (define-public sbcl-quri
3558 (let ((commit "b53231c5f19446dd7c24b15a249fefa45ae94f9a")
3559 (revision "2"))
3560 (package
3561 (name "sbcl-quri")
3562 (version (git-version "0.1.0" revision commit))
3563 (source
3564 (origin
3565 (method git-fetch)
3566 (uri (git-reference
3567 (url "https://github.com/fukamachi/quri")
3568 (commit commit)))
3569 (file-name (git-file-name name version))
3570 (sha256
3571 (base32 "0cansr63m690ymvhway419178mq2sqnmxm4rdxclbsrnjwwbi36m"))))
3572 (build-system asdf-build-system/sbcl)
3573 (arguments
3574 ;; Tests fail with: Component QURI-ASD::QURI-TEST not found,
3575 ;; required by #<SYSTEM "quri">. Why?
3576 '(#:tests? #f))
3577 (native-inputs `(("sbcl-prove" ,sbcl-prove)))
3578 (inputs `(("sbcl-babel" ,sbcl-babel)
3579 ("sbcl-split-sequence" ,sbcl-split-sequence)
3580 ("sbcl-cl-utilities" ,sbcl-cl-utilities)
3581 ("sbcl-alexandria" ,sbcl-alexandria)))
3582 (home-page "https://github.com/fukamachi/quri")
3583 (synopsis "Yet another URI library for Common Lisp")
3584 (description
3585 "QURI (pronounced \"Q-ree\") is yet another URI library for Common
3586 Lisp. It is intended to be a replacement of PURI.")
3587 (license license:bsd-3))))
3588
3589 (define-public cl-quri
3590 (sbcl-package->cl-source-package sbcl-quri))
3591
3592 (define-public ecl-quri
3593 (sbcl-package->ecl-package sbcl-quri))
3594
3595 (define-public sbcl-myway
3596 (let ((commit "286230082a11f879c18b93f17ca571c5f676bfb7")
3597 (revision "1"))
3598 (package
3599 (name "sbcl-myway")
3600 (version (git-version "0.1.0" revision commit))
3601 (source
3602 (origin
3603 (method git-fetch)
3604 (uri (git-reference
3605 (url "https://github.com/fukamachi/myway")
3606 (commit commit)))
3607 (file-name (git-file-name "myway" version))
3608 (sha256
3609 (base32 "0briia9bk3lbr0frnx39d1qg6i38dm4j6z9w3yga3d40k6df4a90"))))
3610 (build-system asdf-build-system/sbcl)
3611 (arguments
3612 ;; Tests fail with: Component MYWAY-ASD::MYWAY-TEST not found, required
3613 ;; by #<SYSTEM "myway">. Why?
3614 '(#:tests? #f))
3615 (native-inputs
3616 `(("sbcl-prove" ,sbcl-prove)))
3617 (inputs
3618 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3619 ("sbcl-quri" ,sbcl-quri)
3620 ("sbcl-map-set" ,sbcl-map-set)))
3621 (home-page "https://github.com/fukamachi/myway")
3622 (synopsis "Sinatra-compatible URL routing library for Common Lisp")
3623 (description "My Way is a Sinatra-compatible URL routing library.")
3624 (license license:llgpl))))
3625
3626 (define-public cl-myway
3627 (sbcl-package->cl-source-package sbcl-myway))
3628
3629 (define-public ecl-myway
3630 (sbcl-package->ecl-package sbcl-myway))
3631
3632 (define-public sbcl-xsubseq
3633 (let ((commit "5ce430b3da5cda3a73b9cf5cee4df2843034422b")
3634 (revision "1"))
3635 (package
3636 (name "sbcl-xsubseq")
3637 (version (git-version "0.0.1" revision commit))
3638 (source
3639 (origin
3640 (method git-fetch)
3641 (uri (git-reference
3642 (url "https://github.com/fukamachi/xsubseq")
3643 (commit commit)))
3644 (file-name (git-file-name name version))
3645 (sha256
3646 (base32 "1xz79q0p2mclf3sqjiwf6izdpb6xrsr350bv4mlmdlm6rg5r99px"))))
3647 (build-system asdf-build-system/sbcl)
3648 (arguments
3649 ;; Tests fail with: Component XSUBSEQ-ASD::XSUBSEQ-TEST not found,
3650 ;; required by #<SYSTEM "xsubseq">. Why?
3651 '(#:tests? #f))
3652 (native-inputs
3653 `(("sbcl-prove" ,sbcl-prove)))
3654 (home-page "https://github.com/fukamachi/xsubseq")
3655 (synopsis "Efficient way to use \"subseq\"s in Common Lisp")
3656 (description
3657 "XSubseq provides functions to be able to handle \"subseq\"s more
3658 effieiently.")
3659 (license license:bsd-2))))
3660
3661 (define-public cl-xsubseq
3662 (sbcl-package->cl-source-package sbcl-xsubseq))
3663
3664 (define-public ecl-xsubseq
3665 (sbcl-package->ecl-package sbcl-xsubseq))
3666
3667 (define-public sbcl-smart-buffer
3668 (let ((commit "09b9a9a0b3abaa37abe9a730f5aac2643dca4e62")
3669 (revision "1"))
3670 (package
3671 (name "sbcl-smart-buffer")
3672 (version (git-version "0.0.1" revision commit))
3673 (source
3674 (origin
3675 (method git-fetch)
3676 (uri (git-reference
3677 (url "https://github.com/fukamachi/smart-buffer")
3678 (commit commit)))
3679 (file-name (git-file-name name version))
3680 (sha256
3681 (base32 "0qz1zzxx0wm5ff7gpgsq550a59p0qj594zfmm2rglj97dahj54l7"))))
3682 (build-system asdf-build-system/sbcl)
3683 (arguments
3684 ;; Tests fail with: Component SMART-BUFFER-ASD::SMART-BUFFER-TEST not
3685 ;; found, required by #<SYSTEM "smart-buffer">. Why?
3686 `(#:tests? #f))
3687 (native-inputs
3688 `(("sbcl-prove" ,sbcl-prove)))
3689 (inputs
3690 `(("sbcl-xsubseq" ,sbcl-xsubseq)
3691 ("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3692 (home-page "https://github.com/fukamachi/smart-buffer")
3693 (synopsis "Smart octets buffer")
3694 (description
3695 "Smart-buffer provides an output buffer which changes the destination
3696 depending on content size.")
3697 (license license:bsd-3))))
3698
3699 (define-public cl-smart-buffer
3700 (sbcl-package->cl-source-package sbcl-smart-buffer))
3701
3702 (define-public ecl-smart-buffer
3703 (sbcl-package->ecl-package sbcl-smart-buffer))
3704
3705 (define-public sbcl-fast-http
3706 (let ((commit "502a37715dcb8544cc8528b78143a942de662c5a")
3707 (revision "2"))
3708 (package
3709 (name "sbcl-fast-http")
3710 (version (git-version "0.2.0" revision commit))
3711 (source
3712 (origin
3713 (method git-fetch)
3714 (uri (git-reference
3715 (url "https://github.com/fukamachi/fast-http")
3716 (commit commit)))
3717 (file-name (git-file-name name version))
3718 (sha256
3719 (base32 "0al2g7g219jjljsf7b23pbilpgacxy5as5gs2nqf76b5qni396mi"))))
3720 (build-system asdf-build-system/sbcl)
3721 (arguments
3722 ;; Tests fail with: Component FAST-HTTP-ASD::FAST-HTTP-TEST not found,
3723 ;; required by #<SYSTEM "fast-http">. Why?
3724 `(#:tests? #f))
3725 (native-inputs
3726 `(("sbcl-prove" ,sbcl-prove)
3727 ("cl-syntax" ,sbcl-cl-syntax)))
3728 (inputs
3729 `(("sbcl-alexandria" ,sbcl-alexandria)
3730 ("sbcl-proc-parse" ,sbcl-proc-parse)
3731 ("sbcl-xsubseq" ,sbcl-xsubseq)
3732 ("sbcl-smart-buffer" ,sbcl-smart-buffer)
3733 ("sbcl-cl-utilities" ,sbcl-cl-utilities)))
3734 (home-page "https://github.com/fukamachi/fast-http")
3735 (synopsis "HTTP request/response parser for Common Lisp")
3736 (description
3737 "@code{fast-http} is a HTTP request/response protocol parser for Common
3738 Lisp.")
3739 ;; Author specified the MIT license
3740 (license license:expat))))
3741
3742 (define-public cl-fast-http
3743 (sbcl-package->cl-source-package sbcl-fast-http))
3744
3745 (define-public ecl-fast-http
3746 (sbcl-package->ecl-package sbcl-fast-http))
3747
3748 (define-public sbcl-static-vectors
3749 (package
3750 (name "sbcl-static-vectors")
3751 (version "1.8.4")
3752 (source
3753 (origin
3754 (method git-fetch)
3755 (uri (git-reference
3756 (url "https://github.com/sionescu/static-vectors")
3757 (commit (string-append "v" version))))
3758 (file-name (git-file-name name version))
3759 (sha256
3760 (base32 "0qvf9z6bhwhm8n45fjwkm7j8dcb58szfvndky65cyn4lpdval7m1"))))
3761 (native-inputs
3762 `(("sbcl-fiveam" ,sbcl-fiveam)))
3763 (inputs
3764 `(("sbcl-cffi" ,sbcl-cffi)))
3765 (build-system asdf-build-system/sbcl)
3766 (home-page "https://github.com/sionescu/static-vectors")
3767 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
3768 (description
3769 "With @code{static-vectors}, you can create vectors allocated in static
3770 memory.")
3771 (license license:expat)))
3772
3773 (define-public cl-static-vectors
3774 (sbcl-package->cl-source-package sbcl-static-vectors))
3775
3776 (define-public ecl-static-vectors
3777 (sbcl-package->ecl-package sbcl-static-vectors))
3778
3779 (define-public sbcl-marshal
3780 (let ((commit "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec")
3781 (revision "1"))
3782 (package
3783 (name "sbcl-marshal")
3784 (version (git-version "1.3.0" revision commit))
3785 (source
3786 (origin
3787 (method git-fetch)
3788 (uri (git-reference
3789 (url "https://github.com/wlbr/cl-marshal")
3790 (commit commit)))
3791 (file-name (git-file-name name version))
3792 (sha256
3793 (base32 "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh"))))
3794 (build-system asdf-build-system/sbcl)
3795 (home-page "https://github.com/wlbr/cl-marshal")
3796 (synopsis "Simple (de)serialization of Lisp datastructures")
3797 (description
3798 "Simple and fast marshalling of Lisp datastructures. Convert any object
3799 into a string representation, put it on a stream an revive it from there.
3800 Only minimal changes required to make your CLOS objects serializable.")
3801 (license license:expat))))
3802
3803 (define-public cl-marshal
3804 (sbcl-package->cl-source-package sbcl-marshal))
3805
3806 (define-public ecl-marshal
3807 (sbcl-package->ecl-package sbcl-marshal))
3808
3809 (define-public sbcl-checkl
3810 (let ((commit "80328800d047fef9b6e32dfe6bdc98396aee3cc9")
3811 (revision "1"))
3812 (package
3813 (name "sbcl-checkl")
3814 (version (git-version "0.0.0" revision commit))
3815 (source
3816 (origin
3817 (method git-fetch)
3818 (uri (git-reference
3819 (url "https://github.com/rpav/CheckL")
3820 (commit commit)))
3821 (file-name (git-file-name name version))
3822 (sha256
3823 (base32 "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx"))))
3824 (build-system asdf-build-system/sbcl)
3825 (arguments
3826 ;; Error while trying to load definition for system checkl-test from
3827 ;; pathname [...]/checkl-test.asd: The function CHECKL:DEFINE-TEST-OP
3828 ;; is undefined.
3829 '(#:asd-files '("checkl.asd")
3830 #:tests? #f))
3831 (native-inputs
3832 `(("sbcl-fiveam" ,sbcl-fiveam)))
3833 (inputs
3834 `(("sbcl-marshal" ,sbcl-marshal)))
3835 (home-page "https://github.com/rpav/CheckL/")
3836 (synopsis "Dynamic testing for Common Lisp")
3837 (description
3838 "CheckL lets you write tests dynamically, it checks resulting values
3839 against the last run.")
3840 ;; The author specifies both LLGPL and "BSD", but the "BSD" license
3841 ;; isn't specified anywhere, so I don't know which kind. LLGPL is the
3842 ;; stronger of the two and so I think only listing this should suffice.
3843 (license license:llgpl))))
3844
3845 (define-public cl-checkl
3846 (sbcl-package->cl-source-package sbcl-checkl))
3847
3848 (define-public ecl-checkl
3849 (sbcl-package->ecl-package sbcl-checkl))
3850
3851 (define-public sbcl-fast-io
3852 (let ((commit "603f4903dd74fb221859da7058ae6ca3853fe64b")
3853 (revision "2"))
3854 (package
3855 (name "sbcl-fast-io")
3856 (version (git-version "1.0.0" revision commit))
3857 (source
3858 (origin
3859 (method git-fetch)
3860 (uri (git-reference
3861 (url "https://github.com/rpav/fast-io")
3862 (commit commit)))
3863 (file-name (git-file-name name version))
3864 (sha256
3865 (base32 "00agvc0xx4w715i6ach05p995zpcpghn04xc06zyci06q677vw3n"))))
3866 (build-system asdf-build-system/sbcl)
3867 (arguments
3868 ;; Error while trying to load definition for system fast-io-test from
3869 ;; pathname [...]/fast-io-test.asd: The function CHECKL:DEFINE-TEST-OP
3870 ;; is undefined.
3871 '(#:tests? #f
3872 #:asd-files '("fast-io.asd")))
3873 (native-inputs
3874 `(("sbcl-fiveam" ,sbcl-fiveam)
3875 ("sbcl-checkl" ,sbcl-checkl)))
3876 (inputs
3877 `(("sbcl-alexandria" ,sbcl-alexandria)
3878 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3879 ("sbcl-static-vectors" ,sbcl-static-vectors)))
3880 (home-page "https://github.com/rpav/fast-io")
3881 (synopsis "Fast octet-vector/stream I/O for Common Lisp")
3882 (description
3883 "Fast-io is about improving performance to octet-vectors and octet
3884 streams (though primarily the former, while wrapping the latter).")
3885 ;; Author specifies this as NewBSD which is an alias
3886 (license license:bsd-3))))
3887
3888 (define-public cl-fast-io
3889 (sbcl-package->cl-source-package sbcl-fast-io))
3890
3891 (define-public ecl-fast-io
3892 (sbcl-package->ecl-package sbcl-fast-io))
3893
3894 (define-public sbcl-jonathan
3895 (let ((commit "1f448b4f7ac8265e56e1c02b32ce383e65316300")
3896 (revision "1"))
3897 (package
3898 (name "sbcl-jonathan")
3899 (version (git-version "0.1.0" revision commit))
3900 (source
3901 (origin
3902 (method git-fetch)
3903 (uri (git-reference
3904 (url "https://github.com/Rudolph-Miller/jonathan")
3905 (commit commit)))
3906 (file-name (git-file-name name version))
3907 (sha256
3908 (base32 "14x4iwz3mbag5jzzzr4sb6ai0m9r4q4kyypbq32jmsk2dx1hi807"))))
3909 (build-system asdf-build-system/sbcl)
3910 (arguments
3911 ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found,
3912 ;; required by #<SYSTEM "jonathan">. Why?
3913 `(#:tests? #f))
3914 (native-inputs
3915 `(("sbcl-prove" ,sbcl-prove)))
3916 (inputs
3917 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3918 ("sbcl-fast-io" ,sbcl-fast-io)
3919 ("sbcl-proc-parse" ,sbcl-proc-parse)
3920 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
3921 (home-page "https://rudolph-miller.github.io/jonathan/overview.html")
3922 (synopsis "JSON encoder and decoder")
3923 (description
3924 "High performance JSON encoder and decoder. Currently support: SBCL,
3925 CCL.")
3926 ;; Author specifies the MIT license
3927 (license license:expat))))
3928
3929 (define-public cl-jonathan
3930 (sbcl-package->cl-source-package sbcl-jonathan))
3931
3932 (define-public ecl-jonathan
3933 (sbcl-package->ecl-package sbcl-jonathan))
3934
3935 (define-public sbcl-http-body
3936 (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
3937 (revision "1"))
3938 (package
3939 (name "sbcl-http-body")
3940 (version (git-version "0.1.0" revision commit))
3941 (source
3942 (origin
3943 (method git-fetch)
3944 (uri (git-reference
3945 (url "https://github.com/fukamachi/http-body")
3946 (commit commit)))
3947 (file-name (git-file-name name version))
3948 (sha256
3949 (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
3950 (build-system asdf-build-system/sbcl)
3951 (arguments
3952 ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
3953 ;; found, required by #<SYSTEM "http-body">. Why?
3954 `(#:tests? #f))
3955 (native-inputs
3956 `(("sbcl-prove" ,sbcl-prove)))
3957 (inputs
3958 `(("sbcl-fast-http" ,sbcl-fast-http)
3959 ("sbcl-jonathan" ,sbcl-jonathan)
3960 ("sbcl-quri" ,sbcl-quri)))
3961 (home-page "https://github.com/fukamachi/http-body")
3962 (synopsis "HTTP POST data parser")
3963 (description
3964 "HTTP-Body parses HTTP POST data and returns POST parameters. It
3965 supports application/x-www-form-urlencoded, application/json, and
3966 multipart/form-data.")
3967 (license license:bsd-2))))
3968
3969 (define-public cl-http-body
3970 (sbcl-package->cl-source-package sbcl-http-body))
3971
3972 (define-public ecl-http-body
3973 (sbcl-package->ecl-package sbcl-http-body))
3974
3975 (define-public sbcl-circular-streams
3976 (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df")
3977 (revision "1"))
3978 (package
3979 (name "sbcl-circular-streams")
3980 (version (git-version "0.1.0" revision commit))
3981 (source
3982 (origin
3983 (method git-fetch)
3984 (uri (git-reference
3985 (url "https://github.com/fukamachi/circular-streams")
3986 (commit commit)))
3987 (file-name (git-file-name name version))
3988 (sha256
3989 (base32 "1wpw6d5cciyqcf92f7mvihak52pd5s47kk4qq6f0r2z2as68p5rs"))))
3990 (build-system asdf-build-system/sbcl)
3991 (arguments
3992 ;; The tests depend on cl-test-more which is now prove. Prove
3993 ;; tests aren't working for some reason.
3994 `(#:tests? #f))
3995 (inputs
3996 `(("sbcl-fast-io" ,sbcl-fast-io)
3997 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3998 (home-page "https://github.com/fukamachi/circular-streams")
3999 (synopsis "Circularly readable streams for Common Lisp")
4000 (description
4001 "Circular-Streams allows you to read streams circularly by wrapping real
4002 streams. Once you reach end-of-file of a stream, it's file position will be
4003 reset to 0 and you're able to read it again.")
4004 (license license:llgpl))))
4005
4006 (define-public cl-circular-streams
4007 (sbcl-package->cl-source-package sbcl-circular-streams))
4008
4009 (define-public ecl-circular-streams
4010 (sbcl-package->ecl-package sbcl-circular-streams))
4011
4012 (define-public sbcl-lack
4013 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4014 (revision "1"))
4015 (package
4016 (name "sbcl-lack")
4017 (version (git-version "0.1.0" revision commit))
4018 (source
4019 (origin
4020 (method git-fetch)
4021 (uri (git-reference
4022 (url "https://github.com/fukamachi/lack")
4023 (commit commit)))
4024 (file-name (git-file-name "lack" version))
4025 (sha256
4026 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4027 (build-system asdf-build-system/sbcl)
4028 (native-inputs
4029 `(("prove" ,sbcl-prove)))
4030 (inputs
4031 `(("circular-streams" ,sbcl-circular-streams)
4032 ("http-body" ,sbcl-http-body)
4033 ("ironclad" ,sbcl-ironclad)
4034 ("local-time" ,sbcl-local-time)
4035 ("quri" ,sbcl-quri)
4036 ("trivial-mimes" ,sbcl-trivial-mimes)))
4037 (arguments
4038 '(#:asd-systems '("lack"
4039 "lack-request"
4040 "lack-response"
4041 "lack-component"
4042 "lack-util"
4043 "lack-middleware-backtrace"
4044 "lack-middleware-static")
4045 #:test-asd-file "t-lack.asd"
4046 ;; XXX: Component :CLACK not found
4047 #:tests? #f))
4048 (home-page "https://github.com/fukamachi/lack")
4049 (synopsis "Lack, the core of Clack")
4050 (description
4051 "Lack is a Common Lisp library which allows web applications to be
4052 constructed of modular components. It was originally a part of Clack, however
4053 it's going to be rewritten as an individual project since Clack v2 with
4054 performance and simplicity in mind.")
4055 (license license:llgpl))))
4056
4057 (define-public cl-lack
4058 (sbcl-package->cl-source-package sbcl-lack))
4059
4060 (define-public ecl-lack
4061 (sbcl-package->ecl-package sbcl-lack))
4062
4063 (define-public sbcl-local-time
4064 (let ((commit "62792705245168d3fc2e04164b9a143477284142")
4065 (revision "1"))
4066 (package
4067 (name "sbcl-local-time")
4068 (version (git-version "1.0.6" revision commit))
4069 (source
4070 (origin
4071 (method git-fetch)
4072 (uri (git-reference
4073 (url "https://github.com/dlowe-net/local-time")
4074 (commit commit)))
4075 (file-name (git-file-name name version))
4076 (sha256
4077 (base32 "1r5zq4l1lrgprdr2pw7wwry194yknnllyjf6lx7snypb3k4r3yir"))))
4078 (build-system asdf-build-system/sbcl)
4079 (arguments
4080 ;; TODO: Component :STEFIL not found, required by #<SYSTEM
4081 ;; "local-time/test">
4082 '(#:tests? #f))
4083 (native-inputs
4084 `(("stefil" ,sbcl-hu.dwim.stefil)))
4085 (inputs
4086 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4087 (home-page "https://common-lisp.net/project/local-time/")
4088 (synopsis "Time manipulation library for Common Lisp")
4089 (description
4090 "The LOCAL-TIME library is a Common Lisp library for the manipulation of
4091 dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4092 Long Painful History of Time\".")
4093 (license license:expat))))
4094
4095 (define-public cl-local-time
4096 (sbcl-package->cl-source-package sbcl-local-time))
4097
4098 (define-public ecl-local-time
4099 (sbcl-package->ecl-package sbcl-local-time))
4100
4101 (define-public sbcl-trivial-mimes
4102 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
4103 (revision "1"))
4104 (package
4105 (name "sbcl-trivial-mimes")
4106 (version (git-version "1.1.0" revision commit))
4107 (source
4108 (origin
4109 (method git-fetch)
4110 (uri (git-reference
4111 (url "https://github.com/Shinmera/trivial-mimes")
4112 (commit commit)))
4113 (file-name (git-file-name name version))
4114 (sha256
4115 (base32 "17jxgl47r695bvsb7wi3n2ws5rp1zzgvw0zii8cy5ggw4b4ayv6m"))))
4116 (build-system asdf-build-system/sbcl)
4117 (native-inputs
4118 `(("stefil" ,sbcl-hu.dwim.stefil)))
4119 (inputs
4120 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4121 (home-page "https://shinmera.github.io/trivial-mimes/")
4122 (synopsis "Tiny Common Lisp library to detect mime types in files")
4123 (description
4124 "This is a teensy library that provides some functions to determine the
4125 mime-type of a file.")
4126 (license license:artistic2.0))))
4127
4128 (define-public cl-trivial-mimes
4129 (sbcl-package->cl-source-package sbcl-trivial-mimes))
4130
4131 (define-public ecl-trivial-mimes
4132 (sbcl-package->ecl-package sbcl-trivial-mimes))
4133
4134 (define-public sbcl-ningle
4135 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
4136 (revision "1"))
4137 (package
4138 (name "sbcl-ningle")
4139 (version (git-version "0.3.0" revision commit))
4140 (source
4141 (origin
4142 (method git-fetch)
4143 (uri (git-reference
4144 (url "https://github.com/fukamachi/ningle")
4145 (commit commit)))
4146 (file-name (git-file-name name version))
4147 (sha256
4148 (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
4149 (build-system asdf-build-system/sbcl)
4150 (arguments
4151 ;; TODO: pull in clack-test
4152 '(#:tests? #f
4153 #:phases
4154 (modify-phases %standard-phases
4155 (delete 'cleanup-files)
4156 (delete 'cleanup)
4157 (add-before 'cleanup 'combine-fasls
4158 (lambda* (#:key outputs #:allow-other-keys)
4159 (let* ((out (assoc-ref outputs "out"))
4160 (lib (string-append out "/lib/sbcl"))
4161 (ningle-path (string-append lib "/ningle"))
4162 (fasl-files (find-files out "\\.fasl$")))
4163 (mkdir-p ningle-path)
4164 (let ((fasl-path (lambda (name)
4165 (string-append ningle-path
4166 "/"
4167 (basename name)
4168 "--system.fasl"))))
4169 (for-each (lambda (file)
4170 (rename-file file
4171 (fasl-path
4172 (basename file ".fasl"))))
4173 fasl-files))
4174 fasl-files)
4175 #t)))))
4176 (native-inputs
4177 `(("sbcl-prove" ,sbcl-prove)))
4178 (inputs
4179 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4180 ("sbcl-myway" ,sbcl-myway)
4181 ("sbcl-lack" ,sbcl-lack)
4182 ("sbcl-alexandria" ,sbcl-alexandria)
4183 ("sbcl-babel" ,sbcl-babel)))
4184 (home-page "https://8arrow.org/ningle/")
4185 (synopsis "Super micro framework for Common Lisp")
4186 (description
4187 "Ningle is a lightweight web application framework for Common Lisp.")
4188 (license license:llgpl))))
4189
4190 (define-public cl-ningle
4191 (sbcl-package->cl-source-package sbcl-ningle))
4192
4193 (define-public ecl-ningle
4194 (sbcl-package->ecl-package sbcl-ningle))
4195
4196 (define-public sbcl-cl-fastcgi
4197 (let ((commit "d576d20eeb12f225201074b28934ba395b15781a")
4198 (revision "1"))
4199 (package
4200 (name "sbcl-cl-fastcgi")
4201 (version (git-version "0.2" revision commit))
4202 (source
4203 (origin
4204 (method git-fetch)
4205 (uri (git-reference
4206 (url "https://github.com/KDr2/cl-fastcgi/")
4207 (commit commit)))
4208 (file-name (git-file-name name version))
4209 (sha256
4210 (base32 "02mvzzyn0k960s38rbxaqqmdkwcfmyhf8dx6ynz8xyxflmp0s5zv"))))
4211 (build-system asdf-build-system/sbcl)
4212 (inputs
4213 `(("usocket" ,sbcl-usocket)
4214 ("cffi" ,sbcl-cffi)
4215 ("fcgi" ,fcgi)))
4216 (arguments
4217 `(#:phases
4218 (modify-phases %standard-phases
4219 (add-after 'unpack 'fix-paths
4220 (lambda* (#:key inputs #:allow-other-keys)
4221 (substitute* "cl-fastcgi.lisp"
4222 (("\"libfcgi.so\"")
4223 (string-append
4224 "\""
4225 (assoc-ref inputs "fcgi") "/lib/libfcgi.so\""))))))))
4226 (home-page "https://kdr2.com/project/cl-fastcgi.html")
4227 (synopsis "FastCGI wrapper for Common Lisp")
4228 (description
4229 "CL-FastCGI is a generic version of SB-FastCGI, targeting to run on
4230 mostly Common Lisp implementation.")
4231 ;; TODO: Upstream on specifies "BSD license":
4232 ;; https://github.com/KDr2/cl-fastcgi/issues/4
4233 (license license:bsd-2))))
4234
4235 (define-public cl-fastcgi
4236 (sbcl-package->cl-source-package sbcl-cl-fastcgi))
4237
4238 (define-public ecl-cl-fastcgi
4239 (sbcl-package->ecl-package sbcl-cl-fastcgi))
4240
4241 (define-public sbcl-clack
4242 (let ((commit "e3e032843bb1220ab96263c411aa7f2feb4746e0")
4243 (revision "1"))
4244 (package
4245 (name "sbcl-clack")
4246 (version (git-version "2.0.0" revision commit))
4247 (source
4248 (origin
4249 (method git-fetch)
4250 (uri (git-reference
4251 (url "https://github.com/fukamachi/clack")
4252 (commit commit)))
4253 (file-name (git-file-name name version))
4254 (sha256
4255 (base32 "1ymzs6qyrwhlj6cgqsnpyn6g5cbp7a3s1vgxwna20y2q7y4iacy0"))))
4256 (build-system asdf-build-system/sbcl)
4257 (inputs
4258 `(("alexandria" ,sbcl-alexandria)
4259 ("bordeaux-threads" ,sbcl-bordeaux-threads)
4260 ("cl-fastcgi" ,sbcl-cl-fastcgi)
4261 ("flexi-streams" ,sbcl-flexi-streams)
4262 ("hunchentoot" ,sbcl-hunchentoot)
4263 ("lack" ,sbcl-lack)
4264 ("split-sequence" ,sbcl-split-sequence)
4265 ("usocket" ,sbcl-usocket)
4266 ("quri" ,sbcl-quri)))
4267 (arguments
4268 '(#:asd-systems '("clack"
4269 "clack-handler-fcgi"
4270 "clack-socket"
4271 "clack-handler-hunchentoot")))
4272 (home-page "https://github.com/fukamachi/clack")
4273 (synopsis "Web Application Environment for Common Lisp")
4274 (description
4275 "Clack is a web application environment for Common Lisp inspired by
4276 Python's WSGI and Ruby's Rack.")
4277 (license license:llgpl))))
4278
4279 (define-public cl-clack
4280 (sbcl-package->cl-source-package sbcl-clack))
4281
4282 (define-public ecl-clack
4283 (sbcl-package->ecl-package sbcl-clack))
4284
4285 (define-public sbcl-log4cl
4286 (let ((commit "611e094458504b938d49de904eab141285328c7c")
4287 (revision "1"))
4288 (package
4289 (name "sbcl-log4cl")
4290 (build-system asdf-build-system/sbcl)
4291 (version "1.1.2")
4292 (source
4293 (origin
4294 (method git-fetch)
4295 (uri (git-reference
4296 (url "https://github.com/sharplispers/log4cl")
4297 (commit commit)))
4298 (file-name (git-file-name name version))
4299 (sha256
4300 (base32
4301 "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
4302 ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
4303 (arguments
4304 `(#:tests? #f))
4305 (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
4306 (synopsis "Common Lisp logging framework, modeled after Log4J")
4307 (home-page "https://github.com/7max/log4cl")
4308 (description "This is a Common Lisp logging framework that can log at
4309 various levels and mix text with expressions.")
4310 (license license:asl2.0))))
4311
4312 (define-public cl-log4cl
4313 (sbcl-package->cl-source-package sbcl-log4cl))
4314
4315 (define-public ecl-log4cl
4316 (sbcl-package->ecl-package sbcl-log4cl))
4317
4318 (define-public sbcl-find-port
4319 (let ((commit "00c96a25af93a0f8681d34ec548861f2d7485478")
4320 (revision "1"))
4321 (package
4322 (name "sbcl-find-port")
4323 (build-system asdf-build-system/sbcl)
4324 (version "0.1")
4325 (home-page "https://github.com/eudoxia0/find-port")
4326 (source
4327 (origin
4328 (method git-fetch)
4329 (uri (git-reference
4330 (url home-page)
4331 (commit commit)))
4332 (file-name (git-file-name name version))
4333 (sha256
4334 (base32
4335 "0d6dzbb45jh0rx90wgs6v020k2xa87mvzas3mvfzvivjvqqlpryq"))))
4336 (native-inputs
4337 `(("fiveam" ,sbcl-fiveam)))
4338 (inputs
4339 `(("sbcl-usocket" ,sbcl-usocket)))
4340 (synopsis "Find open ports programmatically in Common Lisp")
4341 (description "This is a small Common Lisp library that finds an open
4342 port within a range.")
4343 (license license:expat))))
4344
4345 (define-public cl-find-port
4346 (sbcl-package->cl-source-package sbcl-find-port))
4347
4348 (define-public ecl-find-port
4349 (sbcl-package->ecl-package sbcl-find-port))
4350
4351 (define-public sbcl-clunit
4352 (let ((commit "6f6d72873f0e1207f037470105969384f8380628")
4353 (revision "1"))
4354 (package
4355 (name "sbcl-clunit")
4356 (version (git-version "0.2.3" revision commit))
4357 (source
4358 (origin
4359 (method git-fetch)
4360 (uri (git-reference
4361 (url "https://github.com/tgutu/clunit")
4362 (commit commit)))
4363 (file-name (git-file-name name version))
4364 (sha256
4365 (base32
4366 "1idf2xnqzlhi8rbrqmzpmb3i1l6pbdzhhajkmhwbp6qjkmxa4h85"))))
4367 (build-system asdf-build-system/sbcl)
4368 (synopsis "CLUnit is a Common Lisp unit testing framework")
4369 (description
4370 "CLUnit is a Common Lisp unit testing framework. It is designed
4371 to be easy to use so that you can quickly start testing. CLUnit
4372 provides a rich set of features aimed at improving your unit testing
4373 experience.")
4374 (home-page "https://tgutu.github.io/clunit/")
4375 ;; MIT License
4376 (license license:expat))))
4377
4378 (define-public cl-clunit
4379 (sbcl-package->cl-source-package sbcl-clunit))
4380
4381 (define-public ecl-clunit
4382 (sbcl-package->ecl-package sbcl-clunit))
4383
4384 (define-public sbcl-py4cl
4385 (let ((commit "4c8a2b0814fd311f978964f825ce012290f60136")
4386 (revision "1"))
4387 (package
4388 (name "sbcl-py4cl")
4389 (version (git-version "0.0.0" revision commit))
4390 (source
4391 (origin
4392 (method git-fetch)
4393 (uri (git-reference
4394 (url "https://github.com/bendudson/py4cl")
4395 (commit commit)))
4396 (file-name (git-file-name name version))
4397 (sha256
4398 (base32
4399 "15mk7qdqjkj56gdnbyrdyz6r7m1h26ldvn6ch96pmvg5vmr1m45r"))
4400 (modules '((guix build utils)))))
4401 (build-system asdf-build-system/sbcl)
4402 (native-inputs
4403 `(("sbcl-clunit" ,sbcl-clunit)))
4404 (inputs
4405 `(("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
4406 (propagated-inputs
4407 ;; This package doesn't do anything without python available
4408 `(("python" ,python)
4409 ;; For multi-dimensional array support
4410 ("python-numpy" ,python-numpy)))
4411 (arguments
4412 '(#:phases
4413 (modify-phases %standard-phases
4414 (add-after 'unpack 'replace-*base-directory*-var
4415 (lambda* (#:key outputs #:allow-other-keys)
4416 ;; In the ASD, the author makes an attempt to
4417 ;; programatically determine the location of the
4418 ;; source-code so lisp can call into "py4cl.py". We can
4419 ;; hard-code this since we know where this file will
4420 ;; reside.
4421 (substitute* "src/callpython.lisp"
4422 (("py4cl/config:\\*base-directory\\*")
4423 (string-append
4424 "\""
4425 (assoc-ref outputs "out")
4426 "/share/common-lisp/sbcl-source/py4cl/"
4427 "\""))))))))
4428 (synopsis "Call python from Common Lisp")
4429 (description
4430 "Py4CL is a bridge between Common Lisp and Python, which enables Common
4431 Lisp to interact with Python code. It uses streams to communicate with a
4432 separate python process, the approach taken by cl4py. This is different to
4433 the CFFI approach used by burgled-batteries, but has the same goal.")
4434 (home-page "https://github.com/bendudson/py4cl")
4435 ;; MIT License
4436 (license license:expat))))
4437
4438 (define-public cl-py4cl
4439 (sbcl-package->cl-source-package sbcl-py4cl))
4440
4441 (define-public ecl-py4cl
4442 (sbcl-package->ecl-package sbcl-py4cl))
4443
4444 (define-public sbcl-parse-declarations
4445 (let ((commit "549aebbfb9403a7fe948654126b9c814f443f4f2")
4446 (revision "1"))
4447 (package
4448 (name "sbcl-parse-declarations")
4449 (version (git-version "1.0.0" revision commit))
4450 (source
4451 (origin
4452 (method git-fetch)
4453 (uri (git-reference
4454 (url (string-append
4455 "https://gitlab.common-lisp.net/parse-declarations/"
4456 "parse-declarations.git"))
4457 (commit commit)))
4458 (file-name (git-file-name name version))
4459 (sha256
4460 (base32 "03g5qks4c59nmxa48pbslxkfh77h8hn8566jddp6m9pl15dzzpxd"))))
4461 (build-system asdf-build-system/sbcl)
4462 (arguments
4463 `(#:asd-systems '("parse-declarations-1.0")))
4464 (home-page "https://common-lisp.net/project/parse-declarations/")
4465 (synopsis "Parse, filter, and build declarations")
4466 (description
4467 "Parse-Declarations is a Common Lisp library to help writing
4468 macros which establish bindings. To be semantically correct, such
4469 macros must take user declarations into account, as these may affect
4470 the bindings they establish. Yet the ANSI standard of Common Lisp does
4471 not provide any operators to work with declarations in a convenient,
4472 high-level way. This library provides such operators.")
4473 ;; MIT License
4474 (license license:expat))))
4475
4476 (define-public cl-parse-declarations
4477 (sbcl-package->cl-source-package sbcl-parse-declarations))
4478
4479 (define-public ecl-parse-declarations
4480 (sbcl-package->ecl-package sbcl-parse-declarations))
4481
4482 (define-public sbcl-cl-quickcheck
4483 (let ((commit "807b2792a30c883a2fbecea8e7db355b50ba662f")
4484 (revision "1"))
4485 (package
4486 (name "sbcl-cl-quickcheck")
4487 (version (git-version "0.0.4" revision commit))
4488 (source
4489 (origin
4490 (method git-fetch)
4491 (uri (git-reference
4492 (url "https://github.com/mcandre/cl-quickcheck")
4493 (commit commit)))
4494 (file-name (git-file-name name version))
4495 (sha256
4496 (base32
4497 "165lhypq5xkcys6hvzb3jq7ywnmqvzaflda29qk2cbs3ggas4767"))))
4498 (build-system asdf-build-system/sbcl)
4499 (synopsis
4500 "Common Lisp port of the QuickCheck unit test framework")
4501 (description
4502 "Common Lisp port of the QuickCheck unit test framework")
4503 (home-page "https://github.com/mcandre/cl-quickcheck")
4504 ;; MIT
4505 (license license:expat))))
4506
4507 (define-public cl-quickcheck
4508 (sbcl-package->cl-source-package sbcl-cl-quickcheck))
4509
4510 (define-public ecl-cl-quickcheck
4511 (sbcl-package->ecl-package sbcl-cl-quickcheck))
4512
4513 (define-public sbcl-burgled-batteries3
4514 (let ((commit "f65f454d13bb6c40e17e9ec62e41eb5069e09760")
4515 (revision "2"))
4516 (package
4517 (name "sbcl-burgled-batteries3")
4518 (version (git-version "0.0.0" revision commit))
4519 (source
4520 (origin
4521 (method git-fetch)
4522 (uri (git-reference
4523 (url "https://github.com/snmsts/burgled-batteries3")
4524 (commit commit)))
4525 (file-name (git-file-name name version))
4526 (sha256
4527 (base32
4528 "1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))))
4529 (build-system asdf-build-system/sbcl)
4530 (arguments
4531 `(#:tests? #f
4532 #:modules (((guix build python-build-system) #:select (python-version))
4533 ,@%asdf-build-system-modules)
4534 #:imported-modules ((guix build python-build-system)
4535 ,@%asdf-build-system-modules)
4536 #:phases
4537 (modify-phases (@ (guix build asdf-build-system) %standard-phases)
4538 (add-after 'unpack 'set-*cpython-include-dir*-var
4539 (lambda* (#:key inputs #:allow-other-keys)
4540 (let ((python (assoc-ref inputs "python")))
4541 (setenv "BB_PYTHON3_INCLUDE_DIR"
4542 (string-append python "/include/python"
4543 (python-version python)))
4544 (setenv "BB_PYTHON3_DYLIB"
4545 (string-append python "/lib/libpython3.so"))
4546 #t)))
4547 (add-after 'unpack 'adjust-for-python-3.8
4548 (lambda _
4549 ;; This method is no longer part of the public API.
4550 (substitute* "ffi-interface.lisp"
4551 ((".*PyEval_ReInitThreads.*")
4552 ""))
4553 #t)))))
4554 (native-inputs
4555 `(("sbcl-cl-fad" ,sbcl-cl-fad)
4556 ("sbcl-lift" ,sbcl-lift)
4557 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
4558 (inputs
4559 `(("python" ,python)
4560 ("sbcl-cffi" ,sbcl-cffi)
4561 ("sbcl-alexandria" , sbcl-alexandria)
4562 ("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
4563 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
4564 (synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
4565 (description
4566 "This package provides a shim between Python3 (specifically, the
4567 CPython implementation of Python) and Common Lisp.")
4568 (home-page "https://github.com/snmsts/burgled-batteries3")
4569 (license license:expat))))
4570
4571 (define-public cl-burgled-batteries3
4572 (sbcl-package->cl-source-package sbcl-burgled-batteries3))
4573
4574 (define-public ecl-burgled-batteries3
4575 (sbcl-package->ecl-package sbcl-burgled-batteries3))
4576
4577 (define-public sbcl-metabang-bind
4578 (let ((commit "c93b7f7e1c18c954c2283efd6a7fdab36746ab5e")
4579 (revision "1"))
4580 (package
4581 (name "sbcl-metabang-bind")
4582 (version (git-version "0.8.0" revision commit))
4583 (source
4584 (origin
4585 (method git-fetch)
4586 (uri (git-reference
4587 (url "https://github.com/gwkkwg/metabang-bind")
4588 (commit commit)))
4589 (file-name (git-file-name name version))
4590 (sha256
4591 (base32
4592 "0hd0kr91795v77akpbcyqiss9p0p7ypa9dznrllincnmgvsxlmf0"))))
4593 (build-system asdf-build-system/sbcl)
4594 (native-inputs
4595 `(("sbcl-lift" ,sbcl-lift)))
4596 (synopsis "Macro that generalizes @code{multiple-value-bind} etc.")
4597 (description
4598 "Bind extends the idea of of let and destructing to provide a uniform
4599 syntax for all your accessor needs. It combines @code{let},
4600 @code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
4601 editing, property or association-lists, and @code{multiple-value-bind} and a
4602 whole lot more into a single form.")
4603 (home-page "https://common-lisp.net/project/metabang-bind/")
4604 ;; MIT License
4605 (license license:expat))))
4606
4607 (define-public cl-metabang-bind
4608 (sbcl-package->cl-source-package sbcl-metabang-bind))
4609
4610 (define-public ecl-metabang-bind
4611 (sbcl-package->ecl-package sbcl-metabang-bind))
4612
4613 (define-public sbcl-fare-utils
4614 (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
4615 (revision "1"))
4616 (package
4617 (name "sbcl-fare-utils")
4618 (version (git-version "1.0.0.5" revision commit))
4619 (source
4620 (origin
4621 (method git-fetch)
4622 (uri
4623 (git-reference
4624 (url
4625 "https://gitlab.common-lisp.net/frideau/fare-utils.git")
4626 (commit commit)))
4627 (file-name (git-file-name name version))
4628 (sha256
4629 (base32
4630 "01wsr1aap3jdzhn4hrqjbhsjx6qci9dbd3gh4gayv1p49rbg8aqr"))))
4631 (build-system asdf-build-system/sbcl)
4632 (arguments
4633 `(#:test-asd-file "test/fare-utils-test.asd"))
4634 (native-inputs
4635 `(("sbcl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
4636 (synopsis "Collection of utilities and data structures")
4637 (description
4638 "fare-utils is a small collection of utilities. It contains a lot of
4639 basic everyday functions and macros.")
4640 (home-page "https://gitlab.common-lisp.net/frideau/fare-utils")
4641 ;; MIT License
4642 (license license:expat))))
4643
4644 (define-public cl-fare-utils
4645 (sbcl-package->cl-source-package sbcl-fare-utils))
4646
4647 (define-public ecl-fare-utils
4648 (sbcl-package->ecl-package sbcl-fare-utils))
4649
4650 (define-public sbcl-trivial-utf-8
4651 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f")
4652 (revision "1"))
4653 (package
4654 (name "sbcl-trivial-utf-8")
4655 (version (git-version "0.0.0" revision commit))
4656 (source
4657 (origin
4658 (method git-fetch)
4659 (uri
4660 (git-reference
4661 (url (string-append "https://gitlab.common-lisp.net/"
4662 "trivial-utf-8/trivial-utf-8.git"))
4663 (commit commit)))
4664 (file-name (git-file-name name version))
4665 (sha256
4666 (base32
4667 "1jz27gz8gvqdmvp3k9bxschs6d5b3qgk94qp2bj6nv1d0jc3m1l1"))))
4668 (arguments
4669 ;; Guix incorrectly assumes the "8" is part of the version
4670 ;; number and lobs it off.
4671 `(#:asd-systems '("trivial-utf-8")))
4672 (build-system asdf-build-system/sbcl)
4673 (synopsis "UTF-8 input/output library")
4674 (description
4675 "The Babel library solves a similar problem while understanding more
4676 encodings. Trivial UTF-8 was written before Babel existed, but for new
4677 projects you might be better off going with Babel. The one plus that Trivial
4678 UTF-8 has is that it doesn't depend on any other libraries.")
4679 (home-page "https://common-lisp.net/project/trivial-utf-8/")
4680 (license license:bsd-3))))
4681
4682 (define-public cl-trivial-utf-8
4683 (sbcl-package->cl-source-package sbcl-trivial-utf-8))
4684
4685 (define-public ecl-trivial-utf-8
4686 (sbcl-package->ecl-package sbcl-trivial-utf-8))
4687
4688 (define-public sbcl-idna
4689 (package
4690 (name "sbcl-idna")
4691 (build-system asdf-build-system/sbcl)
4692 (version "0.2.2")
4693 (home-page "https://github.com/antifuchs/idna")
4694 (source
4695 (origin
4696 (method git-fetch)
4697 (uri (git-reference
4698 (url home-page)
4699 (commit version)))
4700 (file-name (git-file-name name version))
4701 (sha256
4702 (base32
4703 "00nbr3mffxhlq14gg9d16pa6691s4qh35inyw76v906s77khm5a2"))))
4704 (inputs
4705 `(("split-sequence" ,sbcl-split-sequence)))
4706 (synopsis "IDNA string encoding and decoding routines for Common Lisp")
4707 (description "This Common Lisp library provides string encoding and
4708 decoding routines for IDNA, the International Domain Names in Applications.")
4709 (license license:expat)))
4710
4711 (define-public cl-idna
4712 (sbcl-package->cl-source-package sbcl-idna))
4713
4714 (define-public ecl-idna
4715 (sbcl-package->ecl-package sbcl-idna))
4716
4717 (define-public sbcl-swap-bytes
4718 (package
4719 (name "sbcl-swap-bytes")
4720 (build-system asdf-build-system/sbcl)
4721 (version "1.2")
4722 (home-page "https://github.com/sionescu/swap-bytes")
4723 (source
4724 (origin
4725 (method git-fetch)
4726 (uri (git-reference
4727 (url home-page)
4728 (commit (string-append "v" version))))
4729 (file-name (git-file-name name version))
4730 (sha256
4731 (base32
4732 "1hw1v1lw26rifyznpnj1csphha9jgzwpiic16ni3pvs6hcsni9rz"))))
4733 (inputs
4734 `(("trivial-features" ,sbcl-trivial-features)))
4735 (native-inputs
4736 `(("fiveam" ,sbcl-fiveam)))
4737 (synopsis "Efficient endianness conversion for Common Lisp")
4738 (description "This Common Lisp library provides optimized byte-swapping
4739 primitives. The library can change endianness of unsigned integers of length
4740 1/2/4/8. Very useful in implementing various network protocols and file
4741 formats.")
4742 (license license:expat)))
4743
4744 (define-public cl-swap-bytes
4745 (sbcl-package->cl-source-package sbcl-swap-bytes))
4746
4747 (define-public ecl-swap-bytes
4748 (sbcl-package->ecl-package sbcl-swap-bytes))
4749
4750 (define-public sbcl-iolib
4751 ;; Latest release is from June 2017.
4752 (let ((commit "7f5ea3a8457a29d224b24653c2b3657fb1898021")
4753 (revision "2"))
4754 (package
4755 (name "sbcl-iolib")
4756 (version (git-version "0.8.3" revision commit))
4757 (home-page "https://github.com/sionescu/iolib")
4758 (source
4759 (origin
4760 (method git-fetch)
4761 (uri (git-reference
4762 (url home-page)
4763 (commit commit)))
4764 (file-name (git-file-name name version))
4765 (sha256
4766 (base32
4767 "1bg5w7lm61hqk4b0svmri8a590q36z76jfa0sdgzb39r98c04w12"))))
4768 (build-system asdf-build-system/sbcl)
4769 (inputs
4770 `(("alexandria" ,sbcl-alexandria)
4771 ("bordeaux-threads" ,sbcl-bordeaux-threads)
4772 ("cffi" ,sbcl-cffi)
4773 ("idna" ,sbcl-idna)
4774 ("libfixposix" ,libfixposix)
4775 ("split-sequence" ,sbcl-split-sequence)
4776 ("swap-bytes" ,sbcl-swap-bytes)))
4777 (arguments
4778 '(#:asd-files '("iolib.asdf.asd"
4779 "iolib.conf.asd"
4780 "iolib.common-lisp.asd"
4781 "iolib.base.asd"
4782 "iolib.asd")
4783 #:phases
4784 (modify-phases %standard-phases
4785 (add-after 'unpack 'fix-paths
4786 (lambda* (#:key inputs #:allow-other-keys)
4787 (substitute* "src/syscalls/ffi-functions-unix.lisp"
4788 (("\\(:default \"libfixposix\"\\)")
4789 (string-append
4790 "(:default \""
4791 (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
4792 ;; Socket tests need Internet access, disable them.
4793 (substitute* "iolib.asd"
4794 (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
4795 "")))))))
4796 (synopsis "Common Lisp I/O library")
4797 (description "IOlib is to be a better and more modern I/O library than
4798 the standard Common Lisp library. It contains a socket library, a DNS
4799 resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
4800 and @code{kqueue(2)}), a pathname library and file-system utilities.")
4801 (license license:expat))))
4802
4803 (define-public cl-iolib
4804 (let ((parent (sbcl-package->cl-source-package sbcl-iolib)))
4805 (package
4806 (inherit parent)
4807 (propagated-inputs
4808 ;; Need header to compile.
4809 `(("libfixposix" ,libfixposix)
4810 ,@(package-propagated-inputs parent))))))
4811
4812 (define-public ecl-iolib
4813 (sbcl-package->ecl-package sbcl-iolib))
4814
4815 (define-public sbcl-ieee-floats
4816 (let ((commit "566b51a005e81ff618554b9b2f0b795d3b29398d")
4817 (revision "1"))
4818 (package
4819 (name "sbcl-ieee-floats")
4820 (build-system asdf-build-system/sbcl)
4821 (version (git-version "20170924" revision commit))
4822 (home-page "https://github.com/marijnh/ieee-floats/")
4823 (source
4824 (origin
4825 (method git-fetch)
4826 (uri (git-reference
4827 (url home-page)
4828 (commit commit)))
4829 (file-name (git-file-name name version))
4830 (sha256
4831 (base32
4832 "1xyj49j9x3lc84cv3dhbf9ja34ywjk1c46dklx425fxw9mkwm83m"))))
4833 (native-inputs
4834 `(("fiveam" ,sbcl-fiveam)))
4835 (synopsis "IEEE 754 binary representation for floats in Common Lisp")
4836 (description "This is a Common Lisp library that converts
4837 floating point values to IEEE 754 binary representation.")
4838 (license license:bsd-3))))
4839
4840 (define-public cl-ieee-floats
4841 (sbcl-package->cl-source-package sbcl-ieee-floats))
4842
4843 (define-public ecl-ieee-floats
4844 (sbcl-package->ecl-package sbcl-ieee-floats))
4845
4846 (define sbcl-closure-common
4847 (let ((commit "e3c5f5f454b72b01b89115e581c3c52a7e201e5c")
4848 (revision "1"))
4849 (package
4850 (name "sbcl-closure-common")
4851 (build-system asdf-build-system/sbcl)
4852 (version (git-version "20101006" revision commit))
4853 (home-page "https://common-lisp.net/project/cxml/")
4854 (source
4855 (origin
4856 (method git-fetch)
4857 (uri (git-reference
4858 (url "https://github.com/sharplispers/closure-common")
4859 (commit commit)))
4860 (file-name (git-file-name name version))
4861 (sha256
4862 (base32
4863 "0k5r2qxn122pxi301ijir3nayi9sg4d7yiy276l36qmzwhp4mg5n"))))
4864 (inputs
4865 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
4866 ("babel" ,sbcl-babel)))
4867 (synopsis "Support Common Lisp library for CXML")
4868 (description "Closure-common is an internal helper library. The name
4869 Closure is a reference to the web browser it was originally written for.")
4870 ;; TODO: License?
4871 (license #f))))
4872
4873 (define-public sbcl-cxml
4874 (let ((commit "00b22bf4c4cf11c993d5866fae284f95ab18e6bf")
4875 (revision "1"))
4876 (package
4877 (name "sbcl-cxml")
4878 (version (git-version "0.0.0" revision commit))
4879 (source
4880 (origin
4881 (method git-fetch)
4882 (uri (git-reference
4883 (url "https://github.com/sharplispers/cxml")
4884 (commit commit)))
4885 (file-name (git-file-name name version))
4886 (sha256
4887 (base32
4888 "13kif7rf3gqdycsk9zq0d7y0g9y81krkl0z87k0p2fkbjfgrph37"))))
4889 (build-system asdf-build-system/sbcl)
4890 (inputs
4891 `(("closure-common" ,sbcl-closure-common)
4892 ("puri" ,sbcl-puri)
4893 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
4894 (synopsis "Common Lisp XML parser")
4895 (description "CXML implements a namespace-aware, validating XML 1.0
4896 parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are
4897 offered, one SAX-like, the other similar to StAX.")
4898 (home-page "https://common-lisp.net/project/cxml/")
4899 (license license:llgpl))))
4900
4901 (define-public cl-cxml
4902 (sbcl-package->cl-source-package sbcl-cxml))
4903
4904 (define-public ecl-cxml
4905 (sbcl-package->ecl-package sbcl-cxml))
4906
4907 (define-public sbcl-cl-reexport
4908 (let ((commit "312f3661bbe187b5f28536cd7ec2956e91366c3b")
4909 (revision "1"))
4910 (package
4911 (name "sbcl-cl-reexport")
4912 (build-system asdf-build-system/sbcl)
4913 (version (git-version "0.1" revision commit))
4914 (home-page "https://github.com/takagi/cl-reexport")
4915 (source
4916 (origin
4917 (method git-fetch)
4918 (uri (git-reference
4919 (url home-page)
4920 (commit commit)))
4921 (file-name (git-file-name name version))
4922 (sha256
4923 (base32
4924 "1cwpn1m3wrl0fl9plznn7p464db646gnfc8zkyk97dyxski2aq0x"))))
4925 (inputs
4926 `(("alexandria" ,sbcl-alexandria)))
4927 (arguments
4928 ;; TODO: Tests fail because cl-test-more is missing, but I can't find it online.
4929 `(#:tests? #f))
4930 (synopsis "HTTP cookie manager for Common Lisp")
4931 (description "cl-cookie is a Common Lisp library featuring parsing of
4932 cookie headers, cookie creation, cookie jar creation and more.")
4933 (license license:llgpl))))
4934
4935 (define-public cl-reexport
4936 (sbcl-package->cl-source-package sbcl-cl-reexport))
4937
4938 (define-public ecl-cl-reexport
4939 (sbcl-package->ecl-package sbcl-cl-reexport))
4940
4941 (define-public sbcl-cl-cookie
4942 (let ((commit "cea55aed8b9ad25fafd13defbcb9fe8f41b29546")
4943 (revision "1"))
4944 (package
4945 (name "sbcl-cl-cookie")
4946 (build-system asdf-build-system/sbcl)
4947 (version (git-version "0.9.10" revision commit))
4948 (home-page "https://github.com/fukamachi/cl-cookie")
4949 (source
4950 (origin
4951 (method git-fetch)
4952 (uri (git-reference
4953 (url home-page)
4954 (commit commit)))
4955 (file-name (git-file-name name version))
4956 (sha256
4957 (base32
4958 "090g7z75h98zvc1ldx0vh4jn4086dhjm2w30jcwkq553qmyxwl8h"))))
4959 (inputs
4960 `(("proc-parse" ,sbcl-proc-parse)
4961 ("alexandria" ,sbcl-alexandria)
4962 ("quri" ,sbcl-quri)
4963 ("cl-ppcre" ,sbcl-cl-ppcre)
4964 ("local-time" ,sbcl-local-time)))
4965 (native-inputs
4966 `(("prove" ,sbcl-prove)))
4967 (arguments
4968 ;; TODO: Tests fail because cl-cookie depends on cl-cookie-test.
4969 `(#:tests? #f))
4970 (synopsis "HTTP cookie manager for Common Lisp")
4971 (description "cl-cookie is a Common Lisp library featuring parsing of
4972 cookie headers, cookie creation, cookie jar creation and more.")
4973 (license license:bsd-2))))
4974
4975 (define-public cl-cookie
4976 (sbcl-package->cl-source-package sbcl-cl-cookie))
4977
4978 (define-public ecl-cl-cookie
4979 (sbcl-package->ecl-package sbcl-cl-cookie))
4980
4981 (define-public sbcl-dexador
4982 (let ((commit "953090f04c4d1a9ee6632b90133cdc297b68badc")
4983 (revision "1"))
4984 (package
4985 (name "sbcl-dexador")
4986 (build-system asdf-build-system/sbcl)
4987 (version "0.9.14" )
4988 (home-page "https://github.com/fukamachi/dexador")
4989 (source
4990 (origin
4991 (method git-fetch)
4992 (uri (git-reference
4993 (url home-page)
4994 (commit commit)))
4995 (file-name (git-file-name name version))
4996 (sha256
4997 (base32
4998 "0w18fz3301rpmwc3kwb810czcd24mbf7r1z8vdyc0v5crjfpw3mn"))))
4999 (inputs
5000 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5001 ("babel" ,sbcl-babel)
5002 ("usocket" ,sbcl-usocket)
5003 ("fast-http" ,sbcl-fast-http)
5004 ("quri" ,sbcl-quri)
5005 ("fast-io" ,sbcl-fast-io)
5006 ("chunga" ,sbcl-chunga)
5007 ("cl-ppcre" ,sbcl-cl-ppcre)
5008 ("cl-cookie" ,sbcl-cl-cookie)
5009 ("trivial-mimes" ,sbcl-trivial-mimes)
5010 ("chipz" ,sbcl-chipz)
5011 ("cl-base64" ,sbcl-cl-base64)
5012 ("cl-reexport" ,sbcl-cl-reexport)
5013 ("cl+ssl" ,sbcl-cl+ssl)
5014 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5015 ("alexandria" ,sbcl-alexandria)))
5016 (native-inputs
5017 `(("prove" ,sbcl-prove)
5018 ("lack" ,sbcl-lack)
5019 ("clack" ,sbcl-clack)
5020 ("babel" ,sbcl-babel)
5021 ("alexandria" ,sbcl-alexandria)
5022 ("cl-ppcre" ,sbcl-cl-ppcre)
5023 ("local-time" ,sbcl-local-time)
5024 ("trivial-features" ,sbcl-trivial-features)))
5025 (arguments
5026 ;; TODO: Circular dependency: tests depend on clack-test which depends on dexador.
5027 `(#:tests? #f
5028 #:phases
5029 (modify-phases %standard-phases
5030 (add-after 'unpack 'fix-permissions
5031 (lambda _ (make-file-writable "t/data/test.gz") #t)))))
5032 (synopsis "Yet another HTTP client for Common Lisp")
5033 (description "Dexador is yet another HTTP client for Common Lisp with
5034 neat APIs and connection-pooling. It is meant to supersede Drakma.")
5035 (license license:expat))))
5036
5037 (define-public cl-dexador
5038 (package
5039 (inherit (sbcl-package->cl-source-package sbcl-dexador))
5040 (arguments
5041 `(#:phases
5042 ;; asdf-build-system/source has its own phases and does not inherit
5043 ;; from asdf-build-system/sbcl phases.
5044 (modify-phases %standard-phases/source
5045 ;; Already done in SBCL package.
5046 (delete 'reset-gzip-timestamps))))))
5047
5048 (define-public ecl-dexador
5049 (sbcl-package->ecl-package sbcl-dexador))
5050
5051 (define-public sbcl-lisp-namespace
5052 (let ((commit "28107cafe34e4c1c67490fde60c7f92dc610b2e0")
5053 (revision "1"))
5054 (package
5055 (name "sbcl-lisp-namespace")
5056 (build-system asdf-build-system/sbcl)
5057 (version (git-version "0.1" revision commit))
5058 (home-page "https://github.com/guicho271828/lisp-namespace")
5059 (source
5060 (origin
5061 (method git-fetch)
5062 (uri (git-reference
5063 (url home-page)
5064 (commit commit)))
5065 (file-name (git-file-name name version))
5066 (sha256
5067 (base32
5068 "1jw2wykp06z2afb9nm1lgfzll5cjlj36pnknjx614057zkkxq4iy"))))
5069 (inputs
5070 `(("alexandria" ,sbcl-alexandria)))
5071 (native-inputs
5072 `(("fiveam" ,sbcl-fiveam)))
5073 (arguments
5074 `(#:test-asd-file "lisp-namespace.test.asd"
5075 ;; XXX: Component LISP-NAMESPACE-ASD::LISP-NAMESPACE.TEST not found
5076 #:tests? #f))
5077 (synopsis "LISP-N, or extensible namespaces in Common Lisp")
5078 (description "Common Lisp already has major 2 namespaces, function
5079 namespace and value namespace (or variable namespace), but there are actually
5080 more — e.g., class namespace.
5081 This library offers macros to deal with symbols from any namespace.")
5082 (license license:llgpl))))
5083
5084 (define-public cl-lisp-namespace
5085 (sbcl-package->cl-source-package sbcl-lisp-namespace))
5086
5087 (define-public ecl-lisp-namespace
5088 (sbcl-package->ecl-package sbcl-lisp-namespace))
5089
5090 (define-public sbcl-trivial-cltl2
5091 (let ((commit "8a3bda30dc25d2f65fcf514d0eb6e6db75252c61")
5092 (revision "2"))
5093 (package
5094 (name "sbcl-trivial-cltl2")
5095 (build-system asdf-build-system/sbcl)
5096 (version (git-version "0.1.1" revision commit))
5097 (home-page "https://github.com/Zulu-Inuoe/trivial-cltl2")
5098 (source
5099 (origin
5100 (method git-fetch)
5101 (uri (git-reference
5102 (url home-page)
5103 (commit commit)))
5104 (file-name (git-file-name name version))
5105 (sha256
5106 (base32
5107 "08cnzb9rnczn4pn2zpf0587ny4wjy1mjndy885fz9pw7xrlx37ip"))))
5108 (synopsis "Simple CLtL2 compatibility layer for Common Lisp")
5109 (description "This library is a portable compatibility layer around
5110 \"Common Lisp the Language, 2nd
5111 Edition\" (@url{https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html})
5112 and it exports symbols from implementation-specific packages.")
5113 (license license:llgpl))))
5114
5115 (define-public cl-trivial-cltl2
5116 (sbcl-package->cl-source-package sbcl-trivial-cltl2))
5117
5118 (define-public ecl-trivial-cltl2
5119 (sbcl-package->ecl-package sbcl-trivial-cltl2))
5120
5121 (define-public sbcl-introspect-environment
5122 (let ((commit "fff42f8f8fd0d99db5ad6c5812e53de7d660020b")
5123 (revision "1"))
5124 (package
5125 (name "sbcl-introspect-environment")
5126 (build-system asdf-build-system/sbcl)
5127 (version (git-version "0.1" revision commit))
5128 (home-page "https://github.com/Bike/introspect-environment")
5129 (source
5130 (origin
5131 (method git-fetch)
5132 (uri (git-reference
5133 (url home-page)
5134 (commit commit)))
5135 (file-name (git-file-name name version))
5136 (sha256
5137 (base32
5138 "1i305n0wfmpac63ni4i3vixnnkl8daw5ncxy0k3dv92krgx6qzhp"))))
5139 (native-inputs
5140 `(("fiveam" ,sbcl-fiveam)))
5141 (synopsis "Common Lisp environment introspection portability layer")
5142 (description "This library is a small interface to portable but
5143 nonstandard introspection of Common Lisp environments. It is intended to
5144 allow a bit more compile-time introspection of environments in Common Lisp.
5145
5146 Quite a bit of information is available at the time a macro or compiler-macro
5147 runs; inlining info, type declarations, that sort of thing. This information
5148 is all standard - any Common Lisp program can @code{(declare (integer x))} and
5149 such.
5150
5151 This info ought to be accessible through the standard @code{&environment}
5152 parameters, but it is not. Several implementations keep the information for
5153 their own purposes but do not make it available to user programs, because
5154 there is no standard mechanism to do so.
5155
5156 This library uses implementation-specific hooks to make information available
5157 to users. This is currently supported on SBCL, CCL, and CMUCL. Other
5158 implementations have implementations of the functions that do as much as they
5159 can and/or provide reasonable defaults.")
5160 (license license:wtfpl2))))
5161
5162 (define-public cl-introspect-environment
5163 (sbcl-package->cl-source-package sbcl-introspect-environment))
5164
5165 (define-public ecl-introspect-environment
5166 (sbcl-package->ecl-package sbcl-introspect-environment))
5167
5168 (define-public sbcl-type-i
5169 (let ((commit "d34440ab4ebf5a46a58deccb35950b15670e3667")
5170 (revision "2"))
5171 (package
5172 (name "sbcl-type-i")
5173 (build-system asdf-build-system/sbcl)
5174 (version (git-version "0.1" revision commit))
5175 (home-page "https://github.com/guicho271828/type-i")
5176 (source
5177 (origin
5178 (method git-fetch)
5179 (uri (git-reference
5180 (url home-page)
5181 (commit commit)))
5182 (file-name (git-file-name name version))
5183 (sha256
5184 (base32
5185 "12wsga0pwjkkr176lnjwkmmlm3ccp0n310sjj9h20lk53iyd0z69"))))
5186 (inputs
5187 `(("alexandria" ,sbcl-alexandria)
5188 ("introspect-environment" ,sbcl-introspect-environment)
5189 ("trivia.trivial" ,sbcl-trivia.trivial)))
5190 (native-inputs
5191 `(("fiveam" ,sbcl-fiveam)))
5192 (arguments
5193 `(#:test-asd-file "type-i.test.asd"))
5194 (synopsis "Type inference utility on unary predicates for Common Lisp")
5195 (description "This library tries to provide a way to detect what kind of
5196 type the given predicate is trying to check. This is different from inferring
5197 the return type of a function.")
5198 (license license:llgpl))))
5199
5200 (define-public cl-type-i
5201 (sbcl-package->cl-source-package sbcl-type-i))
5202
5203 (define-public ecl-type-i
5204 (package
5205 (inherit (sbcl-package->ecl-package sbcl-type-i))
5206 (arguments
5207 ;; The tests get stuck indefinitly
5208 '(#:tests? #f))))
5209
5210 (define-public sbcl-optima
5211 (let ((commit "373b245b928c1a5cce91a6cb5bfe5dd77eb36195")
5212 (revision "1"))
5213 (package
5214 (name "sbcl-optima")
5215 (build-system asdf-build-system/sbcl)
5216 (version (git-version "1.0" revision commit))
5217 (home-page "https://github.com/m2ym/optima")
5218 (source
5219 (origin
5220 (method git-fetch)
5221 (uri (git-reference
5222 (url home-page)
5223 (commit commit)))
5224 (file-name (git-file-name name version))
5225 (sha256
5226 (base32
5227 "1yw4ymq7ms89342kkvb3aqxgv0w38m9kd8ikdqxxzyybnkjhndal"))))
5228 (inputs
5229 `(("alexandria" ,sbcl-alexandria)
5230 ("closer-mop" ,sbcl-closer-mop)))
5231 (native-inputs
5232 `(("eos" ,sbcl-eos)))
5233 (arguments
5234 ;; XXX: Circular dependencies: tests depend on optima.ppcre which depends on optima.
5235 `(#:tests? #f
5236 #:test-asd-file "optima.test.asd"))
5237 (synopsis "Optimized pattern matching library for Common Lisp")
5238 (description "Optima is a fast pattern matching library which uses
5239 optimizing techniques widely used in the functional programming world.")
5240 (license license:expat))))
5241
5242 (define-public cl-optima
5243 (sbcl-package->cl-source-package sbcl-optima))
5244
5245 (define-public ecl-optima
5246 (sbcl-package->ecl-package sbcl-optima))
5247
5248 (define-public sbcl-fare-quasiquote
5249 (let ((commit "640d39a0451094071b3e093c97667b3947f43639")
5250 (revision "1"))
5251 (package
5252 (name "sbcl-fare-quasiquote")
5253 (build-system asdf-build-system/sbcl)
5254 (version (git-version "1.0.1" revision commit))
5255 (home-page "https://gitlab.common-lisp.net/frideau/fare-quasiquote")
5256 (source
5257 (origin
5258 (method git-fetch)
5259 (uri (git-reference
5260 (url (string-append "https://gitlab.common-lisp.net/frideau/"
5261 "fare-quasiquote.git"))
5262 (commit commit)))
5263 (file-name (git-file-name name version))
5264 (sha256
5265 (base32 "1g6q11l50kgija9f55lzqpcwvaq0ljiw8v1j265hnyg6nahjwjvg"))))
5266 (inputs
5267 `(("fare-utils" ,sbcl-fare-utils)
5268 ("named-readtables" ,sbcl-named-readtables)
5269 ("optima" ,sbcl-optima)))
5270 (arguments
5271 ;; XXX: Circular dependencies: Tests depend on subsystems,
5272 ;; which depend on the main systems.
5273 `(#:tests? #f
5274 #:asd-systems '("fare-quasiquote"
5275 "fare-quasiquote-extras")
5276 #:phases
5277 (modify-phases %standard-phases
5278 ;; XXX: Require 1.0.0 version of fare-utils, and we package some
5279 ;; commits after 1.0.0.5, but ASDF fails to read the
5280 ;; "-REVISION-COMMIT" part generated by Guix.
5281 (add-after 'unpack 'patch-requirement
5282 (lambda _
5283 (substitute* "fare-quasiquote.asd"
5284 (("\\(:version \"fare-utils\" \"1.0.0\"\\)")
5285 "\"fare-utils\""))
5286 (substitute* "fare-quasiquote-optima.asd"
5287 (("\\(:version \"optima\" \"1\\.0\"\\)")
5288 "\"optima\""))
5289 #t)))))
5290 (synopsis "Pattern-matching friendly implementation of quasiquote")
5291 (description "The main purpose of this n+2nd reimplementation of
5292 quasiquote is enable matching of quasiquoted patterns, using Optima or
5293 Trivia.")
5294 (license license:expat))))
5295
5296 (define-public cl-fare-quasiquote
5297 (sbcl-package->cl-source-package sbcl-fare-quasiquote))
5298
5299 (define-public ecl-fare-quasiquote
5300 (sbcl-package->ecl-package sbcl-fare-quasiquote))
5301
5302 ;;; Split the trivia package in two to work around the circular dependency
5303 ;;; between guicho271828/trivia and guicho271828/type-i.
5304 (define-public sbcl-trivia.trivial
5305 (let ((commit "37698b47a14c2007630468de7a993694ef7bd475")
5306 (revision "2"))
5307 (package
5308 (name "sbcl-trivia.trivial")
5309 (version (git-version "0.0.0" revision commit))
5310 (source
5311 (origin
5312 (method git-fetch)
5313 (uri (git-reference
5314 (url "https://github.com/guicho271828/trivia")
5315 (commit commit)))
5316 (file-name (git-file-name "trivia" version))
5317 (sha256
5318 (base32
5319 "0rsbwbw3ipxxgr6zzhci12nilq8zky475kmhz1rcxy4q8a85vn72"))))
5320 (build-system asdf-build-system/sbcl)
5321 (inputs
5322 `(("alexandria" ,sbcl-alexandria)
5323 ("closer-mop" ,sbcl-closer-mop)
5324 ("lisp-namespace" ,sbcl-lisp-namespace)
5325 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
5326 (arguments
5327 '(#:phases
5328 (modify-phases %standard-phases
5329 (add-after 'unpack 'fix-build
5330 (lambda _
5331 (for-each delete-file
5332 '("trivia.balland2006.asd"
5333 "trivia.ppcre.asd"
5334 "trivia.quasiquote.asd"
5335 "trivia.cffi.asd"
5336 "trivia.asd"
5337 "trivia.test.asd"))
5338 #t)))))
5339 (synopsis "Pattern matching in Common Lisp")
5340 (description "Trivia is a pattern matching compiler that is compatible
5341 with Optima, another pattern matching library for Common Lisp. It is meant to
5342 be faster and more extensible than Optima.")
5343 (home-page "https://github.com/guicho271828/trivia")
5344 (license license:llgpl))))
5345
5346 (define-public cl-trivia.trivial
5347 (sbcl-package->cl-source-package sbcl-trivia.trivial))
5348
5349 (define-public ecl-trivia.trivial
5350 (sbcl-package->ecl-package sbcl-trivia.trivial))
5351
5352 (define-public sbcl-trivia
5353 (package
5354 (inherit sbcl-trivia.trivial)
5355 (name "sbcl-trivia")
5356 (native-inputs
5357 `(("fiveam" ,sbcl-fiveam)
5358 ("optima" ,sbcl-optima)))
5359 (inputs
5360 `(("alexandria" ,sbcl-alexandria)
5361 ("cffi" ,sbcl-cffi)
5362 ("cl-ppcre" ,sbcl-cl-ppcre)
5363 ("fare-quasiquote" ,sbcl-fare-quasiquote)
5364 ("iterate" ,sbcl-iterate)
5365 ("trivia.trivial" ,sbcl-trivia.trivial)
5366 ("type-i" ,sbcl-type-i)))
5367 (arguments
5368 '(#:asd-systems '("trivia"
5369 "trivia.ppcre"
5370 "trivia.quasiquote"
5371 "trivia.cffi")
5372 #:test-asd-file "trivia.test.asd"
5373 #:phases
5374 (modify-phases %standard-phases
5375 (add-after 'unpack 'fix-build
5376 (lambda _
5377 (for-each delete-file
5378 '("trivia.level0.asd"
5379 "trivia.level1.asd"
5380 "trivia.level2.asd"
5381 "trivia.trivial.asd"))
5382 #t)))))))
5383
5384 (define-public cl-trivia
5385 (sbcl-package->cl-source-package sbcl-trivia))
5386
5387 (define-public ecl-trivia
5388 (sbcl-package->ecl-package sbcl-trivia))
5389
5390 (define-public sbcl-mk-string-metrics
5391 (package
5392 (name "sbcl-mk-string-metrics")
5393 (version "0.1.2")
5394 (home-page "https://github.com/cbaggers/mk-string-metrics/")
5395 (source (origin
5396 (method git-fetch)
5397 (uri (git-reference
5398 (url home-page)
5399 (commit version)))
5400 (sha256
5401 (base32 "0bg0bv2mfd4k0g3x72x563hvmrx18xavaffr6xk5rh4if5j7kcf6"))
5402 (file-name (git-file-name name version))))
5403 (build-system asdf-build-system/sbcl)
5404 (synopsis "Calculate various string metrics efficiently in Common Lisp")
5405 (description "This library implements efficient algorithms that calculate
5406 various string metrics in Common Lisp:
5407
5408 @itemize
5409 @item Damerau-Levenshtein distance
5410 @item Hamming distance
5411 @item Jaccard similarity coefficient
5412 @item Jaro distance
5413 @item Jaro-Winkler distance
5414 @item Levenshtein distance
5415 @item Normalized Damerau-Levenshtein distance
5416 @item Normalized Levenshtein distance
5417 @item Overlap coefficient
5418 @end itemize\n")
5419 (license license:x11)))
5420
5421 (define-public cl-mk-string-metrics
5422 (sbcl-package->cl-source-package sbcl-mk-string-metrics))
5423
5424 (define-public ecl-mk-string-metrics
5425 (sbcl-package->ecl-package sbcl-mk-string-metrics))
5426
5427 (define-public sbcl-cl-str
5428 (package
5429 (name "sbcl-cl-str")
5430 (version "0.19")
5431 (home-page "https://github.com/vindarel/cl-str")
5432 (source (origin
5433 (method git-fetch)
5434 (uri (git-reference
5435 (url home-page)
5436 (commit version)))
5437 (sha256
5438 (base32 "1jyza2jhn7w6fl4w87pv0m87z5ia48m6dqw12k0mdh7l3mgjq839"))
5439 (file-name (git-file-name name version))))
5440 (build-system asdf-build-system/sbcl)
5441 (inputs
5442 `(("cl-ppcre" ,sbcl-cl-ppcre)
5443 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
5444 ("cl-change-case" ,sbcl-cl-change-case)))
5445 (native-inputs
5446 `(("prove" ,sbcl-prove)))
5447 (arguments
5448 `(#:asd-systems '("str")
5449 #:test-asd-file "str.test.asd"))
5450 (synopsis "Modern, consistent and terse Common Lisp string manipulation library")
5451 (description "A modern and consistent Common Lisp string manipulation
5452 library that focuses on modernity, simplicity and discoverability:
5453 @code{(str:trim s)} instead of @code{(string-trim '(#\\Space ...) s)}), or
5454 @code{str:concat strings} instead of an unusual format construct; one
5455 discoverable library instead of many; consistency and composability, where
5456 @code{s} is always the last argument, which makes it easier to feed pipes and
5457 arrows.")
5458 (license license:expat)))
5459
5460 (define-public cl-str
5461 (sbcl-package->cl-source-package sbcl-cl-str))
5462
5463 (define-public ecl-cl-str
5464 (sbcl-package->ecl-package sbcl-cl-str))
5465
5466 (define-public sbcl-cl-xmlspam
5467 (let ((commit "ea06abcca2a73a9779bcfb09081e56665f94e22a"))
5468 (package
5469 (name "sbcl-cl-xmlspam")
5470 (build-system asdf-build-system/sbcl)
5471 (version (git-version "0.0.0" "1" commit))
5472 (home-page "https://github.com/rogpeppe/cl-xmlspam")
5473 (source
5474 (origin
5475 (method git-fetch)
5476 (uri (git-reference
5477 (url home-page)
5478 (commit commit)))
5479 (file-name (string-append name "-" version))
5480 (sha256
5481 (base32
5482 "0w4rqvrgdgk3fwfq3kx4r7wwdr2bv3b6n3bdqwsiriw9psqzpz2s"))))
5483 (inputs
5484 `(("cxml" ,sbcl-cxml)
5485 ("cl-ppcre" ,sbcl-cl-ppcre)))
5486 (synopsis "Concise, regexp-like pattern matching on streaming XML for Common Lisp")
5487 (description "CXML does an excellent job at parsing XML elements, but what
5488 do you do when you have a XML file that's larger than you want to fit in
5489 memory, and you want to extract some information from it? Writing code to deal
5490 with SAX events, or even using Klacks, quickly becomes tedious.
5491 @code{cl-xmlspam} (for XML Stream PAttern Matcher) is designed to make it easy
5492 to write code that mirrors the structure of the XML that it's parsing. It
5493 also makes it easy to shift paradigms when necessary - the usual Lisp control
5494 constructs can be used interchangeably with pattern matching, and the full
5495 power of CXML is available when necessary.")
5496 (license license:bsd-3))))
5497
5498 (define-public cl-xmlspam
5499 (sbcl-package->cl-source-package sbcl-cl-xmlspam))
5500
5501 (define-public ecl-cl-xmlspam
5502 (sbcl-package->ecl-package sbcl-cl-xmlspam))
5503
5504 (define-public sbcl-dbus
5505 (let ((commit "24b452df3a45ca5dc95015500f34baad175c981a")
5506 (revision "1"))
5507 (package
5508 (name "sbcl-dbus")
5509 (version (git-version "20190408" revision commit))
5510 (home-page "https://github.com/death/dbus")
5511 (source
5512 (origin
5513 (method git-fetch)
5514 (uri (git-reference
5515 (url home-page)
5516 (commit commit)))
5517 (file-name (git-file-name name version))
5518 (sha256
5519 (base32
5520 "0fw2q866yddbf23nk9pxphm9gsasx35vjyss82xzvndnjmzlqfl5"))))
5521 (build-system asdf-build-system/sbcl)
5522 (inputs
5523 `(("alexandria" ,sbcl-alexandria)
5524 ("trivial-garbage" ,sbcl-trivial-garbage)
5525 ("babel" ,sbcl-babel)
5526 ("iolib" ,sbcl-iolib)
5527 ("ieee-floats" ,sbcl-ieee-floats)
5528 ("flexi-streams" ,sbcl-flexi-streams)
5529 ("cl-xmlspam" ,sbcl-cl-xmlspam)
5530 ("ironclad" ,sbcl-ironclad)))
5531 (synopsis "D-Bus client library for Common Lisp")
5532 (description "This is a Common Lisp library that publishes D-Bus
5533 objects as well as send and notify other objects connected to a bus.")
5534 (license license:bsd-2))))
5535
5536 (define-public cl-dbus
5537 (sbcl-package->cl-source-package sbcl-dbus))
5538
5539 (define-public ecl-dbus
5540 (sbcl-package->ecl-package sbcl-dbus))
5541
5542 (define-public sbcl-cl-hooks
5543 (let ((commit "5b638083f3b4f1221a52631d9c8a0a265565cac7")
5544 (revision "1"))
5545 (package
5546 (name "sbcl-cl-hooks")
5547 (build-system asdf-build-system/sbcl)
5548 (version (git-version "0.2.1" revision commit))
5549 (home-page "https://github.com/scymtym/architecture.hooks")
5550 (source
5551 (origin
5552 (method git-fetch)
5553 (uri (git-reference
5554 (url home-page)
5555 (commit commit)))
5556 (file-name (git-file-name name version))
5557 (sha256
5558 (base32
5559 "0bg3l0a28lw5gqqjp6p6b5nhwqk46sgkb7184w5qbfngw1hk8x9y"))))
5560 (inputs
5561 `(("alexandria" ,sbcl-alexandria)
5562 ("let-plus" ,sbcl-let-plus)
5563 ("trivial-garbage" ,sbcl-trivial-garbage)
5564 ("closer-mop" ,sbcl-closer-mop)))
5565 (native-inputs
5566 `(("fiveam" ,sbcl-fiveam)))
5567 (synopsis "Hooks extension point mechanism (as in Emacs) for Common Lisp")
5568 (description "A hook, in the present context, is a certain kind of
5569 extension point in a program that allows interleaving the execution of
5570 arbitrary code with the execution of a the program without introducing any
5571 coupling between the two. Hooks are used extensively in the extensible editor
5572 Emacs.
5573
5574 In the Common LISP Object System (CLOS), a similar kind of extensibility is
5575 possible using the flexible multi-method dispatch mechanism. It may even seem
5576 that the concept of hooks does not provide any benefits over the possibilities
5577 of CLOS. However, there are some differences:
5578
5579 @itemize
5580
5581 @item There can be only one method for each combination of specializers and
5582 qualifiers. As a result this kind of extension point cannot be used by
5583 multiple extensions independently.
5584 @item Removing code previously attached via a @code{:before}, @code{:after} or
5585 @code{:around} method can be cumbersome.
5586 @item There could be other or even multiple extension points besides @code{:before}
5587 and @code{:after} in a single method.
5588 @item Attaching codes to individual objects using eql specializers can be
5589 cumbersome.
5590 @item Introspection of code attached a particular extension point is
5591 cumbersome since this requires enumerating and inspecting the methods of a
5592 generic function.
5593 @end itemize
5594
5595 This library tries to complement some of these weaknesses of method-based
5596 extension-points via the concept of hooks.")
5597 (license license:llgpl))))
5598
5599 (define-public cl-hooks
5600 (sbcl-package->cl-source-package sbcl-cl-hooks))
5601
5602 (define-public ecl-cl-hooks
5603 (sbcl-package->ecl-package sbcl-cl-hooks))
5604
5605 (define-public sbcl-s-sysdeps
5606 ;; No release since 2013.
5607 (let ((commit "9aa23bbdceb24bcdbe0e7c39fa1901858f823106")
5608 (revision "2"))
5609 (package
5610 (name "sbcl-s-sysdeps")
5611 (build-system asdf-build-system/sbcl)
5612 (version (git-version "1" revision commit))
5613 (home-page "https://github.com/svenvc/s-sysdeps")
5614 (source
5615 (origin
5616 (method git-fetch)
5617 (uri (git-reference
5618 (url home-page)
5619 (commit commit)))
5620 (file-name (git-file-name name version))
5621 (sha256
5622 (base32
5623 "1fh8r7kf8s3hvqdg6b71b8p7w3v2kkga9bw8j3qqdxhzr6anpm0b"))))
5624 (inputs
5625 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
5626 ("usocket" ,sbcl-usocket)))
5627 (synopsis "Common Lisp abstraction layer over platform dependent functionality")
5628 (description "@code{s-sysdeps} is an abstraction layer over platform
5629 dependent functionality. This simple package is used as a building block in a
5630 number of other open source projects.
5631
5632 @code{s-sysdeps} abstracts:
5633
5634 @itemize
5635 @item managing processes,
5636 @item implementing a standard TCP/IP server,
5637 @item opening a client TCP/IP socket stream,
5638 @item working with process locks.
5639 @end itemize\n")
5640 (license license:llgpl))))
5641
5642 (define-public cl-s-sysdeps
5643 (sbcl-package->cl-source-package sbcl-s-sysdeps))
5644
5645 (define-public ecl-s-sysdeps
5646 (sbcl-package->ecl-package sbcl-s-sysdeps))
5647
5648 (define-public sbcl-cl-prevalence
5649 (let ((commit "5a76be036092ed6c18cb695a9e03bce87e21b840")
5650 (revision "4"))
5651 (package
5652 (name "sbcl-cl-prevalence")
5653 (build-system asdf-build-system/sbcl)
5654 (version (git-version "5" revision commit))
5655 (home-page "https://github.com/40ants/cl-prevalence")
5656 (source
5657 (origin
5658 (method git-fetch)
5659 (uri (git-reference
5660 (url home-page)
5661 (commit commit)))
5662 (file-name (git-file-name name version))
5663 (sha256
5664 (base32
5665 "050h6hwv8f16b5v6fzba8zmih92hgaaq27i2x9wv1iib41gbia3r"))))
5666 (inputs
5667 `(("s-sysdeps" ,sbcl-s-sysdeps)
5668 ("s-xml" ,sbcl-s-xml)))
5669 (native-inputs
5670 `(("fiveam" ,sbcl-fiveam)))
5671 (synopsis "Implementation of object prevalence for Common Lisp")
5672 (description "This Common Lisp library implements object prevalence (see
5673 @url{https://en.wikipedia.org/wiki/System_prevalence}). It allows
5674 for (de)serializing to and from s-exps as well as XML. Serialization of arbitrary
5675 classes and cyclic data structures are supported.")
5676 (license license:llgpl))))
5677
5678 (define-public cl-prevalence
5679 (sbcl-package->cl-source-package sbcl-cl-prevalence))
5680
5681 (define-public ecl-cl-prevalence
5682 (sbcl-package->ecl-package sbcl-cl-prevalence))
5683
5684 (define-public sbcl-series
5685 (let ((commit "da9061b336119d1e5214aff9117171d494d5a58a")
5686 (revision "1"))
5687 (package
5688 (name "sbcl-series")
5689 (version (git-version "2.2.11" revision commit))
5690 (source
5691 (origin
5692 (method git-fetch)
5693 (uri (git-reference
5694 (url "git://git.code.sf.net/p/series/series")
5695 (commit commit)))
5696 (file-name (git-file-name name version))
5697 (sha256
5698 (base32
5699 "07hk2lhfx42zk018pxqvn4gs77vd4n4g8m4xxbqaxgca76mifwfw"))))
5700 (build-system asdf-build-system/sbcl)
5701 (arguments
5702 ;; Disable the tests, they are apparently buggy and I didn't find
5703 ;; a simple way to make them run and pass.
5704 '(#:tests? #f))
5705 (synopsis "Series data structure for Common Lisp")
5706 (description
5707 "This Common Lisp library provides a series data structure much like
5708 a sequence, with similar kinds of operations. The difference is that in many
5709 situations, operations on series may be composed functionally and yet execute
5710 iteratively, without the need to construct intermediate series values
5711 explicitly. In this manner, series provide both the clarity of a functional
5712 programming style and the efficiency of an iterative programming style.")
5713 (home-page "http://series.sourceforge.net/")
5714 (license license:expat))))
5715
5716 (define-public cl-series
5717 (sbcl-package->cl-source-package sbcl-series))
5718
5719 (define-public ecl-series
5720 (sbcl-package->ecl-package sbcl-series))
5721
5722 (define-public sbcl-periods
5723 (let ((commit "983d4a57325db3c8def942f163133cec5391ec28")
5724 (revision "1"))
5725 (package
5726 (name "sbcl-periods")
5727 (version (git-version "0.0.2" revision commit))
5728 (source
5729 (origin
5730 (method git-fetch)
5731 (uri (git-reference
5732 (url "https://github.com/jwiegley/periods")
5733 (commit commit)))
5734 (file-name (git-file-name name version))
5735 (sha256
5736 (base32
5737 "0z30jr3lxz3cmi019fsl4lgcgwf0yqpn95v9zkkkwgymdrkd4lga"))))
5738 (build-system asdf-build-system/sbcl)
5739 (inputs
5740 `(("local-time" ,sbcl-local-time)
5741 ("series" ,sbcl-series)))
5742 (arguments
5743 '(#:asd-systems '("periods"
5744 "periods-series")))
5745 (synopsis "Common Lisp library for manipulating date/time objects")
5746 (description
5747 "Periods is a Common Lisp library providing a set of utilities for
5748 manipulating times, distances between times, and both contiguous and
5749 discontiguous ranges of time.")
5750 (home-page "https://github.com/jwiegley/periods")
5751 (license license:bsd-3))))
5752
5753 (define-public cl-periods
5754 (sbcl-package->cl-source-package sbcl-periods))
5755
5756 (define-public ecl-periods
5757 (sbcl-package->ecl-package sbcl-periods))
5758
5759 (define-public sbcl-metatilities-base
5760 (let ((commit "6eaa9e3ff0939a93a92109dd0fcd218de85417d5")
5761 (revision "1"))
5762 (package
5763 (name "sbcl-metatilities-base")
5764 (version (git-version "0.6.6" revision commit))
5765 (source
5766 (origin
5767 (method git-fetch)
5768 (uri (git-reference
5769 (url "https://github.com/gwkkwg/metatilities-base")
5770 (commit commit)))
5771 (file-name (git-file-name name version))
5772 (sha256
5773 (base32
5774 "0xpa86pdzlnf4v5g64j3ifaplx71sx2ha8b7vvakswi652679ma0"))))
5775 (build-system asdf-build-system/sbcl)
5776 (native-inputs
5777 `(("lift" ,sbcl-lift)))
5778 (synopsis "Core of the metatilities Common Lisp library")
5779 (description
5780 "Metatilities-base is the core of the metatilities Common Lisp library
5781 which implements a set of utilities.")
5782 (home-page "https://common-lisp.net/project/metatilities-base/")
5783 (license license:expat))))
5784
5785 (define-public cl-metatilities-base
5786 (sbcl-package->cl-source-package sbcl-metatilities-base))
5787
5788 (define-public ecl-metatilities-base
5789 (sbcl-package->ecl-package sbcl-metatilities-base))
5790
5791 (define-public sbcl-cl-containers
5792 (let ((commit "3d1df53c22403121bffb5d553cf7acb1503850e7")
5793 (revision "3"))
5794 (package
5795 (name "sbcl-cl-containers")
5796 (version (git-version "0.12.1" revision commit))
5797 (source
5798 (origin
5799 (method git-fetch)
5800 (uri (git-reference
5801 (url "https://github.com/gwkkwg/cl-containers")
5802 (commit commit)))
5803 (file-name (git-file-name name version))
5804 (sha256
5805 (base32
5806 "18s6jfq11n8nv9k4biz32pm1s7y9zl054ry1gmdbcf39nisy377y"))))
5807 (build-system asdf-build-system/sbcl)
5808 (native-inputs
5809 `(("lift" ,sbcl-lift)))
5810 (inputs
5811 `(("metatilities-base" ,sbcl-metatilities-base)))
5812 (arguments
5813 '(#:asd-files '("cl-containers.asd")
5814 #:phases
5815 (modify-phases %standard-phases
5816 (add-after 'unpack 'relax-version-checks
5817 (lambda _
5818 (substitute* "cl-containers.asd"
5819 (("\\(:version \"metatilities-base\" \"0\\.6\\.6\"\\)")
5820 "\"metatilities-base\""))
5821 (substitute* "cl-containers-test.asd"
5822 (("\\(:version \"lift\" \"1\\.7\\.0\"\\)")
5823 "\"lift\""))
5824 #t)))))
5825 (synopsis "Container library for Common Lisp")
5826 (description
5827 "Common Lisp ships with a set of powerful built in data structures
5828 including the venerable list, full featured arrays, and hash-tables.
5829 CL-containers enhances and builds on these structures by adding containers
5830 that are not available in native Lisp (for example: binary search trees,
5831 red-black trees, sparse arrays and so on), and by providing a standard
5832 interface so that they are simpler to use and so that changing design
5833 decisions becomes significantly easier.")
5834 (home-page "https://common-lisp.net/project/cl-containers/")
5835 (license license:expat))))
5836
5837 (define-public cl-containers
5838 (sbcl-package->cl-source-package sbcl-cl-containers))
5839
5840 (define-public ecl-cl-containers
5841 (sbcl-package->ecl-package sbcl-cl-containers))
5842
5843 (define-public sbcl-xlunit
5844 (let ((commit "3805d34b1d8dc77f7e0ee527a2490194292dd0fc")
5845 (revision "1"))
5846 (package
5847 (name "sbcl-xlunit")
5848 (version (git-version "0.6.3" revision commit))
5849 (source
5850 (origin
5851 (method git-fetch)
5852 (uri (git-reference
5853 (url "http://git.kpe.io/xlunit.git")
5854 (commit commit)))
5855 (file-name (git-file-name name version))
5856 (sha256
5857 (base32
5858 "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3"))))
5859 (build-system asdf-build-system/sbcl)
5860 (arguments
5861 '(#:phases
5862 (modify-phases %standard-phases
5863 (add-after 'unpack 'fix-tests
5864 (lambda _
5865 (substitute* "xlunit.asd"
5866 ((" :force t") ""))
5867 #t)))))
5868 (synopsis "Unit testing package for Common Lisp")
5869 (description
5870 "The XLUnit package is a toolkit for building test suites. It is based
5871 on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
5872 (home-page "http://quickdocs.org/xlunit/")
5873 (license license:bsd-3))))
5874
5875 (define-public cl-xlunit
5876 (sbcl-package->cl-source-package sbcl-xlunit))
5877
5878 (define-public ecl-xlunit
5879 (sbcl-package->ecl-package sbcl-xlunit))
5880
5881 (define-public sbcl-cambl
5882 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
5883 (revision "1"))
5884 (package
5885 (name "sbcl-cambl")
5886 (version (git-version "4.0.0" revision commit))
5887 (source
5888 (origin
5889 (method git-fetch)
5890 (uri (git-reference
5891 (url "https://github.com/jwiegley/cambl")
5892 (commit commit)))
5893 (file-name (git-file-name "cambl" version))
5894 (sha256
5895 (base32 "103mry04j2k9vznsxm7wcvccgxkil92cdrv52miwcmxl8daa4jiz"))))
5896 (build-system asdf-build-system/sbcl)
5897 (native-inputs
5898 `(("xlunit" ,sbcl-xlunit)))
5899 (inputs
5900 `(("alexandria" ,sbcl-alexandria)
5901 ("cl-containers" ,sbcl-cl-containers)
5902 ("local-time" ,sbcl-local-time)
5903 ("periods" ,sbcl-periods)))
5904 (arguments
5905 '(#:asd-files '("fprog.asd"
5906 "cambl.asd")))
5907 (synopsis "Commoditized amounts and balances for Common Lisp")
5908 (description
5909 "CAMBL is a Common Lisp library providing a convenient facility for
5910 working with commoditized values. It does not allow compound units (and so is
5911 not suited for scientific operations) but does work rather nicely for the
5912 purpose of financial calculations.")
5913 (home-page "https://github.com/jwiegley/cambl")
5914 (license license:bsd-3))))
5915
5916 (define-public cl-cambl
5917 (sbcl-package->cl-source-package sbcl-cambl))
5918
5919 (define-public ecl-cambl
5920 (sbcl-package->ecl-package sbcl-cambl))
5921
5922 (define-public sbcl-cl-ledger
5923 (let ((commit "08e0be41795e804cd36142e51756ad0b1caa377b")
5924 (revision "1"))
5925 (package
5926 (name "sbcl-cl-ledger")
5927 (version (git-version "4.0.0" revision commit))
5928 (source
5929 (origin
5930 (method git-fetch)
5931 (uri (git-reference
5932 (url "https://github.com/ledger/cl-ledger")
5933 (commit commit)))
5934 (file-name (git-file-name name version))
5935 (sha256
5936 (base32
5937 "1via0qf6wjcyxnfbmfxjvms0ik9j8rqbifgpmnhrzvkhrq9pv8h1"))))
5938 (build-system asdf-build-system/sbcl)
5939 (inputs
5940 `(("cambl" ,sbcl-cambl)
5941 ("cl-ppcre" ,sbcl-cl-ppcre)
5942 ("local-time" ,sbcl-local-time)
5943 ("periods" ,sbcl-periods)))
5944 (arguments
5945 '(#:phases
5946 (modify-phases %standard-phases
5947 (add-after 'unpack 'fix-system-definition
5948 (lambda _
5949 (substitute* "cl-ledger.asd"
5950 ((" :build-operation program-op") "")
5951 ((" :build-pathname \"cl-ledger\"") "")
5952 ((" :entry-point \"ledger::main\"") ""))
5953 #t)))))
5954 (synopsis "Common Lisp port of the Ledger accounting system")
5955 (description
5956 "CL-Ledger is a Common Lisp port of the Ledger double-entry accounting
5957 system.")
5958 (home-page "https://github.com/ledger/cl-ledger")
5959 (license license:bsd-3))))
5960
5961 (define-public cl-ledger
5962 (sbcl-package->cl-source-package sbcl-cl-ledger))
5963
5964 (define-public ecl-cl-ledger
5965 (sbcl-package->ecl-package sbcl-cl-ledger))
5966
5967 (define-public sbcl-bst
5968 (let ((commit "8545aed0d504df2829ad139566feeabe22305388")
5969 (revision "0"))
5970 (package
5971 (name "sbcl-bst")
5972 (version (git-version "2.0" revision commit))
5973 (source
5974 (origin
5975 (method git-fetch)
5976 (uri (git-reference
5977 (url "https://github.com/glv2/bst")
5978 (commit commit)))
5979 (file-name (git-file-name name version))
5980 (sha256
5981 (base32 "18ig7rvxcra69437g0i8sxyv7c5dg26jqnx1rc2f9pxmihdprgk8"))))
5982 (build-system asdf-build-system/sbcl)
5983 (native-inputs
5984 `(("alexandria" ,sbcl-alexandria)
5985 ("fiveam" ,sbcl-fiveam)))
5986 (synopsis "Binary search tree for Common Lisp")
5987 (description
5988 "BST is a Common Lisp library for working with binary search trees that
5989 can contain any kind of values.")
5990 (home-page "https://github.com/glv2/bst")
5991 (license license:gpl3))))
5992
5993 (define-public cl-bst
5994 (sbcl-package->cl-source-package sbcl-bst))
5995
5996 (define-public ecl-bst
5997 (sbcl-package->ecl-package sbcl-bst))
5998
5999 (define-public sbcl-cl-octet-streams
6000 (package
6001 (name "sbcl-cl-octet-streams")
6002 (version "1.0")
6003 (source
6004 (origin
6005 (method git-fetch)
6006 (uri (git-reference
6007 (url "https://github.com/glv2/cl-octet-streams")
6008 (commit (string-append "v" version))))
6009 (file-name (git-file-name name version))
6010 (sha256
6011 (base32
6012 "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
6013 (build-system asdf-build-system/sbcl)
6014 (native-inputs
6015 `(("fiveam" ,sbcl-fiveam)))
6016 (inputs
6017 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6018 (synopsis "In-memory octet streams for Common Lisp")
6019 (description
6020 "CL-octet-streams is a library implementing in-memory octet
6021 streams for Common Lisp. It was inspired by the trivial-octet-streams and
6022 cl-plumbing libraries.")
6023 (home-page "https://github.com/glv2/cl-octet-streams")
6024 (license license:gpl3+)))
6025
6026 (define-public cl-octet-streams
6027 (sbcl-package->cl-source-package sbcl-cl-octet-streams))
6028
6029 (define-public ecl-cl-octet-streams
6030 (sbcl-package->ecl-package sbcl-cl-octet-streams))
6031
6032 (define-public sbcl-lzlib
6033 (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
6034 (revision "1"))
6035 (package
6036 (name "sbcl-lzlib")
6037 (version (git-version "1.0" revision commit))
6038 (source
6039 (origin
6040 (method git-fetch)
6041 (uri (git-reference
6042 (url "https://github.com/glv2/cl-lzlib")
6043 (commit commit)))
6044 (file-name (git-file-name name version))
6045 (sha256
6046 (base32
6047 "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
6048 (build-system asdf-build-system/sbcl)
6049 (native-inputs
6050 `(("fiveam" ,sbcl-fiveam)))
6051 (inputs
6052 `(("cffi" ,sbcl-cffi)
6053 ("cl-octet-streams" ,sbcl-cl-octet-streams)
6054 ("lzlib" ,lzlib)))
6055 (arguments
6056 '(#:phases
6057 (modify-phases %standard-phases
6058 (add-after 'unpack 'fix-paths
6059 (lambda* (#:key inputs #:allow-other-keys)
6060 (substitute* "src/lzlib.lisp"
6061 (("liblz\\.so")
6062 (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
6063 #t)))))
6064 (synopsis "Common Lisp library for lzip (de)compression")
6065 (description
6066 "This Common Lisp library provides functions for lzip (LZMA)
6067 compression/decompression using bindings to the lzlib C library.")
6068 (home-page "https://github.com/glv2/cl-lzlib")
6069 (license license:gpl3+))))
6070
6071 (define-public cl-lzlib
6072 (sbcl-package->cl-source-package sbcl-lzlib))
6073
6074 (define-public ecl-lzlib
6075 (sbcl-package->ecl-package sbcl-lzlib))
6076
6077 (define-public sbcl-chanl
6078 (let ((commit "56e90a126c78b39bb621a01585e8d3b985238e8c")
6079 (revision "1"))
6080 (package
6081 (name "sbcl-chanl")
6082 (version (git-version "0.4.1" revision commit))
6083 (source
6084 (origin
6085 (method git-fetch)
6086 (uri (git-reference
6087 (url "https://github.com/zkat/chanl")
6088 (commit commit)))
6089 (file-name (git-file-name name version))
6090 (sha256
6091 (base32
6092 "0b1cf6c12qx5cy1fw2z42jgh566rp3l8nv5qf0qqc569s7bgmrh4"))))
6093 (build-system asdf-build-system/sbcl)
6094 (native-inputs
6095 `(("fiveam" ,sbcl-fiveam)))
6096 (inputs
6097 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
6098 (synopsis "Portable channel-based concurrency for Common Lisp")
6099 (description "Common Lisp library for channel-based concurrency. In
6100 a nutshell, you create various threads sequentially executing tasks you need
6101 done, and use channel objects to communicate and synchronize the state of these
6102 threads.")
6103 (home-page "https://github.com/zkat/chanl")
6104 (license (list license:expat license:bsd-3)))))
6105
6106 (define-public cl-chanl
6107 (sbcl-package->cl-source-package sbcl-chanl))
6108
6109 (define-public ecl-chanl
6110 (sbcl-package->ecl-package sbcl-chanl))
6111
6112 (define-public sbcl-cl-store
6113 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
6114 (revision "1"))
6115 (package
6116 (name "sbcl-cl-store")
6117 (version (git-version "0.8.11" revision commit))
6118 (source
6119 (origin
6120 (method git-fetch)
6121 (uri (git-reference
6122 (url "https://github.com/skypher/cl-store")
6123 (commit commit)))
6124 (file-name (git-file-name name version))
6125 (sha256
6126 (base32
6127 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
6128 (build-system asdf-build-system/sbcl)
6129 (native-inputs
6130 `(("rt" ,sbcl-rt)))
6131 (synopsis "Common Lisp library to serialize data")
6132 (description
6133 "CL-STORE is a portable serialization package which should give you the
6134 ability to store all Common Lisp data types into streams.")
6135 (home-page "https://www.common-lisp.net/project/cl-store/")
6136 (license license:expat))))
6137
6138 (define-public cl-store
6139 (sbcl-package->cl-source-package sbcl-cl-store))
6140
6141 (define-public ecl-cl-store
6142 (sbcl-package->ecl-package sbcl-cl-store))
6143
6144 (define-public sbcl-cl-gobject-introspection
6145 (let ((commit "7b703e2384945ea0ac39d9b766de434a08d81560")
6146 (revision "0"))
6147 (package
6148 (name "sbcl-cl-gobject-introspection")
6149 (version (git-version "0.3" revision commit))
6150 (home-page "https://github.com/andy128k/cl-gobject-introspection")
6151 (source
6152 (origin
6153 (method git-fetch)
6154 (uri (git-reference
6155 (url home-page)
6156 (commit commit)))
6157 (file-name (git-file-name name version))
6158 (sha256
6159 (base32
6160 "1zcqd2qj14f6b38vys8gr89s6cijsp9r8j43xa8lynilwva7bwyh"))))
6161 (build-system asdf-build-system/sbcl)
6162 (inputs
6163 `(("alexandria" ,sbcl-alexandria)
6164 ("cffi" ,sbcl-cffi)
6165 ("iterate" ,sbcl-iterate)
6166 ("trivial-garbage" ,sbcl-trivial-garbage)
6167 ("glib" ,glib)
6168 ("gobject-introspection" ,gobject-introspection)))
6169 (native-inputs
6170 `(("fiveam" ,sbcl-fiveam)))
6171 (arguments
6172 ;; TODO: Tests fail, see
6173 ;; https://github.com/andy128k/cl-gobject-introspection/issues/70.
6174 '(#:tests? #f
6175 #:phases
6176 (modify-phases %standard-phases
6177 (add-after (quote unpack) (quote fix-paths)
6178 (lambda* (#:key inputs #:allow-other-keys)
6179 (substitute* "src/init.lisp"
6180 (("libgobject-2\\.0\\.so")
6181 (string-append (assoc-ref inputs "glib") "/lib/libgobject-2.0.so"))
6182 (("libgirepository-1\\.0\\.so")
6183 (string-append (assoc-ref inputs "gobject-introspection")
6184 "/lib/libgirepository-1.0.so")))
6185 #t)))))
6186 (synopsis "Common Lisp bindings to GObject Introspection")
6187 (description
6188 "This library is a bridge between Common Lisp and GObject
6189 Introspection, which enables Common Lisp programs to access the full interface
6190 of C+GObject libraries without the need of writing dedicated bindings.")
6191 (license (list license:bsd-3
6192 ;; Tests are under a different license.
6193 license:llgpl)))))
6194
6195 (define-public cl-gobject-introspection
6196 (sbcl-package->cl-source-package sbcl-cl-gobject-introspection))
6197
6198 (define-public ecl-cl-gobject-introspection
6199 (sbcl-package->ecl-package sbcl-cl-gobject-introspection))
6200
6201 (define-public sbcl-string-case
6202 (let ((commit "718c761e33749e297cd2809c7ba3ade1985c49f7")
6203 (revision "0"))
6204 (package
6205 (name "sbcl-string-case")
6206 (version (git-version "0.0.2" revision commit))
6207 (home-page "https://github.com/pkhuong/string-case")
6208 (source
6209 (origin
6210 (method git-fetch)
6211 (uri (git-reference
6212 (url home-page)
6213 (commit commit)))
6214 (file-name (git-file-name name version))
6215 (sha256
6216 (base32
6217 "1n5i3yh0h5s636rcnwn7jwqy3rjflikra04lymimhpcshhjsk0md"))))
6218 (build-system asdf-build-system/sbcl)
6219 (synopsis "Efficient string= case in Common Lisp")
6220 (description
6221 "@code{string-case} is a Common Lisp macro that generates specialised decision
6222 trees to dispatch on string equality.")
6223 (license license:bsd-3))))
6224
6225 (define-public cl-string-case
6226 (sbcl-package->cl-source-package sbcl-string-case))
6227
6228 (define-public ecl-string-case
6229 (sbcl-package->ecl-package sbcl-string-case))
6230
6231 (define-public sbcl-global-vars
6232 (let ((commit "c749f32c9b606a1457daa47d59630708ac0c266e")
6233 (revision "0"))
6234 (package
6235 (name "sbcl-global-vars")
6236 (version (git-version "1.0.0" revision commit))
6237 (home-page "https://github.com/lmj/global-vars")
6238 (source
6239 (origin
6240 (method git-fetch)
6241 (uri (git-reference
6242 (url home-page)
6243 (commit commit)))
6244 (file-name (git-file-name name version))
6245 (sha256
6246 (base32
6247 "06m3xc8l3pgsapl8fvsi9wf6y46zs75cp9zn7zh6dc65v4s5wz3d"))))
6248 (build-system asdf-build-system/sbcl)
6249 (synopsis "Efficient global variables in Common Lisp")
6250 (description
6251 "In Common Lisp, a special variable that is never dynamically bound
6252 typically serves as a stand-in for a global variable. The @code{global-vars}
6253 library provides true global variables that are implemented by some compilers.
6254 An attempt to rebind a global variable properly results in a compiler error.
6255 That is, a global variable cannot be dynamically bound.
6256
6257 Global variables therefore allow us to communicate an intended usage that
6258 differs from special variables. Global variables are also more efficient than
6259 special variables, especially in the presence of threads.")
6260 (license license:expat))))
6261
6262 (define-public cl-global-vars
6263 (sbcl-package->cl-source-package sbcl-global-vars))
6264
6265 (define-public ecl-global-vars
6266 (sbcl-package->ecl-package sbcl-global-vars))
6267
6268 (define-public sbcl-trivial-file-size
6269 (let ((commit "1c1d672a01a446ba0391dbb4ffc40be3b0476f23")
6270 (revision "0"))
6271 (package
6272 (name "sbcl-trivial-file-size")
6273 (version (git-version "0.0.0" revision commit))
6274 (home-page "https://github.com/ruricolist/trivial-file-size")
6275 (source
6276 (origin
6277 (method git-fetch)
6278 (uri (git-reference
6279 (url home-page)
6280 (commit commit)))
6281 (file-name (git-file-name name version))
6282 (sha256
6283 (base32
6284 "17pp86c9zs4y7i1sh7q9gbfw9iqv6655k7fz8qbj9ly1ypgxp4qs"))))
6285 (build-system asdf-build-system/sbcl)
6286 (native-inputs
6287 `(("fiveam" ,sbcl-fiveam)))
6288 (synopsis "Size of a file in bytes in Common Lisp")
6289 (description
6290 "The canonical way to determine the size of a file in bytes, using Common Lisp,
6291 is to open the file with an element type of (unsigned-byte 8) and then
6292 calculate the length of the stream. This is less than ideal. In most cases
6293 it is better to get the size of the file from its metadata, using a system
6294 call.
6295
6296 This library exports a single function, file-size-in-octets. It returns the
6297 size of a file in bytes, using system calls when possible.")
6298 (license license:expat))))
6299
6300 (define-public cl-trivial-file-size
6301 (sbcl-package->cl-source-package sbcl-trivial-file-size))
6302
6303 (define-public ecl-trivial-file-size
6304 (sbcl-package->ecl-package sbcl-trivial-file-size))
6305
6306 (define-public sbcl-trivial-macroexpand-all
6307 (let ((commit "933270ac7107477de1bc92c1fd641fe646a7a8a9")
6308 (revision "0"))
6309 (package
6310 (name "sbcl-trivial-macroexpand-all")
6311 (version (git-version "0.0.0" revision commit))
6312 (home-page "https://github.com/cbaggers/trivial-macroexpand-all")
6313 (source
6314 (origin
6315 (method git-fetch)
6316 (uri (git-reference
6317 (url home-page)
6318 (commit commit)))
6319 (file-name (git-file-name name version))
6320 (sha256
6321 (base32
6322 "191hnn4b5j4i3crydmlzbm231kj0h7l8zj6mzj69r1npbzkas4bd"))))
6323 (build-system asdf-build-system/sbcl)
6324 (native-inputs
6325 `(("fiveam" ,sbcl-fiveam)))
6326 (synopsis "Portable macroexpand-all for Common Lisp")
6327 (description
6328 "This library provides a macroexpand-all function that calls the
6329 implementation specific equivalent.")
6330 (license license:unlicense))))
6331
6332 (define-public cl-trivial-macroexpand-all
6333 (sbcl-package->cl-source-package sbcl-trivial-macroexpand-all))
6334
6335 (define-public ecl-trivial-macroexpand-all
6336 (sbcl-package->ecl-package sbcl-trivial-macroexpand-all))
6337
6338 (define-public sbcl-serapeum
6339 (let ((commit "c5e352a9f04a84a93742193c01734f4fb31d9f82")
6340 (revision "3"))
6341 (package
6342 (name "sbcl-serapeum")
6343 (version (git-version "0.0.0" revision commit))
6344 (home-page "https://github.com/ruricolist/serapeum")
6345 (source
6346 (origin
6347 (method git-fetch)
6348 (uri (git-reference
6349 (url home-page)
6350 (commit commit)))
6351 (file-name (git-file-name name version))
6352 (sha256
6353 (base32
6354 "16767pxl766c15jznr4srcbp7cnxf8w9lkyaqpp5w5crqymw84nw"))))
6355 (build-system asdf-build-system/sbcl)
6356 (inputs
6357 `(("alexandria" ,sbcl-alexandria)
6358 ("trivia" ,sbcl-trivia)
6359 ("split-sequence" ,sbcl-split-sequence)
6360 ("string-case" ,sbcl-string-case)
6361 ("parse-number" ,sbcl-parse-number)
6362 ("trivial-garbage" ,sbcl-trivial-garbage)
6363 ("bordeaux-threads" ,sbcl-bordeaux-threads)
6364 ("named-readtables" ,sbcl-named-readtables)
6365 ("fare-quasiquote" ,sbcl-fare-quasiquote)
6366 ("parse-declarations-1.0" ,sbcl-parse-declarations)
6367 ("global-vars" ,sbcl-global-vars)
6368 ("trivial-file-size" ,sbcl-trivial-file-size)
6369 ("trivial-macroexpand-all" ,sbcl-trivial-macroexpand-all)))
6370 (native-inputs
6371 `(("fiveam" ,sbcl-fiveam)
6372 ("local-time" ,sbcl-local-time)))
6373 (arguments
6374 '(#:phases
6375 (modify-phases %standard-phases
6376 (add-after 'unpack 'disable-failing-tests
6377 (lambda* (#:key inputs #:allow-other-keys)
6378 (substitute* "serapeum.asd"
6379 ;; Guix does not have Quicklisp, and probably never will.
6380 (("\\(:file \"quicklisp\"\\)") ""))
6381 #t)))))
6382 (synopsis "Common Lisp utility library beyond Alexandria")
6383 (description
6384 "Serapeum is a conservative library of Common Lisp utilities. It is a
6385 supplement, not a competitor, to Alexandria.")
6386 (license license:expat))))
6387
6388 (define-public cl-serapeum
6389 (sbcl-package->cl-source-package sbcl-serapeum))
6390
6391 (define-public ecl-serapeum
6392 (sbcl-package->ecl-package sbcl-serapeum))
6393
6394 (define-public sbcl-arrows
6395 (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382")
6396 (revision "0"))
6397 (package
6398 (name "sbcl-arrows")
6399 (version (git-version "0.2.0" revision commit))
6400 (source
6401 (origin
6402 (method git-fetch)
6403 (uri (git-reference
6404 (url "https://gitlab.com/Harleqin/arrows.git")
6405 (commit commit)))
6406 (file-name (git-file-name name version))
6407 (sha256
6408 (base32
6409 "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy"))))
6410 (build-system asdf-build-system/sbcl)
6411 (native-inputs
6412 `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
6413 (synopsis "Clojure-like arrow macros for Common Lisp")
6414 (description
6415 "This library implements the @code{->} and @code{->>} macros from
6416 Clojure, as well as several expansions on the idea.")
6417 (home-page "https://gitlab.com/Harleqin/arrows")
6418 (license license:public-domain))))
6419
6420 (define-public cl-arrows
6421 (sbcl-package->cl-source-package sbcl-arrows))
6422
6423 (define-public ecl-arrows
6424 (sbcl-package->ecl-package sbcl-arrows))
6425
6426 (define-public sbcl-simple-parallel-tasks
6427 (let ((commit "ce7b60f788d8f68dfb69b24aac54c0e3b63379a6")
6428 (revision "1"))
6429 (package
6430 (name "sbcl-simple-parallel-tasks")
6431 (version (git-version "1.0" revision commit))
6432 (source
6433 (origin
6434 (method git-fetch)
6435 (uri (git-reference
6436 (url "https://github.com/glv2/simple-parallel-tasks")
6437 (commit commit)))
6438 (file-name (git-file-name name version))
6439 (sha256
6440 (base32 "0gvbpyff4siifp3cp86cpr9ksmakn66fx21f3h0hpn647zl07nj7"))))
6441 (build-system asdf-build-system/sbcl)
6442 (native-inputs
6443 `(("fiveam" ,sbcl-fiveam)))
6444 (inputs
6445 `(("chanl" ,sbcl-chanl)))
6446 (synopsis "Common Lisp library to evaluate some forms in parallel")
6447 (description "This is a simple Common Lisp library to evaluate some
6448 forms in parallel.")
6449 (home-page "https://github.com/glv2/simple-parallel-tasks")
6450 (license license:gpl3))))
6451
6452 (define-public cl-simple-parallel-tasks
6453 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
6454
6455 (define-public ecl-simple-parallel-tasks
6456 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
6457
6458 (define-public sbcl-cl-heap
6459 (package
6460 (name "sbcl-cl-heap")
6461 (version "0.1.6")
6462 (source
6463 (origin
6464 (method url-fetch)
6465 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
6466 "cl-heap_" version ".tar.gz"))
6467 (sha256
6468 (base32
6469 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
6470 (build-system asdf-build-system/sbcl)
6471 (native-inputs
6472 `(("xlunit" ,sbcl-xlunit)))
6473 (arguments
6474 `(#:test-asd-file "cl-heap-tests.asd"))
6475 (synopsis "Heap and priority queue data structures for Common Lisp")
6476 (description
6477 "CL-HEAP provides various implementations of heap data structures (a
6478 binary heap and a Fibonacci heap) as well as an efficient priority queue.")
6479 (home-page "https://common-lisp.net/project/cl-heap/")
6480 (license license:gpl3+)))
6481
6482 (define-public cl-heap
6483 (sbcl-package->cl-source-package sbcl-cl-heap))
6484
6485 (define-public ecl-cl-heap
6486 (sbcl-package->ecl-package sbcl-cl-heap))
6487
6488 (define-public sbcl-curry-compose-reader-macros
6489 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
6490 (revision "0"))
6491 (package
6492 (name "sbcl-curry-compose-reader-macros")
6493 (version (git-version "1.0.0" revision commit))
6494 (source
6495 (origin
6496 (method git-fetch)
6497 (uri
6498 (git-reference
6499 (url "https://github.com/eschulte/curry-compose-reader-macros")
6500 (commit commit)))
6501 (file-name (git-file-name name version))
6502 (sha256
6503 (base32
6504 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
6505 (build-system asdf-build-system/sbcl)
6506 (inputs
6507 `(("alexandria" ,sbcl-alexandria)
6508 ("named-readtables" ,sbcl-named-readtables)))
6509 (synopsis "Reader macros for partial application and composition")
6510 (description
6511 "This Common Lisp library provides reader macros for concise expression
6512 of function partial application and composition.")
6513 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
6514 (license license:public-domain))))
6515
6516 (define-public cl-curry-compose-reader-macros
6517 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
6518
6519 (define-public ecl-curry-compose-reader-macros
6520 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
6521
6522 (define-public sbcl-yason
6523 (package
6524 (name "sbcl-yason")
6525 (version "0.7.7")
6526 (source
6527 (origin
6528 (method git-fetch)
6529 (uri (git-reference
6530 (url "https://github.com/phmarek/yason")
6531 (commit (string-append "v" version))))
6532 (file-name (git-file-name name version))
6533 (sha256
6534 (base32
6535 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
6536 (build-system asdf-build-system/sbcl)
6537 (inputs
6538 `(("alexandria" ,sbcl-alexandria)
6539 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6540 (synopsis "Common Lisp JSON parser/encoder")
6541 (description
6542 "YASON is a Common Lisp library for encoding and decoding data in the
6543 JSON interchange format.")
6544 (home-page "https://github.com/phmarek/yason")
6545 (license license:bsd-3)))
6546
6547 (define-public cl-yason
6548 (sbcl-package->cl-source-package sbcl-yason))
6549
6550 (define-public ecl-yason
6551 (sbcl-package->ecl-package sbcl-yason))
6552
6553 (define-public sbcl-stefil
6554 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
6555 (revision "0"))
6556 (package
6557 (name "sbcl-stefil")
6558 (version (git-version "0.1" revision commit))
6559 (source
6560 (origin
6561 (method git-fetch)
6562 (uri (git-reference
6563 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
6564 (commit commit)))
6565 (file-name (git-file-name name version))
6566 (sha256
6567 (base32
6568 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
6569 (build-system asdf-build-system/sbcl)
6570 (inputs
6571 `(("alexandria" ,sbcl-alexandria)
6572 ("iterate" ,sbcl-iterate)
6573 ("metabang-bind" ,sbcl-metabang-bind)
6574 ("swank" ,sbcl-slime-swank)))
6575 (arguments
6576 '(#:phases
6577 (modify-phases %standard-phases
6578 (add-after 'unpack 'drop-unnecessary-dependency
6579 (lambda _
6580 (substitute* "package.lisp"
6581 ((":stefil-system") ""))
6582 #t)))))
6583 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
6584 (synopsis "Simple test framework")
6585 (description
6586 "Stefil is a simple test framework for Common Lisp, with a focus on
6587 interactive development.")
6588 (license license:public-domain))))
6589
6590 (define-public cl-stefil
6591 (sbcl-package->cl-source-package sbcl-stefil))
6592
6593 (define-public ecl-stefil
6594 (sbcl-package->ecl-package sbcl-stefil))
6595
6596 (define-public sbcl-graph
6597 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
6598 (revision "0"))
6599 (package
6600 (name "sbcl-graph")
6601 (version (git-version "0.0.0" revision commit))
6602 (source
6603 (origin
6604 (method git-fetch)
6605 (uri
6606 (git-reference
6607 (url "https://github.com/eschulte/graph")
6608 (commit commit)))
6609 (file-name (git-file-name name version))
6610 (sha256
6611 (base32
6612 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))))
6613 (build-system asdf-build-system/sbcl)
6614 (native-inputs
6615 `(("stefil" ,sbcl-stefil)))
6616 (inputs
6617 `(("alexandria" ,sbcl-alexandria)
6618 ("cl-heap" ,sbcl-cl-heap)
6619 ("cl-ppcre" ,sbcl-cl-ppcre)
6620 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
6621 ("metabang-bind" ,sbcl-metabang-bind)
6622 ("named-readtables" ,sbcl-named-readtables)
6623 ("yason" ,sbcl-yason)))
6624 (arguments
6625 '(#:asd-systems '("graph"
6626 "graph/dot"
6627 "graph/json")))
6628 (synopsis "Graph data structure and algorithms for Common Lisp")
6629 (description
6630 "The GRAPH Common Lisp library provides a data structures to represent
6631 graphs, as well as some graph manipulation and analysis algorithms (shortest
6632 path, maximum flow, minimum spanning tree, etc.).")
6633 (home-page "https://eschulte.github.io/graph/")
6634 (license license:gpl3+))))
6635
6636 (define-public cl-graph
6637 (sbcl-package->cl-source-package sbcl-graph))
6638
6639 (define-public ecl-graph
6640 (sbcl-package->ecl-package sbcl-graph))
6641
6642 (define-public sbcl-trivial-indent
6643 (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
6644 (revision "0"))
6645 (package
6646 (name "sbcl-trivial-indent")
6647 (version (git-version "1.0.0" revision commit))
6648 (source
6649 (origin
6650 (method git-fetch)
6651 (uri
6652 (git-reference
6653 (url "https://github.com/Shinmera/trivial-indent")
6654 (commit commit)))
6655 (file-name (git-file-name name version))
6656 (sha256
6657 (base32
6658 "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
6659 (build-system asdf-build-system/sbcl)
6660 (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
6661 (description
6662 "This library allows you to define custom indentation hints for your
6663 macros if the one recognised by SLIME automatically produces unwanted
6664 results.")
6665 (home-page "https://shinmera.github.io/trivial-indent/")
6666 (license license:zlib))))
6667
6668 (define-public cl-trivial-indent
6669 (sbcl-package->cl-source-package sbcl-trivial-indent))
6670
6671 (define-public ecl-trivial-indent
6672 (sbcl-package->ecl-package sbcl-trivial-indent))
6673
6674 (define-public sbcl-documentation-utils
6675 (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
6676 (revision "0"))
6677 (package
6678 (name "sbcl-documentation-utils")
6679 (version (git-version "1.2.0" revision commit))
6680 (source
6681 (origin
6682 (method git-fetch)
6683 (uri
6684 (git-reference
6685 (url "https://github.com/Shinmera/documentation-utils")
6686 (commit commit)))
6687 (file-name (git-file-name name version))
6688 (sha256
6689 (base32
6690 "098qhkqskmmrh4wix34mawf7p5c87yql28r51r75yjxj577k5idq"))))
6691 (build-system asdf-build-system/sbcl)
6692 (inputs
6693 `(("trivial-indent" ,sbcl-trivial-indent)))
6694 (synopsis "Few simple tools to document Common Lisp libraries")
6695 (description
6696 "This is a small library to help you with managing the Common Lisp
6697 docstrings for your library.")
6698 (home-page "https://shinmera.github.io/documentation-utils/")
6699 (license license:zlib))))
6700
6701 (define-public cl-documentation-utils
6702 (sbcl-package->cl-source-package sbcl-documentation-utils))
6703
6704 (define-public ecl-documentation-utils
6705 (sbcl-package->ecl-package sbcl-documentation-utils))
6706
6707 (define-public sbcl-form-fiddle
6708 (let ((commit "e0c23599dbb8cff3e83e012f3d86d0764188ad18")
6709 (revision "0"))
6710 (package
6711 (name "sbcl-form-fiddle")
6712 (version (git-version "1.1.0" revision commit))
6713 (source
6714 (origin
6715 (method git-fetch)
6716 (uri
6717 (git-reference
6718 (url "https://github.com/Shinmera/form-fiddle")
6719 (commit commit)))
6720 (file-name (git-file-name name version))
6721 (sha256
6722 (base32
6723 "041iznc9mpfyrl0sv5893ys9pbb2pvbn9g3clarqi7gsfj483jln"))))
6724 (build-system asdf-build-system/sbcl)
6725 (inputs
6726 `(("documentation-utils" ,sbcl-documentation-utils)))
6727 (synopsis "Utilities to destructure Common Lisp lambda forms")
6728 (description
6729 "Often times we need to destructure a form definition in a Common Lisp
6730 macro. This library provides a set of simple utilities to help with that.")
6731 (home-page "https://shinmera.github.io/form-fiddle/")
6732 (license license:zlib))))
6733
6734 (define-public cl-form-fiddle
6735 (sbcl-package->cl-source-package sbcl-form-fiddle))
6736
6737 (define-public ecl-form-fiddle
6738 (sbcl-package->ecl-package sbcl-form-fiddle))
6739
6740 (define-public sbcl-parachute
6741 (let ((commit "ca04dd8e43010a6dfffa26dbe1d62af86008d666")
6742 (revision "0"))
6743 (package
6744 (name "sbcl-parachute")
6745 (version (git-version "1.1.1" revision commit))
6746 (source
6747 (origin
6748 (method git-fetch)
6749 (uri
6750 (git-reference
6751 (url "https://github.com/Shinmera/parachute")
6752 (commit commit)))
6753 (file-name (git-file-name name version))
6754 (sha256
6755 (base32
6756 "1mvsm3r0r6a2bg75nw0q7n9vlby3ch45qjl7hnb5k1z2n5x5lh60"))))
6757 (build-system asdf-build-system/sbcl)
6758 (inputs
6759 `(("documentation-utils" ,sbcl-documentation-utils)
6760 ("form-fiddle" ,sbcl-form-fiddle)))
6761 (synopsis "Extensible and cross-compatible testing framework for Common Lisp")
6762 (description
6763 "Parachute is a simple-to-use and extensible testing framework.
6764 In Parachute, things are organised as a bunch of named tests within a package.
6765 Each test can contain a bunch of test forms that make up its body.")
6766 (home-page "https://shinmera.github.io/parachute/")
6767 (license license:zlib))))
6768
6769 (define-public cl-parachute
6770 (sbcl-package->cl-source-package sbcl-parachute))
6771
6772 (define-public ecl-parachute
6773 (sbcl-package->ecl-package sbcl-parachute))
6774
6775 (define-public sbcl-array-utils
6776 (let ((commit "f90eb9070d0b2205af51126a35033574725e5c56")
6777 (revision "0"))
6778 (package
6779 (name "sbcl-array-utils")
6780 (version (git-version "1.1.1" revision commit))
6781 (source
6782 (origin
6783 (method git-fetch)
6784 (uri
6785 (git-reference
6786 (url "https://github.com/Shinmera/array-utils")
6787 (commit commit)))
6788 (file-name (git-file-name name version))
6789 (sha256
6790 (base32
6791 "0zhwfbpr53vs1ii4sx75dz2k9yhh1xpwdqqpg8nmfndxkmhpbi3x"))))
6792 (build-system asdf-build-system/sbcl)
6793 (native-inputs
6794 `(("parachute" ,sbcl-parachute)))
6795 (inputs
6796 `(("documentation-utils" ,sbcl-documentation-utils)))
6797 (synopsis "Tiny collection of array and vector utilities for Common Lisp")
6798 (description
6799 "A miniature toolkit that contains some useful shifting/popping/pushing
6800 functions for arrays and vectors. Originally from Plump.")
6801 (home-page "https://shinmera.github.io/array-utils/")
6802 (license license:zlib))))
6803
6804 (define-public cl-array-utils
6805 (sbcl-package->cl-source-package sbcl-array-utils))
6806
6807 (define-public ecl-array-utils
6808 (sbcl-package->ecl-package sbcl-array-utils))
6809
6810 (define-public sbcl-plump
6811 (let ((commit "34f890fe46efdebe7bb70d218f1937e98f632bf9")
6812 (revision "1"))
6813 (package
6814 (name "sbcl-plump")
6815 (version (git-version "2.0.0" revision commit))
6816 (source
6817 (origin
6818 (method git-fetch)
6819 (uri
6820 (git-reference
6821 (url "https://github.com/Shinmera/plump")
6822 (commit commit)))
6823 (file-name (git-file-name name version))
6824 (sha256
6825 (base32
6826 "0a0x8wn6vv1ylxcwck12k18gy0a366kdm6ddxxk7yynl4mwnqgkh"))))
6827 (build-system asdf-build-system/sbcl)
6828 (inputs
6829 `(("array-utils" ,sbcl-array-utils)
6830 ("documentation-utils" ,sbcl-documentation-utils)))
6831 (synopsis "Lenient XML / XHTML / HTML parser for Common Lisp")
6832 (description
6833 "Plump is a parser for HTML/XML-like documents, focusing on being
6834 lenient towards invalid markup. It can handle things like invalid attributes,
6835 bad closing tag order, unencoded entities, inexistent tag types, self-closing
6836 tags and so on. It parses documents to a class representation and offers a
6837 small set of DOM functions to manipulate it. It can be extended to parse to
6838 your own classes.")
6839 (home-page "https://shinmera.github.io/plump/")
6840 (license license:zlib))))
6841
6842 (define-public cl-plump
6843 (sbcl-package->cl-source-package sbcl-plump))
6844
6845 (define-public ecl-plump
6846 (sbcl-package->ecl-package sbcl-plump))
6847
6848 ;;; Split the antik package in two to work around the circular dependency
6849 ;;; between antik/antik and antik/gsll.
6850 (define-public sbcl-antik-base
6851 (let ((commit "e4711a69b3d6bf37b5727af05c3cfd03e8428ba3")
6852 (revision "1"))
6853 (package
6854 (name "sbcl-antik-base")
6855 (version (git-version "0.0.0" revision commit))
6856 (source
6857 (origin
6858 (method git-fetch)
6859 (uri (git-reference
6860 (url "https://gitlab.common-lisp.net/antik/antik.git")
6861 (commit commit)))
6862 (file-name (git-file-name name version))
6863 (sha256
6864 (base32
6865 "047ga2c38par2xbgg4qx6hwv06qhf1c1f67as8xvir6s80lip1km"))))
6866 (build-system asdf-build-system/sbcl)
6867 (inputs
6868 `(("alexandria" ,sbcl-alexandria)
6869 ("cffi" ,sbcl-cffi)
6870 ("cl-ppcre" ,sbcl-cl-ppcre)
6871 ("drakma" ,sbcl-drakma)
6872 ("fare-utils" ,sbcl-fare-utils)
6873 ("iterate" ,sbcl-iterate)
6874 ("metabang-bind" ,sbcl-metabang-bind)
6875 ("named-readtables" ,sbcl-named-readtables)
6876 ("split-sequence" ,sbcl-split-sequence)
6877 ("static-vectors" ,sbcl-static-vectors)
6878 ("trivial-garbage" ,sbcl-trivial-garbage)
6879 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
6880 (native-inputs
6881 `(("lisp-unit" ,sbcl-lisp-unit)))
6882 (arguments
6883 '(#:asd-systems '("antik-base"
6884 "foreign-array")
6885 #:phases
6886 (modify-phases %standard-phases
6887 (add-after 'unpack 'fix-build
6888 (lambda _
6889 (for-each delete-file
6890 '("antik.asd"
6891 "physical-dimension.asd"
6892 "science-data.asd"))
6893 #t)))))
6894 (synopsis "Scientific and engineering computation in Common Lisp")
6895 (description
6896 "Antik provides a foundation for scientific and engineering
6897 computation in Common Lisp. It is designed not only to facilitate
6898 numerical computations, but to permit the use of numerical computation
6899 libraries and the interchange of data and procedures, whether
6900 foreign (non-Lisp) or Lisp libraries. It is named after the
6901 Antikythera mechanism, one of the oldest examples of a scientific
6902 computer known.")
6903 (home-page "https://common-lisp.net/project/antik/")
6904 (license license:gpl3))))
6905
6906 (define-public cl-antik-base
6907 (sbcl-package->cl-source-package sbcl-antik-base))
6908
6909 (define-public ecl-antik-base
6910 (let ((pkg (sbcl-package->ecl-package sbcl-antik-base)))
6911 (package
6912 (inherit pkg)
6913 (arguments
6914 (substitute-keyword-arguments (package-arguments pkg)
6915 ((#:phases phases)
6916 `(modify-phases ,phases
6917 (add-after 'unpack 'fix-readtable
6918 (lambda _
6919 (substitute* "input-output/readtable.lisp"
6920 (("#-ccl")
6921 "#-(or ccl ecl)"))
6922 #t)))))))))
6923
6924 (define-public sbcl-gsll
6925 (let ((commit "1a8ada22f9cf5ed7372d352b2317f4ccdb6ab308")
6926 (revision "1"))
6927 (package
6928 (name "sbcl-gsll")
6929 (version (git-version "0.0.0" revision commit))
6930 (source
6931 (origin
6932 (method git-fetch)
6933 (uri (git-reference
6934 (url "https://gitlab.common-lisp.net/antik/gsll.git")
6935 (commit commit)))
6936 (file-name (git-file-name name version))
6937 (sha256
6938 (base32
6939 "0z5nypfk26hxihb08p085644afawicrgb4xvadh3lmrn46qbjfn4"))))
6940 (build-system asdf-build-system/sbcl)
6941 (native-inputs
6942 `(("lisp-unit" ,sbcl-lisp-unit)))
6943 (inputs
6944 `(("alexandria" ,sbcl-alexandria)
6945 ("antik-base" ,sbcl-antik-base)
6946 ("cffi" ,sbcl-cffi)
6947 ("gsl" ,gsl)
6948 ("metabang-bind" ,sbcl-metabang-bind)
6949 ("trivial-features" ,sbcl-trivial-features)
6950 ("trivial-garbage" ,sbcl-trivial-garbage)))
6951 (arguments
6952 `(#:tests? #f
6953 #:phases
6954 (modify-phases %standard-phases
6955 (add-after 'unpack 'fix-cffi-paths
6956 (lambda* (#:key inputs #:allow-other-keys)
6957 (substitute* "gsll.asd"
6958 ((":depends-on \\(#:foreign-array")
6959 ":depends-on (#:foreign-array #:cffi-libffi"))
6960 (substitute* "init/init.lisp"
6961 (("libgslcblas.so" all)
6962 (string-append
6963 (assoc-ref inputs "gsl") "/lib/" all)))
6964 (substitute* "init/init.lisp"
6965 (("libgsl.so" all)
6966 (string-append
6967 (assoc-ref inputs "gsl") "/lib/" all))))))))
6968 (synopsis "GNU Scientific Library for Lisp")
6969 (description
6970 "The GNU Scientific Library for Lisp (GSLL) allows the use of the
6971 GNU Scientific Library (GSL) from Common Lisp. This library provides a
6972 full range of common mathematical operations useful to scientific and
6973 engineering applications. The design of the GSLL interface is such
6974 that access to most of the GSL library is possible in a Lisp-natural
6975 way; the intent is that the user not be hampered by the restrictions
6976 of the C language in which GSL has been written. GSLL thus provides
6977 interactive use of GSL for getting quick answers, even for someone not
6978 intending to program in Lisp.")
6979 (home-page "https://common-lisp.net/project/gsll/")
6980 (license license:gpl3))))
6981
6982 (define-public cl-gsll
6983 (sbcl-package->cl-source-package sbcl-gsll))
6984
6985 (define-public ecl-gsll
6986 (sbcl-package->ecl-package sbcl-gsll))
6987
6988 (define-public sbcl-antik
6989 (package
6990 (inherit sbcl-antik-base)
6991 (name "sbcl-antik")
6992 (inputs
6993 `(("antik-base" ,sbcl-antik-base)
6994 ("gsll" ,sbcl-gsll)))
6995 (arguments
6996 '(#:asd-systems '("antik"
6997 "science-data")
6998 #:phases
6999 (modify-phases %standard-phases
7000 (add-after 'unpack 'fix-build
7001 (lambda _
7002 (for-each delete-file
7003 '("antik-base.asd"
7004 "foreign-array.asd"))
7005 #t)))))))
7006
7007 (define-public cl-antik
7008 (sbcl-package->cl-source-package sbcl-antik))
7009
7010 (define-public sbcl-cl-interpol
7011 (let ((commit "1fd288d861db85bc4677cff3cdd6af75fda1afb4")
7012 (revision "1"))
7013 (package
7014 (name "sbcl-cl-interpol")
7015 (version (git-version "0.2.6" revision commit))
7016 (source
7017 (origin
7018 (method git-fetch)
7019 (uri (git-reference
7020 (url "https://github.com/edicl/cl-interpol")
7021 (commit commit)))
7022 (file-name (git-file-name name version))
7023 (sha256
7024 (base32
7025 "1hnikak52hmcq1r5f616m6qq1108qnkw80pja950nv1fq5p0ppjn"))))
7026 (build-system asdf-build-system/sbcl)
7027 (inputs
7028 `(("cl-unicode" ,sbcl-cl-unicode)
7029 ("named-readtables" ,sbcl-named-readtables)))
7030 (native-inputs
7031 `(("flexi-streams" ,sbcl-flexi-streams)))
7032 (synopsis "String interpolation for Common Lisp")
7033 (description
7034 "CL-INTERPOL is a library for Common Lisp which modifies the
7035 reader so that you can have interpolation within strings similar to
7036 Perl or Unix Shell scripts. It also provides various ways to insert
7037 arbitrary characters into literal strings even if your editor/IDE
7038 doesn't support them.")
7039 (home-page "https://edicl.github.io/cl-interpol/")
7040 (license license:bsd-3))))
7041
7042 (define-public cl-interpol
7043 (sbcl-package->cl-source-package sbcl-cl-interpol))
7044
7045 (define-public ecl-cl-interpol
7046 (sbcl-package->ecl-package sbcl-cl-interpol))
7047
7048 (define-public sbcl-symbol-munger
7049 (let ((commit "97598d4c3c53fd5da72ab78908fbd5d8c7a13416")
7050 (revision "1"))
7051 (package
7052 (name "sbcl-symbol-munger")
7053 (version (git-version "0.0.1" revision commit))
7054 (source
7055 (origin
7056 (method git-fetch)
7057 (uri (git-reference
7058 (url "https://github.com/AccelerationNet/symbol-munger")
7059 (commit commit)))
7060 (file-name (git-file-name name version))
7061 (sha256
7062 (base32
7063 "0y8jywjy0ldyhp7bxf16fdvdd2qgqnd7nlhlqfpfnzxcqk4xy1km"))))
7064 (build-system asdf-build-system/sbcl)
7065 (inputs
7066 `(("alexandria" ,sbcl-alexandria)
7067 ("iterate" ,sbcl-iterate)))
7068 (arguments
7069 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7070 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7071 '(#:tests? #f))
7072 (synopsis
7073 "Capitalization and spacing conversion functions for Common Lisp")
7074 (description
7075 "This is a Common Lisp library to change the capitalization and spacing
7076 of a string or a symbol. It can convert to and from Lisp, english, underscore
7077 and camel-case rules.")
7078 (home-page "https://github.com/AccelerationNet/symbol-munger")
7079 ;; The package declares a BSD license, but all of the license
7080 ;; text is MIT.
7081 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
7082 (license license:expat))))
7083
7084 (define-public cl-symbol-munger
7085 (sbcl-package->cl-source-package sbcl-symbol-munger))
7086
7087 (define-public ecl-symbol-munger
7088 (sbcl-package->ecl-package sbcl-symbol-munger))
7089
7090 (define-public sbcl-lisp-unit2
7091 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7092 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7093 (let ((commit "fb9721524d1e4e73abb223ee036d74ce14a5505c")
7094 (revision "1"))
7095 (package
7096 (name "sbcl-lisp-unit2")
7097 (version (git-version "0.2.0" revision commit))
7098 (source
7099 (origin
7100 (method git-fetch)
7101 (uri (git-reference
7102 (url "https://github.com/AccelerationNet/lisp-unit2")
7103 (commit commit)))
7104 (file-name (git-file-name name version))
7105 (sha256
7106 (base32
7107 "1rsqy8y0jqll6xn9a593848f5wvd5ribv4csry1ly0hmdhfnqzlp"))))
7108 (build-system asdf-build-system/sbcl)
7109 (inputs
7110 `(("alexandria" ,sbcl-alexandria)
7111 ("cl-interpol" ,sbcl-cl-interpol)
7112 ("iterate" ,sbcl-iterate)
7113 ("symbol-munger" ,sbcl-symbol-munger)))
7114 (synopsis "Test Framework for Common Lisp")
7115 (description
7116 "LISP-UNIT2 is a Common Lisp library that supports unit testing in the
7117 style of JUnit for Java. It is a new version of the lisp-unit library written
7118 by Chris Riesbeck.")
7119 (home-page "https://github.com/AccelerationNet/lisp-unit2")
7120 (license license:expat))))
7121
7122 (define-public cl-lisp-unit2
7123 (sbcl-package->cl-source-package sbcl-lisp-unit2))
7124
7125 (define-public ecl-lisp-unit2
7126 (sbcl-package->ecl-package sbcl-lisp-unit2))
7127
7128 (define-public sbcl-cl-csv
7129 (let ((commit "68ecb5d816545677513d7f6308d9e5e8d2265651")
7130 (revision "2"))
7131 (package
7132 (name "sbcl-cl-csv")
7133 (version (git-version "1.0.6" revision commit))
7134 (source
7135 (origin
7136 (method git-fetch)
7137 (uri (git-reference
7138 (url "https://github.com/AccelerationNet/cl-csv")
7139 (commit commit)))
7140 (file-name (git-file-name name version))
7141 (sha256
7142 (base32
7143 "0gcmlbwx5m3kwgk12qi80w08ak8fgdnvyia429fz6gnxmhg0k54x"))))
7144 (build-system asdf-build-system/sbcl)
7145 (arguments
7146 ;; See: https://github.com/AccelerationNet/cl-csv/pull/34
7147 `(#:tests? #f))
7148 (inputs
7149 `(("alexandria" ,sbcl-alexandria)
7150 ("cl-interpol" ,sbcl-cl-interpol)
7151 ("iterate" ,sbcl-iterate)))
7152 (native-inputs
7153 `(("lisp-unit2" ,sbcl-lisp-unit2)))
7154 (synopsis "Common lisp library for comma-separated values")
7155 (description
7156 "This is a Common Lisp library providing functions to read/write CSV
7157 from/to strings, streams and files.")
7158 (home-page "https://github.com/AccelerationNet/cl-csv")
7159 (license license:bsd-3))))
7160
7161 (define-public cl-csv
7162 (sbcl-package->cl-source-package sbcl-cl-csv))
7163
7164 (define-public ecl-cl-csv
7165 (sbcl-package->ecl-package sbcl-cl-csv))
7166
7167 (define-public sbcl-external-program
7168 (let ((commit "5888b8f1fd3953feeeacecbba4384ddda584a749")
7169 (revision "1"))
7170 (package
7171 (name "sbcl-external-program")
7172 (version (git-version "0.0.6" revision commit))
7173 (source
7174 (origin
7175 (method git-fetch)
7176 (uri (git-reference
7177 (url "https://github.com/sellout/external-program")
7178 (commit commit)))
7179 (file-name (git-file-name name version))
7180 (sha256
7181 (base32
7182 "0vww1x3yilb3bjwg6k184vaj4vxyxw4vralhnlm6lk4xac67kc9z"))))
7183 (build-system asdf-build-system/sbcl)
7184 (inputs
7185 `(("trivial-features" ,sbcl-trivial-features)))
7186 (native-inputs
7187 `(("fiveam" ,sbcl-fiveam)))
7188 (synopsis "Common Lisp library for running external programs")
7189 (description
7190 "EXTERNAL-PROGRAM enables running programs outside the Lisp
7191 process. It is an attempt to make the RUN-PROGRAM functionality in
7192 implementations like SBCL and CCL as portable as possible without
7193 sacrificing much in the way of power.")
7194 (home-page "https://github.com/sellout/external-program")
7195 (license license:llgpl))))
7196
7197 (define-public cl-external-program
7198 (sbcl-package->cl-source-package sbcl-external-program))
7199
7200 (define-public ecl-external-program
7201 (sbcl-package->ecl-package sbcl-external-program))
7202
7203 (define-public sbcl-cl-ana
7204 (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
7205 (revision "1"))
7206 (package
7207 (name "sbcl-cl-ana")
7208 (version (git-version "0.0.0" revision commit))
7209 (source
7210 (origin
7211 (method git-fetch)
7212 (uri (git-reference
7213 (url "https://github.com/ghollisjr/cl-ana")
7214 (commit commit)))
7215 (file-name (git-file-name name version))
7216 (sha256
7217 (base32 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
7218 (build-system asdf-build-system/sbcl)
7219 (native-inputs
7220 `(("cl-fad" ,sbcl-cl-fad)))
7221 (inputs
7222 `(("alexandria" ,sbcl-alexandria)
7223 ("antik" ,sbcl-antik)
7224 ("cffi" ,sbcl-cffi)
7225 ("cl-csv" ,sbcl-cl-csv)
7226 ("closer-mop" ,sbcl-closer-mop)
7227 ("external-program" ,sbcl-external-program)
7228 ("gsl" ,gsl)
7229 ("gsll" ,sbcl-gsll)
7230 ("hdf5" ,hdf5-parallel-openmpi)
7231 ("iterate" ,sbcl-iterate)
7232 ("libffi" ,libffi)
7233 ("split-sequence" ,sbcl-split-sequence)))
7234 (arguments
7235 `(#:phases
7236 (modify-phases %standard-phases
7237 (add-after 'unpack 'fix-paths
7238 (lambda* (#:key inputs #:allow-other-keys)
7239 (substitute* "hdf-cffi/hdf-cffi.lisp"
7240 (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
7241 (string-append (assoc-ref inputs "hdf5")
7242 "/lib/libhdf5.so")))
7243 (substitute* "gsl-cffi/gsl-cffi.lisp"
7244 (("define-foreign-library gsl-cffi" all)
7245 (string-append all " (:unix "
7246 (assoc-ref inputs "gsl")
7247 "/lib/libgsl.so)")))
7248 #t)))))
7249 (synopsis "Common Lisp data analysis library")
7250 (description
7251 "CL-ANA is a data analysis library in Common Lisp providing tabular and
7252 binned data analysis along with nonlinear least squares fitting and
7253 visualization.")
7254 (home-page "https://github.com/ghollisjr/cl-ana")
7255 (license license:gpl3))))
7256
7257 (define-public cl-ana
7258 (sbcl-package->cl-source-package sbcl-cl-ana))
7259
7260 (define-public sbcl-archive
7261 (let ((commit "631271c091ed02994bec3980cb288a2cf32c7cdc")
7262 (revision "1"))
7263 (package
7264 (name "sbcl-archive")
7265 (version (git-version "0.9" revision commit))
7266 (source (origin
7267 (method git-fetch)
7268 (uri (git-reference
7269 (url "https://github.com/sharplispers/archive")
7270 (commit commit)))
7271 (file-name (git-file-name name version))
7272 (sha256
7273 (base32
7274 "0pvsc9fmybx7rxd0kmzq4shi6hszdpwdc1sfy7jwyfxf8n3hnv4p"))))
7275 (build-system asdf-build-system/sbcl)
7276 (inputs
7277 `(("cl-fad" ,sbcl-cl-fad)
7278 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7279 (synopsis "Common Lisp library for tar and cpio archives")
7280 (description
7281 "This is a Common Lisp library to read and write disk-based file
7282 archives such as those generated by the tar and cpio programs on Unix.")
7283 (home-page "https://github.com/sharplispers/archive")
7284 (license license:bsd-3))))
7285
7286 (define-public cl-archive
7287 (sbcl-package->cl-source-package sbcl-archive))
7288
7289 (define-public ecl-archive
7290 (sbcl-package->ecl-package sbcl-archive))
7291
7292 (define-public sbcl-misc-extensions
7293 (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
7294 (revision "1"))
7295 (package
7296 (name "sbcl-misc-extensions")
7297 (version (git-version "3.3" revision commit))
7298 (source
7299 (origin
7300 (method git-fetch)
7301 (uri (git-reference
7302 (url "https://gitlab.common-lisp.net/misc-extensions/devel.git")
7303 (commit commit)))
7304 (file-name (git-file-name name version))
7305 (sha256
7306 (base32
7307 "0gz5f4p70qzilnxsnf5lih2n9m4wjcw8hlw4w8mpn9jyhyppyyv0"))))
7308 (build-system asdf-build-system/sbcl)
7309 (synopsis "Collection of small macros and extensions for Common Lisp")
7310 (description
7311 "This project is intended as a catchall for small, general-purpose
7312 extensions to Common Lisp. It contains:
7313
7314 @itemize
7315 @item @code{new-let}, a macro that combines and generalizes @code{let},
7316 @code{let*} and @code{multiple-value-bind},
7317 @item @code{gmap}, an iteration macro that generalizes @code{map}.
7318 @end itemize\n")
7319 (home-page "https://common-lisp.net/project/misc-extensions/")
7320 (license license:public-domain))))
7321
7322 (define-public cl-misc-extensions
7323 (sbcl-package->cl-source-package sbcl-misc-extensions))
7324
7325 (define-public ecl-misc-extensions
7326 (sbcl-package->ecl-package sbcl-misc-extensions))
7327
7328 (define-public sbcl-mt19937
7329 (package
7330 (name "sbcl-mt19937")
7331 (version "1.1")
7332 (source
7333 (origin
7334 (method url-fetch)
7335 (uri (string-append "https://common-lisp.net/project/asdf-packaging/"
7336 "mt19937-latest.tar.gz"))
7337 (sha256
7338 (base32
7339 "1iw636b0iw5ygkv02y8i41lh7xj0acglv0hg5agryn0zzi2nf1xv"))))
7340 (build-system asdf-build-system/sbcl)
7341 (synopsis "Mersenne Twister pseudo-random number generator")
7342 (description
7343 "MT19937 is a portable Mersenne Twister pseudo-random number generator
7344 for Common Lisp.")
7345 (home-page "https://www.cliki.net/mt19937")
7346 (license license:public-domain)))
7347
7348 (define-public cl-mt19937
7349 (sbcl-package->cl-source-package sbcl-mt19937))
7350
7351 (define-public ecl-mt19937
7352 (sbcl-package->ecl-package sbcl-mt19937))
7353
7354 (define-public sbcl-fset
7355 (let ((commit "6d2f9ded8934d2b42f2571a0ba5bda091037d852")
7356 (revision "1"))
7357 (package
7358 (name "sbcl-fset")
7359 (version (git-version "1.3.2" revision commit))
7360 (source
7361 (origin
7362 (method git-fetch)
7363 (uri (git-reference
7364 (url "https://github.com/slburson/fset")
7365 (commit commit)))
7366 (file-name (git-file-name name version))
7367 (sha256
7368 (base32
7369 "127acblwrbqicx47h6sgvknz1cqyfn8p4xkhkn1m7hxh8w5gk1zy"))
7370 (snippet '(begin
7371 ;; Remove obsolete copy of system definition.
7372 (delete-file "Code/fset.asd")
7373 #t))))
7374 (build-system asdf-build-system/sbcl)
7375 (inputs
7376 `(("misc-extensions" ,sbcl-misc-extensions)
7377 ("mt19937" ,sbcl-mt19937)
7378 ("named-readtables" ,sbcl-named-readtables)))
7379 (synopsis "Functional set-theoretic collections library")
7380 (description
7381 "FSet is a functional set-theoretic collections library for Common Lisp.
7382 Functional means that all update operations return a new collection rather than
7383 modifying an existing one in place. Set-theoretic means that collections may
7384 be nested arbitrarily with no additional programmer effort; for instance, sets
7385 may contain sets, maps may be keyed by sets, etc.")
7386 (home-page "https://common-lisp.net/project/fset/Site/index.html")
7387 (license license:llgpl))))
7388
7389 (define-public cl-fset
7390 (sbcl-package->cl-source-package sbcl-fset))
7391
7392 (define-public ecl-fset
7393 (package
7394 (inherit (sbcl-package->ecl-package sbcl-fset))
7395 (arguments
7396 ;; Tests fails on ECL with "The function FSET::MAKE-CHAR is undefined".
7397 '(#:tests? #f))))
7398
7399 (define-public sbcl-cl-cont
7400 (let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a")
7401 (revision "1"))
7402 (package
7403 (name "sbcl-cl-cont")
7404 (version (git-version "0.3.8" revision commit))
7405 (source
7406 (origin
7407 (method git-fetch)
7408 (uri (git-reference
7409 (url "https://gitlab.common-lisp.net/cl-cont/cl-cont.git")
7410 (commit commit)))
7411 (file-name (git-file-name name version))
7412 (sha256
7413 (base32
7414 "1zf8zvb0i6jm3hhfks4w74hibm6avgc6f9s1qwgjrn2bcik8lrvz"))))
7415 (build-system asdf-build-system/sbcl)
7416 (inputs
7417 `(("alexandria" ,sbcl-alexandria)
7418 ("closer-mop" ,sbcl-closer-mop)))
7419 (native-inputs
7420 `(("rt" ,sbcl-rt)))
7421 (synopsis "Delimited continuations for Common Lisp")
7422 (description
7423 "This is a library that implements delimited continuations by
7424 transforming Common Lisp code to continuation passing style.")
7425 (home-page "https://common-lisp.net/project/cl-cont/")
7426 (license license:llgpl))))
7427
7428 (define-public cl-cont
7429 (sbcl-package->cl-source-package sbcl-cl-cont))
7430
7431 (define-public ecl-cl-cont
7432 (sbcl-package->ecl-package sbcl-cl-cont))
7433
7434 (define-public sbcl-cl-coroutine
7435 (let ((commit "de098f8d5debd8b14ef6864b5bdcbbf5ddbcfd72")
7436 (revision "1"))
7437 (package
7438 (name "sbcl-cl-coroutine")
7439 (version (git-version "0.1" revision commit))
7440 (source
7441 (origin
7442 (method git-fetch)
7443 (uri (git-reference
7444 (url "https://github.com/takagi/cl-coroutine")
7445 (commit commit)))
7446 (file-name (git-file-name name version))
7447 (sha256
7448 (base32
7449 "1cqdhdjxffgfs116l1swjlsmcbly0xgcgrckvaajd566idj9yj4l"))))
7450 (build-system asdf-build-system/sbcl)
7451 (inputs
7452 `(("alexandria" ,sbcl-alexandria)
7453 ("cl-cont" ,sbcl-cl-cont)))
7454 (native-inputs
7455 `(("prove" ,sbcl-prove)))
7456 (arguments
7457 `(;; TODO: Fix the tests. They fail with:
7458 ;; "Component CL-COROUTINE-ASD::CL-COROUTINE-TEST not found"
7459 #:tests? #f
7460 #:phases
7461 (modify-phases %standard-phases
7462 (add-after 'unpack 'fix-tests
7463 (lambda _
7464 (substitute* "cl-coroutine-test.asd"
7465 (("cl-test-more")
7466 "prove"))
7467 #t)))))
7468 (synopsis "Coroutine library for Common Lisp")
7469 (description
7470 "This is a coroutine library for Common Lisp implemented using the
7471 continuations of the @code{cl-cont} library.")
7472 (home-page "https://github.com/takagi/cl-coroutine")
7473 (license license:llgpl))))
7474
7475 (define-public cl-coroutine
7476 (sbcl-package->cl-source-package sbcl-cl-coroutine))
7477
7478 (define-public ecl-cl-coroutine
7479 (sbcl-package->ecl-package sbcl-cl-coroutine))
7480
7481 (define-public sbcl-vom
7482 (let ((commit "1aeafeb5b74c53741b79497e0ef4acf85c92ff24")
7483 (revision "1"))
7484 (package
7485 (name "sbcl-vom")
7486 (version (git-version "0.1.4" revision commit))
7487 (source
7488 (origin
7489 (method git-fetch)
7490 (uri (git-reference
7491 (url "https://github.com/orthecreedence/vom")
7492 (commit commit)))
7493 (file-name (git-file-name name version))
7494 (sha256
7495 (base32
7496 "0536kppj76ax4lrxhv42npkfjsmx45km2g439vf9jmw3apinz9cy"))))
7497 (build-system asdf-build-system/sbcl)
7498 (synopsis "Tiny logging utility for Common Lisp")
7499 (description
7500 "Vom is a logging library for Common Lisp. It's goal is to be useful
7501 and small. It does not provide a lot of features as other loggers do, but
7502 has a small codebase that's easy to understand and use.")
7503 (home-page "https://github.com/orthecreedence/vom")
7504 (license license:expat))))
7505
7506 (define-public cl-vom
7507 (sbcl-package->cl-source-package sbcl-vom))
7508
7509 (define-public ecl-vom
7510 (sbcl-package->ecl-package sbcl-vom))
7511
7512 (define-public sbcl-cl-libuv
7513 (let ((commit "32100c023c518038d0670a103eaa4d50dd785d29")
7514 (revision "1"))
7515 (package
7516 (name "sbcl-cl-libuv")
7517 (version (git-version "0.1.6" revision commit))
7518 (source
7519 (origin
7520 (method git-fetch)
7521 (uri (git-reference
7522 (url "https://github.com/orthecreedence/cl-libuv")
7523 (commit commit)))
7524 (file-name (git-file-name name version))
7525 (sha256
7526 (base32
7527 "1kwix4si8a8hza34ab2k7whrh7z0yrmx39v2wc3qblv9m244jkh1"))))
7528 (build-system asdf-build-system/sbcl)
7529 (inputs
7530 `(("alexandria" ,sbcl-alexandria)
7531 ("cffi" ,sbcl-cffi)
7532 ("libuv" ,libuv)))
7533 (arguments
7534 `(#:phases
7535 (modify-phases %standard-phases
7536 (add-after 'unpack 'fix-paths
7537 (lambda* (#:key inputs #:allow-other-keys)
7538 (substitute* "lib.lisp"
7539 (("/usr/lib/libuv.so")
7540 (string-append (assoc-ref inputs "libuv")
7541 "/lib/libuv.so")))
7542 #t))
7543 (add-after 'fix-paths 'fix-system-definition
7544 (lambda _
7545 (substitute* "cl-libuv.asd"
7546 (("#:cffi #:alexandria")
7547 "#:cffi #:cffi-grovel #:alexandria"))
7548 #t)))))
7549 (synopsis "Common Lisp bindings to libuv")
7550 (description
7551 "This library provides low-level libuv bindings for Common Lisp.")
7552 (home-page "https://github.com/orthecreedence/cl-libuv")
7553 (license license:expat))))
7554
7555 (define-public cl-libuv
7556 (sbcl-package->cl-source-package sbcl-cl-libuv))
7557
7558 (define-public ecl-cl-libuv
7559 (sbcl-package->ecl-package sbcl-cl-libuv))
7560
7561 (define-public sbcl-cl-async
7562 (let ((commit "f6423e44404a44434d803605e0d2e17199158e28")
7563 (revision "1"))
7564 (package
7565 (name "sbcl-cl-async")
7566 (version (git-version "0.6.1" revision commit))
7567 (source
7568 (origin
7569 (method git-fetch)
7570 (uri (git-reference
7571 (url "https://github.com/orthecreedence/cl-async")
7572 (commit commit)))
7573 (file-name (git-file-name name version))
7574 (sha256
7575 (base32
7576 "11xi9dxb8mjgwzrkj88i0xkgk26z9w9ddxzbv6xsvfc1d4x5cf4x"))))
7577 (build-system asdf-build-system/sbcl)
7578 (inputs
7579 `(("babel" ,sbcl-babel)
7580 ("bordeaux-threads" ,sbcl-bordeaux-threads)
7581 ("cffi" ,sbcl-cffi)
7582 ("cl-libuv" ,sbcl-cl-libuv)
7583 ("cl-ppcre" ,sbcl-cl-ppcre)
7584 ("fast-io" ,sbcl-fast-io)
7585 ("openssl" ,openssl)
7586 ("static-vectors" ,sbcl-static-vectors)
7587 ("trivial-features" ,sbcl-trivial-features)
7588 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
7589 ("vom" ,sbcl-vom)))
7590 (arguments
7591 `(#:asd-systems '("cl-async"
7592 "cl-async-repl"
7593 "cl-async-ssl")
7594 #:phases
7595 (modify-phases %standard-phases
7596 (add-after 'unpack 'fix-paths
7597 (lambda* (#:key inputs #:allow-other-keys)
7598 (substitute* "src/ssl/package.lisp"
7599 (("libcrypto\\.so")
7600 (string-append (assoc-ref inputs "openssl")
7601 "/lib/libcrypto.so"))
7602 (("libssl\\.so")
7603 (string-append (assoc-ref inputs "openssl")
7604 "/lib/libssl.so")))
7605 #t)))))
7606 (synopsis "Asynchronous operations for Common Lisp")
7607 (description
7608 "Cl-async is a library for general purpose, non-blocking programming in
7609 Common Lisp. It uses the libuv library as backend.")
7610 (home-page "https://orthecreedence.github.io/cl-async/")
7611 (license license:expat))))
7612
7613 (define-public cl-async
7614 (sbcl-package->cl-source-package sbcl-cl-async))
7615
7616 (define-public ecl-cl-async
7617 (sbcl-package->ecl-package sbcl-cl-async))
7618
7619 (define-public sbcl-blackbird
7620 (let ((commit "d361f81c1411dec07f6c2dcb11c78f7aea9aaca8")
7621 (revision "1"))
7622 (package
7623 (name "sbcl-blackbird")
7624 (version (git-version "0.5.2" revision commit))
7625 (source
7626 (origin
7627 (method git-fetch)
7628 (uri (git-reference
7629 (url "https://github.com/orthecreedence/blackbird")
7630 (commit commit)))
7631 (file-name (git-file-name name version))
7632 (sha256
7633 (base32
7634 "0xfds5yaya64arzr7w1x38karyz11swzbhxx1afldpradj9dh19c"))))
7635 (build-system asdf-build-system/sbcl)
7636 (inputs
7637 `(("vom" ,sbcl-vom)))
7638 (native-inputs
7639 `(("cl-async" ,sbcl-cl-async)
7640 ("fiveam" ,sbcl-fiveam)))
7641 (synopsis "Promise implementation for Common Lisp")
7642 (description
7643 "This is a standalone promise implementation for Common Lisp. It is
7644 the successor to the now-deprecated cl-async-future project.")
7645 (home-page "https://orthecreedence.github.io/blackbird/")
7646 (license license:expat))))
7647
7648 (define-public cl-blackbird
7649 (sbcl-package->cl-source-package sbcl-blackbird))
7650
7651 (define-public ecl-blackbird
7652 (sbcl-package->ecl-package sbcl-blackbird))
7653
7654 (define-public sbcl-cl-async-future
7655 (let ((commit "ee36c22a69a9516407458d2ed8b475f1fc473959")
7656 (revision "1"))
7657 (package
7658 (name "sbcl-cl-async-future")
7659 (version (git-version "0.4.4.1" revision commit))
7660 (source
7661 (origin
7662 (method git-fetch)
7663 (uri (git-reference
7664 (url "https://github.com/orthecreedence/cl-async-future")
7665 (commit commit)))
7666 (file-name (git-file-name name version))
7667 (sha256
7668 (base32
7669 "0z0sc7qlzzxk99f4l26zp6rai9kv0kj0f599sxai5s44p17zbbvh"))))
7670 (build-system asdf-build-system/sbcl)
7671 (inputs
7672 `(("blackbird" ,sbcl-blackbird)))
7673 (native-inputs
7674 `(("cl-async" ,sbcl-cl-async)
7675 ("eos" ,sbcl-eos)))
7676 (synopsis "Futures implementation for Common Lisp")
7677 (description
7678 "This is futures implementation for Common Lisp. It plugs in nicely
7679 to cl-async.")
7680 (home-page "https://orthecreedence.github.io/cl-async/future")
7681 (license license:expat))))
7682
7683 (define-public cl-async-future
7684 (sbcl-package->cl-source-package sbcl-cl-async-future))
7685
7686 (define-public ecl-cl-async-future
7687 (sbcl-package->ecl-package sbcl-cl-async-future))
7688
7689 (define-public sbcl-green-threads
7690 (let ((commit "fff5ebecb441a37e5c511773716aafd84a3c5840")
7691 (revision "1"))
7692 (package
7693 (name "sbcl-green-threads")
7694 (version (git-version "0.3" revision commit))
7695 (source
7696 (origin
7697 (method git-fetch)
7698 (uri (git-reference
7699 (url "https://github.com/thezerobit/green-threads")
7700 (commit commit)))
7701 (file-name (git-file-name name version))
7702 (sha256
7703 (base32
7704 "1czw7nr0dwfps76h8hjvglk1wdh53yqbfbvv30whwbgqx33iippz"))))
7705 (build-system asdf-build-system/sbcl)
7706 (inputs
7707 `(("cl-async-future" ,sbcl-cl-async-future)
7708 ("cl-cont" ,sbcl-cl-cont)))
7709 (native-inputs
7710 `(("prove" ,sbcl-prove)))
7711 (arguments
7712 `(;; TODO: Fix the tests. They fail with:
7713 ;; "The function BLACKBIRD::PROMISE-VALUES is undefined"
7714 #:tests? #f
7715 #:phases
7716 (modify-phases %standard-phases
7717 (add-after 'unpack 'fix-tests
7718 (lambda _
7719 (substitute* "green-threads-test.asd"
7720 (("cl-test-more")
7721 "prove"))
7722 #t)))))
7723 (synopsis "Cooperative multitasking library for Common Lisp")
7724 (description
7725 "This library allows for cooperative multitasking with help of cl-cont
7726 for continuations. It tries to mimic the API of bordeaux-threads as much as
7727 possible.")
7728 (home-page "https://github.com/thezerobit/green-threads")
7729 (license license:bsd-3))))
7730
7731 (define-public cl-green-threads
7732 (sbcl-package->cl-source-package sbcl-green-threads))
7733
7734 (define-public ecl-green-threads
7735 (sbcl-package->ecl-package sbcl-green-threads))
7736
7737 (define-public sbcl-cl-base32
7738 (let ((commit "8cdee06fab397f7b0a19583b57e7f0c98405be85")
7739 (revision "1"))
7740 (package
7741 (name "sbcl-cl-base32")
7742 (version (git-version "0.1" revision commit))
7743 (source
7744 (origin
7745 (method git-fetch)
7746 (uri (git-reference
7747 (url "https://github.com/hargettp/cl-base32")
7748 (commit commit)))
7749 (file-name (git-file-name name version))
7750 (sha256
7751 (base32 "17jrng8jb05d64ggyd11hp308c2fl5drvf9g175blgrkkl8l4mf8"))))
7752 (build-system asdf-build-system/sbcl)
7753 (native-inputs
7754 `(("lisp-unit" ,sbcl-lisp-unit)))
7755 (synopsis "Common Lisp library for base32 encoding and decoding")
7756 (description
7757 "This package provides functions for base32 encoding and decoding as
7758 defined in RFC4648.")
7759 (home-page "https://github.com/hargettp/cl-base32")
7760 (license license:expat))))
7761
7762 (define-public cl-base32
7763 (sbcl-package->cl-source-package sbcl-cl-base32))
7764
7765 (define-public ecl-cl-base32
7766 (sbcl-package->ecl-package sbcl-cl-base32))
7767
7768 (define-public sbcl-cl-z85
7769 (let ((commit "85b3951a9cfa2603acb6aee15567684f9a108098")
7770 (revision "1"))
7771 (package
7772 (name "sbcl-cl-z85")
7773 (version (git-version "1.0" revision commit))
7774 (source
7775 (origin
7776 (method git-fetch)
7777 (uri (git-reference
7778 (url "https://github.com/glv2/cl-z85")
7779 (commit commit)))
7780 (file-name (git-file-name name version))
7781 (sha256
7782 (base32 "0r27pidjaxbm7k1rr90nnajwl5xm2kp65g1fv0fva17lzy45z1mp"))))
7783 (build-system asdf-build-system/sbcl)
7784 (native-inputs
7785 `(("cl-octet-streams" ,sbcl-cl-octet-streams)
7786 ("fiveam" ,sbcl-fiveam)))
7787 (synopsis "Common Lisp library for Z85 encoding and decoding")
7788 (description
7789 "This package provides functions to encode or decode byte vectors or
7790 byte streams using the Z85 format, which is a base-85 encoding used by
7791 ZeroMQ.")
7792 (home-page "https://github.com/glv2/cl-z85")
7793 (license license:gpl3+))))
7794
7795 (define-public cl-z85
7796 (sbcl-package->cl-source-package sbcl-cl-z85))
7797
7798 (define-public ecl-cl-z85
7799 (sbcl-package->ecl-package sbcl-cl-z85))
7800
7801 (define-public sbcl-ltk
7802 (package
7803 (name "sbcl-ltk")
7804 (version "0.992")
7805 (source
7806 (origin
7807 (method git-fetch)
7808 (uri (git-reference
7809 (url "https://github.com/herth/ltk")
7810 (commit version)))
7811 (file-name (git-file-name name version))
7812 (sha256
7813 (base32 "13l2q4mskzilya9xh5wy2xvy30lwn104bd8wrq6ifds56r82iy3x"))))
7814 (build-system asdf-build-system/sbcl)
7815 (inputs
7816 `(("imagemagick" ,imagemagick)
7817 ("tk" ,tk)))
7818 (arguments
7819 `(#:asd-systems '("ltk"
7820 "ltk-mw"
7821 "ltk-remote")
7822 #:tests? #f
7823 #:phases
7824 (modify-phases %standard-phases
7825 (add-after 'unpack 'fix-paths
7826 (lambda* (#:key inputs #:allow-other-keys)
7827 (substitute* "ltk/ltk.lisp"
7828 (("#-freebsd \"wish\"")
7829 (string-append "#-freebsd \""
7830 (assoc-ref inputs "tk")
7831 "/bin/wish\""))
7832 (("do-execute \"convert\"")
7833 (string-append "do-execute \""
7834 (assoc-ref inputs "imagemagick")
7835 "/bin/convert\"")))
7836 #t))
7837 (add-after 'unpack 'fix-build
7838 (lambda _
7839 (substitute* "ltk/ltk-remote.lisp"
7840 (("\\(:export")
7841 "(:shadow #:raise) (:export"))
7842 #t)))))
7843 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
7844 (description
7845 "LTK is a Common Lisp binding for the Tk graphics toolkit. It is written
7846 in pure Common Lisp and does not require any Tk knowledge for its usage.")
7847 (home-page "http://www.peter-herth.de/ltk/")
7848 (license license:llgpl)))
7849
7850 (define-public cl-ltk
7851 (sbcl-package->cl-source-package sbcl-ltk))
7852
7853 (define-public ecl-ltk
7854 (sbcl-package->ecl-package sbcl-ltk))
7855
7856 (define-public sbcl-cl-lex
7857 (let ((commit "f2dbbe25ef553005fb402d9a6203180c3fa1093b")
7858 (revision "1"))
7859 (package
7860 (name "sbcl-cl-lex")
7861 (version (git-version "1.1.3" revision commit))
7862 (source
7863 (origin
7864 (method git-fetch)
7865 (uri (git-reference
7866 (url "https://github.com/djr7C4/cl-lex")
7867 (commit commit)))
7868 (file-name (git-file-name name version))
7869 (sha256
7870 (base32 "1kg50f76bfpfxcv4dfivq1n9a0xlsra2ajb0vd68lxwgbidgyc2y"))))
7871 (build-system asdf-build-system/sbcl)
7872 (inputs
7873 `(("cl-ppcre" ,sbcl-cl-ppcre)))
7874 (synopsis "Common Lisp macros for generating lexical analyzers")
7875 (description
7876 "This is a Common Lisp library providing a set of macros for generating
7877 lexical analyzers automatically. The lexers generated using @code{cl-lex} can
7878 be used with @code{cl-yacc}.")
7879 (home-page "https://github.com/djr7C4/cl-lex")
7880 (license license:gpl3))))
7881
7882 (define-public cl-lex
7883 (sbcl-package->cl-source-package sbcl-cl-lex))
7884
7885 (define-public ecl-cl-lex
7886 (sbcl-package->ecl-package sbcl-cl-lex))
7887
7888 (define-public sbcl-clunit2
7889 (let ((commit "5e28343734eb9b7aee39306a614af92c1062d50b")
7890 (revision "1"))
7891 (package
7892 (name "sbcl-clunit2")
7893 (version (git-version "0.2.4" revision commit))
7894 (source
7895 (origin
7896 (method git-fetch)
7897 (uri (git-reference
7898 (url "https://notabug.org/cage/clunit2.git")
7899 (commit commit)))
7900 (file-name (git-file-name name version))
7901 (sha256
7902 (base32 "1ngiapfki6nm8a555mzhb5p7ch79i3w665za5bmb5j7q34fy80vw"))))
7903 (build-system asdf-build-system/sbcl)
7904 (synopsis "Unit testing framework for Common Lisp")
7905 (description
7906 "CLUnit is a Common Lisp unit testing framework. It is designed to be
7907 easy to use so that you can quickly start testing.")
7908 (home-page "https://notabug.org/cage/clunit2")
7909 (license license:expat))))
7910
7911 (define-public cl-clunit2
7912 (sbcl-package->cl-source-package sbcl-clunit2))
7913
7914 (define-public ecl-clunit2
7915 (sbcl-package->ecl-package sbcl-clunit2))
7916
7917 (define-public sbcl-cl-colors2
7918 (let ((commit "795aedee593b095fecde574bd999b520dd03ed24")
7919 (revision "1"))
7920 (package
7921 (name "sbcl-cl-colors2")
7922 (version (git-version "0.2.1" revision commit))
7923 (source
7924 (origin
7925 (method git-fetch)
7926 (uri (git-reference
7927 (url "https://notabug.org/cage/cl-colors2.git")
7928 (commit commit)))
7929 (file-name (git-file-name name version))
7930 (sha256
7931 (base32 "0hlyf4h5chkjdp9armla5w4kw5acikk159sym7y8c4jbjp9x47ih"))))
7932 (build-system asdf-build-system/sbcl)
7933 (native-inputs
7934 `(("clunit2" ,sbcl-clunit2)))
7935 (inputs
7936 `(("alexandria" ,sbcl-alexandria)
7937 ("cl-ppcre" ,sbcl-cl-ppcre)))
7938 (synopsis "Color library for Common Lisp")
7939 (description
7940 "This is a very simple color library for Common Lisp, providing:
7941
7942 @itemize
7943 @item Types for representing colors in HSV and RGB spaces.
7944 @item Simple conversion functions between the above types (and also
7945 hexadecimal representation for RGB).
7946 @item Some predefined colors (currently X11 color names -- of course
7947 the library does not depend on X11).
7948 @end itemize\n")
7949 (home-page "https://notabug.org/cage/cl-colors2")
7950 (license license:boost1.0))))
7951
7952 (define-public cl-colors2
7953 (sbcl-package->cl-source-package sbcl-cl-colors2))
7954
7955 (define-public ecl-cl-colors2
7956 (sbcl-package->ecl-package sbcl-cl-colors2))
7957
7958 (define-public sbcl-cl-jpeg
7959 (let ((commit "ec557038128df6895fbfb743bfe8faf8ec2534af")
7960 (revision "1"))
7961 (package
7962 (name "sbcl-cl-jpeg")
7963 (version (git-version "2.8" revision commit))
7964 (source
7965 (origin
7966 (method git-fetch)
7967 (uri (git-reference
7968 (url "https://github.com/sharplispers/cl-jpeg")
7969 (commit commit)))
7970 (file-name (git-file-name name version))
7971 (sha256
7972 (base32 "1bkkiqz8fqldlj1wbmrccjsvxcwj98h6s4b6gslr3cg2wmdv5xmy"))))
7973 (build-system asdf-build-system/sbcl)
7974 (synopsis "JPEG image library for Common Lisp")
7975 (description
7976 "This is a baseline JPEG codec written in Common Lisp. It can be used
7977 for reading and writing JPEG image files.")
7978 (home-page "https://github.com/sharplispers/cl-jpeg")
7979 (license license:bsd-3))))
7980
7981 (define-public cl-jpeg
7982 (sbcl-package->cl-source-package sbcl-cl-jpeg))
7983
7984 (define-public ecl-cl-jpeg
7985 (sbcl-package->ecl-package sbcl-cl-jpeg))
7986
7987 (define-public sbcl-nodgui
7988 (let ((commit "bc59ed9b787dfc9e68ae3bd7f7e8507c5c619212")
7989 (revision "1"))
7990 (package
7991 (name "sbcl-nodgui")
7992 (version (git-version "0.0.5" revision commit))
7993 (source
7994 (origin
7995 (method git-fetch)
7996 (uri (git-reference
7997 (url "https://notabug.org/cage/nodgui.git")
7998 (commit commit)))
7999 (file-name (git-file-name name version))
8000 (sha256
8001 (base32 "0xx0dk54d882i598ydnwmy7mnfk0b7vib3ddsgpqxhjck1rwq8l8"))))
8002 (build-system asdf-build-system/sbcl)
8003 (inputs
8004 `(("alexandria" ,sbcl-alexandria)
8005 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8006 ("cl-colors2" ,sbcl-cl-colors2)
8007 ("cl-jpeg" ,sbcl-cl-jpeg)
8008 ("cl-lex" ,sbcl-cl-lex)
8009 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
8010 ("cl-unicode" ,sbcl-cl-unicode)
8011 ("cl-yacc" ,sbcl-cl-yacc)
8012 ("clunit2" ,sbcl-clunit2)
8013 ("named-readtables" ,sbcl-named-readtables)
8014 ("parse-number" ,sbcl-parse-number)
8015 ("tk" ,tk)))
8016 (arguments
8017 `(#:phases (modify-phases %standard-phases
8018 (add-after 'unpack 'fix-paths
8019 (lambda* (#:key inputs #:allow-other-keys)
8020 (substitute* "src/wish-communication.lisp"
8021 (("#-freebsd \"wish\"")
8022 (string-append "#-freebsd \""
8023 (assoc-ref inputs "tk")
8024 "/bin/wish\"")))
8025 #t)))))
8026 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
8027 (description
8028 "Nodgui (@emph{No Drama GUI}) is a Common Lisp binding for the Tk GUI
8029 toolkit. It also provides a few additional widgets more than the standard Tk
8030 ones.")
8031 (home-page "https://www.autistici.org/interzona/nodgui.html")
8032 (license license:llgpl))))
8033
8034 (define-public cl-nodgui
8035 (sbcl-package->cl-source-package sbcl-nodgui))
8036
8037 (define-public ecl-nodgui
8038 (sbcl-package->ecl-package sbcl-nodgui))
8039
8040 (define-public sbcl-salza2
8041 (package
8042 (name "sbcl-salza2")
8043 (version "2.0.9")
8044 (source
8045 (origin
8046 (method git-fetch)
8047 (uri (git-reference
8048 (url "https://github.com/xach/salza2")
8049 (commit (string-append "release-" version))))
8050 (file-name (git-file-name name version))
8051 (sha256
8052 (base32 "0p38rj4gq7j5k807php7hrz7l2zyyfshv8i9yms7i8lkgg3433ki"))))
8053 (build-system asdf-build-system/sbcl)
8054 (synopsis "Common Lisp library for zlib, deflate and gzip compression")
8055 (description
8056 "Salza2 is a Common Lisp library for creating compressed data in the zlib,
8057 deflate, or gzip data formats, described in RFC 1950, RFC 1951, and RFC 1952,
8058 respectively.")
8059 (home-page "https://www.xach.com/lisp/salza2/")
8060 (license license:bsd-2)))
8061
8062 (define-public cl-salza2
8063 (sbcl-package->cl-source-package sbcl-salza2))
8064
8065 (define-public ecl-salza2
8066 (sbcl-package->ecl-package sbcl-salza2))
8067
8068 (define-public sbcl-png-read
8069 (let ((commit "ec29f38a689972b9f1373f13bbbcd6b05deada88")
8070 (revision "1"))
8071 (package
8072 (name "sbcl-png-read")
8073 (version (git-version "0.3.1" revision commit))
8074 (source
8075 (origin
8076 (method git-fetch)
8077 (uri (git-reference
8078 (url "https://github.com/Ramarren/png-read")
8079 (commit commit)))
8080 (file-name (git-file-name name version))
8081 (sha256
8082 (base32 "0vyczbcwskrygrf1hgrsnk0jil8skmvf1kiaalw5jps4fjrfdkw0"))))
8083 (build-system asdf-build-system/sbcl)
8084 (inputs
8085 `(("babel" ,sbcl-babel)
8086 ("chipz" ,sbcl-chipz)
8087 ("iterate" ,sbcl-iterate)))
8088 (synopsis "PNG decoder for Common Lisp")
8089 (description "This is a Common Lisp library for reading PNG images.")
8090 (home-page "https://github.com/Ramarren/png-read")
8091 (license license:bsd-3))))
8092
8093 (define-public cl-png-read
8094 (sbcl-package->cl-source-package sbcl-png-read))
8095
8096 (define-public ecl-png-read
8097 (sbcl-package->ecl-package sbcl-png-read))
8098
8099 (define-public sbcl-zpng
8100 (package
8101 (name "sbcl-zpng")
8102 (version "1.2.2")
8103 (source
8104 (origin
8105 (method git-fetch)
8106 (uri (git-reference
8107 (url "https://github.com/xach/zpng")
8108 (commit (string-append "release-" version))))
8109 (file-name (git-file-name name version))
8110 (sha256
8111 (base32 "0b3ag3jhl3z7kdls3ahdsdxsfhhw5qrizk769984f4wkxhb69rcm"))))
8112 (build-system asdf-build-system/sbcl)
8113 (inputs
8114 `(("salza2" ,sbcl-salza2)))
8115 (synopsis "PNG encoder for Common Lisp")
8116 (description "This is a Common Lisp library for creating PNG images.")
8117 (home-page "https://www.xach.com/lisp/zpng/")
8118 (license license:bsd-2)))
8119
8120 (define-public cl-zpng
8121 (sbcl-package->cl-source-package sbcl-zpng))
8122
8123 (define-public ecl-zpng
8124 (sbcl-package->ecl-package sbcl-zpng))
8125
8126 (define-public sbcl-cl-qrencode
8127 (package
8128 (name "sbcl-cl-qrencode")
8129 (version "0.1.2")
8130 (source
8131 (origin
8132 (method git-fetch)
8133 (uri (git-reference
8134 (url "https://github.com/jnjcc/cl-qrencode")
8135 (commit (string-append "v" version))))
8136 (file-name (git-file-name name version))
8137 (sha256
8138 (base32 "1l5k131dchbf6cj8a8xqa731790p01p3qa1kdy2wa9dawy3ymkxr"))))
8139 (build-system asdf-build-system/sbcl)
8140 (native-inputs
8141 `(("lisp-unit" ,sbcl-lisp-unit)))
8142 (inputs
8143 `(("zpng" ,sbcl-zpng)))
8144 (synopsis "QR code encoder for Common Lisp")
8145 (description
8146 "This Common Lisp library provides function to make QR codes and to save
8147 them as PNG files.")
8148 (home-page "https://github.com/jnjcc/cl-qrencode")
8149 (license license:gpl2+)))
8150
8151 (define-public cl-qrencode
8152 (sbcl-package->cl-source-package sbcl-cl-qrencode))
8153
8154 (define-public ecl-cl-qrencode
8155 (sbcl-package->ecl-package sbcl-cl-qrencode))
8156
8157 (define-public sbcl-hdf5-cffi
8158 (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c")
8159 (revision "1"))
8160 (package
8161 (name "sbcl-hdf5-cffi")
8162 (version (git-version "1.8.18" revision commit))
8163 (source
8164 (origin
8165 (method git-fetch)
8166 (uri (git-reference
8167 (url "https://github.com/hdfgroup/hdf5-cffi")
8168 (commit commit)))
8169 (file-name (git-file-name name version))
8170 (sha256
8171 (base32
8172 "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf"))))
8173 (build-system asdf-build-system/sbcl)
8174 (synopsis "Common Lisp bindings for the HDF5 library")
8175 (description
8176 "@code{hdf5-cffi} is a CFFI wrapper for the HDF5 library.")
8177 (home-page "https://github.com/hdfgroup/hdf5-cffi")
8178 (license (license:non-copyleft
8179 (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/"
8180 commit
8181 "/LICENSE")))
8182 (inputs
8183 `(("cffi" ,sbcl-cffi)
8184 ("hdf5" ,hdf5-1.10)))
8185 (native-inputs
8186 `(("fiveam" ,sbcl-fiveam)))
8187 (arguments
8188 `(#:test-asd-file "hdf5-cffi.test.asd"
8189 ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd,
8190 ;; I don't know if there is a way to tell asdf-build-system to load
8191 ;; an additional system first, so tests are disabled.
8192 #:tests? #f
8193 #:phases
8194 (modify-phases %standard-phases
8195 (add-after 'unpack 'fix-paths
8196 (lambda* (#:key inputs #:allow-other-keys)
8197 (substitute* "src/library.lisp"
8198 (("libhdf5.so")
8199 (string-append
8200 (assoc-ref inputs "hdf5")
8201 "/lib/libhdf5.so")))))
8202 (add-after 'unpack 'fix-dependencies
8203 (lambda* (#:key inputs #:allow-other-keys)
8204 (substitute* "hdf5-cffi.asd"
8205 ((":depends-on \\(:cffi\\)")
8206 ":depends-on (:cffi :cffi-grovel)"))
8207 (substitute* "hdf5-cffi.test.asd"
8208 ((":depends-on \\(:cffi :hdf5-cffi")
8209 ":depends-on (:cffi :cffi-grovel :hdf5-cffi"))))))))))
8210
8211 (define-public cl-hdf5-cffi
8212 (sbcl-package->cl-source-package sbcl-hdf5-cffi))
8213
8214 (define-public ecl-hdf5-cffi
8215 (sbcl-package->ecl-package sbcl-hdf5-cffi))
8216
8217 (define-public sbcl-cl-randist
8218 (package
8219 (name "sbcl-cl-randist")
8220 (version "0.4.2")
8221 (source
8222 (origin
8223 (method git-fetch)
8224 (uri (git-reference
8225 (url "https://github.com/lvaruzza/cl-randist")
8226 (commit "f088a54b540a7adefab7c04094a6103f9edda3d0")))
8227 (file-name (git-file-name name version))
8228 (sha256
8229 (base32
8230 "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g"))))
8231 (build-system asdf-build-system/sbcl)
8232 (synopsis "Random distributions for Common Lisp")
8233 (description
8234 "Manual translation from C to Common Lisp of some random number
8235 generation functions from the GSL library.")
8236 (home-page "https://github.com/lvaruzza/cl-randist")
8237 (license license:bsd-2)
8238 (arguments
8239 `(#:tests? #f))))
8240
8241 (define-public cl-randist
8242 (sbcl-package->cl-source-package sbcl-cl-randist))
8243
8244 (define-public ecl-cl-randist
8245 (sbcl-package->ecl-package sbcl-cl-randist))
8246
8247 (define-public sbcl-float-features
8248 (package
8249 (name "sbcl-float-features")
8250 (version "1.0.0")
8251 (source
8252 (origin
8253 (method git-fetch)
8254 (uri (git-reference
8255 (url "https://github.com/Shinmera/float-features")
8256 (commit "d3ef60181635b0849aa28cfc238053b7ca4644b0")))
8257 (file-name (git-file-name name version))
8258 (sha256
8259 (base32
8260 "0yj419k7n59x6rh3grwr6frgwwyria2il6f7wxpfazm8cskv4lzr"))))
8261 (build-system asdf-build-system/sbcl)
8262 (synopsis "Common Lisp IEEE float portability library")
8263 (description
8264 "Portability library for IEEE float features that are not
8265 covered by the Common Lisp standard.")
8266 (home-page "https://github.com/Shinmera/float-features")
8267 (license license:zlib)
8268 (inputs
8269 `(("documentation-utils" ,sbcl-documentation-utils)))
8270 (arguments
8271 `(#:tests? #f))))
8272
8273 (define-public cl-float-features
8274 (sbcl-package->cl-source-package sbcl-float-features))
8275
8276 (define-public ecl-float-features
8277 (sbcl-package->ecl-package sbcl-float-features))
8278
8279 (define-public sbcl-function-cache
8280 (package
8281 (name "sbcl-function-cache")
8282 (version "1.0.3")
8283 (source
8284 (origin
8285 (method git-fetch)
8286 (uri (git-reference
8287 (url "https://github.com/AccelerationNet/function-cache")
8288 (commit "6a5ada401e57da2c8abf046f582029926e61fce8")))
8289 (file-name (git-file-name name version))
8290 (sha256
8291 (base32
8292 "000vmd3f5rx5hs9nvphfric0gkzaadns31c6mxaslpv0k7pkrmc6"))))
8293 (build-system asdf-build-system/sbcl)
8294 (synopsis "Function caching / memoization library for Common Lisp")
8295 (description
8296 "A common lisp library that provides extensible function result
8297 caching based on arguments (an expanded form of memoization).")
8298 (home-page "https://github.com/AccelerationNet/function-cache")
8299 (license
8300 (license:non-copyleft
8301 "https://github.com/AccelerationNet/function-cache/blob/master/README.md"))
8302 (inputs
8303 `(("alexandria" ,sbcl-alexandria)
8304 ("cl-interpol" ,sbcl-cl-interpol)
8305 ("iterate" ,sbcl-iterate)
8306 ("symbol-munger" ,sbcl-symbol-munger)
8307 ("closer-mop" ,sbcl-closer-mop)))
8308 (arguments
8309 `(#:tests? #f))))
8310
8311 (define-public cl-function-cache
8312 (sbcl-package->cl-source-package sbcl-function-cache))
8313
8314 (define-public ecl-function-cache
8315 (sbcl-package->ecl-package sbcl-function-cache))
8316
8317 (define-public sbcl-type-r
8318 (let ((commit "83c89e38f2f7a7b16f1012777ecaf878cfa6a267")
8319 (revision "1"))
8320 (package
8321 (name "sbcl-type-r")
8322 (version (git-version "0.0.0" revision commit))
8323 (source
8324 (origin
8325 (method git-fetch)
8326 (uri (git-reference
8327 (url "https://github.com/guicho271828/type-r")
8328 (commit commit)))
8329 (file-name (git-file-name name version))
8330 (sha256
8331 (base32
8332 "1arsxc2539rg8vbrdirz4xxj1b06mc6g6rqndz7a02g127qvk2sm"))))
8333 (build-system asdf-build-system/sbcl)
8334 (synopsis "Parser interface for Common Lisp built-in compound types")
8335 (description
8336 "Collections of accessor functions and patterns to access
8337 the elements in compound type specifier, e.g. @code{dimensions} in
8338 @code{(array element-type dimensions)}")
8339 (home-page "https://github.com/guicho271828/type-r")
8340 (license license:lgpl3+)
8341 (inputs
8342 `(("trivia" ,sbcl-trivia)
8343 ("alexandria" ,sbcl-alexandria)))
8344 (native-inputs
8345 `(("fiveam" ,sbcl-fiveam)))
8346 (arguments
8347 `(#:test-asd-file "type-r.test.asd")))))
8348
8349 (define-public cl-type-r
8350 (sbcl-package->cl-source-package sbcl-type-r))
8351
8352 (define-public ecl-type-r
8353 (sbcl-package->ecl-package sbcl-type-r))
8354
8355 (define-public sbcl-trivialib-type-unify
8356 (let ((commit "62492ebf04db567dcf435ae84c50b7b8202ecf99")
8357 (revision "1"))
8358 (package
8359 (name "sbcl-trivialib-type-unify")
8360 (version (git-version "0.1" revision commit))
8361 (source
8362 (origin
8363 (method git-fetch)
8364 (uri (git-reference
8365 (url "https://github.com/guicho271828/trivialib.type-unify")
8366 (commit commit)))
8367 (file-name (git-file-name name version))
8368 (sha256
8369 (base32
8370 "1bkyfzbwv75p50zp8n1n9rh2r29pw3vgz91gmn2gzzkyq3khj1vh"))))
8371 (build-system asdf-build-system/sbcl)
8372 (synopsis "Common Lisp type unification")
8373 (description
8374 "Unifies a parametrized type specifier against an actual type specifier.
8375 Importantly, it handles complicated array-subtypes and number-related types
8376 correctly.")
8377 (home-page "https://github.com/guicho271828/trivialib.type-unify")
8378 (license license:lgpl3+)
8379 (inputs
8380 `(("alexandria" ,sbcl-alexandria)
8381 ("trivia" ,sbcl-trivia)
8382 ("introspect-environment" ,sbcl-introspect-environment)
8383 ("type-r" ,sbcl-type-r)))
8384 (native-inputs
8385 `(("fiveam" ,sbcl-fiveam)))
8386 (arguments
8387 `(#:asd-systems '("trivialib.type-unify")
8388 #:test-asd-file "trivialib.type-unify.test.asd")))))
8389
8390 (define-public cl-trivialib-type-unify
8391 (sbcl-package->cl-source-package sbcl-trivialib-type-unify))
8392
8393 (define-public ecl-trivialib-type-unify
8394 (sbcl-package->ecl-package sbcl-trivialib-type-unify))
8395
8396 (define-public sbcl-specialized-function
8397 (let ((commit "dee56d2d2b6ecd10500ad291c56217698604ec35")
8398 (revision "2"))
8399 (package
8400 (name "sbcl-specialized-function")
8401 (version (git-version "0.0.0" revision commit))
8402 (source
8403 (origin
8404 (method git-fetch)
8405 (uri (git-reference
8406 (url "https://github.com/numcl/specialized-function")
8407 (commit commit)))
8408 (file-name (git-file-name name version))
8409 (sha256
8410 (base32 "1mcc7mmpbnmgnr1cl2jl5r1ai54gn7fbisv2c14sh9za5w4sib82"))))
8411 (build-system asdf-build-system/sbcl)
8412 (synopsis "Julia-like dispatch for Common Lisp")
8413 (description
8414 "This library is part of NUMCL. It provides a macro
8415 @code{SPECIALIZED} that performs a Julia-like dispatch on the arguments,
8416 lazily compiling a type-specific version of the function from the same
8417 code. The main target of this macro is speed.")
8418 (home-page "https://github.com/numcl/specialized-function")
8419 (license license:lgpl3+)
8420 (inputs
8421 `(("trivia" ,sbcl-trivia)
8422 ("alexandria" ,sbcl-alexandria)
8423 ("iterate" ,sbcl-iterate)
8424 ("lisp-namespace" ,sbcl-lisp-namespace)
8425 ("type-r" ,sbcl-type-r)
8426 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
8427 (native-inputs
8428 `(("fiveam" ,sbcl-fiveam)))
8429 (arguments
8430 `(#:asd-files '("specialized-function.asd")
8431 #:test-asd-file "specialized-function.test.asd"
8432 ;; Tests fail because they try to use an internal symbol of SBCL
8433 ;; that does not exists in recent versions:
8434 ;; "The variable SB-VM:COMPLEX-VECTOR-NIL-WIDETAG is unbound."
8435 #:tests? #f)))))
8436
8437 (define-public cl-specialized-function
8438 (sbcl-package->cl-source-package sbcl-specialized-function))
8439
8440 (define-public ecl-specialized-function
8441 (sbcl-package->ecl-package sbcl-specialized-function))
8442
8443 (define-public sbcl-constantfold
8444 (let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4")
8445 (revision "1"))
8446 (package
8447 (name "sbcl-constantfold")
8448 (version (git-version "0.1" revision commit))
8449 (source
8450 (origin
8451 (method git-fetch)
8452 (uri (git-reference
8453 (url "https://github.com/numcl/constantfold")
8454 (commit commit)))
8455 (file-name (git-file-name name version))
8456 (sha256
8457 (base32
8458 "153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06"))))
8459 (build-system asdf-build-system/sbcl)
8460 (synopsis "Support library for numcl")
8461 (description
8462 "Support library for numcl. Registers a function as an
8463 additional form that is considered as a candidate for a constant.")
8464 (home-page "https://github.com/numcl/constantfold")
8465 (license license:lgpl3+)
8466 (inputs
8467 `(("trivia" ,sbcl-trivia)
8468 ("alexandria" ,sbcl-alexandria)
8469 ("iterate" ,sbcl-iterate)
8470 ("lisp-namespace" ,sbcl-lisp-namespace)))
8471 (native-inputs
8472 `(("fiveam" ,sbcl-fiveam)))
8473 (arguments
8474 `(#:asd-files '("constantfold.asd")
8475 #:test-asd-file "constantfold.test.asd")))))
8476
8477 (define-public cl-constantfold
8478 (sbcl-package->cl-source-package sbcl-constantfold))
8479
8480 (define-public ecl-constantfold
8481 (sbcl-package->ecl-package sbcl-constantfold))
8482
8483 (define-public sbcl-gtype
8484 (let ((commit "2442e32485635525af278ebd8fa69a27d5b8cf18")
8485 (revision "2"))
8486 (package
8487 (name "sbcl-gtype")
8488 (version (git-version "0.1" revision commit))
8489 (source
8490 (origin
8491 (method git-fetch)
8492 (uri (git-reference
8493 (url "https://github.com/numcl/gtype")
8494 (commit commit)))
8495 (file-name (git-file-name name version))
8496 (sha256
8497 (base32 "0hbkfdw00v7bsa6zbric34p5w6hfwxycccg8wc2faq0cxhsvpv9h"))))
8498 (build-system asdf-build-system/sbcl)
8499 (synopsis "C++/Julia-like parametric types in Common Lisp")
8500 (description
8501 "Support library for numcl that provides Julia-like runtime parametric
8502 type correctness in Common Lisp. It is based on CLtL2 extensions.")
8503 (home-page "https://github.com/numcl/gtype")
8504 (license license:lgpl3+)
8505 (inputs
8506 `(("trivialib.type-unify" ,sbcl-trivialib-type-unify)
8507 ("trivial-cltl2" ,sbcl-trivial-cltl2)
8508 ("trivia" ,sbcl-trivia)
8509 ("alexandria" ,sbcl-alexandria)
8510 ("iterate" ,sbcl-iterate)
8511 ("type-r" ,sbcl-type-r)))
8512 (native-inputs
8513 `(("fiveam" ,sbcl-fiveam)))
8514 (arguments
8515 `(#:asd-files '("gtype.asd")
8516 #:test-asd-file "gtype.test.asd")))))
8517
8518 (define-public cl-gtype
8519 (sbcl-package->cl-source-package sbcl-gtype))
8520
8521 (define-public ecl-gtype
8522 (let ((pkg (sbcl-package->ecl-package sbcl-gtype)))
8523 (package
8524 (inherit pkg)
8525 (arguments
8526 (substitute-keyword-arguments (package-arguments pkg)
8527 ;; The tests fail on ECL with a COMPILE-FILE-ERROR for t/package.lisp.
8528 ((#:tests? _ #f) #f))))))
8529
8530 (define-public sbcl-numcl
8531 (let ((commit "3e8d40bf774e070e7af1d3dbf01bc8c37dbebd3a")
8532 (revision "2"))
8533 (package
8534 (name "sbcl-numcl")
8535 (version (git-version "0.1.0" revision commit))
8536 (source
8537 (origin
8538 (method git-fetch)
8539 (uri (git-reference
8540 (url "https://github.com/numcl/numcl")
8541 (commit commit)))
8542 (file-name (git-file-name name version))
8543 (sha256
8544 (base32 "1hqpr68f6xkxaj1hjjayyh97wcdmj51k20qrd3nsv1rcpmdc5ll4"))))
8545 (build-system asdf-build-system/sbcl)
8546 (synopsis "Numpy clone in Common Lisp")
8547 (description
8548 "This is a Numpy clone in Common Lisp. At the moment the
8549 library is written in pure Common Lisp, focusing more on correctness
8550 and usefulness, not speed. Track the progress at
8551 @url{https://github.com/numcl/numcl/projects/1}.")
8552 (home-page "https://github.com/numcl/numcl")
8553 (license license:lgpl3+)
8554 (inputs
8555 `(("trivia" ,sbcl-trivia)
8556 ("alexandria" ,sbcl-alexandria)
8557 ("iterate" ,sbcl-iterate)
8558 ("lisp-namespace" ,sbcl-lisp-namespace)
8559 ("type-r" ,sbcl-type-r)
8560 ("constantfold" ,sbcl-constantfold)
8561 ("cl-randist" ,sbcl-cl-randist)
8562 ("float-features" ,sbcl-float-features)
8563 ("function-cache" ,sbcl-function-cache)
8564 ("specialized-function" ,sbcl-specialized-function)
8565 ("gtype" ,sbcl-gtype)))
8566 (native-inputs
8567 `(("fiveam" ,sbcl-fiveam)))
8568 (arguments
8569 `(#:asd-files '("numcl.asd")
8570 #:test-asd-file "numcl.test.asd"
8571 ;; Tests fail on SBCL with "Heap exhausted, game over",
8572 ;; but they pass on ECL.
8573 #:tests? #f)))))
8574
8575 (define-public cl-numcl
8576 (sbcl-package->cl-source-package sbcl-numcl))
8577
8578 (define-public ecl-numcl
8579 (let ((pkg (sbcl-package->ecl-package sbcl-numcl)))
8580 (package
8581 (inherit pkg)
8582 (arguments
8583 (substitute-keyword-arguments (package-arguments pkg)
8584 ((#:tests? _ #f) #t))))))
8585
8586 (define-public sbcl-pzmq
8587 (let ((commit "7c7390eedc469d033c72dc497984d1536ee75826")
8588 (revision "1"))
8589 (package
8590 (name "sbcl-pzmq")
8591 (version (git-version "0.0.0" revision commit))
8592 (source
8593 (origin
8594 (method git-fetch)
8595 (uri (git-reference
8596 (url "https://github.com/orivej/pzmq")
8597 (commit commit)))
8598 (file-name (git-file-name name version))
8599 (sha256
8600 (base32 "0gmwzf7h90wa7v4wnk49g0hv2mdalljpwhyigxcb967wzv8lqci9"))))
8601 (build-system asdf-build-system/sbcl)
8602 (native-inputs
8603 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
8604 ("fiveam" ,sbcl-fiveam)
8605 ("let-plus" ,sbcl-let-plus)))
8606 (inputs
8607 `(("cffi" ,sbcl-cffi)
8608 ("zeromq" ,zeromq)))
8609 (arguments
8610 `(#:phases (modify-phases %standard-phases
8611 (add-after 'unpack 'fix-paths
8612 (lambda* (#:key inputs #:allow-other-keys)
8613 (substitute* "c-api.lisp"
8614 (("\"libzmq")
8615 (string-append "\""
8616 (assoc-ref inputs "zeromq")
8617 "/lib/libzmq")))
8618 #t)))))
8619 (synopsis "Common Lisp bindings for the ZeroMQ library")
8620 (description "This Common Lisp library provides bindings for the ZeroMQ
8621 lightweight messaging kernel.")
8622 (home-page "https://github.com/orivej/pzmq")
8623 (license license:unlicense))))
8624
8625 (define-public cl-pzmq
8626 (sbcl-package->cl-source-package sbcl-pzmq))
8627
8628 (define-public ecl-pzmq
8629 (sbcl-package->ecl-package sbcl-pzmq))
8630
8631 (define-public sbcl-clss
8632 (let ((revision "1")
8633 (commit "2a8e8615ab55870d4ca01928f3ed3bbeb4e75c8d"))
8634 (package
8635 (name "sbcl-clss")
8636 (version (git-version "0.3.1" revision commit))
8637 (source
8638 (origin
8639 (method git-fetch)
8640 (uri
8641 (git-reference
8642 (url "https://github.com/Shinmera/clss")
8643 (commit commit)))
8644 (sha256
8645 (base32 "0la4dbcda78x29szanylccrsljqrn9d1mhh569sqkyp44ni5fv91"))
8646 (file-name (git-file-name name version))))
8647 (inputs
8648 `(("array-utils" ,sbcl-array-utils)
8649 ("plump" ,sbcl-plump)))
8650 (build-system asdf-build-system/sbcl)
8651 (synopsis "DOM tree searching engine based on CSS selectors")
8652 (description "CLSS is a DOM traversal engine based on CSS
8653 selectors. It makes use of the Plump-DOM and is used by lQuery.")
8654 (home-page "https://github.com/Shinmera/clss")
8655 (license license:zlib))))
8656
8657 (define-public cl-clss
8658 (sbcl-package->cl-source-package sbcl-clss))
8659
8660 (define-public ecl-clss
8661 (sbcl-package->ecl-package sbcl-clss))
8662
8663 (define-public sbcl-lquery
8664 (let ((revision "1")
8665 (commit "8048111c6b83956daa632e7a3ffbd8c9c203bd8d"))
8666 (package
8667 (name "sbcl-lquery")
8668 (version (git-version "3.2.1" revision commit))
8669 (source
8670 (origin
8671 (method git-fetch)
8672 (uri
8673 (git-reference
8674 (url "https://github.com/Shinmera/lquery")
8675 (commit commit)))
8676 (sha256
8677 (base32 "0520mcpxc2d6fdm8z61arpgd2z38kan7cf06qs373n5r64rakz6w"))
8678 (file-name (git-file-name name version))))
8679 (native-inputs
8680 `(("fiveam" ,sbcl-fiveam)))
8681 (inputs
8682 `(("array-utils" ,sbcl-array-utils)
8683 ("form-fiddle" ,sbcl-form-fiddle)
8684 ("plump" ,sbcl-plump)
8685 ("clss" ,sbcl-clss)))
8686 (build-system asdf-build-system/sbcl)
8687 (synopsis "Library to allow jQuery-like HTML/DOM manipulation")
8688 (description "@code{lQuery} is a DOM manipulation library written in
8689 Common Lisp, inspired by and based on the jQuery syntax and
8690 functions. It uses Plump and CLSS as DOM and selector engines. The
8691 main idea behind lQuery is to provide a simple interface for crawling
8692 and modifying HTML sites, as well as to allow for an alternative
8693 approach to templating.")
8694 (home-page "https://github.com/Shinmera/lquery")
8695 (license license:zlib))))
8696
8697 (define-public cl-lquery
8698 (sbcl-package->cl-source-package sbcl-lquery))
8699
8700 (define-public ecl-lquery
8701 (sbcl-package->ecl-package sbcl-lquery))
8702
8703 (define-public sbcl-cl-mysql
8704 (let ((commit "ab56c279c1815aec6ca0bfe85164ff7e85cfb6f9")
8705 (revision "1"))
8706 (package
8707 (name "sbcl-cl-mysql")
8708 (version (git-version "0.1" revision commit))
8709 (source
8710 (origin
8711 (method git-fetch)
8712 (uri (git-reference
8713 (url "https://github.com/hackinghat/cl-mysql")
8714 (commit commit)))
8715 (file-name (git-file-name name version))
8716 (sha256
8717 (base32 "0dg5ynx2ww94d0qfwrdrm7plkn43h64hs4iiq9mj2s1s4ixnp3lr"))))
8718 (build-system asdf-build-system/sbcl)
8719 (native-inputs
8720 `(("stefil" ,sbcl-stefil)))
8721 (inputs
8722 `(("cffi" ,sbcl-cffi)
8723 ("mariadb-lib" ,mariadb "lib")))
8724 (arguments
8725 `(#:tests? #f ; TODO: Tests require a running server
8726 #:phases
8727 (modify-phases %standard-phases
8728 (add-after 'unpack 'fix-paths
8729 (lambda* (#:key inputs #:allow-other-keys)
8730 (substitute* "system.lisp"
8731 (("libmysqlclient_r" all)
8732 (string-append (assoc-ref inputs "mariadb-lib")
8733 "/lib/"
8734 all)))
8735 #t)))))
8736 (synopsis "Common Lisp wrapper for MySQL")
8737 (description
8738 "@code{cl-mysql} is a Common Lisp implementation of a MySQL wrapper.")
8739 (home-page "http://www.hackinghat.com/index.php/cl-mysql")
8740 (license license:expat))))
8741
8742 (define-public cl-mysql
8743 (sbcl-package->cl-source-package sbcl-cl-mysql))
8744
8745 (define-public ecl-cl-mysql
8746 (sbcl-package->ecl-package sbcl-cl-mysql))
8747
8748 (define-public sbcl-postmodern
8749 (let ((commit "74469b25bbda990ec9b77e0d0eccdba0cd7e721a")
8750 (revision "1"))
8751 (package
8752 (name "sbcl-postmodern")
8753 (version (git-version "1.19" revision commit))
8754 (source
8755 (origin
8756 (method git-fetch)
8757 (uri (git-reference
8758 (url "https://github.com/marijnh/Postmodern")
8759 (commit commit)))
8760 (file-name (git-file-name name version))
8761 (sha256
8762 (base32 "0im7ymnyxjhn2w74jfg76k5gpr0gl33n31akx33hl28722ljd0hd"))))
8763 (build-system asdf-build-system/sbcl)
8764 (native-inputs
8765 `(("fiveam" ,sbcl-fiveam)))
8766 (inputs
8767 `(("alexandria" ,sbcl-alexandria)
8768 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8769 ("closer-mop" ,sbcl-closer-mop)
8770 ("global-vars" ,sbcl-global-vars)
8771 ("md5" ,sbcl-md5)
8772 ("split-sequence" ,sbcl-split-sequence)
8773 ("usocket" ,sbcl-usocket)))
8774 (arguments
8775 ;; TODO: Fix missing dependency errors for simple-date/postgres-glue,
8776 ;; cl-postgres/tests and s-sql/tests.
8777 `(#:tests? #f
8778 #:asd-systems '("postmodern"
8779 "simple-date/postgres-glue")))
8780 (synopsis "Common Lisp library for interacting with PostgreSQL")
8781 (description
8782 "@code{postmodern} is a Common Lisp library for interacting with
8783 PostgreSQL databases. It provides the following features:
8784
8785 @itemize
8786 @item Efficient communication with the database server without need for
8787 foreign libraries.
8788 @item Support for UTF-8 on Unicode-aware Lisp implementations.
8789 @item A syntax for mixing SQL and Lisp code.
8790 @item Convenient support for prepared statements and stored procedures.
8791 @item A metaclass for simple database-access objects.
8792 @end itemize\n")
8793 (home-page "https://marijnhaverbeke.nl/postmodern/")
8794 (license license:zlib))))
8795
8796 (define-public cl-postmodern
8797 (sbcl-package->cl-source-package sbcl-postmodern))
8798
8799 (define-public ecl-postmodern
8800 (package
8801 (inherit (sbcl-package->ecl-package sbcl-postmodern))
8802 (arguments
8803 `(#:tests? #f
8804 #:asd-systems '("postmodern"
8805 "simple-date/postgres-glue")
8806 #:phases
8807 (modify-phases %standard-phases
8808 (add-after 'unpack 'fix-build
8809 (lambda _
8810 (substitute* "cl-postgres.asd"
8811 (("\\) \"usocket\"")
8812 " :ecl) \"usocket\""))
8813 #t)))))))
8814
8815 (define-public sbcl-dbi
8816 ;; Master includes a breaking change which other packages depend on since
8817 ;; Quicklisp decided to follow it:
8818 ;; https://github.com/fukamachi/cl-dbi/commit/31c46869722f77fd5292a81b5b101f1347d7fce1
8819 (let ((commit "31c46869722f77fd5292a81b5b101f1347d7fce1"))
8820 (package
8821 (name "sbcl-dbi")
8822 (version (git-version "0.9.4" "1" commit))
8823 (source
8824 (origin
8825 (method git-fetch)
8826 (uri (git-reference
8827 (url "https://github.com/fukamachi/cl-dbi")
8828 (commit commit)))
8829 (file-name (git-file-name name version))
8830 (sha256
8831 (base32 "0r3n4rw12qqxad0cryym2ibm4ddl49gbq4ra227afibsr43nw5k3"))))
8832 (build-system asdf-build-system/sbcl)
8833 (native-inputs
8834 `(("rove" ,sbcl-rove)
8835 ("trivial-types" ,sbcl-trivial-types)))
8836 (inputs
8837 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
8838 ("cl-mysql" ,sbcl-cl-mysql)
8839 ("cl-sqlite" ,sbcl-cl-sqlite)
8840 ("closer-mop" ,sbcl-closer-mop)
8841 ("postmodern" ,sbcl-postmodern)
8842 ("split-sequence" ,sbcl-split-sequence)
8843 ("trivial-garbage" ,sbcl-trivial-garbage)))
8844 (arguments
8845 `(#:asd-systems '("dbi"
8846 "dbd-mysql"
8847 "dbd-postgres"
8848 "dbd-sqlite3")))
8849 (synopsis "Database independent interface for Common Lisp")
8850 (description
8851 "@code{dbi} is a Common Lisp library providing a database independent
8852 interface for MySQL, PostgreSQL and SQLite.")
8853 (home-page "https://github.com/fukamachi/cl-dbi")
8854 (license license:llgpl))))
8855
8856 (define-public cl-dbi
8857 (sbcl-package->cl-source-package sbcl-dbi))
8858
8859 (define-public ecl-dbi
8860 (sbcl-package->ecl-package sbcl-dbi))
8861
8862 (define-public sbcl-uffi
8863 (package
8864 (name "sbcl-uffi")
8865 (version "2.1.2")
8866 (source
8867 (origin
8868 (method git-fetch)
8869 (uri (git-reference
8870 (url "http://git.kpe.io/uffi.git")
8871 (commit (string-append "v" version))))
8872 (file-name (git-file-name name version))
8873 (sha256
8874 (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
8875 (build-system asdf-build-system/sbcl)
8876 (arguments
8877 `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions
8878 #:asd-files '("uffi.asd")
8879 #:phases
8880 (modify-phases %standard-phases
8881 (add-after 'unpack 'fix-permissions
8882 (lambda _
8883 (make-file-writable "doc/html.tar.gz")
8884 #t)))))
8885 (synopsis "Universal foreign function library for Common Lisp")
8886 (description
8887 "UFFI provides a universal foreign function interface (FFI)
8888 for Common Lisp.")
8889 (home-page "http://quickdocs.org/uffi/")
8890 (license license:llgpl)))
8891
8892 (define-public cl-uffi
8893 (package
8894 (inherit (sbcl-package->cl-source-package sbcl-uffi))
8895 (arguments
8896 `(#:phases
8897 ;; asdf-build-system/source has its own phases and does not inherit
8898 ;; from asdf-build-system/sbcl phases.
8899 (modify-phases %standard-phases/source
8900 ;; Already done in SBCL package.
8901 (delete 'reset-gzip-timestamps))))))
8902
8903 (define-public sbcl-clsql
8904 (package
8905 (name "sbcl-clsql")
8906 (version "6.7.0")
8907 (source
8908 (origin
8909 (method git-fetch)
8910 (uri (git-reference
8911 (url "http://git.kpe.io/clsql.git")
8912 (commit (string-append "v" version))))
8913 (file-name (git-file-name name version))
8914 (sha256
8915 (base32 "1v1k3s5bsy3lgd9gk459bzpb1r0kdjda25s29samxw4gsgf1fqvp"))
8916 (snippet
8917 '(begin
8918 ;; Remove precompiled libraries.
8919 (delete-file "db-mysql/clsql_mysql.dll")
8920 (delete-file "uffi/clsql_uffi.dll")
8921 (delete-file "uffi/clsql_uffi.lib")
8922 #t))))
8923 (build-system asdf-build-system/sbcl)
8924 (native-inputs
8925 `(("rt" ,sbcl-rt)))
8926 (inputs
8927 `(("cffi" ,sbcl-cffi)
8928 ("md5" ,sbcl-md5)
8929 ("mysql" ,mysql)
8930 ("postgresql" ,postgresql)
8931 ("postmodern" ,sbcl-postmodern)
8932 ("sqlite" ,sqlite)
8933 ("uffi" ,sbcl-uffi)
8934 ("zlib" ,zlib)))
8935 (arguments
8936 `(#:asd-files '("clsql.asd"
8937 "clsql-uffi.asd"
8938 "clsql-sqlite3.asd"
8939 "clsql-postgresql.asd"
8940 "clsql-postgresql-socket3.asd"
8941 "clsql-mysql.asd")
8942 #:asd-systems '("clsql"
8943 "clsql-sqlite3"
8944 "clsql-postgresql"
8945 "clsql-postgresql-socket3"
8946 "clsql-mysql")
8947 #:phases
8948 (modify-phases %standard-phases
8949 (add-after 'unpack 'fix-permissions
8950 (lambda _
8951 (make-file-writable "doc/html.tar.gz")
8952 #t))
8953 (add-after 'unpack 'fix-build
8954 (lambda _
8955 (substitute* "clsql-uffi.asd"
8956 (("\\(:version uffi \"2.0\"\\)")
8957 "uffi"))
8958 (substitute* "db-postgresql/postgresql-api.lisp"
8959 (("\\(data :cstring\\)")
8960 "(data :string)"))
8961 #t))
8962 (add-after 'unpack 'fix-paths
8963 (lambda* (#:key inputs outputs #:allow-other-keys)
8964 (substitute* "db-sqlite3/sqlite3-loader.lisp"
8965 (("libsqlite3")
8966 (string-append (assoc-ref inputs "sqlite")
8967 "/lib/libsqlite3")))
8968 (substitute* "db-postgresql/postgresql-loader.lisp"
8969 (("libpq")
8970 (string-append (assoc-ref inputs "postgresql")
8971 "/lib/libpq")))
8972 (let ((lib (string-append "#p\""
8973 (assoc-ref outputs "out")
8974 "/lib/\"")))
8975 (substitute* "clsql-mysql.asd"
8976 (("#p\"/usr/lib/clsql/clsql_mysql\\.so\"")
8977 lib))
8978 (substitute* "db-mysql/mysql-loader.lisp"
8979 (("libmysqlclient" all)
8980 (string-append (assoc-ref inputs "mysql") "/lib/" all))
8981 (("clsql-mysql-system::\\*library-file-dir\\*")
8982 lib)))
8983 #t))
8984 (add-before 'build 'build-helper-library
8985 (lambda* (#:key inputs outputs #:allow-other-keys)
8986 (let* ((mysql (assoc-ref inputs "mysql"))
8987 (inc-dir (string-append mysql "/include/mysql"))
8988 (lib-dir (string-append mysql "/lib"))
8989 (shared-lib-dir (string-append (assoc-ref outputs "out")
8990 "/lib"))
8991 (shared-lib (string-append shared-lib-dir
8992 "/clsql_mysql.so")))
8993 (mkdir-p shared-lib-dir)
8994 (invoke "gcc" "-fPIC" "-shared"
8995 "-I" inc-dir
8996 "db-mysql/clsql_mysql.c"
8997 "-Wl,-soname=clsql_mysql"
8998 "-L" lib-dir "-lmysqlclient" "-lz"
8999 "-o" shared-lib)
9000 #t)))
9001 (add-after 'unpack 'fix-tests
9002 (lambda _
9003 (substitute* "clsql.asd"
9004 (("clsql-tests :force t")
9005 "clsql-tests"))
9006 #t)))))
9007 (synopsis "Common Lisp SQL Interface library")
9008 (description
9009 "@code{clsql} is a Common Lisp interface to SQL RDBMS based on the
9010 Xanalys CommonSQL interface for Lispworks. It provides low-level database
9011 interfaces as well as a functional and an object oriented interface.")
9012 (home-page "http://clsql.kpe.io/")
9013 (license license:llgpl)))
9014
9015 (define-public cl-clsql
9016 (package
9017 (inherit (sbcl-package->cl-source-package sbcl-clsql))
9018 (native-inputs
9019 `(("rt" ,cl-rt)))
9020 (inputs
9021 `(("mysql" ,mysql)
9022 ("postgresql" ,postgresql)
9023 ("sqlite" ,sqlite)
9024 ("zlib" ,zlib)))
9025 (propagated-inputs
9026 `(("cffi" ,cl-cffi)
9027 ("md5" ,cl-md5)
9028 ("postmodern" ,cl-postmodern)
9029 ("uffi" ,cl-uffi)))
9030 (arguments
9031 `(#:phases
9032 ;; asdf-build-system/source has its own phases and does not inherit
9033 ;; from asdf-build-system/sbcl phases.
9034 (modify-phases %standard-phases/source
9035 (add-after 'unpack 'fix-permissions
9036 (lambda _
9037 (make-file-writable "doc/html.tar.gz")
9038 #t)))))))
9039
9040 (define-public ecl-clsql
9041 (let ((pkg (sbcl-package->ecl-package sbcl-clsql)))
9042 (package
9043 (inherit pkg)
9044 (inputs
9045 (alist-delete "uffi" (package-inputs pkg)))
9046 (arguments
9047 (substitute-keyword-arguments (package-arguments pkg)
9048 ((#:asd-files asd-files '())
9049 `(cons "clsql-cffi.asd" ,asd-files)))))))
9050
9051 (define-public sbcl-sycamore
9052 (let ((commit "fd2820fec165ad514493426dea209728f64e6d18"))
9053 (package
9054 (name "sbcl-sycamore")
9055 (version "0.0.20120604")
9056 (source
9057 (origin
9058 (method git-fetch)
9059 (uri (git-reference
9060 (url "https://github.com/ndantam/sycamore/")
9061 (commit commit)))
9062 (file-name (git-file-name name version))
9063 (sha256
9064 (base32 "00bv1aj89q5vldmq92zp2364jq312zjq2mbd3iyz1s2b4widzhl7"))))
9065 (build-system asdf-build-system/sbcl)
9066 (inputs
9067 `(("alexandria" ,sbcl-alexandria)
9068 ("cl-ppcre" ,sbcl-cl-ppcre)))
9069 (synopsis "Purely functional data structure library in Common Lisp")
9070 (description
9071 "Sycamore is a fast, purely functional data structure library in Common Lisp.
9072 If features:
9073
9074 @itemize
9075 @item Fast, purely functional weight-balanced binary trees.
9076 @item Leaf nodes are simple-vectors, greatly reducing tree height.
9077 @item Interfaces for tree Sets and Maps (dictionaries).
9078 @item Ropes.
9079 @item Purely functional pairing heaps.
9080 @item Purely functional amortized queue.
9081 @end itemize\n")
9082 (home-page "http://ndantam.github.io/sycamore/")
9083 (license license:bsd-3))))
9084
9085 (define-public cl-sycamore
9086 (sbcl-package->cl-source-package sbcl-sycamore))
9087
9088 (define-public ecl-sycamore
9089 (sbcl-package->ecl-package sbcl-sycamore))
9090
9091 (define-public sbcl-trivial-package-local-nicknames
9092 (package
9093 (name "sbcl-trivial-package-local-nicknames")
9094 (version "0.2")
9095 (home-page "https://github.com/phoe/trivial-package-local-nicknames")
9096 (source
9097 (origin
9098 (method git-fetch)
9099 (uri (git-reference
9100 (url home-page)
9101 (commit "16b7ad4c2b120f50da65154191f468ea5598460e")))
9102 (file-name (git-file-name name version))
9103 (sha256
9104 (base32 "18qc27xkjzdcqrilpk3pm7djldwq5rm3ggd5h9cr8hqcd54i2fqg"))))
9105 (build-system asdf-build-system/sbcl)
9106 (synopsis "Common Lisp compatibility library for package local nicknames")
9107 (description
9108 "This library is a portable compatibility layer around package local nicknames (PLN).
9109 This was done so there is a portability library for the PLN API not included
9110 in DEFPACKAGE.")
9111 (license license:unlicense)))
9112
9113 (define-public cl-trivial-package-local-nicknames
9114 (sbcl-package->cl-source-package sbcl-trivial-package-local-nicknames))
9115
9116 (define-public ecl-trivial-package-local-nicknames
9117 (sbcl-package->ecl-package sbcl-trivial-package-local-nicknames))
9118
9119 (define-public sbcl-enchant
9120 (let ((commit "6af162a7bf10541cbcfcfa6513894900329713fa"))
9121 (package
9122 (name "sbcl-enchant")
9123 (version (git-version "0.0.0" "1" commit))
9124 (home-page "https://github.com/tlikonen/cl-enchant")
9125 (source
9126 (origin
9127 (method git-fetch)
9128 (uri (git-reference
9129 (url home-page)
9130 (commit commit)))
9131 (file-name (git-file-name name version))
9132 (sha256
9133 (base32 "19yh5ihirzi1d8xqy1cjqipzd6ly3245cfxa5s9xx496rryz0s01"))))
9134 (build-system asdf-build-system/sbcl)
9135 (inputs
9136 `(("enchant" ,enchant)
9137 ("cffi" ,sbcl-cffi)))
9138 (arguments
9139 `(#:phases
9140 (modify-phases %standard-phases
9141 (add-after 'unpack 'fix-paths
9142 (lambda* (#:key inputs #:allow-other-keys)
9143 (substitute* "load-enchant.lisp"
9144 (("libenchant")
9145 (string-append
9146 (assoc-ref inputs "enchant") "/lib/libenchant-2"))))))))
9147 (synopsis "Common Lisp interface for the Enchant spell-checker library")
9148 (description
9149 "Enchant is a Common Lisp interface for the Enchant spell-checker
9150 library. The Enchant library is a generic spell-checker library which uses
9151 other spell-checkers transparently as back-end. The library supports the
9152 multiple checkers, including Aspell and Hunspell.")
9153 (license license:public-domain))))
9154
9155 (define-public cl-enchant
9156 (sbcl-package->cl-source-package sbcl-enchant))
9157
9158 (define-public ecl-enchant
9159 (sbcl-package->ecl-package sbcl-enchant))
9160
9161 (define-public sbcl-cl-change-case
9162 (let ((commit "5ceff2a5f8bd845b6cb510c6364176b27a238fd3"))
9163 (package
9164 (name "sbcl-cl-change-case")
9165 (version (git-version "0.1.0" "1" commit))
9166 (home-page "https://github.com/rudolfochrist/cl-change-case")
9167 (source
9168 (origin
9169 (method git-fetch)
9170 (uri (git-reference
9171 (url home-page)
9172 (commit commit)))
9173 (file-name (git-file-name name version))
9174 (sha256
9175 (base32 "1afyglglk9z3yg8gylcl301bl2r8vq3sllyznzj9s5xi5gs6qyf2"))))
9176 (build-system asdf-build-system/sbcl)
9177 (inputs
9178 `(("cl-ppcre" ,sbcl-cl-ppcre)
9179 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
9180 (native-inputs
9181 `(("fiveam" ,sbcl-fiveam)))
9182 (arguments
9183 '(;; FIXME: Test pass but phase fails with 'Component
9184 ;; "cl-change-case-test" not found, required by'.
9185 #:tests? #f
9186 #:test-asd-file "cl-change-case-test.asd"))
9187 (synopsis "Convert Common Lisp strings between camelCase, PascalCase and more")
9188 (description
9189 "@code{cl-change-case} is library to convert strings between camelCase,
9190 PascalCase, snake_case, param-case, CONSTANT_CASE and more.")
9191 (license license:llgpl))))
9192
9193 (define-public cl-change-case
9194 (sbcl-package->cl-source-package sbcl-cl-change-case))
9195
9196 (define-public ecl-cl-change-case
9197 (sbcl-package->ecl-package sbcl-cl-change-case))
9198
9199 (define-public sbcl-moptilities
9200 (let ((commit "a436f16b357c96b82397ec018ea469574c10dd41"))
9201 (package
9202 (name "sbcl-moptilities")
9203 (version (git-version "0.3.13" "1" commit))
9204 (home-page "https://github.com/gwkkwg/moptilities/")
9205 (source
9206 (origin
9207 (method git-fetch)
9208 (uri (git-reference
9209 (url home-page)
9210 (commit commit)))
9211 (file-name (git-file-name name version))
9212 (sha256
9213 (base32 "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc"))))
9214 (build-system asdf-build-system/sbcl)
9215 (inputs
9216 `(("closer-mop" ,sbcl-closer-mop)))
9217 (native-inputs
9218 `(("lift" ,sbcl-lift)))
9219 (arguments
9220 `(#:phases
9221 (modify-phases %standard-phases
9222 (add-after 'unpack 'fix-tests
9223 (lambda _
9224 (substitute* "lift-standard.config"
9225 ((":relative-to lift-test")
9226 ":relative-to moptilities-test"))
9227 #t)))))
9228 (synopsis "Compatibility layer for Common Lisp MOP implementation differences")
9229 (description
9230 "MOP utilities provide a common interface between Lisps and make the
9231 MOP easier to use.")
9232 (license license:expat))))
9233
9234 (define-public cl-moptilities
9235 (sbcl-package->cl-source-package sbcl-moptilities))
9236
9237 (define-public sbcl-osicat
9238 (let ((commit "de0c18a367eedc857e1902a7319828af072a0d97"))
9239 (package
9240 (name "sbcl-osicat")
9241 (version (git-version "0.7.0" "1" commit))
9242 (home-page "http://www.common-lisp.net/project/osicat/")
9243 (source
9244 (origin
9245 (method git-fetch)
9246 (uri (git-reference
9247 (url "https://github.com/osicat/osicat")
9248 (commit commit)))
9249 (file-name (git-file-name name version))
9250 (sha256
9251 (base32 "15viw5pi5sa7qq9b4n2rr3dj2jkqr180rh9z1lh8w3rgl42i2adc"))))
9252 (build-system asdf-build-system/sbcl)
9253 (inputs
9254 `(("alexandria" ,sbcl-alexandria)
9255 ("cffi" ,sbcl-cffi)
9256 ("trivial-features" ,sbcl-trivial-features)))
9257 (native-inputs
9258 `(("rt" ,sbcl-rt)))
9259 (synopsis "Operating system interface for Common Lisp")
9260 (description
9261 "Osicat is a lightweight operating system interface for Common Lisp on
9262 Unix-platforms. It is not a POSIX-style API, but rather a simple lispy
9263 accompaniment to the standard ANSI facilities.")
9264 (license license:expat))))
9265
9266 (define-public cl-osicat
9267 (sbcl-package->cl-source-package sbcl-osicat))
9268
9269 (define-public ecl-osicat
9270 (sbcl-package->ecl-package sbcl-osicat))
9271
9272 (define-public sbcl-clx-xembed
9273 (let ((commit "a5c4b844d31ee68ffa58c933cc1cdddde6990743")
9274 (revision "1"))
9275 (package
9276 (name "sbcl-clx-xembed")
9277 (version (git-version "0.1" revision commit))
9278 (home-page "https://github.com/laynor/clx-xembed")
9279 (source
9280 (origin
9281 (method git-fetch)
9282 (uri (git-reference
9283 (url "https://github.com/laynor/clx-xembed")
9284 (commit commit)))
9285 (file-name (git-file-name name version))
9286 (sha256
9287 (base32 "1abx4v36ycmfjdwpjk4hh8058ya8whwia7ds9vd96q2qsrs57f12"))))
9288 (build-system asdf-build-system/sbcl)
9289 (arguments
9290 `(#:asd-systems '("xembed")))
9291 (inputs
9292 `(("sbcl-clx" ,sbcl-clx)))
9293 (synopsis "CL(x) xembed protocol implementation ")
9294 (description "CL(x) xembed protocol implementation")
9295 ;; MIT License
9296 (license license:expat))))
9297
9298 (define-public cl-clx-xembed
9299 (sbcl-package->cl-source-package sbcl-clx-xembed))
9300
9301 (define-public ecl-clx-xembed
9302 (sbcl-package->ecl-package sbcl-clx-xembed))
9303
9304 (define-public sbcl-quantile-estimator
9305 (package
9306 (name "sbcl-quantile-estimator")
9307 (version "0.0.1")
9308 (source
9309 (origin
9310 (method git-fetch)
9311 (uri (git-reference
9312 (url "https://github.com/deadtrickster/quantile-estimator.cl")
9313 (commit "84d0ea405d793f5e808c68c4ddaf25417b0ff8e5")))
9314 (file-name (git-file-name name version))
9315 (sha256
9316 (base32
9317 "0rlswkf0siaabsvvch3dgxmg45fw5w8pd9b7ri2w7a298aya52z9"))))
9318 (build-system asdf-build-system/sbcl)
9319 (arguments
9320 '(#:asd-files '("quantile-estimator.asd")))
9321 (inputs
9322 `(("alexandria" ,sbcl-alexandria)))
9323 (home-page "https://github.com/deadtrickster/quantile-estimator.cl")
9324 (synopsis
9325 "Effective computation of biased quantiles over data streams")
9326 (description
9327 "Common Lisp implementation of Graham Cormode and S.
9328 Muthukrishnan's Effective Computation of Biased Quantiles over Data
9329 Streams in ICDE’05.")
9330 (license license:expat)))
9331
9332 (define-public cl-quantile-estimator
9333 (sbcl-package->cl-source-package sbcl-quantile-estimator))
9334
9335 (define-public ecl-quantile-estimator
9336 (sbcl-package->ecl-package sbcl-quantile-estimator))
9337
9338 (define-public sbcl-prometheus
9339 (package
9340 (name "sbcl-prometheus")
9341 (version "0.4.1")
9342 (source
9343 (origin
9344 (method git-fetch)
9345 (uri (git-reference
9346 (url "https://github.com/deadtrickster/prometheus.cl")
9347 (commit "7352b92296996ff383503e19bdd3bcea30409a15")))
9348 (file-name (git-file-name name version))
9349 (sha256
9350 (base32
9351 "0fzczls2kfgdx18pja4lqxjrz72i583185d8nq0pb3s331hhzh0z"))))
9352 (build-system asdf-build-system/sbcl)
9353 (inputs
9354 `(("alexandria" ,sbcl-alexandria)
9355 ("bordeaux-threads" ,sbcl-bordeaux-threads)
9356 ("cffi" ,sbcl-cffi)
9357 ("cl-fad" ,sbcl-cl-fad)
9358 ("cl-ppcre" ,sbcl-cl-ppcre)
9359 ("drakma" ,sbcl-drakma)
9360 ("hunchentoot" ,sbcl-hunchentoot)
9361 ("local-time" ,sbcl-local-time)
9362 ("quantile-estimator" ,sbcl-quantile-estimator)
9363 ("salza2" ,sbcl-salza2)
9364 ("split-sequence" ,sbcl-split-sequence)
9365 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9366 (arguments
9367 '(#:asd-files '("prometheus.asd"
9368 "prometheus.collectors.sbcl.asd"
9369 "prometheus.collectors.process.asd"
9370 "prometheus.formats.text.asd"
9371 "prometheus.exposers.hunchentoot.asd"
9372 "prometheus.pushgateway.asd")
9373 #:asd-systems '("prometheus"
9374 "prometheus.collectors.sbcl"
9375 "prometheus.collectors.process"
9376 "prometheus.formats.text"
9377 "prometheus.exposers.hunchentoot"
9378 "prometheus.pushgateway")))
9379 (home-page "https://github.com/deadtrickster/prometheus.cl")
9380 (synopsis "Prometheus.io Common Lisp client")
9381 (description "Prometheus.io Common Lisp client.")
9382 (license license:expat)))
9383
9384 (define-public cl-prometheus
9385 (sbcl-package->cl-source-package sbcl-prometheus))
9386
9387 (define-public ecl-prometheus
9388 (sbcl-package->ecl-package sbcl-prometheus))
9389
9390 (define-public sbcl-uuid
9391 (let ((commit "e7d6680c3138385c0708f7aaf0c96622eeb140e8"))
9392 (package
9393 (name "sbcl-uuid")
9394 (version (git-version "2012.12.26" "1" commit))
9395 (source
9396 (origin
9397 (method git-fetch)
9398 (uri (git-reference
9399 (url "https://github.com/dardoria/uuid")
9400 (commit commit)))
9401 (file-name (git-file-name name version))
9402 (sha256
9403 (base32
9404 "0jnyp2kibcf5cwi60l6grjrj8wws9chasjvsw7xzwyym2lyid46f"))))
9405 (build-system asdf-build-system/sbcl)
9406 (inputs
9407 `(("ironclad" ,sbcl-ironclad)
9408 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9409 (home-page "https://github.com/dardoria/uuid")
9410 (synopsis
9411 "Common Lisp implementation of UUIDs according to RFC4122")
9412 (description
9413 "Common Lisp implementation of UUIDs according to RFC4122.")
9414 (license license:llgpl))))
9415
9416 (define-public cl-uuid
9417 (sbcl-package->cl-source-package sbcl-uuid))
9418
9419 (define-public ecl-uuid
9420 (sbcl-package->ecl-package sbcl-uuid))
9421
9422 (define-public sbcl-dissect
9423 (let ((commit "cffd38479f0e64e805f167bbdb240b783ecc8d45"))
9424 (package
9425 (name "sbcl-dissect")
9426 (version (git-version "1.0.0" "1" commit))
9427 (source
9428 (origin
9429 (method git-fetch)
9430 (uri (git-reference
9431 (url "https://github.com/Shinmera/dissect")
9432 (commit commit)))
9433 (file-name (git-file-name name version))
9434 (sha256
9435 (base32
9436 "0rmsjkgjl90gl6ssvgd60hb0d5diyhsiyypvw9hbc0ripvbmk5r5"))))
9437 (build-system asdf-build-system/sbcl)
9438 (inputs
9439 `(("cl-ppcre" ,sbcl-cl-ppcre)))
9440 (home-page "https://shinmera.github.io/dissect/")
9441 (synopsis
9442 "Introspection library for the call stack and restarts")
9443 (description
9444 "Dissect is a small Common Lisp library for introspecting the call stack
9445 and active restarts.")
9446 (license license:zlib))))
9447
9448 (define-public cl-dissect
9449 (sbcl-package->cl-source-package sbcl-dissect))
9450
9451 (define-public ecl-dissect
9452 (sbcl-package->ecl-package sbcl-dissect))
9453
9454 (define-public sbcl-rove
9455 (package
9456 (name "sbcl-rove")
9457 (version "0.9.6")
9458 (source
9459 (origin
9460 (method git-fetch)
9461 (uri (git-reference
9462 (url "https://github.com/fukamachi/rove")
9463 (commit "f3695db08203bf26f3b861dc22ac0f4257d3ec21")))
9464 (file-name (git-file-name name version))
9465 (sha256
9466 (base32
9467 "07ala4l2fncxf540fzxj3h5mhi9i4wqllhj0rqk8m2ljl5zbz89q"))))
9468 (build-system asdf-build-system/sbcl)
9469 (inputs
9470 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9471 ("dissect" ,sbcl-dissect)
9472 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
9473 (home-page "https://github.com/fukamachi/rove")
9474 (synopsis
9475 "Yet another common lisp testing library")
9476 (description
9477 "Rove is a unit testing framework for Common Lisp applications.
9478 This is intended to be a successor of Prove.")
9479 (license license:bsd-3)))
9480
9481 (define-public cl-rove
9482 (sbcl-package->cl-source-package sbcl-rove))
9483
9484 (define-public ecl-rove
9485 (sbcl-package->ecl-package sbcl-rove))
9486
9487 (define-public sbcl-exponential-backoff
9488 (let ((commit "8d9e8444d8b3184a524c12ce3449f91613ab714f"))
9489 (package
9490 (name "sbcl-exponential-backoff")
9491 (version (git-version "0" "1" commit))
9492 (source
9493 (origin
9494 (method git-fetch)
9495 (uri (git-reference
9496 (url "https://github.com/death/exponential-backoff")
9497 (commit commit)))
9498 (file-name (git-file-name name version))
9499 (sha256
9500 (base32
9501 "1389hm9hxv85s0125ja4js1bvh8ay4dsy9q1gaynjv27ynik6gmv"))))
9502 (build-system asdf-build-system/sbcl)
9503 (home-page "https://github.com/death/exponential-backoff")
9504 (synopsis "Exponential backoff algorithm in Common Lisp")
9505 (description
9506 "An implementation of the exponential backoff algorithm in Common Lisp.
9507 Inspired by the implementation found in Chromium. Read the header file to
9508 learn about each of the parameters.")
9509 (license license:expat))))
9510
9511 (define-public cl-exponential-backoff
9512 (sbcl-package->cl-source-package sbcl-exponential-backoff))
9513
9514 (define-public ecl-exponential-backoff
9515 (sbcl-package->ecl-package sbcl-exponential-backoff))
9516
9517 (define-public sbcl-sxql
9518 (let ((commit "5aa8b739492c5829e8623432b5d46482263990e8"))
9519 (package
9520 (name "sbcl-sxql")
9521 (version (git-version "0.1.0" "1" commit))
9522 (source
9523 (origin
9524 (method git-fetch)
9525 (uri (git-reference
9526 (url "https://github.com/fukamachi/sxql")
9527 (commit commit)))
9528 (file-name (git-file-name name version))
9529 (sha256
9530 (base32
9531 "0k25p6w2ld9cn8q8s20lda6yjfyp4q89219sviayfgixnj27avnj"))))
9532 (build-system asdf-build-system/sbcl)
9533 (arguments
9534 `(#:test-asd-file "sxql-test.asd"))
9535 (inputs
9536 `(("alexandria" ,sbcl-alexandria)
9537 ("cl-syntax" ,sbcl-cl-syntax)
9538 ("iterate" ,sbcl-iterate)
9539 ("optima" ,sbcl-optima)
9540 ("split-sequence" ,sbcl-split-sequence)
9541 ("trivial-types" ,sbcl-trivial-types)))
9542 (native-inputs
9543 `(("prove" ,sbcl-prove)))
9544 (home-page "https://github.com/fukamachi/sxql")
9545 (synopsis "SQL generator for Common Lisp")
9546 (description "SQL generator for Common Lisp.")
9547 (license license:bsd-3))))
9548
9549 (define-public cl-sxql
9550 (sbcl-package->cl-source-package sbcl-sxql))
9551
9552 (define-public ecl-sxql
9553 (sbcl-package->ecl-package sbcl-sxql))
9554
9555 (define-public sbcl-1am
9556 (let ((commit "8b1da94eca4613fd8a20bdf63f0e609e379b0ba5"))
9557 (package
9558 (name "sbcl-1am")
9559 (version (git-version "0.0" "1" commit))
9560 (source
9561 (origin
9562 (method git-fetch)
9563 (uri (git-reference
9564 (url "https://github.com/lmj/1am")
9565 (commit commit)))
9566 (file-name (git-file-name name version))
9567 (sha256
9568 (base32
9569 "05ss4nz1jb9kb796295482b62w5cj29msfj8zis33sp2rw2vmv2g"))))
9570 (build-system asdf-build-system/sbcl)
9571 (arguments
9572 `(#:asd-systems '("1am")))
9573 (home-page "https://github.com/lmj/1am")
9574 (synopsis "Minimal testing framework for Common Lisp")
9575 (description "A minimal testing framework for Common Lisp.")
9576 (license license:expat))))
9577
9578 (define-public cl-1am
9579 (sbcl-package->cl-source-package sbcl-1am))
9580
9581 (define-public ecl-1am
9582 (sbcl-package->ecl-package sbcl-1am))
9583
9584 (define-public sbcl-cl-ascii-table
9585 (let ((commit "d9f5e774a56fad1b416e4dadb8f8a5b0e84094e2")
9586 (revision "1"))
9587 (package
9588 (name "sbcl-cl-ascii-table")
9589 (version (git-version "0.0.0" revision commit))
9590 (source
9591 (origin
9592 (method git-fetch)
9593 (uri (git-reference
9594 (url "https://github.com/telephil/cl-ascii-table")
9595 (commit commit)))
9596 (file-name (git-file-name name version))
9597 (sha256
9598 (base32 "125fdif9sgl7k0ngjhxv0wjas2q27d075025hvj2rx1b1x948z4s"))))
9599 (build-system asdf-build-system/sbcl)
9600 (synopsis "Library to make ascii-art tables")
9601 (description
9602 "This is a Common Lisp library to present tabular data in ascii-art
9603 tables.")
9604 (home-page "https://github.com/telephil/cl-ascii-table")
9605 (license license:expat))))
9606
9607 (define-public cl-ascii-table
9608 (sbcl-package->cl-source-package sbcl-cl-ascii-table))
9609
9610 (define-public ecl-cl-ascii-table
9611 (sbcl-package->ecl-package sbcl-cl-ascii-table))
9612
9613 (define-public sbcl-cl-rdkafka
9614 (package
9615 (name "sbcl-cl-rdkafka")
9616 (version "1.0.2")
9617 (source
9618 (origin
9619 (method git-fetch)
9620 (uri (git-reference
9621 (url "https://github.com/SahilKang/cl-rdkafka")
9622 (commit (string-append "v" version))))
9623 (file-name (git-file-name name version))
9624 (sha256
9625 (base32
9626 "1qcgfd4h7syilzmrmd4z2vknbvawda3q3ykw7xm8n381syry4g82"))))
9627 (build-system asdf-build-system/sbcl)
9628 (arguments
9629 `(#:tests? #f ; Attempts to connect to locally running Kafka
9630 #:phases
9631 (modify-phases %standard-phases
9632 (add-after 'unpack 'fix-paths
9633 (lambda* (#:key inputs #:allow-other-keys)
9634 (substitute* "src/low-level/librdkafka-bindings.lisp"
9635 (("librdkafka" all)
9636 (string-append (assoc-ref inputs "librdkafka") "/lib/"
9637 all))))))))
9638 (inputs
9639 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9640 ("cffi" ,sbcl-cffi)
9641 ("librdkafka" ,librdkafka)
9642 ("lparallel" ,sbcl-lparallel)
9643 ("trivial-garbage" ,sbcl-trivial-garbage)))
9644 (home-page "https://github.com/SahilKang/cl-rdkafka")
9645 (synopsis "Common Lisp client library for Apache Kafka")
9646 (description "A Common Lisp client library for Apache Kafka.")
9647 (license license:gpl3)))
9648
9649 (define-public cl-rdkafka
9650 (sbcl-package->cl-source-package sbcl-cl-rdkafka))
9651
9652 (define-public ecl-cl-rdkafka
9653 (sbcl-package->ecl-package sbcl-cl-rdkafka))
9654
9655 (define-public sbcl-acclimation
9656 (let ((commit "4d51150902568fcd59335f4cc4cfa022df6116a5"))
9657 (package
9658 (name "sbcl-acclimation")
9659 (version (git-version "0.0.0" "1" commit))
9660 (source
9661 (origin
9662 (method git-fetch)
9663 (uri (git-reference
9664 (url "https://github.com/robert-strandh/Acclimation")
9665 (commit commit)))
9666 (file-name (git-file-name name version))
9667 (sha256
9668 (base32
9669 "1aw7rarjl8ai57h0jxnp9hr3dka7qrs55mmbl1p6rhd6xj8mp9wq"))))
9670 (build-system asdf-build-system/sbcl)
9671 (home-page "https://github.com/robert-strandh/Acclimation")
9672 (synopsis "Internationalization library for Common Lisp")
9673 (description "This project is meant to provide tools for
9674 internationalizing Common Lisp programs.
9675
9676 One important aspect of internationalization is of course the language used in
9677 error messages, documentation strings, etc. But with this project we provide
9678 tools for all other aspects of internationalization as well, including dates,
9679 weight, temperature, names of physical quantitites, etc.")
9680 (license license:bsd-2))))
9681
9682 (define-public cl-acclimation
9683 (sbcl-package->cl-source-package sbcl-acclimation))
9684
9685 (define-public ecl-acclimation
9686 (sbcl-package->ecl-package sbcl-acclimation))
9687
9688 (define-public sbcl-clump
9689 (let ((commit "1ea4dbac1cb86713acff9ae58727dd187d21048a"))
9690 (package
9691 (name "sbcl-clump")
9692 (version (git-version "0.0.0" "1" commit))
9693 (source
9694 (origin
9695 (method git-fetch)
9696 (uri (git-reference
9697 (url "https://github.com/robert-strandh/Clump")
9698 (commit commit)))
9699 (file-name (git-file-name name version))
9700 (sha256
9701 (base32
9702 "1639msyagsswj85gc0wd90jgh8588j3qg5q70by9s2brf2q6w4lh"))))
9703 (inputs
9704 `(("acclimation" ,sbcl-acclimation)))
9705 (build-system asdf-build-system/sbcl)
9706 (home-page "https://github.com/robert-strandh/Clump")
9707 (synopsis "Collection of tree implementations for Common Lisp")
9708 (description "The purpose of this library is to provide a collection of
9709 implementations of trees.
9710
9711 In contrast to existing libraries such as cl-containers, it does not impose a
9712 particular use for the trees. Instead, it aims for a stratified design,
9713 allowing client code to choose between different levels of abstraction.
9714
9715 As a consequence of this policy, low-level interfaces are provided where
9716 the concrete representation is exposed, but also high level interfaces
9717 where the trees can be used as search trees or as trees that represent
9718 sequences of objects.")
9719 (license license:bsd-2))))
9720
9721 (define-public cl-clump
9722 (sbcl-package->cl-source-package sbcl-clump))
9723
9724 (define-public ecl-clump
9725 (sbcl-package->ecl-package sbcl-clump))
9726
9727 (define-public sbcl-cluffer
9728 (let ((commit "4aad29c276a58a593064e79972ee4d77cae0af4a"))
9729 (package
9730 (name "sbcl-cluffer")
9731 (version (git-version "0.0.0" "1" commit))
9732 (source
9733 (origin
9734 (method git-fetch)
9735 (uri (git-reference
9736 (url "https://github.com/robert-strandh/cluffer")
9737 (commit commit)))
9738 (file-name (git-file-name name version))
9739 (sha256
9740 (base32
9741 "1bcg13g7qb3dr8z50aihdjqa6miz5ivlc9wsj2csgv1km1mak2kj"))))
9742 (build-system asdf-build-system/sbcl)
9743 (inputs
9744 `(("acclimation" ,sbcl-acclimation)
9745 ("clump" ,sbcl-clump)))
9746 (home-page "https://github.com/robert-strandh/cluffer")
9747 (synopsis "Common Lisp library providing a protocol for text-editor buffers")
9748 (description "Cluffer is a library for representing the buffer of a text
9749 editor. As such, it defines a set of CLOS protocols for client code to
9750 interact with the buffer contents in various ways, and it supplies different
9751 implementations of those protocols for different purposes.")
9752 (license license:bsd-2))))
9753
9754 (define-public cl-cluffer
9755 (sbcl-package->cl-source-package sbcl-cluffer))
9756
9757 (define-public ecl-cluffer
9758 (sbcl-package->ecl-package sbcl-cluffer))
9759
9760 (define-public sbcl-cl-libsvm-format
9761 (let ((commit "3300f84fd8d9f5beafc114f543f9d83417c742fb")
9762 (revision "0"))
9763 (package
9764 (name "sbcl-cl-libsvm-format")
9765 (version (git-version "0.1.0" revision commit))
9766 (source
9767 (origin
9768 (method git-fetch)
9769 (uri (git-reference
9770 (url "https://github.com/masatoi/cl-libsvm-format")
9771 (commit commit)))
9772 (file-name (git-file-name name version))
9773 (sha256
9774 (base32
9775 "0284aj84xszhkhlivaigf9qj855fxad3mzmv3zfr0qzb5k0nzwrg"))))
9776 (build-system asdf-build-system/sbcl)
9777 (native-inputs
9778 `(("prove" ,sbcl-prove)))
9779 (inputs
9780 `(("alexandria" ,sbcl-alexandria)))
9781 (synopsis "LibSVM data format reader for Common Lisp")
9782 (description
9783 "This Common Lisp library provides a fast reader for data in LibSVM
9784 format.")
9785 (home-page "https://github.com/masatoi/cl-libsvm-format")
9786 (license license:expat))))
9787
9788 (define-public cl-libsvm-format
9789 (sbcl-package->cl-source-package sbcl-cl-libsvm-format))
9790
9791 (define-public ecl-cl-libsvm-format
9792 (sbcl-package->ecl-package sbcl-cl-libsvm-format))
9793
9794 (define-public sbcl-cl-online-learning
9795 (let ((commit "fc7a34f4f161cd1c7dd747d2ed8f698947781423")
9796 (revision "0"))
9797 (package
9798 (name "sbcl-cl-online-learning")
9799 (version (git-version "0.5" revision commit))
9800 (source
9801 (origin
9802 (method git-fetch)
9803 (uri (git-reference
9804 (url "https://github.com/masatoi/cl-online-learning")
9805 (commit commit)))
9806 (file-name (git-file-name name version))
9807 (sha256
9808 (base32
9809 "14x95rlg80ay5hv645ki57pqvy12v28hz4k1w0f6bsfi2rmpxchq"))))
9810 (build-system asdf-build-system/sbcl)
9811 (native-inputs
9812 `(("prove" ,sbcl-prove)))
9813 (inputs
9814 `(("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9815 ("cl-store" ,sbcl-cl-store)))
9816 (arguments
9817 `(;; FIXME: Tests pass but then the check phase crashes
9818 #:tests? #f))
9819 (synopsis "Online Machine Learning for Common Lisp")
9820 (description
9821 "This library contains a collection of machine learning algorithms for
9822 online linear classification written in Common Lisp.")
9823 (home-page "https://github.com/masatoi/cl-online-learning")
9824 (license license:expat))))
9825
9826 (define-public cl-online-learning
9827 (sbcl-package->cl-source-package sbcl-cl-online-learning))
9828
9829 (define-public ecl-cl-online-learning
9830 (sbcl-package->ecl-package sbcl-cl-online-learning))
9831
9832 (define-public sbcl-cl-random-forest
9833 (let ((commit "fedb36ce99bb6f4d7e3a7dd6d8b058f331308f91")
9834 (revision "1"))
9835 (package
9836 (name "sbcl-cl-random-forest")
9837 (version (git-version "0.1" revision commit))
9838 (source
9839 (origin
9840 (method git-fetch)
9841 (uri (git-reference
9842 (url "https://github.com/masatoi/cl-random-forest")
9843 (commit commit)))
9844 (file-name (git-file-name name version))
9845 (sha256
9846 (base32
9847 "0wqh4dxy5hrvm14jgyfypwhdw35f24rsksid4blz5a6l2z16rlmq"))))
9848 (build-system asdf-build-system/sbcl)
9849 (native-inputs
9850 `(("prove" ,sbcl-prove)
9851 ("trivial-garbage" ,sbcl-trivial-garbage)))
9852 (inputs
9853 `(("alexandria" ,sbcl-alexandria)
9854 ("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9855 ("cl-online-learning" ,sbcl-cl-online-learning)
9856 ("lparallel" ,sbcl-lparallel)))
9857 (arguments
9858 `(#:tests? #f)) ; The tests download data from the Internet
9859 (synopsis "Random Forest and Global Refinement for Common Lisp")
9860 (description
9861 "CL-random-forest is an implementation of Random Forest for multiclass
9862 classification and univariate regression written in Common Lisp. It also
9863 includes an implementation of Global Refinement of Random Forest.")
9864 (home-page "https://github.com/masatoi/cl-random-forest")
9865 (license license:expat))))
9866
9867 (define-public cl-random-forest
9868 (sbcl-package->cl-source-package sbcl-cl-random-forest))
9869
9870 (define-public ecl-cl-random-forest
9871 (sbcl-package->ecl-package sbcl-cl-random-forest))
9872
9873 (define-public sbcl-bordeaux-fft
9874 (let ((commit "4a1f5600cae59bdabcb32de4ee2d7d73a9450d6e")
9875 (revision "0"))
9876 (package
9877 (name "sbcl-bordeaux-fft")
9878 (version (git-version "1.0.1" revision commit))
9879 (source
9880 (origin
9881 (method git-fetch)
9882 (uri (git-reference
9883 (url "https://github.com/ahefner/bordeaux-fft")
9884 (commit commit)))
9885 (file-name (git-file-name name version))
9886 (sha256
9887 (base32 "0j584w6kq2k6r8lp2i14f9605rxhp3r15s33xs08iz1pndn6iwqf"))))
9888 (build-system asdf-build-system/sbcl)
9889 (home-page "http://vintage-digital.com/hefner/software/bordeaux-fft/")
9890 (synopsis "Fast Fourier Transform for Common Lisp")
9891 (description
9892 "The Bordeaux-FFT library provides a reasonably efficient implementation
9893 of the Fast Fourier Transform and its inverse for complex-valued inputs, in
9894 portable Common Lisp.")
9895 (license license:gpl2+))))
9896
9897 (define-public cl-bordeaux-fft
9898 (sbcl-package->cl-source-package sbcl-bordeaux-fft))
9899
9900 (define-public ecl-bordeaux-fft
9901 (sbcl-package->ecl-package sbcl-bordeaux-fft))
9902
9903 (define-public sbcl-napa-fft3
9904 (let ((commit "f2d9614c7167da327c9ceebefb04ff6eae2d2236")
9905 (revision "0"))
9906 (package
9907 (name "sbcl-napa-fft3")
9908 (version (git-version "0.0.1" revision commit))
9909 (source
9910 (origin
9911 (method git-fetch)
9912 (uri (git-reference
9913 (url "https://github.com/pkhuong/Napa-FFT3")
9914 (commit commit)))
9915 (file-name (git-file-name name version))
9916 (sha256
9917 (base32 "1hxjf599xgwm28gbryy7q96j9ys6hfszmv0qxpr5698hxnhknscp"))))
9918 (build-system asdf-build-system/sbcl)
9919 (home-page "https://github.com/pkhuong/Napa-FFT3")
9920 (synopsis "Fast Fourier Transform routines in Common Lisp")
9921 (description
9922 "Napa-FFT3 provides Discrete Fourier Transform (DFT) routines, but also
9923 buildings blocks to express common operations that involve DFTs: filtering,
9924 convolutions, etc.")
9925 (license license:bsd-3))))
9926
9927 (define-public cl-napa-fft3
9928 (sbcl-package->cl-source-package sbcl-napa-fft3))
9929
9930 (define-public sbcl-cl-tga
9931 (let ((commit "4dc2f7b8a259b9360862306640a07a23d4afaacc")
9932 (revision "0"))
9933 (package
9934 (name "sbcl-cl-tga")
9935 (version (git-version "0.0.0" revision commit))
9936 (source
9937 (origin
9938 (method git-fetch)
9939 (uri (git-reference
9940 (url "https://github.com/fisxoj/cl-tga")
9941 (commit commit)))
9942 (file-name (git-file-name name version))
9943 (sha256
9944 (base32 "03k3npmn0xd3fd2m7vwxph82av2xrfb150imqrinlzqmzvz1v1br"))))
9945 (build-system asdf-build-system/sbcl)
9946 (home-page "https://github.com/fisxoj/cl-tga")
9947 (synopsis "TGA file loader for Common Lisp")
9948 (description
9949 "Cl-tga was written to facilitate loading @emph{.tga} files into OpenGL
9950 programs. It's a very simple library, and, at the moment, only supports
9951 non-RLE encoded forms of the files.")
9952 (license license:expat))))
9953
9954 (define-public cl-tga
9955 (sbcl-package->cl-source-package sbcl-cl-tga))
9956
9957 (define-public ecl-cl-tga
9958 (sbcl-package->ecl-package sbcl-cl-tga))
9959
9960 (define-public sbcl-com.gigamonkeys.binary-data
9961 (let ((commit "22e908976d7f3e2318b7168909f911b4a00963ee")
9962 (revision "0"))
9963 (package
9964 (name "sbcl-com.gigamonkeys.binary-data")
9965 (version (git-version "0.0.0" revision commit))
9966 (source
9967 (origin
9968 (method git-fetch)
9969 (uri (git-reference
9970 (url "https://github.com/gigamonkey/monkeylib-binary-data")
9971 (commit commit)))
9972 (file-name (git-file-name name version))
9973 (sha256
9974 (base32 "072v417vmcnvmyh8ddq9vmwwrizm7zwz9dpzi14qy9nsw8q649zw"))))
9975 (build-system asdf-build-system/sbcl)
9976 (inputs
9977 `(("alexandria" ,sbcl-alexandria)))
9978 (home-page "https://github.com/gigamonkey/monkeylib-binary-data")
9979 (synopsis "Common Lisp library for reading and writing binary data")
9980 (description
9981 "This a Common Lisp library for reading and writing binary data. It is
9982 based on code from chapter 24 of the book @emph{Practical Common Lisp}.")
9983 (license license:bsd-3))))
9984
9985 (define-public cl-com.gigamonkeys.binary-data
9986 (sbcl-package->cl-source-package sbcl-com.gigamonkeys.binary-data))
9987
9988 (define-public ecl-com.gigamonkeys.binary-data
9989 (sbcl-package->ecl-package sbcl-com.gigamonkeys.binary-data))
9990
9991 (define-public sbcl-deflate
9992 (package
9993 (name "sbcl-deflate")
9994 (version "1.0.3")
9995 (source
9996 (origin
9997 (method git-fetch)
9998 (uri (git-reference
9999 (url "https://github.com/pmai/Deflate")
10000 (commit (string-append "release-" version))))
10001 (file-name (git-file-name name version))
10002 (sha256
10003 (base32 "1jpdjnxh6cw2d8hk70r2sxn92is52s9b855irvwkdd777fdciids"))))
10004 (build-system asdf-build-system/sbcl)
10005 (home-page "https://github.com/pmai/Deflate")
10006 (synopsis "Native deflate decompression for Common Lisp")
10007 (description
10008 "This library is an implementation of Deflate (RFC 1951) decompression,
10009 with optional support for ZLIB-style (RFC 1950) and gzip-style (RFC 1952)
10010 wrappers of deflate streams. It currently does not handle compression.")
10011 (license license:expat)))
10012
10013 (define-public cl-deflate
10014 (sbcl-package->cl-source-package sbcl-deflate))
10015
10016 (define-public ecl-deflate
10017 (sbcl-package->ecl-package sbcl-deflate))
10018
10019 (define-public sbcl-skippy
10020 (let ((commit "e456210202ca702c792292c5060a264d45e47090")
10021 (revision "0"))
10022 (package
10023 (name "sbcl-skippy")
10024 (version (git-version "1.3.12" revision commit))
10025 (source
10026 (origin
10027 (method git-fetch)
10028 (uri (git-reference
10029 (url "https://github.com/xach/skippy")
10030 (commit commit)))
10031 (file-name (git-file-name name version))
10032 (sha256
10033 (base32 "1sxbn5nh24qpx9w64x8mhp259cxcl1x8p126wk3b91ijjsj7l5vj"))))
10034 (build-system asdf-build-system/sbcl)
10035 (home-page "https://xach.com/lisp/skippy/")
10036 (synopsis "Common Lisp library for GIF images")
10037 (description
10038 "Skippy is a Common Lisp library to read and write GIF image files.")
10039 (license license:bsd-2))))
10040
10041 (define-public cl-skippy
10042 (sbcl-package->cl-source-package sbcl-skippy))
10043
10044 (define-public ecl-skippy
10045 (sbcl-package->ecl-package sbcl-skippy))
10046
10047 (define-public sbcl-cl-freetype2
10048 (let ((commit "96058da730b4812df916c1f4ee18c99b3b15a3de")
10049 (revision "0"))
10050 (package
10051 (name "sbcl-cl-freetype2")
10052 (version (git-version "1.1" revision commit))
10053 (source
10054 (origin
10055 (method git-fetch)
10056 (uri (git-reference
10057 (url "https://github.com/rpav/cl-freetype2")
10058 (commit commit)))
10059 (file-name (git-file-name name version))
10060 (sha256
10061 (base32 "0f8darhairgxnb5bzqcny7nh7ss3471bdzix5rzcyiwdbr5kymjl"))))
10062 (build-system asdf-build-system/sbcl)
10063 (native-inputs
10064 `(("fiveam" ,sbcl-fiveam)))
10065 (inputs
10066 `(("alexandria" ,sbcl-alexandria)
10067 ("cffi" ,sbcl-cffi)
10068 ("freetype" ,freetype)
10069 ("trivial-garbage" ,sbcl-trivial-garbage)))
10070 (arguments
10071 `(#:phases
10072 (modify-phases %standard-phases
10073 (add-after 'unpack 'fix-paths
10074 (lambda* (#:key inputs #:allow-other-keys)
10075 (substitute* "src/ffi/ft2-lib.lisp"
10076 (("\"libfreetype\"")
10077 (string-append "\"" (assoc-ref inputs "freetype")
10078 "/lib/libfreetype\"")))
10079 (substitute* "src/ffi/grovel/grovel-freetype2.lisp"
10080 (("-I/usr/include/freetype")
10081 (string-append "-I" (assoc-ref inputs "freetype")
10082 "/include/freetype")))
10083 #t)))))
10084 (home-page "https://github.com/rpav/cl-freetype2")
10085 (synopsis "Common Lisp bindings for Freetype 2")
10086 (description
10087 "This is a general Freetype 2 wrapper for Common Lisp using CFFI. It's
10088 geared toward both using Freetype directly by providing a simplified API, as
10089 well as providing access to the underlying C structures and functions for use
10090 with other libraries which may also use Freetype.")
10091 (license license:bsd-3))))
10092
10093 (define-public cl-freetype2
10094 (sbcl-package->cl-source-package sbcl-cl-freetype2))
10095
10096 (define-public ecl-cl-freetype2
10097 (sbcl-package->ecl-package sbcl-cl-freetype2))
10098
10099 (define-public sbcl-opticl-core
10100 (let ((commit "b7cd13d26df6b824b216fbc360dc27bfadf04999")
10101 (revision "0"))
10102 (package
10103 (name "sbcl-opticl-core")
10104 (version (git-version "0.0.0" revision commit))
10105 (source
10106 (origin
10107 (method git-fetch)
10108 (uri (git-reference
10109 (url "https://github.com/slyrus/opticl-core")
10110 (commit commit)))
10111 (file-name (git-file-name name version))
10112 (sha256
10113 (base32 "0458bllabcdjghfrqx6aki49c9qmvfmkk8jl75cfpi7q0i12kh95"))))
10114 (build-system asdf-build-system/sbcl)
10115 (inputs
10116 `(("alexandria" ,sbcl-alexandria)))
10117 (home-page "https://github.com/slyrus/opticl-core")
10118 (synopsis "Core classes and pixel access macros for Opticl")
10119 (description
10120 "This Common Lisp library contains the core classes and pixel access
10121 macros for the Opticl image processing library.")
10122 (license license:bsd-2))))
10123
10124 (define-public cl-opticl-core
10125 (sbcl-package->cl-source-package sbcl-opticl-core))
10126
10127 (define-public ecl-opticl-core
10128 (sbcl-package->ecl-package sbcl-opticl-core))
10129
10130 (define-public sbcl-retrospectiff
10131 (let ((commit "c2a69d77d5010f8cdd9045b3e36a08a73da5d321")
10132 (revision "0"))
10133 (package
10134 (name "sbcl-retrospectiff")
10135 (version (git-version "0.2" revision commit))
10136 (source
10137 (origin
10138 (method git-fetch)
10139 (uri (git-reference
10140 (url "https://github.com/slyrus/retrospectiff")
10141 (commit commit)))
10142 (file-name (git-file-name name version))
10143 (sha256
10144 (base32 "0qsn9hpd8j2kp43dk05j8dczz9zppdff5rrclbp45n3ksk9inw8i"))))
10145 (build-system asdf-build-system/sbcl)
10146 (native-inputs
10147 `(("fiveam" ,sbcl-fiveam)))
10148 (inputs
10149 `(("cl-jpeg" ,sbcl-cl-jpeg)
10150 ("com.gigamonkeys.binary-data" ,sbcl-com.gigamonkeys.binary-data)
10151 ("deflate" ,sbcl-deflate)
10152 ("flexi-streams" ,sbcl-flexi-streams)
10153 ("ieee-floats" ,sbcl-ieee-floats)
10154 ("opticl-core" ,sbcl-opticl-core)))
10155 (home-page "https://github.com/slyrus/retrospectiff")
10156 (synopsis "Common Lisp library for TIFF images")
10157 (description
10158 "Retrospectiff is a common lisp library for reading and writing images
10159 in the TIFF (Tagged Image File Format) format.")
10160 (license license:bsd-2))))
10161
10162 (define-public cl-retrospectif
10163 (sbcl-package->cl-source-package sbcl-retrospectiff))
10164
10165 (define-public ecl-retrospectiff
10166 (sbcl-package->ecl-package sbcl-retrospectiff))
10167
10168 (define-public sbcl-mmap
10169 (let ((commit "ba2e98c67e25f0fb8ff838238561120a23903ce7")
10170 (revision "0"))
10171 (package
10172 (name "sbcl-mmap")
10173 (version (git-version "1.0.0" revision commit))
10174 (source
10175 (origin
10176 (method git-fetch)
10177 (uri (git-reference
10178 (url "https://github.com/Shinmera/mmap")
10179 (commit commit)))
10180 (file-name (git-file-name name version))
10181 (sha256
10182 (base32 "0qd0xp20i1pcfn12kkapv9pirb6hd4ns7kz4zf1mmjwykpsln96q"))))
10183 (build-system asdf-build-system/sbcl)
10184 (native-inputs
10185 `(("alexandria" ,sbcl-alexandria)
10186 ("cffi" ,sbcl-cffi)
10187 ("parachute" ,sbcl-parachute)
10188 ("trivial-features" ,sbcl-trivial-features)))
10189 (inputs
10190 `(("cffi" ,sbcl-cffi)
10191 ("documentation-utils" ,sbcl-documentation-utils)))
10192 (home-page "https://shinmera.github.io/mmap/")
10193 (synopsis "File memory mapping for Common Lisp")
10194 (description
10195 "This is a utility library providing access to the @emph{mmap} family of
10196 functions in a portable way. It allows you to directly map a file into the
10197 address space of your process without having to manually read it into memory
10198 sequentially. Typically this is much more efficient for files that are larger
10199 than a few Kb.")
10200 (license license:zlib))))
10201
10202 (define-public cl-mmap
10203 (sbcl-package->cl-source-package sbcl-mmap))
10204
10205 (define-public ecl-mmap
10206 (sbcl-package->ecl-package sbcl-mmap))
10207
10208 (define-public sbcl-3bz
10209 (let ((commit "d6119083b5e0b0a6dd3abc2877936c51f3f3deed")
10210 (revision "0"))
10211 (package
10212 (name "sbcl-3bz")
10213 (version (git-version "0.0.0" revision commit))
10214 (source
10215 (origin
10216 (method git-fetch)
10217 (uri (git-reference
10218 (url "https://github.com/3b/3bz")
10219 (commit commit)))
10220 (file-name (git-file-name name version))
10221 (sha256
10222 (base32 "0fyxzyf2b6sc0w8d9g4nlva861565z6f3xszj0lw29x526dd9rhj"))))
10223 (build-system asdf-build-system/sbcl)
10224 (inputs
10225 `(("alexandria" ,sbcl-alexandria)
10226 ("babel" ,sbcl-babel)
10227 ("cffi" ,sbcl-cffi)
10228 ("mmap" ,sbcl-mmap)
10229 ("nibbles" ,sbcl-nibbles)
10230 ("trivial-features" ,sbcl-trivial-features)))
10231 (arguments
10232 ;; FIXME: Without the following line, the build fails (see issue 41437).
10233 `(#:asd-systems '("3bz")))
10234 (home-page "https://github.com/3b/3bz")
10235 (synopsis "Deflate decompression for Common Lisp")
10236 (description
10237 "3bz is an implementation of Deflate decompression (RFC 1951) optionally
10238 with zlib (RFC 1950) or gzip (RFC 1952) wrappers, with support for reading from
10239 foreign pointers (for use with mmap and similar, etc), and from CL octet
10240 vectors and streams.")
10241 (license license:expat))))
10242
10243 (define-public cl-3bz
10244 (sbcl-package->cl-source-package sbcl-3bz))
10245
10246 (define-public ecl-3bz
10247 (sbcl-package->ecl-package sbcl-3bz))
10248
10249 (define-public sbcl-zpb-exif
10250 (package
10251 (name "sbcl-zpb-exif")
10252 (version "1.2.4")
10253 (source
10254 (origin
10255 (method git-fetch)
10256 (uri (git-reference
10257 (url "https://github.com/xach/zpb-exif")
10258 (commit (string-append "release-" version))))
10259 (file-name (git-file-name name version))
10260 (sha256
10261 (base32 "15s227jhby55cisz14xafb0p1ws2jmrg2rrbbd00lrb97im84hy6"))))
10262 (build-system asdf-build-system/sbcl)
10263 (home-page "https://xach.com/lisp/zpb-exif/")
10264 (synopsis "EXIF information extractor for Common Lisp")
10265 (description
10266 "This is a Common Lisp library to extract EXIF information from image
10267 files.")
10268 (license license:bsd-2)))
10269
10270 (define-public cl-zpb-exif
10271 (sbcl-package->cl-source-package sbcl-zpb-exif))
10272
10273 (define-public ecl-zpb-exif
10274 (sbcl-package->ecl-package sbcl-zpb-exif))
10275
10276 (define-public sbcl-pngload
10277 (package
10278 (name "sbcl-pngload")
10279 (version "2.0.0")
10280 (source
10281 (origin
10282 (method git-fetch)
10283 (uri (git-reference
10284 (url "https://github.com/bufferswap/pngload")
10285 (commit version)))
10286 (file-name (git-file-name name version))
10287 (sha256
10288 (base32 "1ix8dd0fxlf8xm0bszh1s7sx83hn0vqq8b8c9gkrd5m310w8mpvh"))))
10289 (build-system asdf-build-system/sbcl)
10290 (inputs
10291 `(("3bz" ,sbcl-3bz)
10292 ("alexandria" ,sbcl-alexandria)
10293 ("cffi" ,sbcl-cffi)
10294 ("mmap" ,sbcl-mmap)
10295 ("parse-float" ,sbcl-parse-float)
10296 ("static-vectors" ,sbcl-static-vectors)
10297 ("swap-bytes" ,sbcl-swap-bytes)
10298 ("zpb-exif" ,sbcl-zpb-exif)))
10299 (arguments
10300 ;; Test suite disabled because of a dependency cycle.
10301 ;; pngload tests depend on opticl which depends on pngload.
10302 '(#:tests? #f))
10303 (home-page "https://github.com/bufferswap/pngload")
10304 (synopsis "PNG image decoder for Common Lisp")
10305 (description
10306 "This is a Common Lisp library to load images in the PNG image format,
10307 both from files on disk, or streams in memory.")
10308 (license license:expat)))
10309
10310 (define-public cl-pngload
10311 (sbcl-package->cl-source-package sbcl-pngload))
10312
10313 (define-public ecl-pngload
10314 (sbcl-package->ecl-package sbcl-pngload))
10315
10316 (define-public sbcl-opticl
10317 (let ((commit "e8684416eca2e78e82a7b436d436ef2ea24c019d")
10318 (revision "0"))
10319 (package
10320 (name "sbcl-opticl")
10321 (version (git-version "0.0.0" revision commit))
10322 (source
10323 (origin
10324 (method git-fetch)
10325 (uri (git-reference
10326 (url "https://github.com/slyrus/opticl")
10327 (commit commit)))
10328 (file-name (git-file-name name version))
10329 (sha256
10330 (base32 "03rirnnhhisjbimlmpi725h1d3x0cfv00r57988am873dyzawmm1"))))
10331 (build-system asdf-build-system/sbcl)
10332 (native-inputs
10333 `(("fiveam" ,sbcl-fiveam)))
10334 (inputs
10335 `(("alexandria" ,sbcl-alexandria)
10336 ("cl-jpeg" ,sbcl-cl-jpeg)
10337 ("cl-tga" ,sbcl-cl-tga)
10338 ("png-read" ,sbcl-png-read)
10339 ("pngload" ,sbcl-pngload)
10340 ("retrospectiff" ,sbcl-retrospectiff)
10341 ("skippy" ,sbcl-skippy)
10342 ("zpng" ,sbcl-zpng)))
10343 (arguments
10344 '(#:asd-files '("opticl.asd")))
10345 (home-page "https://github.com/slyrus/opticl")
10346 (synopsis "Image processing library for Common Lisp")
10347 (description
10348 "Opticl is a Common Lisp library for representing, processing, loading,
10349 and saving 2-dimensional pixel-based images.")
10350 (license license:bsd-2))))
10351
10352 (define-public cl-opticl
10353 (sbcl-package->cl-source-package sbcl-opticl))
10354
10355 (define-public ecl-opticl
10356 (sbcl-package->ecl-package sbcl-opticl))
10357
10358 (define-public sbcl-mcclim
10359 (let ((commit "27b4d7a667c9b3faa74cabcb57706b888314fff7")
10360 (revision "0"))
10361 (package
10362 (name "sbcl-mcclim")
10363 (version (git-version "0.9.7" revision commit))
10364 (source
10365 (origin
10366 (method git-fetch)
10367 (uri (git-reference
10368 (url "https://github.com/mcclim/mcclim")
10369 (commit commit)))
10370 (file-name (git-file-name name version))
10371 (sha256
10372 (base32 "0jijfgkwas6xnpp5wiii6slcx9pgsalngacb8zm29x6pamx2193h"))))
10373 (build-system asdf-build-system/sbcl)
10374 (native-inputs
10375 `(("fiveam" ,sbcl-fiveam)
10376 ("pkg-config" ,pkg-config)))
10377 (inputs
10378 `(("alexandria" ,sbcl-alexandria)
10379 ("babel" ,sbcl-babel)
10380 ("bordeaux-threads" ,sbcl-bordeaux-threads)
10381 ("cl-freetype2" ,sbcl-cl-freetype2)
10382 ("cl-pdf" ,sbcl-cl-pdf)
10383 ("cffi" ,sbcl-cffi)
10384 ("cl-unicode" ,sbcl-cl-unicode)
10385 ("cl-vectors" ,sbcl-cl-vectors)
10386 ("closer-mop" ,sbcl-closer-mop)
10387 ("clx" ,sbcl-clx)
10388 ("flexi-streams" ,sbcl-flexi-streams)
10389 ("flexichain" ,sbcl-flexichain)
10390 ("font-dejavu" ,font-dejavu)
10391 ("fontconfig" ,fontconfig)
10392 ("freetype" ,freetype)
10393 ("harfbuzz" ,harfbuzz)
10394 ("log4cl" ,sbcl-log4cl)
10395 ("opticl" ,sbcl-opticl)
10396 ("spatial-trees" ,sbcl-spatial-trees)
10397 ("swank" ,sbcl-slime-swank)
10398 ("trivial-features" ,sbcl-trivial-features)
10399 ("trivial-garbage" ,sbcl-trivial-garbage)
10400 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
10401 ("zpb-ttf" ,sbcl-zpb-ttf)))
10402 (arguments
10403 '(#:asd-systems '("mcclim"
10404 "clim-examples")
10405 #:phases
10406 (modify-phases %standard-phases
10407 (add-after 'unpack 'fix-paths
10408 (lambda* (#:key inputs #:allow-other-keys)
10409 ;; mcclim-truetype uses DejaVu as default font and
10410 ;; sets the path at build time.
10411 (substitute* "Extensions/fonts/fontconfig.lisp"
10412 (("/usr/share/fonts/truetype/dejavu/")
10413 (string-append (assoc-ref inputs "font-dejavu")
10414 "/share/fonts/truetype/")))
10415 (substitute* "Extensions/fontconfig/src/functions.lisp"
10416 (("libfontconfig\\.so")
10417 (string-append (assoc-ref inputs "fontconfig")
10418 "/lib/libfontconfig.so")))
10419 (substitute* "Extensions/harfbuzz/src/functions.lisp"
10420 (("libharfbuzz\\.so")
10421 (string-append (assoc-ref inputs "harfbuzz")
10422 "/lib/libharfbuzz.so")))
10423 #t))
10424 (add-after 'unpack 'fix-build
10425 (lambda _
10426 ;; The cffi-grovel system does not get loaded automatically,
10427 ;; so we load it explicitly.
10428 (substitute* "Extensions/fontconfig/mcclim-fontconfig.asd"
10429 (("\\(asdf:defsystem #:mcclim-fontconfig" all)
10430 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10431 (substitute* "Extensions/harfbuzz/mcclim-harfbuzz.asd"
10432 (("\\(asdf:defsystem #:mcclim-harfbuzz" all)
10433 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10434 #t)))))
10435 (home-page "https://common-lisp.net/project/mcclim/")
10436 (synopsis "Common Lisp GUI toolkit")
10437 (description
10438 "McCLIM is an implementation of the @emph{Common Lisp Interface Manager
10439 specification}, a toolkit for writing GUIs in Common Lisp.")
10440 (license license:lgpl2.1+))))
10441
10442 (define-public cl-mcclim
10443 (sbcl-package->cl-source-package sbcl-mcclim))
10444
10445 (define-public ecl-mcclim
10446 (sbcl-package->ecl-package sbcl-mcclim))
10447
10448 (define-public sbcl-cl-inflector
10449 (let ((commit "f1ab16919ccce3bd82a0042677d9616dde2034fe")
10450 (revision "1"))
10451 (package
10452 (name "sbcl-cl-inflector")
10453 (version (git-version "0.2" revision commit))
10454 (source
10455 (origin
10456 (method git-fetch)
10457 (uri (git-reference
10458 (url "https://github.com/AccelerationNet/cl-inflector")
10459 (commit commit)))
10460 (file-name (git-file-name name version))
10461 (sha256
10462 (base32 "1xwwlhik1la4fp984qnx2dqq24v012qv4x0y49sngfpwg7n0ya7y"))))
10463 (build-system asdf-build-system/sbcl)
10464 (native-inputs
10465 `(("lisp-unit2" ,sbcl-lisp-unit2)))
10466 (inputs
10467 `(("alexandria" ,sbcl-alexandria)
10468 ("cl-ppcre" ,sbcl-cl-ppcre)))
10469 (home-page "https://github.com/AccelerationNet/cl-inflector")
10470 (synopsis "Library to pluralize/singularize English and Portuguese words")
10471 (description
10472 "This is a common lisp library to easily pluralize and singularize
10473 English and Portuguese words. This is a port of the ruby ActiveSupport
10474 Inflector module.")
10475 (license license:expat))))
10476
10477 (define-public cl-inflector
10478 (sbcl-package->cl-source-package sbcl-cl-inflector))
10479
10480 (define-public ecl-cl-inflector
10481 (sbcl-package->ecl-package sbcl-cl-inflector))
10482
10483 (define-public sbcl-qbase64
10484 (package
10485 (name "sbcl-qbase64")
10486 (version "0.3.0")
10487 (source
10488 (origin
10489 (method git-fetch)
10490 (uri (git-reference
10491 (url "https://github.com/chaitanyagupta/qbase64")
10492 (commit version)))
10493 (file-name (git-file-name name version))
10494 (sha256
10495 (base32 "1dir0s70ca3hagxv9x15zq4p4ajgl7jrcgqsza2n2y7iqbxh0dwi"))))
10496 (build-system asdf-build-system/sbcl)
10497 (inputs
10498 `(("metabang-bind" ,sbcl-metabang-bind)
10499 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
10500 (native-inputs
10501 `(("fiveam" ,sbcl-fiveam)))
10502 (home-page "https://github.com/chaitanyagupta/qbase64")
10503 (synopsis "Base64 encoder and decoder for Common Lisp")
10504 (description "@code{qbase64} provides a fast and flexible base64 encoder
10505 and decoder for Common Lisp.")
10506 (license license:bsd-3)))
10507
10508 (define-public cl-qbase64
10509 (sbcl-package->cl-source-package sbcl-qbase64))
10510
10511 (define-public ecl-qbase64
10512 (sbcl-package->ecl-package sbcl-qbase64))
10513
10514 (define-public sbcl-lw-compat
10515 ;; No release since 2013.
10516 (let ((commit "aabfe28c6c1a4949f9d7b3cb30319367c9fd1c0d"))
10517 (package
10518 (name "sbcl-lw-compat")
10519 (version (git-version "1.0.0" "1" commit))
10520 (source
10521 (origin
10522 (method git-fetch)
10523 (uri (git-reference
10524 (url "https://github.com/pcostanza/lw-compat/")
10525 (commit commit)))
10526 (file-name (git-file-name name version))
10527 (sha256
10528 (base32 "131rq5k2mlv9bfhmafiv6nfsivl4cxx13d9wr06v5jrqnckh4aav"))))
10529 (build-system asdf-build-system/sbcl)
10530 (home-page "https://github.com/pcostanza/lw-compat/")
10531 (synopsis "LispWorks utilities ported to other Common Lisp implementations")
10532 (description "This package contains a few utility functions from the
10533 LispWorks library that are used in software such as ContextL.")
10534 (license license:expat))))
10535
10536 (define-public cl-lw-compat
10537 (sbcl-package->cl-source-package sbcl-lw-compat))
10538
10539 (define-public ecl-lw-compat
10540 (sbcl-package->ecl-package sbcl-lw-compat))
10541
10542 (define-public sbcl-contextl
10543 ;; No release since 2013.
10544 (let ((commit "5d18a71a85824f6c25a9f35a21052f967b8b6bb9"))
10545 (package
10546 (name "sbcl-contextl")
10547 (version (git-version "1.0.0" "1" commit))
10548 (source
10549 (origin
10550 (method git-fetch)
10551 (uri (git-reference
10552 (url "https://github.com/pcostanza/contextl/")
10553 (commit commit)))
10554 (file-name (git-file-name name version))
10555 (sha256
10556 (base32 "0gk1izx6l6g48nypmnm9r6mzjx0jixqjj2kc6klf8a88rr5xd226"))))
10557 (build-system asdf-build-system/sbcl)
10558 (inputs
10559 `(("closer-mop" ,sbcl-closer-mop)
10560 ("lw-compat" ,sbcl-lw-compat)))
10561 (home-page "https://github.com/pcostanza/contextl")
10562 (synopsis "Context-oriented programming for Common Lisp")
10563 (description "ContextL is a CLOS extension for Context-Oriented
10564 Programming (COP).
10565
10566 Find overview of ContextL's features in an overview paper:
10567 @url{http://www.p-cos.net/documents/contextl-soa.pdf}. See also this general
10568 overview article about COP which also contains some ContextL examples:
10569 @url{http://www.jot.fm/issues/issue_2008_03/article4/}.")
10570 (license license:expat))))
10571
10572 (define-public cl-contextl
10573 (sbcl-package->cl-source-package sbcl-contextl))
10574
10575 (define-public ecl-contextl
10576 (sbcl-package->ecl-package sbcl-contextl))
10577
10578 (define-public sbcl-hu.dwim.common-lisp
10579 (package
10580 (name "sbcl-hu.dwim.common-lisp")
10581 (version "2015-07-09")
10582 (source
10583 (origin
10584 (method url-fetch)
10585 (uri (string-append
10586 "http://beta.quicklisp.org/archive/hu.dwim.common-lisp/"
10587 version "/hu.dwim.common-lisp-"
10588 (string-replace-substring version "-" "")
10589 "-darcs.tgz"))
10590 (sha256
10591 (base32 "13cxrvh55rw080mvfir7s7k735l9rcfh3khxp97qfwd5rz0gadb9"))))
10592 (build-system asdf-build-system/sbcl)
10593 (native-inputs
10594 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10595 (home-page "http://dwim.hu/")
10596 (synopsis "Redefine some standard Common Lisp names")
10597 (description "This library is a redefinition of the standard Common Lisp
10598 package that includes a number of renames and shadows. ")
10599 (license license:public-domain)))
10600
10601 (define-public cl-hu.dwim.common-lisp
10602 (sbcl-package->cl-source-package sbcl-hu.dwim.common-lisp))
10603
10604 (define-public ecl-hu.dwim.common-lisp
10605 (sbcl-package->ecl-package sbcl-hu.dwim.common-lisp))
10606
10607 (define-public sbcl-hu.dwim.common
10608 (package
10609 (name "sbcl-hu.dwim.common")
10610 (version "2015-07-09")
10611 (source
10612 (origin
10613 (method url-fetch)
10614 (uri (string-append
10615 "http://beta.quicklisp.org/archive/hu.dwim.common/"
10616 version "/hu.dwim.common-"
10617 (string-replace-substring version "-" "")
10618 "-darcs.tgz"))
10619 (sha256
10620 (base32 "12l1rr6w9m99w0b5gc6hv58ainjfhbc588kz6vwshn4gqsxyzbhp"))))
10621 (build-system asdf-build-system/sbcl)
10622 (native-inputs
10623 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10624 (inputs
10625 `(("alexandria" ,sbcl-alexandria)
10626 ("anaphora" ,sbcl-anaphora)
10627 ("closer-mop" ,sbcl-closer-mop)
10628 ("hu.dwim.common-lisp" ,sbcl-hu.dwim.common-lisp)
10629 ("iterate" ,sbcl-iterate)
10630 ("metabang-bind" ,sbcl-metabang-bind)))
10631 (home-page "http://dwim.hu/")
10632 (synopsis "Common Lisp library shared by other hu.dwim systems")
10633 (description "This package contains a support library for other
10634 hu.dwim systems.")
10635 (license license:public-domain)))
10636
10637 (define-public cl-hu.dwim.common
10638 (sbcl-package->cl-source-package sbcl-hu.dwim.common))
10639
10640 (define-public ecl-hu.dwim.common
10641 (sbcl-package->ecl-package sbcl-hu.dwim.common))
10642
10643 (define-public sbcl-hu.dwim.defclass-star
10644 (package
10645 (name "sbcl-hu.dwim.defclass-star")
10646 (version "2015-07-09")
10647 (source
10648 (origin
10649 (method url-fetch)
10650 (uri (string-append
10651 "http://beta.quicklisp.org/archive/hu.dwim.defclass-star/"
10652 version "/hu.dwim.defclass-star-"
10653 (string-replace-substring version "-" "")
10654 "-darcs.tgz"))
10655 (sha256
10656 (base32 "032982lyp0hm0ssxlyh572whi2hr4j1nqkyqlllaj373v0dbs3vs"))))
10657 (build-system asdf-build-system/sbcl)
10658 (native-inputs
10659 `(;; These 2 inputs are only needed tests which are disabled, see below.
10660 ;; ("hu.dwim.common" ,sbcl-hu.dwim.common)
10661 ;; Need cl- package for the :hu.dwim.stefil+hu.dwim.def+swank system.
10662 ;; ("hu.dwim.stefil" ,cl-hu.dwim.stefil)
10663 ("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10664 (arguments
10665 `(#:test-asd-file "hu.dwim.defclass-star.test.asd"
10666 ;; Tests require a circular dependency: hu.dwim.stefil -> hu.dwim.def
10667 ;; -> hu.dwim.util -> hu.dwim.defclass-star.
10668 #:tests? #f))
10669 (home-page "http://dwim.hu/?_x=dfxn&_f=mRIMfonK")
10670 (synopsis "Simplify definitions with defclass* and friends in Common Lisp")
10671 (description "@code{defclass-star} provides defclass* and defcondition* to
10672 simplify class and condition declarations. Features include:
10673
10674 @itemize
10675 @item Automatically export all or select slots at compile time.
10676 @item Define the @code{:initarg} and @code{:accessor} automatically.
10677 @item Specify a name transformer for both the @code{:initarg} and
10678 @code{:accessor}, etc.
10679 @item Specify the @code{:initform} as second slot value.
10680 @end itemize
10681
10682 See
10683 @url{https://common-lisp.net/project/defclass-star/configuration.lisp.html}
10684 for an example.")
10685 (license license:public-domain)))
10686
10687 (define-public cl-hu.dwim.defclass-star
10688 (sbcl-package->cl-source-package sbcl-hu.dwim.defclass-star))
10689
10690 (define-public ecl-hu.dwim.defclass-star
10691 (sbcl-package->ecl-package sbcl-hu.dwim.defclass-star))
10692
10693 (define-public sbcl-livesupport
10694 (let ((commit "71e6e412df9f3759ad8378fabb203913d82e228a")
10695 (revision "1"))
10696 (package
10697 (name "sbcl-livesupport")
10698 (version (git-version "0.0.0" revision commit))
10699 (source
10700 (origin
10701 (method git-fetch)
10702 (uri (git-reference
10703 (url "https://github.com/cbaggers/livesupport")
10704 (commit commit)))
10705 (file-name (git-file-name name version))
10706 (sha256
10707 (base32 "1rvnl0mncylbx63608pz5llss7y92j7z3ydambk9mcnjg2mjaapg"))))
10708 (build-system asdf-build-system/sbcl)
10709 (home-page "https://github.com/cbaggers/livesupport")
10710 (synopsis "Some helpers that make livecoding a little easier")
10711 (description "This package provides a macro commonly used in livecoding to
10712 enable continuing when errors are raised. Simply wrap around a chunk of code
10713 and it provides a restart called @code{continue} which ignores the error and
10714 carrys on from the end of the body.")
10715 (license license:bsd-2))))
10716
10717 (define-public cl-livesupport
10718 (sbcl-package->cl-source-package sbcl-livesupport))
10719
10720 (define-public ecl-livesupport
10721 (sbcl-package->ecl-package sbcl-livesupport))
10722
10723 (define-public sbcl-envy
10724 (let ((commit "956321b2852d58ba71c6fe621f5c2924178e9f88")
10725 (revision "1"))
10726 (package
10727 (name "sbcl-envy")
10728 (version (git-version "0.1" revision commit))
10729 (home-page "https://github.com/fukamachi/envy")
10730 (source
10731 (origin
10732 (method git-fetch)
10733 (uri (git-reference
10734 (url home-page)
10735 (commit commit)))
10736 (file-name (git-file-name name version))
10737 (sha256
10738 (base32 "17iwrfxcdinjbb2h6l09qf40s7xkbhrpmnljlwpjy8l8rll8h3vg"))))
10739 (build-system asdf-build-system/sbcl)
10740 ;; (native-inputs ; Only for tests.
10741 ;; `(("prove" ,sbcl-prove)
10742 ;; ("osicat" ,sbcl-osicat)))
10743 (arguments
10744 '(#:phases
10745 (modify-phases %standard-phases
10746 (add-after 'unpack 'fix-tests
10747 (lambda _
10748 (substitute* "envy-test.asd"
10749 (("cl-test-more") "prove"))
10750 #t)))
10751 ;; Tests fail with
10752 ;; Component ENVY-ASD::ENVY-TEST not found, required by #<SYSTEM "envy">
10753 ;; like xsubseq. Why?
10754 #:tests? #f))
10755 (synopsis "Common Lisp configuration switcher inspired by Perl's Config::ENV.")
10756 (description "Envy is a configuration manager for various applications.
10757 Envy uses an environment variable to determine a configuration to use. This
10758 can separate configuration system from an implementation.")
10759 (license license:bsd-2))))
10760
10761 (define-public cl-envy
10762 (sbcl-package->cl-source-package sbcl-envy))
10763
10764 (define-public ecl-envy
10765 (sbcl-package->ecl-package sbcl-envy))
10766
10767 (define-public sbcl-mito
10768 (let ((commit "d3b9e375ef364a65692da2185085a08c969ac88a")
10769 (revision "1"))
10770 (package
10771 (name "sbcl-mito")
10772 (version (git-version "0.1" revision commit))
10773 (home-page "https://github.com/fukamachi/mito")
10774 (source
10775 (origin
10776 (method git-fetch)
10777 (uri (git-reference
10778 (url home-page)
10779 (commit commit)))
10780 (file-name (git-file-name name version))
10781 (sha256
10782 (base32 "08mncgzjnbbsf1a6am3l73iw4lyfvz5ldjg5g84awfaxml4p73mb"))))
10783 (build-system asdf-build-system/sbcl)
10784 (native-inputs
10785 `(("prove" ,sbcl-prove)))
10786 (inputs
10787 `(("alexandria" ,sbcl-alexandria)
10788 ("cl-ppcre" ,sbcl-cl-ppcre)
10789 ("cl-reexport" ,sbcl-cl-reexport)
10790 ("closer-mop" ,sbcl-closer-mop)
10791 ("dbi" ,sbcl-dbi)
10792 ("dissect" ,sbcl-dissect)
10793 ("esrap" ,sbcl-esrap)
10794 ("local-time" ,sbcl-local-time)
10795 ("optima" ,sbcl-optima)
10796 ("sxql" ,sbcl-sxql)
10797 ("uuid" ,sbcl-uuid)))
10798 (arguments
10799 '(#:phases
10800 (modify-phases %standard-phases
10801 (add-after 'unpack 'remove-non-functional-tests
10802 (lambda _
10803 (substitute* "mito-test.asd"
10804 (("\\(:test-file \"db/mysql\"\\)") "")
10805 (("\\(:test-file \"db/postgres\"\\)") "")
10806 (("\\(:test-file \"dao\"\\)") "")
10807 ;; TODO: migration/sqlite3 should work, re-enable once
10808 ;; upstream has fixed it:
10809 ;; https://github.com/fukamachi/mito/issues/70
10810 (("\\(:test-file \"migration/sqlite3\"\\)") "")
10811 (("\\(:test-file \"migration/mysql\"\\)") "")
10812 (("\\(:test-file \"migration/postgres\"\\)") "")
10813 (("\\(:test-file \"postgres-types\"\\)") "")
10814 (("\\(:test-file \"mixin\"\\)") ""))
10815 #t)))
10816 ;; TODO: While all enabled tests pass, the phase fails with:
10817 ;; Component MITO-ASD::MITO-TEST not found, required by #<SYSTEM "mito">
10818 #:tests? #f))
10819 (synopsis "ORM for Common Lisp with migrations and relationships support")
10820 (description "Mito is yet another object relational mapper, and it aims
10821 to be a successor of Integral.
10822
10823 @itemize
10824 @item Support MySQL, PostgreSQL and SQLite3.
10825 @item Add id (serial/uuid primary key), created_at and updated_at by default
10826 like Ruby's ActiveRecord.
10827 @item Migrations.
10828 @item Database schema versioning.
10829 @end itemize\n")
10830 (license license:llgpl))))
10831
10832 (define-public cl-mito
10833 (sbcl-package->cl-source-package sbcl-mito))
10834
10835 (define-public ecl-mito
10836 (sbcl-package->ecl-package sbcl-mito))
10837
10838 (define-public sbcl-kebab
10839 (let ((commit "e7f77644c4e46131e7b8039d191d35fe6211f31b")
10840 (revision "1"))
10841 (package
10842 (name "sbcl-kebab")
10843 (version (git-version "0.1" revision commit))
10844 (home-page "https://github.com/pocket7878/kebab")
10845 (source
10846 (origin
10847 (method git-fetch)
10848 (uri (git-reference
10849 (url home-page)
10850 (commit commit)))
10851 (file-name (git-file-name name version))
10852 (sha256
10853 (base32 "0j5haabnvj0vz0rx9mwyfsb3qzpga9nickbjw8xs6vypkdzlqv1b"))))
10854 (build-system asdf-build-system/sbcl)
10855 (inputs
10856 `(("cl-ppcre" ,sbcl-cl-ppcre)
10857 ("alexandria" ,sbcl-alexandria)
10858 ("cl-interpol" ,sbcl-cl-interpol)
10859 ("split-sequence" ,sbcl-split-sequence)))
10860 (native-inputs
10861 `(("prove" ,sbcl-prove)))
10862 (arguments
10863 ;; Tests passes but the phase fails with
10864 ;; Component KEBAB-ASD::KEBAB-TEST not found, required by #<SYSTEM "kebab">.
10865 `(#:tests? #f))
10866 (synopsis "Common Lisp case converter")
10867 (description "This Common Lisp library converts strings, symbols and
10868 keywords between any of the following typographical cases: PascalCase,
10869 camelCase, snake_case, kebab-case (lisp-case).")
10870 (license license:llgpl))))
10871
10872 (define-public cl-kebab
10873 (sbcl-package->cl-source-package sbcl-kebab))
10874
10875 (define-public ecl-kebab
10876 (sbcl-package->ecl-package sbcl-kebab))
10877
10878 (define-public sbcl-datafly
10879 (let ((commit "adece27fcbc4b5ea39ad1a105048b6b7166e3b0d")
10880 (revision "1"))
10881 (package
10882 (name "sbcl-datafly")
10883 (version (git-version "0.1" revision commit))
10884 (home-page "https://github.com/fukamachi/datafly")
10885 (source
10886 (origin
10887 (method git-fetch)
10888 (uri (git-reference
10889 (url home-page)
10890 (commit commit)))
10891 (file-name (git-file-name name version))
10892 (sha256
10893 (base32 "16b78kzmglp2a4nxlxxl7rpf5zaibsgagn0p3c56fsxvx0c4hszv"))))
10894 (build-system asdf-build-system/sbcl)
10895 (inputs
10896 `(("alexandria" ,sbcl-alexandria)
10897 ("iterate" ,sbcl-iterate)
10898 ("optima" ,sbcl-optima)
10899 ("trivial-types" ,sbcl-trivial-types)
10900 ("closer-mop" ,sbcl-closer-mop)
10901 ("cl-syntax" ,sbcl-cl-syntax)
10902 ("sxql" ,sbcl-sxql)
10903 ("dbi" ,sbcl-dbi)
10904 ("babel" ,sbcl-babel)
10905 ("local-time" ,sbcl-local-time)
10906 ("function-cache" ,sbcl-function-cache)
10907 ("jonathan" ,sbcl-jonathan)
10908 ("kebab" ,sbcl-kebab)
10909 ("log4cl" ,sbcl-log4cl)))
10910 (native-inputs
10911 `(("prove" ,sbcl-prove)))
10912 (arguments
10913 ;; TODO: Tests fail with
10914 ;; While evaluating the form starting at line 22, column 0
10915 ;; of #P"/tmp/guix-build-sbcl-datafly-0.1-1.adece27.drv-0/source/t/datafly.lisp":
10916 ;; Unhandled SQLITE:SQLITE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
10917 ;; {10009F8083}>:
10918 ;; Error when binding parameter 1 to value NIL.
10919 ;; Code RANGE: column index out of range.
10920 `(#:tests? #f))
10921 (synopsis "Lightweight database library for Common Lisp")
10922 (description "Datafly is a lightweight database library for Common Lisp.")
10923 (license license:bsd-3))))
10924
10925 (define-public cl-datafly
10926 (sbcl-package->cl-source-package sbcl-datafly))
10927
10928 (define-public ecl-datafly
10929 (sbcl-package->ecl-package sbcl-datafly))
10930
10931 (define-public sbcl-do-urlencode
10932 (let ((commit "199846441dad5dfac5478b8dee4b4e20d107af6a")
10933 (revision "1"))
10934 (package
10935 (name "sbcl-do-urlencode")
10936 (version (git-version "0.0.0" revision commit))
10937 (home-page "https://github.com/drdo/do-urlencode")
10938 (source
10939 (origin
10940 (method git-fetch)
10941 (uri (git-reference
10942 (url home-page)
10943 (commit commit)))
10944 (file-name (git-file-name name version))
10945 (sha256
10946 (base32 "0k2i3d4k9cpci235mwfm0c5a4yqfkijr716bjv7cdlpzx88lazm9"))))
10947 (build-system asdf-build-system/sbcl)
10948 (inputs
10949 `(("alexandria" ,sbcl-alexandria)
10950 ("babel" ,sbcl-babel)))
10951 (synopsis "Percent Encoding (aka URL Encoding) Common Lisp library")
10952 (description "This library provides trivial percent encoding and
10953 decoding functions for URLs.")
10954 (license license:isc))))
10955
10956 (define-public cl-do-urlencode
10957 (sbcl-package->cl-source-package sbcl-do-urlencode))
10958
10959 (define-public ecl-do-urlencode
10960 (sbcl-package->ecl-package sbcl-do-urlencode))
10961
10962 (define-public sbcl-cl-emb
10963 (let ((commit "fd8652174d048d4525a81f38cdf42f4fa519f840")
10964 (revision "1"))
10965 (package
10966 (name "sbcl-cl-emb")
10967 (version (git-version "0.4.3" revision commit))
10968 (home-page "https://common-lisp.net/project/cl-emb/")
10969 (source
10970 (origin
10971 (method git-fetch)
10972 (uri (git-reference
10973 (url "https://github.com/38a938c2/cl-emb")
10974 (commit commit)))
10975 (file-name (git-file-name name version))
10976 (sha256
10977 (base32 "1xcm31n7afh5316lwz8iqbjx7kn5lw0l11arg8mhdmkx42aj4gkk"))))
10978 (build-system asdf-build-system/sbcl)
10979 (inputs
10980 `(("cl-ppcre" ,sbcl-cl-ppcre)))
10981 (synopsis "Templating system for Common Lisp")
10982 (description "A mixture of features from eRuby and HTML::Template. You
10983 could name it \"Yet Another LSP\" (LispServer Pages) but it's a bit more than
10984 that and not limited to a certain server or text format.")
10985 (license license:llgpl))))
10986
10987 (define-public cl-emb
10988 (sbcl-package->cl-source-package sbcl-cl-emb))
10989
10990 (define-public ecl-cl-emb
10991 (sbcl-package->ecl-package sbcl-cl-emb))
10992
10993 (define-public sbcl-cl-project
10994 (let ((commit "151107014e534fc4666222d57fec2cc8549c8814")
10995 (revision "1"))
10996 (package
10997 (name "sbcl-cl-project")
10998 (version (git-version "0.3.1" revision commit))
10999 (home-page "https://github.com/fukamachi/cl-project")
11000 (source
11001 (origin
11002 (method git-fetch)
11003 (uri (git-reference
11004 (url home-page)
11005 (commit commit)))
11006 (file-name (git-file-name name version))
11007 (sha256
11008 (base32 "1rmh6s1ncv8s2yrr14ja9wisgg745sq6xibqwb341ikdicxdp26y"))))
11009 (build-system asdf-build-system/sbcl)
11010 (inputs
11011 `(("cl-emb" ,sbcl-cl-emb)
11012 ("cl-ppcre" ,sbcl-cl-ppcre)
11013 ("local-time" ,sbcl-local-time)
11014 ("prove" ,sbcl-prove)))
11015 (arguments
11016 ;; Tests depend on caveman, which in turns depends on cl-project.
11017 '(#:tests? #f
11018 #:asd-files '("cl-project.asd")))
11019 (synopsis "Generate a skeleton for modern Common Lisp projects")
11020 (description "This library provides a modern project skeleton generator.
11021 In contract with other generators, CL-Project generates one package per file
11022 and encourages unit testing by generating a system for unit testing, so you
11023 can begin writing unit tests as soon as the project is generated.")
11024 (license license:llgpl))))
11025
11026 (define-public cl-project
11027 (sbcl-package->cl-source-package sbcl-cl-project))
11028
11029 (define-public ecl-cl-project
11030 (sbcl-package->ecl-package sbcl-cl-project))
11031
11032 (define-public sbcl-caveman
11033 (let ((commit "faa5f7e3b364fd7e7096af9a7bb06728b8d80441") ; No release since 2012
11034 (revision "1"))
11035 (package
11036 (name "sbcl-caveman")
11037 (version (git-version "2.4.0" revision commit))
11038 (home-page "http://8arrow.org/caveman/")
11039 (source
11040 (origin
11041 (method git-fetch)
11042 (uri (git-reference
11043 (url "https://github.com/fukamachi/caveman/")
11044 (commit commit)))
11045 (file-name (git-file-name name version))
11046 (sha256
11047 (base32 "0kh0gx05pczk8f7r9qdi4zn1p3d0a2prps27k7jpgvc1dxkl8qhq"))))
11048 (build-system asdf-build-system/sbcl)
11049 (inputs
11050 `(("ningle" ,cl-ningle)
11051 ("lack" ,sbcl-lack)
11052 ("cl-project" ,sbcl-cl-project)
11053 ("dbi" ,sbcl-dbi)
11054 ("cl-syntax" ,sbcl-cl-syntax)
11055 ("myway" ,sbcl-myway)
11056 ("quri" ,sbcl-quri)))
11057 (native-inputs
11058 `(("usocket" ,sbcl-usocket)
11059 ("dexador" ,sbcl-dexador)))
11060 (arguments
11061 `(#:asd-files '("caveman2.asd")
11062 #:asd-systems '("caveman2")
11063 #:phases
11064 (modify-phases %standard-phases
11065 (add-after 'unpack 'remove-v1
11066 (lambda _
11067 (delete-file-recursively "v1")
11068 (for-each delete-file
11069 '("README.v1.markdown" "caveman.asd" "caveman-test.asd")))))
11070 ;; TODO: Tests fail with:
11071 ;; writing /gnu/store/...-sbcl-caveman-2.4.0-1.faa5f7e/share/common-lisp/sbcl-source/caveman2/v2/t/tmp/myapp573/tests/myapp573.lisp
11072 ;; While evaluating the form starting at line 38, column 0
11073 ;; of #P"/tmp/guix-build-sbcl-caveman-2.4.0-1.faa5f7e.drv-0/source/v2/t/caveman.lisp":
11074 ;; Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING
11075 ;; {10009F8083}>:
11076 ;; Component "myapp573" not found
11077 #:tests? #f))
11078 (synopsis "Lightweight web application framework in Common Lisp")
11079 (description "Caveman is intended to be a collection of common parts for
11080 web applications. Caveman2 has three design goals:
11081
11082 @itemize
11083 @item Be extensible.
11084 @item Be practical.
11085 @item Don't force anything.
11086 @end itemize\n")
11087 (license license:llgpl))))
11088
11089 (define-public cl-caveman
11090 (package
11091 (inherit
11092 (sbcl-package->cl-source-package sbcl-caveman))
11093 (propagated-inputs
11094 `(("ningle" ,cl-ningle)))))
11095
11096 (define-public ecl-caveman
11097 (sbcl-package->ecl-package sbcl-caveman))
11098
11099 (define-public sbcl-lambda-fiddle
11100 (let ((commit "d16bba55acf6065b412f64ab8fdff679a4a32b1e") ;; no tagged branch
11101 (revision "1"))
11102 (package
11103 (name "sbcl-lambda-fiddle")
11104 (version (git-version "1.0.0" revision commit))
11105 (source
11106 (origin
11107 (method git-fetch)
11108 (uri (git-reference
11109 (url "https://github.com/Shinmera/lambda-fiddle")
11110 (commit commit)))
11111 (file-name (git-file-name name version))
11112 (sha256
11113 (base32 "1zarj1pqjqmk95kdx1axkgpwy2wq3canczk7f9z5hvaw5an6gand"))))
11114 (build-system asdf-build-system/sbcl)
11115 (home-page "https://github.com/Shinmera/lambda-fiddle")
11116 (synopsis "Collection of utilities to process lambda-lists")
11117 (description "This collection of utilities is useful in contexts where
11118 you want a macro that uses lambda-lists in some fashion but need more precise
11119 processing.")
11120 (license license:zlib))))
11121
11122 (define-public cl-lambda-fiddle
11123 (sbcl-package->cl-source-package sbcl-lambda-fiddle))
11124
11125 (define-public ecl-lambda-fiddle
11126 (sbcl-package->ecl-package sbcl-lambda-fiddle))
11127
11128 (define-public sbcl-xmls
11129 (let ((commit "18546f0850b1338e03997ffd1696add1cb1800d1") ;; no tagged branch
11130 (revision "1"))
11131 (package
11132 (name "sbcl-xmls")
11133 (version (git-version "3.0.2" revision commit))
11134 (source
11135 (origin
11136 (method git-fetch)
11137 (uri (git-reference
11138 (url "https://github.com/rpgoldman/xmls")
11139 (commit commit)))
11140 (file-name (git-file-name name version))
11141 (sha256
11142 (base32 "1lmvfml2ldbb1wkhm25jqqk2bhwsz52hhcgljbnzj1xr8xhc3anp"))))
11143 (native-inputs
11144 `(("fiveam" ,sbcl-fiveam)))
11145 (build-system asdf-build-system/sbcl)
11146 (home-page "https://github.com/rpgoldman/xmls")
11147 (synopsis "Non-validating XML parser for Common Lisp")
11148 (description "Xmls is a self-contained, easily embedded parser that
11149 recognizes a useful subset of the XML spec. It provides a simple mapping from
11150 XML to Lisp structures or s-expressions and back.")
11151 (license license:bsd-2))))
11152
11153 (define-public cl-xmls
11154 (sbcl-package->cl-source-package sbcl-xmls))
11155
11156 (define-public ecl-xmls
11157 (sbcl-package->ecl-package sbcl-xmls))
11158
11159 (define-public sbcl-geco
11160 (package
11161 (name "sbcl-geco")
11162 (version "2.01a")
11163 (source
11164 (origin
11165 (method url-fetch)
11166 (uri (string-append "https://common-lisp.net/project/geco/download/"
11167 "geco-" version ".tar.gz"))
11168 (sha256
11169 (base32 "0kk0bzr1019cfmf2b1jl1rk9shv3gx5z1znifxllg9mb98yqsgw0"))
11170 (patches (search-patches "sbcl-geco-fix-organism-class.patch"))))
11171 (build-system asdf-build-system/sbcl)
11172 (home-page "https://common-lisp.net/project/geco/")
11173 (synopsis "Genetic algorithm toolkit for Common Lisp")
11174 (description
11175 "GECO (Genetic Evolution through Combination of Objects) is an extensible,
11176 object-oriented framework for prototyping genetic algorithms in Common Lisp.")
11177 (license license:lgpl2.1+)))
11178
11179 (define-public cl-geco
11180 (sbcl-package->cl-source-package sbcl-geco))
11181
11182 (define-public ecl-geco
11183 (sbcl-package->ecl-package sbcl-geco))
11184
11185 (define-public sbcl-html-entities
11186 (let ((commit "4af018048e891f41d77e7d680ed3aeb639e1eedb"))
11187 (package
11188 (name "sbcl-html-entities")
11189 (version (git-version "0.02" "1" commit))
11190 (source
11191 (origin
11192 (method git-fetch)
11193 (uri (git-reference
11194 (url "https://github.com/BnMcGn/html-entities/")
11195 (commit commit)))
11196 (file-name (git-file-name name version))
11197 (sha256
11198 (base32 "1b2yl6lf6vis17y4n5s505p7ica96bdafcl6vydy1hg50fy33nfr"))))
11199 (build-system asdf-build-system/sbcl)
11200 (inputs
11201 `(("ppcre" ,sbcl-cl-ppcre)))
11202 (native-inputs
11203 `(("fiveam" ,sbcl-fiveam)))
11204 (home-page "https://github.com/BnMcGn/html-entities/")
11205 (synopsis "Encode and decode entities in HTML with Common Lisp")
11206 (description "Html-entities is a Common Lisp library that lets you
11207 encode and decode entities in HTML.")
11208 (license license:expat))))
11209
11210 (define-public cl-html-entities
11211 (sbcl-package->cl-source-package sbcl-html-entities))
11212
11213 (define-public ecl-html-entities
11214 (sbcl-package->ecl-package sbcl-html-entities))
11215
11216 (define-public sbcl-quicksearch
11217 (let ((commit "fb02ecf7c876ec580ab18c7d2c8c7814c06af599"))
11218 (package
11219 (name "sbcl-quicksearch")
11220 (version (git-version "0.01.04" "1" commit))
11221 (source
11222 (origin
11223 (method git-fetch)
11224 (uri (git-reference
11225 (url "https://github.com/tkych/quicksearch/")
11226 (commit commit)))
11227 (file-name (git-file-name name version))
11228 (sha256
11229 (base32 "16k19zjkhh7r64vjq371k5jwjs7cdfjz83flh561n4h4v1z89fps"))))
11230 (build-system asdf-build-system/sbcl)
11231 (inputs
11232 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11233 ("iterate" ,sbcl-iterate)
11234 ("alexandria" ,sbcl-alexandria)
11235 ("anaphora" ,sbcl-anaphora)
11236 ("ppcre" ,sbcl-cl-ppcre)
11237 ("drakma" ,sbcl-drakma)
11238 ("html-entities" ,sbcl-html-entities)
11239 ("yason" ,sbcl-yason)
11240 ("flexi-streams" ,sbcl-flexi-streams)
11241 ("do-urlencode" ,sbcl-do-urlencode)))
11242 (home-page "https://github.com/tkych/quicksearch/")
11243 (synopsis "Search Engine Interface for Common Lisp packages")
11244 (description "Quicksearch is a search-engine-interface for Common Lisp.
11245 The goal of Quicksearch is to find the Common Lisp library quickly. For
11246 example, if you will find the library about json, just type @code{(qs:?
11247 'json)} at REPL.
11248
11249 The function @code{quicksearch} searches for Common Lisp projects in
11250 Quicklisp, Cliki, GitHub and BitBucket, then outputs results in REPL. The
11251 function @code{?} is abbreviation wrapper for @code{quicksearch}.")
11252 (license license:expat))))
11253
11254 (define-public cl-quicksearch
11255 (sbcl-package->cl-source-package sbcl-quicksearch))
11256
11257 (define-public ecl-quicksearch
11258 (sbcl-package->ecl-package sbcl-quicksearch))
11259
11260 (define-public sbcl-agutil
11261 (let ((commit "df188d754d472da9faa1601a48f1f37bb7b34d68"))
11262 (package
11263 (name "sbcl-agutil")
11264 (version (git-version "0.0.1" "1" commit))
11265 (source
11266 (origin
11267 (method git-fetch)
11268 (uri (git-reference
11269 (url "https://github.com/alex-gutev/agutil/")
11270 (commit commit)))
11271 (file-name (git-file-name name version))
11272 (sha256
11273 (base32 "1xpnyzksk2xld64b6lw6rw0gn5zxlb77jwna59sd4yl7kxhxlfpf"))))
11274 (build-system asdf-build-system/sbcl)
11275 (inputs
11276 `(("alexandria" ,sbcl-alexandria)
11277 ("trivia" ,sbcl-trivia)))
11278 (home-page "https://github.com/alex-gutev/agutil/")
11279 (synopsis "Collection of Common Lisp utilities")
11280 (description "A collection of Common Lisp utility functions and macros
11281 mostly not found in other utility packages.")
11282 (license license:expat))))
11283
11284 (define-public cl-agutil
11285 (sbcl-package->cl-source-package sbcl-agutil))
11286
11287 (define-public ecl-agutil
11288 (sbcl-package->ecl-package sbcl-agutil))
11289
11290 (define-public sbcl-custom-hash-table
11291 (let ((commit "f26983133940f5edf826ebbc8077acc04816ddfa"))
11292 (package
11293 (name "sbcl-custom-hash-table")
11294 (version (git-version "0.3" "1" commit))
11295 (source
11296 (origin
11297 (method git-fetch)
11298 (uri (git-reference
11299 (url "https://github.com/metawilm/cl-custom-hash-table")
11300 (commit commit)))
11301 (file-name (git-file-name name version))
11302 (sha256
11303 (base32 "1k4mvrpbqqds2fwjxp1bxmrfmr8ch4dkwhnkbw559knbqshvrlj5"))))
11304 (build-system asdf-build-system/sbcl)
11305 (arguments
11306 '(#:asd-files '("cl-custom-hash-table.asd")
11307 #:asd-systems '("cl-custom-hash-table")))
11308 (home-page "https://github.com/metawilm/cl-custom-hash-table")
11309 (synopsis "Custom hash tables for Common Lisp")
11310 (description "This library allows creation of hash tables with arbitrary
11311 @code{test}/@code{hash} functions, in addition to the @code{test} functions
11312 allowed by the standard (@code{EQ}, @code{EQL}, @code{EQUAL} and
11313 @code{EQUALP}), even in implementations that don't support this functionality
11314 directly.")
11315 (license license:expat))))
11316
11317 (define-public cl-custom-hash-table
11318 (sbcl-package->cl-source-package sbcl-custom-hash-table))
11319
11320 (define-public ecl-custom-hash-table
11321 (sbcl-package->ecl-package sbcl-custom-hash-table))
11322
11323 (define-public sbcl-collectors
11324 (let ((commit "13acef25d8422d1d82e067b1861e513587c166ee"))
11325 (package
11326 (name "sbcl-collectors")
11327 (version (git-version "0.1" "1" commit))
11328 (source
11329 (origin
11330 (method git-fetch)
11331 (uri (git-reference
11332 (url "https://github.com/AccelerationNet/collectors")
11333 (commit commit)))
11334 (file-name (git-file-name name version))
11335 (sha256
11336 (base32 "1si68n1j6rpns8jw6ksqjpb937pdl30v7xza8rld7j5vh0jhy2yi"))))
11337 (build-system asdf-build-system/sbcl)
11338 (inputs
11339 `(("alexandria" ,sbcl-alexandria)
11340 ("closer-mop" ,sbcl-closer-mop)
11341 ("symbol-munger" ,sbcl-symbol-munger)))
11342 (native-inputs
11343 `(("lisp-unit2" ,sbcl-lisp-unit2)))
11344 (home-page "https://github.com/AccelerationNet/collectors/")
11345 (synopsis "Common lisp library providing collector macros")
11346 (description "A small collection of common lisp macros to make
11347 collecting values easier.")
11348 (license license:bsd-3))))
11349
11350 (define-public cl-collectors
11351 (sbcl-package->cl-source-package sbcl-collectors))
11352
11353 (define-public ecl-collectors
11354 (sbcl-package->ecl-package sbcl-collectors))
11355
11356 (define-public sbcl-cl-environments
11357 (let ((commit "0b22154c5afefef23d1eba9a4fae11d73580ef41")) ; No version in 2 years.
11358 (package
11359 (name "sbcl-cl-environments")
11360 (version (git-version "0.2.3" "1" commit))
11361 (source
11362 (origin
11363 (method git-fetch)
11364 (uri (git-reference
11365 (url "https://github.com/alex-gutev/cl-environments")
11366 (commit commit)))
11367 (file-name (git-file-name name version))
11368 (sha256
11369 (base32
11370 "18r3wfarr7lgn78m6c66r0r9aazirv07gy7xgvqkl9pmrz1bc47m"))))
11371 (build-system asdf-build-system/sbcl)
11372 (propagated-inputs
11373 `(("alexandria" ,cl-alexandria)
11374 ("anaphora" ,cl-anaphora)
11375 ("collectors" ,cl-collectors)
11376 ("optima" ,cl-optima)))
11377 (native-inputs
11378 `(("prove" ,sbcl-prove)))
11379 (home-page "https://github.com/alex-gutev/cl-environments")
11380 (synopsis "Implements the Common Lisp standard environment access API")
11381 (description "This library provides a uniform API, as specified in Common
11382 Lisp the Language 2, for accessing information about variable and function
11383 bindings from implementation-defined lexical environment objects. All major
11384 Common Lisp implementations are supported, even those which don't support the
11385 CLTL2 environment access API.")
11386 (license license:expat))))
11387
11388 (define-public cl-environments
11389 (sbcl-package->cl-source-package sbcl-cl-environments))
11390
11391 (define-public ecl-environments
11392 (sbcl-package->ecl-package sbcl-cl-environments))
11393
11394 (define-public sbcl-static-dispatch
11395 (package
11396 (name "sbcl-static-dispatch")
11397 (version "0.3")
11398 (source
11399 (origin
11400 (method git-fetch)
11401 (uri (git-reference
11402 (url "https://github.com/alex-gutev/static-dispatch")
11403 (commit (string-append "v" version))))
11404 (file-name (git-file-name name version))
11405 (sha256
11406 (base32 "1wp5yz8liqqic3yifqf33qhccd755pd7ycvsq1j4i7k3f1wm18i0"))))
11407 (build-system asdf-build-system/sbcl)
11408 (inputs
11409 `(("agutil" ,sbcl-agutil)
11410 ("alexandria" ,sbcl-alexandria)
11411 ("anaphora" ,sbcl-anaphora)
11412 ("arrows" ,sbcl-arrows)
11413 ("closer-mop" ,sbcl-closer-mop)
11414 ("iterate" ,sbcl-iterate)
11415 ("trivia" ,sbcl-trivia)))
11416 (propagated-inputs
11417 ;; FIXME: `sbcl-cl-environments' input fails with
11418 ;;
11419 ;; compiling #<CL-SOURCE-FILE "collectors" "collectors">
11420 ;; Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
11421 ;; {1008238213}>:
11422 ;; Error opening #P"/.../cl-environments/src/common/package-tmp5GEXGEG5.fasl":
11423 ;; Permission denied
11424 `(("cl-environments" ,cl-environments)))
11425 (native-inputs
11426 `(("prove" ,sbcl-prove)))
11427 (arguments
11428 `(#:phases
11429 (modify-phases %standard-phases
11430 ;; Use `arrows' instead of cl-arrows which is abandoned and unlicensed.
11431 ;; https://github.com/nightfly19/cl-arrows/issues/5
11432 (add-after 'unpack 'use-arrows-instead-of-cl-arrows
11433 (lambda _
11434 (for-each
11435 (lambda (file)
11436 (substitute* file
11437 ((":cl-arrows") ":arrows")))
11438 '("static-dispatch.asd"
11439 "src/package.lisp"
11440 "test/methods.lisp"
11441 "test/test.lisp")))))))
11442 (home-page "https://github.com/alex-gutev/static-dispatch")
11443 (synopsis "Static generic function dispatch for Common Lisp")
11444 (description "Static dispatch is a Common Lisp library, inspired by
11445 @code{inlined-generic-function}, which allows standard Common Lisp generic
11446 function dispatch to be performed statically (at compile time) rather than
11447 dynamically (runtime). This is similar to what is known as \"overloading\" in
11448 languages such as C++ and Java.
11449
11450 The purpose of static dispatch is to provide an optimization in cases where
11451 the usual dynamic dispatch is too slow, and the dynamic features of generic
11452 functions, such as adding/removing methods at runtime are not required. An
11453 example of such a case is a generic equality comparison function. Currently
11454 generic functions are considered far too slow to implement generic arithmetic
11455 and comparison operations when used heavily in numeric code.")
11456 (license license:expat)))
11457
11458 (define-public cl-static-dispatch
11459 (sbcl-package->cl-source-package sbcl-static-dispatch))
11460
11461 (define-public ecl-static-dispatch
11462 (sbcl-package->ecl-package sbcl-static-dispatch))
11463
11464 (define-public sbcl-generic-cl
11465 ;; Latest commit includes a necessary fix for our Guix build.
11466 (let ((commit "8e5a81487ee3c13fe5ffdc8bdda161d476639535"))
11467 (package
11468 (name "sbcl-generic-cl")
11469 (version (git-version "0.7.1" "1" commit))
11470 (source
11471 (origin
11472 (method git-fetch)
11473 (uri (git-reference
11474 (url "https://github.com/alex-gutev/generic-cl")
11475 (commit commit)))
11476 (file-name (git-file-name name version))
11477 (sha256
11478 (base32
11479 "11w0g79s4wmc78vmfng437rmsgnp5qn246zcyr540fp5nw0ad6ix"))))
11480 (build-system asdf-build-system/sbcl)
11481 (inputs
11482 `(("agutil" ,sbcl-agutil)
11483 ("alexandria" ,sbcl-alexandria)
11484 ("anaphora" ,sbcl-anaphora)
11485 ("arrows" ,sbcl-arrows)
11486 ("cl-custom-hash-table" ,sbcl-custom-hash-table)
11487 ("trivia" ,sbcl-trivia)))
11488 (propagated-inputs
11489 ;; FIXME: Same error as for `sbcl-static-dispatch'.
11490 `(("static-dispatch" ,cl-static-dispatch)))
11491 (native-inputs
11492 `(("prove" ,sbcl-prove)))
11493 (arguments
11494 ;; Tests fail because SBCL head size is not high enough.
11495 ;; https://github.com/alex-gutev/generic-cl/issues/6
11496 `(#:tests? #f))
11497 (home-page "https://alex-gutev.github.io/generic-cl/")
11498 (synopsis "Generic function interface to standard Common Lisp functions")
11499 (description "@code{generic-cl} provides a generic function wrapper over
11500 various functions in the Common Lisp standard, such as equality predicates and
11501 sequence operations. The goal of this wrapper is to provide a standard
11502 interface to common operations, such as testing for the equality of two
11503 objects, which is extensible to user-defined types.")
11504 (license license:expat))))
11505
11506 (define-public cl-generic-cl
11507 (sbcl-package->cl-source-package sbcl-generic-cl))
11508
11509 (define-public ecl-generic-cl
11510 (sbcl-package->ecl-package sbcl-generic-cl))
11511
11512 (define-public sbcl-defpackage-plus
11513 (let ((revision "0")
11514 (commit "5492e27e0bdb7b75fa5177ea4388519dc7a75f11"))
11515 (package
11516 (name "sbcl-defpackage-plus")
11517 (version (git-version "1.0" revision commit))
11518 (source
11519 (origin
11520 (method git-fetch)
11521 (uri (git-reference
11522 (url "https://github.com/rpav/defpackage-plus")
11523 (commit commit)))
11524 (file-name (git-file-name name version))
11525 (sha256
11526 (base32 "0lzljvf343xb6mlh6lni2i27hpm5qd376522mk6hr2pa20vd6rdq"))))
11527 (build-system asdf-build-system/sbcl)
11528 (inputs
11529 `(("alexandria" ,sbcl-alexandria)))
11530 (home-page "https://github.com/rpav/defpackage-plus")
11531 (synopsis "Extensible @code{DEFPACKAGE} variant with version support")
11532 (description
11533 "@code{DEFPACKAGE-PLUS} is an extensible @code{DEFPACKAGE} variant with
11534 predictable cross-platform behavior and some utilities useful for versioning.")
11535 (license license:bsd-2))))
11536
11537 (define-public cl-defpackage-plus
11538 (sbcl-package->cl-source-package sbcl-defpackage-plus))
11539
11540 (define-public ecl-defpackage-plus
11541 (sbcl-package->ecl-package sbcl-defpackage-plus))
11542
11543 (define-public sbcl-deploy
11544 ;; tagged branch is outdated
11545 (let ((revision "1")
11546 (commit "59fd49719ef651a8fc11750bcfb337f132cff75f"))
11547 (package
11548 (name "sbcl-deploy")
11549 (version (git-version "1.0.0" revision commit))
11550 (source
11551 (origin
11552 (method git-fetch)
11553 (uri (git-reference
11554 (url "https://github.com/Shinmera/deploy")
11555 (commit commit)))
11556 (file-name (git-file-name name version))
11557 (sha256
11558 (base32 "1vl2116z4kw2pd3qd3n6mmg8g0mnwxr9dgddk86g7j1bis1z8k9a"))))
11559 (build-system asdf-build-system/sbcl)
11560 (inputs
11561 `(("cffi" ,sbcl-cffi)
11562 ("documentation-utils" ,sbcl-documentation-utils)))
11563 (arguments
11564 '(#:asd-files '("deploy.asd")))
11565 (home-page "https://shinmera.github.io/deploy/")
11566 (synopsis "Deployment tools for standalone Common Lisp application")
11567 (description
11568 "This is a system to help you easily and quickly deploy standalone
11569 common lisp applications as binaries. Specifically it is geared towards
11570 applications with foreign library dependencies that run some kind of GUI.")
11571 (license license:artistic2.0))))
11572
11573 (define-public cl-deploy
11574 (sbcl-package->cl-source-package sbcl-deploy))
11575
11576 (define-public ecl-deploy
11577 (sbcl-package->ecl-package sbcl-deploy))
11578
11579 (define-public sbcl-deeds
11580 ;; taged branch is outdated
11581 (let ((revision "1")
11582 (commit "f5df54eac79b58a34030e0eb8acf3952c788410d"))
11583 (package
11584 (name "sbcl-deeds")
11585 (version (git-version "1.1.1" revision commit))
11586 (source
11587 (origin
11588 (method git-fetch)
11589 (uri (git-reference
11590 (url "https://github.com/Shinmera/deeds")
11591 (commit commit)))
11592 (file-name (git-file-name name version))
11593 (sha256
11594 (base32 "062cnb2dwli6pw3zvv46jfxyxdzcbzwsck5pa6nw03qf1j1hyg3k"))))
11595 (build-system asdf-build-system/sbcl)
11596 (inputs
11597 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11598 ("closer-mop" ,sbcl-closer-mop)
11599 ("form-fiddle" ,sbcl-form-fiddle)
11600 ("lambda-fiddle" ,sbcl-lambda-fiddle)))
11601 (home-page "https://github.com/Shinmera/deeds")
11602 (synopsis "Extensible Event Delivery System")
11603 (description
11604 "@code{deeds} allows for efficient event delivery to multiple handlers
11605 with a complex event filtering system.")
11606 (license license:zlib))))
11607
11608 (define-public cl-deeds
11609 (sbcl-package->cl-source-package sbcl-deeds))
11610
11611 (define-public ecl-deeds
11612 (sbcl-package->ecl-package sbcl-deeds))
11613
11614 (define-public sbcl-make-hash
11615 ;; no tagged branch
11616 (let ((revision "1")
11617 (commit "ae0909cd8e697520a1085fac6f54ac2b448ebd21"))
11618 (package
11619 (name "sbcl-make-hash")
11620 (version (git-version "1.0.2" revision commit))
11621 (source
11622 (origin
11623 (method git-fetch)
11624 (uri (git-reference
11625 (url "https://github.com/genovese/make-hash")
11626 (commit commit)))
11627 (file-name (git-file-name name version))
11628 (sha256
11629 (base32 "1qa4mcmb3pv44py0j129dd8hjx09c2akpnds53b69151mgwv5qz8"))))
11630 (build-system asdf-build-system/sbcl)
11631 (home-page "https://github.com/genovese/make-hash")
11632 (synopsis "Common Lisp package for flexible hash table creation")
11633 (description
11634 "This is a Common Lisp package for hash table creation with flexible,
11635 extensible initializers.")
11636 (license license:bsd-3))))
11637
11638 (define-public cl-make-hash
11639 (sbcl-package->cl-source-package sbcl-make-hash))
11640
11641 (define-public ecl-make-hash
11642 (sbcl-package->ecl-package sbcl-make-hash))
11643
11644 (define-public sbcl-claw-support
11645 (package
11646 (name "sbcl-claw-support")
11647 (version "1.0.0")
11648 (source
11649 (origin
11650 (method git-fetch)
11651 (uri (git-reference
11652 (url "https://github.com/borodust/claw-support")
11653 (commit "9a15c8bed04585f45e6a461bcda1b475144dbd0b")))
11654 (file-name (git-file-name name version))
11655 (sha256
11656 (base32 "1my2ka7h72ipx5n3b465g6kjkasrhsvhqlijwcg6dhlzs5yygl23"))))
11657 (build-system asdf-build-system/sbcl)
11658 (home-page "https://github.com/borodust/claw-support")
11659 (synopsis "Support routines for claw")
11660 (description
11661 "This package provides support routines for the @code{claw} Common Lisp
11662 package.")
11663 (license license:expat)))
11664
11665 (define-public cl-claw-support
11666 (sbcl-package->cl-source-package sbcl-claw-support))
11667
11668 (define-public ecl-claw-support
11669 (sbcl-package->ecl-package sbcl-claw-support))
11670
11671 (define-public sbcl-array-operations
11672 (let ((commit "75cbc3b1adb2e3ce2109489753d0f290b071e81b")
11673 (revision "0"))
11674 (package
11675 (name "sbcl-array-operations")
11676 (version (git-version "0.0.0" revision commit))
11677 (source
11678 (origin
11679 (method git-fetch)
11680 (uri (git-reference
11681 (url "https://github.com/bendudson/array-operations")
11682 (commit commit)))
11683 (file-name (git-file-name "array-operations" version))
11684 (sha256
11685 (base32 "0ip49hhq32w80qsc7jmspyda5r2rsszvw0mk2r3341cld78sz9ya"))))
11686 (build-system asdf-build-system/sbcl)
11687 (native-inputs
11688 `(("alexandria" ,sbcl-alexandria)
11689 ("clunit2" ,sbcl-clunit2)))
11690 (inputs
11691 `(("let-plus" ,sbcl-let-plus)))
11692 (synopsis "Simple array operations library for Common Lisp")
11693 (description
11694 "This library is a collection of functions and macros for manipulating
11695 Common Lisp arrays and performing numerical calculations with them.")
11696 (home-page "https://github.com/bendudson/array-operations")
11697 (license license:expat))))
11698
11699 (define-public cl-array-operations
11700 (sbcl-package->cl-source-package sbcl-array-operations))
11701
11702 (define-public ecl-array-operations
11703 (sbcl-package->ecl-package sbcl-array-operations))
11704
11705 (define-public sbcl-clml
11706 (let ((commit "95505b54c8c7b4b27f500c3be97fa5732f4b51a8")
11707 (revision "0"))
11708 (package
11709 (name "sbcl-clml")
11710 (version (git-version "0.0.0" revision commit))
11711 (source
11712 (origin
11713 (method git-fetch)
11714 (uri (git-reference
11715 (url "https://github.com/mmaul/clml")
11716 (commit commit)))
11717 (file-name (git-file-name "clml" version))
11718 (sha256
11719 (base32 "006pii59nmpc61n7p7h8ha5vjg6x0dya327i58z0rnvxs249h345"))
11720 ;; TODO: Remove this when the patch has been merged upstream.
11721 (patches (search-patches "sbcl-clml-fix-types.patch"))))
11722 (build-system asdf-build-system/sbcl)
11723 (inputs
11724 `(("alexandia" ,sbcl-alexandria)
11725 ("array-operations" ,sbcl-array-operations)
11726 ("cl-fad" ,sbcl-cl-fad)
11727 ("cl-ppcre" ,sbcl-cl-ppcre)
11728 ("drakma" ,sbcl-drakma)
11729 ("introspect-environment" ,sbcl-introspect-environment)
11730 ("iterate" ,sbcl-iterate)
11731 ("lparallel" ,sbcl-lparallel)
11732 ("parse-number" ,sbcl-parse-number)
11733 ("split-sequence" ,sbcl-split-sequence)
11734 ("trivial-garbage" ,sbcl-trivial-garbage)))
11735 (synopsis "Common Lisp machine learning library")
11736 (description
11737 "CLML (Common Lisp Machine Learning) is a high performance and large
11738 scale statistical machine learning package")
11739 (home-page "https://mmaul.github.io/clml/")
11740 (license license:llgpl))))
11741
11742 (define-public cl-clml
11743 (sbcl-package->cl-source-package sbcl-clml))
11744
11745 (define-public sbcl-utm-ups
11746 (let ((commit "780f1d8ab6290ad2be0f40e2cddc2535fa6fe979")
11747 (revision "0"))
11748 (package
11749 (name "sbcl-utm-ups")
11750 (version (git-version "1.0" revision commit))
11751 (source
11752 (origin
11753 (method git-fetch)
11754 (uri (git-reference
11755 (url "https://github.com/glv2/utm-ups")
11756 (commit commit)))
11757 (file-name (git-file-name "utm-ups" version))
11758 (sha256
11759 (base32 "0l3kr2m56skf5cx3kkkdcis7msmidcsixx9fqjapkcjsj8x67aqq"))))
11760 (build-system asdf-build-system/sbcl)
11761 (native-inputs
11762 `(("fiveam" ,sbcl-fiveam)))
11763 (synopsis
11764 "Convert coordinates between latitude/longitude and UTM or UPS")
11765 (description
11766 "This a Common Lisp library to convert geographic coordinates between
11767 latitude/longitude and UTM (Universal Transverse Mercator) or UPS (Universal
11768 Polar Stereographic).")
11769 (home-page "https://github.com/glv2/utm-ups")
11770 (license license:gpl3+))))
11771
11772 (define-public cl-utm-ups
11773 (sbcl-package->cl-source-package sbcl-utm-ups))
11774
11775 (define-public ecl-utm-ups
11776 (sbcl-package->ecl-package sbcl-utm-ups))
11777
11778 (define-public sbcl-mgrs
11779 (let ((commit "00455460407b7e5509d1be3da09bf6152956761f")
11780 (revision "0"))
11781 (package
11782 (name "sbcl-mgrs")
11783 (version (git-version "1.0" revision commit))
11784 (source
11785 (origin
11786 (method git-fetch)
11787 (uri (git-reference
11788 (url "https://github.com/glv2/mgrs")
11789 (commit commit)))
11790 (file-name (git-file-name "mgrs" version))
11791 (sha256
11792 (base32 "0ckvn4hg3wwivzavhfashb6fap4a1q10l8krhbng8bdb54ac10sz"))))
11793 (build-system asdf-build-system/sbcl)
11794 (native-inputs
11795 `(("fiveam" ,sbcl-fiveam)))
11796 (inputs
11797 `(("utm-ups" ,sbcl-utm-ups)))
11798 (synopsis
11799 "Convert coordinates between latitude/longitude and MGRS")
11800 (description
11801 "This a Common Lisp library to convert geographic coordinates between
11802 latitude/longitude and MGRS.")
11803 (home-page "https://github.com/glv2/mgrs")
11804 (license license:gpl3+))))
11805
11806 (define-public cl-mgrs
11807 (sbcl-package->cl-source-package sbcl-mgrs))
11808
11809 (define-public ecl-mgrs
11810 (sbcl-package->ecl-package sbcl-mgrs))
11811
11812 (define-public sbcl-maidenhead
11813 (let ((commit "b756d235c27b5d6798867aa240318af1a8f35d6d")
11814 (revision "0"))
11815 (package
11816 (name "sbcl-maidenhead")
11817 (version (git-version "1.0" revision commit))
11818 (source
11819 (origin
11820 (method git-fetch)
11821 (uri (git-reference
11822 (url "https://github.com/glv2/maidenhead")
11823 (commit commit)))
11824 (file-name (git-file-name "maidenhead" version))
11825 (sha256
11826 (base32 "02p990zprhjvifmsfk8yh3frvz6xyw26ikzxvzglqdixbal36nr3"))))
11827 (build-system asdf-build-system/sbcl)
11828 (native-inputs
11829 `(("fiveam" ,sbcl-fiveam)))
11830 (synopsis
11831 "Convert coordinates between latitude/longitude and Maidenhead")
11832 (description
11833 "This a Common Lisp library to convert geographic coordinates between
11834 latitude/longitude and Maidenhead locator system.")
11835 (home-page "https://github.com/glv2/maidenhead")
11836 (license license:gpl3+))))
11837
11838 (define-public cl-maidenhead
11839 (sbcl-package->cl-source-package sbcl-maidenhead))
11840
11841 (define-public ecl-maidenhead
11842 (sbcl-package->ecl-package sbcl-maidenhead))
11843
11844 (define-public sbcl-olc
11845 (let ((commit "517e27fa57d9a119b00a29c4b6b31e553deff309")
11846 (revision "0"))
11847 (package
11848 (name "sbcl-olc")
11849 (version (git-version "1.0" revision commit))
11850 (source
11851 (origin
11852 (method git-fetch)
11853 (uri (git-reference
11854 (url "https://github.com/glv2/olc")
11855 (commit commit)))
11856 (file-name (git-file-name "olc" version))
11857 (sha256
11858 (base32 "1lnfhp6z6kc8l605zp4siyjiw74y1h4bdq3jfizi084v505wxhgr"))))
11859 (build-system asdf-build-system/sbcl)
11860 (native-inputs
11861 `(("fiveam" ,sbcl-fiveam)))
11862 (synopsis
11863 "Convert coordinates between latitude/longitude and Open Location Code")
11864 (description
11865 "This a Common Lisp library to convert geographic coordinates between
11866 latitude/longitude and Open Location Code.")
11867 (home-page "https://github.com/glv2/olc")
11868 (license license:gpl3+))))
11869
11870 (define-public cl-olc
11871 (sbcl-package->cl-source-package sbcl-olc))
11872
11873 (define-public ecl-olc
11874 (sbcl-package->ecl-package sbcl-olc))
11875
11876 (define-public sbcl-regex
11877 (let ((commit "fbc9a9f313b9edc1788f33d4b23a29151635ae22"))
11878 (package
11879 (name "sbcl-regex")
11880 (version (git-version "1" "1" commit))
11881 (source
11882 (origin
11883 (method git-fetch)
11884 (uri (git-reference
11885 (url "https://github.com/michaelw/regex/")
11886 (commit commit)))
11887 (file-name (git-file-name name version))
11888 (sha256
11889 (base32 "0wq5wlafrxv13wg28hg5b10sc48b88swsvznpy2zg7x37m4nmm6a"))))
11890 (build-system asdf-build-system/sbcl)
11891 (home-page "https://github.com/michaelw/regex/")
11892 (synopsis "Regular expression engine for Common Lisp")
11893 (description
11894 "This Common Lisp package provides a regular expression engine.")
11895 (license license:bsd-2))))
11896
11897 (define-public cl-regex
11898 (sbcl-package->cl-source-package sbcl-regex))
11899
11900 (define-public ecl-regex
11901 (sbcl-package->ecl-package sbcl-regex))
11902
11903 (define-public sbcl-clawk
11904 (let ((commit "3a91634df686417114044a98c063cbe76bfac7b6"))
11905 (package
11906 (name "sbcl-clawk")
11907 (version (git-version "4" "1" commit))
11908 (source
11909 (origin
11910 (method git-fetch)
11911 (uri (git-reference
11912 (url "https://github.com/sharplispers/clawk")
11913 (commit commit)))
11914 (file-name (git-file-name name version))
11915 (sha256
11916 (base32 "1ph3xjqilvinvgr9q3w47zxqyz1sqnq030nlx7kgkkv8j3bnqk7a"))))
11917 (build-system asdf-build-system/sbcl)
11918 (inputs
11919 `(("sbcl-regex" ,sbcl-regex)))
11920 (home-page "https://github.com/sharplispers/clawk")
11921 (synopsis "Common Lisp AWK")
11922 (description
11923 "CLAWK is an AWK implementation embedded into Common Lisp.")
11924 (license license:bsd-2))))
11925
11926 (define-public cl-clawk
11927 (sbcl-package->cl-source-package sbcl-clawk))
11928
11929 (define-public ecl-clawk
11930 (sbcl-package->ecl-package sbcl-clawk))