gnu: Add maidenhead.
[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.51")
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 "1zxkzbxsfb83bb87rhp4h75cc1h5f6ziyfa5lvaa30zgix9l2d7v"))
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 "34f9c7e8e0a9f2c952fe310ab36cb630d5d9c15a")
5969 (revision "1"))
5970 (package
5971 (name "sbcl-bst")
5972 (version (git-version "1.1" 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
5982 "1amxns7hvvh4arwbh8ciwfzplg127vh37dnbamv1m1kmmnmihfc8"))))
5983 (build-system asdf-build-system/sbcl)
5984 (native-inputs
5985 `(("alexandria" ,sbcl-alexandria)
5986 ("fiveam" ,sbcl-fiveam)))
5987 (synopsis "Binary search tree for Common Lisp")
5988 (description
5989 "BST is a Common Lisp library for working with binary search trees that
5990 can contain any kind of values.")
5991 (home-page "https://github.com/glv2/bst")
5992 (license license:gpl3))))
5993
5994 (define-public cl-bst
5995 (sbcl-package->cl-source-package sbcl-bst))
5996
5997 (define-public ecl-bst
5998 (sbcl-package->ecl-package sbcl-bst))
5999
6000 (define-public sbcl-cl-octet-streams
6001 (package
6002 (name "sbcl-cl-octet-streams")
6003 (version "1.0")
6004 (source
6005 (origin
6006 (method git-fetch)
6007 (uri (git-reference
6008 (url "https://github.com/glv2/cl-octet-streams")
6009 (commit (string-append "v" version))))
6010 (file-name (git-file-name name version))
6011 (sha256
6012 (base32
6013 "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
6014 (build-system asdf-build-system/sbcl)
6015 (native-inputs
6016 `(("fiveam" ,sbcl-fiveam)))
6017 (inputs
6018 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6019 (synopsis "In-memory octet streams for Common Lisp")
6020 (description
6021 "CL-octet-streams is a library implementing in-memory octet
6022 streams for Common Lisp. It was inspired by the trivial-octet-streams and
6023 cl-plumbing libraries.")
6024 (home-page "https://github.com/glv2/cl-octet-streams")
6025 (license license:gpl3+)))
6026
6027 (define-public cl-octet-streams
6028 (sbcl-package->cl-source-package sbcl-cl-octet-streams))
6029
6030 (define-public ecl-cl-octet-streams
6031 (sbcl-package->ecl-package sbcl-cl-octet-streams))
6032
6033 (define-public sbcl-lzlib
6034 (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
6035 (revision "1"))
6036 (package
6037 (name "sbcl-lzlib")
6038 (version (git-version "1.0" revision commit))
6039 (source
6040 (origin
6041 (method git-fetch)
6042 (uri (git-reference
6043 (url "https://github.com/glv2/cl-lzlib")
6044 (commit commit)))
6045 (file-name (git-file-name name version))
6046 (sha256
6047 (base32
6048 "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
6049 (build-system asdf-build-system/sbcl)
6050 (native-inputs
6051 `(("fiveam" ,sbcl-fiveam)))
6052 (inputs
6053 `(("cffi" ,sbcl-cffi)
6054 ("cl-octet-streams" ,sbcl-cl-octet-streams)
6055 ("lzlib" ,lzlib)))
6056 (arguments
6057 '(#:phases
6058 (modify-phases %standard-phases
6059 (add-after 'unpack 'fix-paths
6060 (lambda* (#:key inputs #:allow-other-keys)
6061 (substitute* "src/lzlib.lisp"
6062 (("liblz\\.so")
6063 (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
6064 #t)))))
6065 (synopsis "Common Lisp library for lzip (de)compression")
6066 (description
6067 "This Common Lisp library provides functions for lzip (LZMA)
6068 compression/decompression using bindings to the lzlib C library.")
6069 (home-page "https://github.com/glv2/cl-lzlib")
6070 (license license:gpl3+))))
6071
6072 (define-public cl-lzlib
6073 (sbcl-package->cl-source-package sbcl-lzlib))
6074
6075 (define-public ecl-lzlib
6076 (sbcl-package->ecl-package sbcl-lzlib))
6077
6078 (define-public sbcl-chanl
6079 (let ((commit "56e90a126c78b39bb621a01585e8d3b985238e8c")
6080 (revision "1"))
6081 (package
6082 (name "sbcl-chanl")
6083 (version (git-version "0.4.1" revision commit))
6084 (source
6085 (origin
6086 (method git-fetch)
6087 (uri (git-reference
6088 (url "https://github.com/zkat/chanl")
6089 (commit commit)))
6090 (file-name (git-file-name name version))
6091 (sha256
6092 (base32
6093 "0b1cf6c12qx5cy1fw2z42jgh566rp3l8nv5qf0qqc569s7bgmrh4"))))
6094 (build-system asdf-build-system/sbcl)
6095 (native-inputs
6096 `(("fiveam" ,sbcl-fiveam)))
6097 (inputs
6098 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
6099 (synopsis "Portable channel-based concurrency for Common Lisp")
6100 (description "Common Lisp library for channel-based concurrency. In
6101 a nutshell, you create various threads sequentially executing tasks you need
6102 done, and use channel objects to communicate and synchronize the state of these
6103 threads.")
6104 (home-page "https://github.com/zkat/chanl")
6105 (license (list license:expat license:bsd-3)))))
6106
6107 (define-public cl-chanl
6108 (sbcl-package->cl-source-package sbcl-chanl))
6109
6110 (define-public ecl-chanl
6111 (sbcl-package->ecl-package sbcl-chanl))
6112
6113 (define-public sbcl-cl-store
6114 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
6115 (revision "1"))
6116 (package
6117 (name "sbcl-cl-store")
6118 (version (git-version "0.8.11" revision commit))
6119 (source
6120 (origin
6121 (method git-fetch)
6122 (uri (git-reference
6123 (url "https://github.com/skypher/cl-store")
6124 (commit commit)))
6125 (file-name (git-file-name name version))
6126 (sha256
6127 (base32
6128 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
6129 (build-system asdf-build-system/sbcl)
6130 (native-inputs
6131 `(("rt" ,sbcl-rt)))
6132 (synopsis "Common Lisp library to serialize data")
6133 (description
6134 "CL-STORE is a portable serialization package which should give you the
6135 ability to store all Common Lisp data types into streams.")
6136 (home-page "https://www.common-lisp.net/project/cl-store/")
6137 (license license:expat))))
6138
6139 (define-public cl-store
6140 (sbcl-package->cl-source-package sbcl-cl-store))
6141
6142 (define-public ecl-cl-store
6143 (sbcl-package->ecl-package sbcl-cl-store))
6144
6145 (define-public sbcl-cl-gobject-introspection
6146 (let ((commit "7b703e2384945ea0ac39d9b766de434a08d81560")
6147 (revision "0"))
6148 (package
6149 (name "sbcl-cl-gobject-introspection")
6150 (version (git-version "0.3" revision commit))
6151 (home-page "https://github.com/andy128k/cl-gobject-introspection")
6152 (source
6153 (origin
6154 (method git-fetch)
6155 (uri (git-reference
6156 (url home-page)
6157 (commit commit)))
6158 (file-name (git-file-name name version))
6159 (sha256
6160 (base32
6161 "1zcqd2qj14f6b38vys8gr89s6cijsp9r8j43xa8lynilwva7bwyh"))))
6162 (build-system asdf-build-system/sbcl)
6163 (inputs
6164 `(("alexandria" ,sbcl-alexandria)
6165 ("cffi" ,sbcl-cffi)
6166 ("iterate" ,sbcl-iterate)
6167 ("trivial-garbage" ,sbcl-trivial-garbage)
6168 ("glib" ,glib)
6169 ("gobject-introspection" ,gobject-introspection)))
6170 (native-inputs
6171 `(("fiveam" ,sbcl-fiveam)))
6172 (arguments
6173 ;; TODO: Tests fail, see
6174 ;; https://github.com/andy128k/cl-gobject-introspection/issues/70.
6175 '(#:tests? #f
6176 #:phases
6177 (modify-phases %standard-phases
6178 (add-after (quote unpack) (quote fix-paths)
6179 (lambda* (#:key inputs #:allow-other-keys)
6180 (substitute* "src/init.lisp"
6181 (("libgobject-2\\.0\\.so")
6182 (string-append (assoc-ref inputs "glib") "/lib/libgobject-2.0.so"))
6183 (("libgirepository-1\\.0\\.so")
6184 (string-append (assoc-ref inputs "gobject-introspection")
6185 "/lib/libgirepository-1.0.so")))
6186 #t)))))
6187 (synopsis "Common Lisp bindings to GObject Introspection")
6188 (description
6189 "This library is a bridge between Common Lisp and GObject
6190 Introspection, which enables Common Lisp programs to access the full interface
6191 of C+GObject libraries without the need of writing dedicated bindings.")
6192 (license (list license:bsd-3
6193 ;; Tests are under a different license.
6194 license:llgpl)))))
6195
6196 (define-public cl-gobject-introspection
6197 (sbcl-package->cl-source-package sbcl-cl-gobject-introspection))
6198
6199 (define-public ecl-cl-gobject-introspection
6200 (sbcl-package->ecl-package sbcl-cl-gobject-introspection))
6201
6202 (define-public sbcl-string-case
6203 (let ((commit "718c761e33749e297cd2809c7ba3ade1985c49f7")
6204 (revision "0"))
6205 (package
6206 (name "sbcl-string-case")
6207 (version (git-version "0.0.2" revision commit))
6208 (home-page "https://github.com/pkhuong/string-case")
6209 (source
6210 (origin
6211 (method git-fetch)
6212 (uri (git-reference
6213 (url home-page)
6214 (commit commit)))
6215 (file-name (git-file-name name version))
6216 (sha256
6217 (base32
6218 "1n5i3yh0h5s636rcnwn7jwqy3rjflikra04lymimhpcshhjsk0md"))))
6219 (build-system asdf-build-system/sbcl)
6220 (synopsis "Efficient string= case in Common Lisp")
6221 (description
6222 "@code{string-case} is a Common Lisp macro that generates specialised decision
6223 trees to dispatch on string equality.")
6224 (license license:bsd-3))))
6225
6226 (define-public cl-string-case
6227 (sbcl-package->cl-source-package sbcl-string-case))
6228
6229 (define-public ecl-string-case
6230 (sbcl-package->ecl-package sbcl-string-case))
6231
6232 (define-public sbcl-global-vars
6233 (let ((commit "c749f32c9b606a1457daa47d59630708ac0c266e")
6234 (revision "0"))
6235 (package
6236 (name "sbcl-global-vars")
6237 (version (git-version "1.0.0" revision commit))
6238 (home-page "https://github.com/lmj/global-vars")
6239 (source
6240 (origin
6241 (method git-fetch)
6242 (uri (git-reference
6243 (url home-page)
6244 (commit commit)))
6245 (file-name (git-file-name name version))
6246 (sha256
6247 (base32
6248 "06m3xc8l3pgsapl8fvsi9wf6y46zs75cp9zn7zh6dc65v4s5wz3d"))))
6249 (build-system asdf-build-system/sbcl)
6250 (synopsis "Efficient global variables in Common Lisp")
6251 (description
6252 "In Common Lisp, a special variable that is never dynamically bound
6253 typically serves as a stand-in for a global variable. The @code{global-vars}
6254 library provides true global variables that are implemented by some compilers.
6255 An attempt to rebind a global variable properly results in a compiler error.
6256 That is, a global variable cannot be dynamically bound.
6257
6258 Global variables therefore allow us to communicate an intended usage that
6259 differs from special variables. Global variables are also more efficient than
6260 special variables, especially in the presence of threads.")
6261 (license license:expat))))
6262
6263 (define-public cl-global-vars
6264 (sbcl-package->cl-source-package sbcl-global-vars))
6265
6266 (define-public ecl-global-vars
6267 (sbcl-package->ecl-package sbcl-global-vars))
6268
6269 (define-public sbcl-trivial-file-size
6270 (let ((commit "1c1d672a01a446ba0391dbb4ffc40be3b0476f23")
6271 (revision "0"))
6272 (package
6273 (name "sbcl-trivial-file-size")
6274 (version (git-version "0.0.0" revision commit))
6275 (home-page "https://github.com/ruricolist/trivial-file-size")
6276 (source
6277 (origin
6278 (method git-fetch)
6279 (uri (git-reference
6280 (url home-page)
6281 (commit commit)))
6282 (file-name (git-file-name name version))
6283 (sha256
6284 (base32
6285 "17pp86c9zs4y7i1sh7q9gbfw9iqv6655k7fz8qbj9ly1ypgxp4qs"))))
6286 (build-system asdf-build-system/sbcl)
6287 (native-inputs
6288 `(("fiveam" ,sbcl-fiveam)))
6289 (synopsis "Size of a file in bytes in Common Lisp")
6290 (description
6291 "The canonical way to determine the size of a file in bytes, using Common Lisp,
6292 is to open the file with an element type of (unsigned-byte 8) and then
6293 calculate the length of the stream. This is less than ideal. In most cases
6294 it is better to get the size of the file from its metadata, using a system
6295 call.
6296
6297 This library exports a single function, file-size-in-octets. It returns the
6298 size of a file in bytes, using system calls when possible.")
6299 (license license:expat))))
6300
6301 (define-public cl-trivial-file-size
6302 (sbcl-package->cl-source-package sbcl-trivial-file-size))
6303
6304 (define-public ecl-trivial-file-size
6305 (sbcl-package->ecl-package sbcl-trivial-file-size))
6306
6307 (define-public sbcl-trivial-macroexpand-all
6308 (let ((commit "933270ac7107477de1bc92c1fd641fe646a7a8a9")
6309 (revision "0"))
6310 (package
6311 (name "sbcl-trivial-macroexpand-all")
6312 (version (git-version "0.0.0" revision commit))
6313 (home-page "https://github.com/cbaggers/trivial-macroexpand-all")
6314 (source
6315 (origin
6316 (method git-fetch)
6317 (uri (git-reference
6318 (url home-page)
6319 (commit commit)))
6320 (file-name (git-file-name name version))
6321 (sha256
6322 (base32
6323 "191hnn4b5j4i3crydmlzbm231kj0h7l8zj6mzj69r1npbzkas4bd"))))
6324 (build-system asdf-build-system/sbcl)
6325 (native-inputs
6326 `(("fiveam" ,sbcl-fiveam)))
6327 (synopsis "Portable macroexpand-all for Common Lisp")
6328 (description
6329 "This library provides a macroexpand-all function that calls the
6330 implementation specific equivalent.")
6331 (license license:unlicense))))
6332
6333 (define-public cl-trivial-macroexpand-all
6334 (sbcl-package->cl-source-package sbcl-trivial-macroexpand-all))
6335
6336 (define-public ecl-trivial-macroexpand-all
6337 (sbcl-package->ecl-package sbcl-trivial-macroexpand-all))
6338
6339 (define-public sbcl-serapeum
6340 (let ((commit "c5e352a9f04a84a93742193c01734f4fb31d9f82")
6341 (revision "3"))
6342 (package
6343 (name "sbcl-serapeum")
6344 (version (git-version "0.0.0" revision commit))
6345 (home-page "https://github.com/ruricolist/serapeum")
6346 (source
6347 (origin
6348 (method git-fetch)
6349 (uri (git-reference
6350 (url home-page)
6351 (commit commit)))
6352 (file-name (git-file-name name version))
6353 (sha256
6354 (base32
6355 "16767pxl766c15jznr4srcbp7cnxf8w9lkyaqpp5w5crqymw84nw"))))
6356 (build-system asdf-build-system/sbcl)
6357 (inputs
6358 `(("alexandria" ,sbcl-alexandria)
6359 ("trivia" ,sbcl-trivia)
6360 ("split-sequence" ,sbcl-split-sequence)
6361 ("string-case" ,sbcl-string-case)
6362 ("parse-number" ,sbcl-parse-number)
6363 ("trivial-garbage" ,sbcl-trivial-garbage)
6364 ("bordeaux-threads" ,sbcl-bordeaux-threads)
6365 ("named-readtables" ,sbcl-named-readtables)
6366 ("fare-quasiquote" ,sbcl-fare-quasiquote)
6367 ("parse-declarations-1.0" ,sbcl-parse-declarations)
6368 ("global-vars" ,sbcl-global-vars)
6369 ("trivial-file-size" ,sbcl-trivial-file-size)
6370 ("trivial-macroexpand-all" ,sbcl-trivial-macroexpand-all)))
6371 (native-inputs
6372 `(("fiveam" ,sbcl-fiveam)
6373 ("local-time" ,sbcl-local-time)))
6374 (arguments
6375 '(#:phases
6376 (modify-phases %standard-phases
6377 (add-after 'unpack 'disable-failing-tests
6378 (lambda* (#:key inputs #:allow-other-keys)
6379 (substitute* "serapeum.asd"
6380 ;; Guix does not have Quicklisp, and probably never will.
6381 (("\\(:file \"quicklisp\"\\)") ""))
6382 #t)))))
6383 (synopsis "Common Lisp utility library beyond Alexandria")
6384 (description
6385 "Serapeum is a conservative library of Common Lisp utilities. It is a
6386 supplement, not a competitor, to Alexandria.")
6387 (license license:expat))))
6388
6389 (define-public cl-serapeum
6390 (sbcl-package->cl-source-package sbcl-serapeum))
6391
6392 (define-public ecl-serapeum
6393 (sbcl-package->ecl-package sbcl-serapeum))
6394
6395 (define-public sbcl-arrows
6396 (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382")
6397 (revision "0"))
6398 (package
6399 (name "sbcl-arrows")
6400 (version (git-version "0.2.0" revision commit))
6401 (source
6402 (origin
6403 (method git-fetch)
6404 (uri (git-reference
6405 (url "https://gitlab.com/Harleqin/arrows.git")
6406 (commit commit)))
6407 (file-name (git-file-name name version))
6408 (sha256
6409 (base32
6410 "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy"))))
6411 (build-system asdf-build-system/sbcl)
6412 (native-inputs
6413 `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
6414 (synopsis "Clojure-like arrow macros for Common Lisp")
6415 (description
6416 "This library implements the @code{->} and @code{->>} macros from
6417 Clojure, as well as several expansions on the idea.")
6418 (home-page "https://gitlab.com/Harleqin/arrows")
6419 (license license:public-domain))))
6420
6421 (define-public cl-arrows
6422 (sbcl-package->cl-source-package sbcl-arrows))
6423
6424 (define-public ecl-arrows
6425 (sbcl-package->ecl-package sbcl-arrows))
6426
6427 (define-public sbcl-simple-parallel-tasks
6428 (let ((commit "ce7b60f788d8f68dfb69b24aac54c0e3b63379a6")
6429 (revision "1"))
6430 (package
6431 (name "sbcl-simple-parallel-tasks")
6432 (version (git-version "1.0" revision commit))
6433 (source
6434 (origin
6435 (method git-fetch)
6436 (uri (git-reference
6437 (url "https://github.com/glv2/simple-parallel-tasks")
6438 (commit commit)))
6439 (file-name (git-file-name name version))
6440 (sha256
6441 (base32 "0gvbpyff4siifp3cp86cpr9ksmakn66fx21f3h0hpn647zl07nj7"))))
6442 (build-system asdf-build-system/sbcl)
6443 (native-inputs
6444 `(("fiveam" ,sbcl-fiveam)))
6445 (inputs
6446 `(("chanl" ,sbcl-chanl)))
6447 (synopsis "Common Lisp library to evaluate some forms in parallel")
6448 (description "This is a simple Common Lisp library to evaluate some
6449 forms in parallel.")
6450 (home-page "https://github.com/glv2/simple-parallel-tasks")
6451 (license license:gpl3))))
6452
6453 (define-public cl-simple-parallel-tasks
6454 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
6455
6456 (define-public ecl-simple-parallel-tasks
6457 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
6458
6459 (define-public sbcl-cl-heap
6460 (package
6461 (name "sbcl-cl-heap")
6462 (version "0.1.6")
6463 (source
6464 (origin
6465 (method url-fetch)
6466 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
6467 "cl-heap_" version ".tar.gz"))
6468 (sha256
6469 (base32
6470 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
6471 (build-system asdf-build-system/sbcl)
6472 (native-inputs
6473 `(("xlunit" ,sbcl-xlunit)))
6474 (arguments
6475 `(#:test-asd-file "cl-heap-tests.asd"))
6476 (synopsis "Heap and priority queue data structures for Common Lisp")
6477 (description
6478 "CL-HEAP provides various implementations of heap data structures (a
6479 binary heap and a Fibonacci heap) as well as an efficient priority queue.")
6480 (home-page "https://common-lisp.net/project/cl-heap/")
6481 (license license:gpl3+)))
6482
6483 (define-public cl-heap
6484 (sbcl-package->cl-source-package sbcl-cl-heap))
6485
6486 (define-public ecl-cl-heap
6487 (sbcl-package->ecl-package sbcl-cl-heap))
6488
6489 (define-public sbcl-curry-compose-reader-macros
6490 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
6491 (revision "0"))
6492 (package
6493 (name "sbcl-curry-compose-reader-macros")
6494 (version (git-version "1.0.0" revision commit))
6495 (source
6496 (origin
6497 (method git-fetch)
6498 (uri
6499 (git-reference
6500 (url "https://github.com/eschulte/curry-compose-reader-macros")
6501 (commit commit)))
6502 (file-name (git-file-name name version))
6503 (sha256
6504 (base32
6505 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
6506 (build-system asdf-build-system/sbcl)
6507 (inputs
6508 `(("alexandria" ,sbcl-alexandria)
6509 ("named-readtables" ,sbcl-named-readtables)))
6510 (synopsis "Reader macros for partial application and composition")
6511 (description
6512 "This Common Lisp library provides reader macros for concise expression
6513 of function partial application and composition.")
6514 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
6515 (license license:public-domain))))
6516
6517 (define-public cl-curry-compose-reader-macros
6518 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
6519
6520 (define-public ecl-curry-compose-reader-macros
6521 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
6522
6523 (define-public sbcl-yason
6524 (package
6525 (name "sbcl-yason")
6526 (version "0.7.7")
6527 (source
6528 (origin
6529 (method git-fetch)
6530 (uri (git-reference
6531 (url "https://github.com/phmarek/yason")
6532 (commit (string-append "v" version))))
6533 (file-name (git-file-name name version))
6534 (sha256
6535 (base32
6536 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
6537 (build-system asdf-build-system/sbcl)
6538 (inputs
6539 `(("alexandria" ,sbcl-alexandria)
6540 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6541 (synopsis "Common Lisp JSON parser/encoder")
6542 (description
6543 "YASON is a Common Lisp library for encoding and decoding data in the
6544 JSON interchange format.")
6545 (home-page "https://github.com/phmarek/yason")
6546 (license license:bsd-3)))
6547
6548 (define-public cl-yason
6549 (sbcl-package->cl-source-package sbcl-yason))
6550
6551 (define-public ecl-yason
6552 (sbcl-package->ecl-package sbcl-yason))
6553
6554 (define-public sbcl-stefil
6555 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
6556 (revision "0"))
6557 (package
6558 (name "sbcl-stefil")
6559 (version (git-version "0.1" revision commit))
6560 (source
6561 (origin
6562 (method git-fetch)
6563 (uri (git-reference
6564 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
6565 (commit commit)))
6566 (file-name (git-file-name name version))
6567 (sha256
6568 (base32
6569 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
6570 (build-system asdf-build-system/sbcl)
6571 (inputs
6572 `(("alexandria" ,sbcl-alexandria)
6573 ("iterate" ,sbcl-iterate)
6574 ("metabang-bind" ,sbcl-metabang-bind)
6575 ("swank" ,sbcl-slime-swank)))
6576 (arguments
6577 '(#:phases
6578 (modify-phases %standard-phases
6579 (add-after 'unpack 'drop-unnecessary-dependency
6580 (lambda _
6581 (substitute* "package.lisp"
6582 ((":stefil-system") ""))
6583 #t)))))
6584 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
6585 (synopsis "Simple test framework")
6586 (description
6587 "Stefil is a simple test framework for Common Lisp, with a focus on
6588 interactive development.")
6589 (license license:public-domain))))
6590
6591 (define-public cl-stefil
6592 (sbcl-package->cl-source-package sbcl-stefil))
6593
6594 (define-public ecl-stefil
6595 (sbcl-package->ecl-package sbcl-stefil))
6596
6597 (define-public sbcl-graph
6598 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
6599 (revision "0"))
6600 (package
6601 (name "sbcl-graph")
6602 (version (git-version "0.0.0" revision commit))
6603 (source
6604 (origin
6605 (method git-fetch)
6606 (uri
6607 (git-reference
6608 (url "https://github.com/eschulte/graph")
6609 (commit commit)))
6610 (file-name (git-file-name name version))
6611 (sha256
6612 (base32
6613 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))))
6614 (build-system asdf-build-system/sbcl)
6615 (native-inputs
6616 `(("stefil" ,sbcl-stefil)))
6617 (inputs
6618 `(("alexandria" ,sbcl-alexandria)
6619 ("cl-heap" ,sbcl-cl-heap)
6620 ("cl-ppcre" ,sbcl-cl-ppcre)
6621 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
6622 ("metabang-bind" ,sbcl-metabang-bind)
6623 ("named-readtables" ,sbcl-named-readtables)
6624 ("yason" ,sbcl-yason)))
6625 (arguments
6626 '(#:asd-systems '("graph"
6627 "graph/dot"
6628 "graph/json")))
6629 (synopsis "Graph data structure and algorithms for Common Lisp")
6630 (description
6631 "The GRAPH Common Lisp library provides a data structures to represent
6632 graphs, as well as some graph manipulation and analysis algorithms (shortest
6633 path, maximum flow, minimum spanning tree, etc.).")
6634 (home-page "https://eschulte.github.io/graph/")
6635 (license license:gpl3+))))
6636
6637 (define-public cl-graph
6638 (sbcl-package->cl-source-package sbcl-graph))
6639
6640 (define-public ecl-graph
6641 (sbcl-package->ecl-package sbcl-graph))
6642
6643 (define-public sbcl-trivial-indent
6644 (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
6645 (revision "0"))
6646 (package
6647 (name "sbcl-trivial-indent")
6648 (version (git-version "1.0.0" revision commit))
6649 (source
6650 (origin
6651 (method git-fetch)
6652 (uri
6653 (git-reference
6654 (url "https://github.com/Shinmera/trivial-indent")
6655 (commit commit)))
6656 (file-name (git-file-name name version))
6657 (sha256
6658 (base32
6659 "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
6660 (build-system asdf-build-system/sbcl)
6661 (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
6662 (description
6663 "This library allows you to define custom indentation hints for your
6664 macros if the one recognised by SLIME automatically produces unwanted
6665 results.")
6666 (home-page "https://shinmera.github.io/trivial-indent/")
6667 (license license:zlib))))
6668
6669 (define-public cl-trivial-indent
6670 (sbcl-package->cl-source-package sbcl-trivial-indent))
6671
6672 (define-public ecl-trivial-indent
6673 (sbcl-package->ecl-package sbcl-trivial-indent))
6674
6675 (define-public sbcl-documentation-utils
6676 (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
6677 (revision "0"))
6678 (package
6679 (name "sbcl-documentation-utils")
6680 (version (git-version "1.2.0" revision commit))
6681 (source
6682 (origin
6683 (method git-fetch)
6684 (uri
6685 (git-reference
6686 (url "https://github.com/Shinmera/documentation-utils")
6687 (commit commit)))
6688 (file-name (git-file-name name version))
6689 (sha256
6690 (base32
6691 "098qhkqskmmrh4wix34mawf7p5c87yql28r51r75yjxj577k5idq"))))
6692 (build-system asdf-build-system/sbcl)
6693 (inputs
6694 `(("trivial-indent" ,sbcl-trivial-indent)))
6695 (synopsis "Few simple tools to document Common Lisp libraries")
6696 (description
6697 "This is a small library to help you with managing the Common Lisp
6698 docstrings for your library.")
6699 (home-page "https://shinmera.github.io/documentation-utils/")
6700 (license license:zlib))))
6701
6702 (define-public cl-documentation-utils
6703 (sbcl-package->cl-source-package sbcl-documentation-utils))
6704
6705 (define-public ecl-documentation-utils
6706 (sbcl-package->ecl-package sbcl-documentation-utils))
6707
6708 (define-public sbcl-form-fiddle
6709 (let ((commit "e0c23599dbb8cff3e83e012f3d86d0764188ad18")
6710 (revision "0"))
6711 (package
6712 (name "sbcl-form-fiddle")
6713 (version (git-version "1.1.0" revision commit))
6714 (source
6715 (origin
6716 (method git-fetch)
6717 (uri
6718 (git-reference
6719 (url "https://github.com/Shinmera/form-fiddle")
6720 (commit commit)))
6721 (file-name (git-file-name name version))
6722 (sha256
6723 (base32
6724 "041iznc9mpfyrl0sv5893ys9pbb2pvbn9g3clarqi7gsfj483jln"))))
6725 (build-system asdf-build-system/sbcl)
6726 (inputs
6727 `(("documentation-utils" ,sbcl-documentation-utils)))
6728 (synopsis "Utilities to destructure Common Lisp lambda forms")
6729 (description
6730 "Often times we need to destructure a form definition in a Common Lisp
6731 macro. This library provides a set of simple utilities to help with that.")
6732 (home-page "https://shinmera.github.io/form-fiddle/")
6733 (license license:zlib))))
6734
6735 (define-public cl-form-fiddle
6736 (sbcl-package->cl-source-package sbcl-form-fiddle))
6737
6738 (define-public ecl-form-fiddle
6739 (sbcl-package->ecl-package sbcl-form-fiddle))
6740
6741 (define-public sbcl-parachute
6742 (let ((commit "ca04dd8e43010a6dfffa26dbe1d62af86008d666")
6743 (revision "0"))
6744 (package
6745 (name "sbcl-parachute")
6746 (version (git-version "1.1.1" revision commit))
6747 (source
6748 (origin
6749 (method git-fetch)
6750 (uri
6751 (git-reference
6752 (url "https://github.com/Shinmera/parachute")
6753 (commit commit)))
6754 (file-name (git-file-name name version))
6755 (sha256
6756 (base32
6757 "1mvsm3r0r6a2bg75nw0q7n9vlby3ch45qjl7hnb5k1z2n5x5lh60"))))
6758 (build-system asdf-build-system/sbcl)
6759 (inputs
6760 `(("documentation-utils" ,sbcl-documentation-utils)
6761 ("form-fiddle" ,sbcl-form-fiddle)))
6762 (synopsis "Extensible and cross-compatible testing framework for Common Lisp")
6763 (description
6764 "Parachute is a simple-to-use and extensible testing framework.
6765 In Parachute, things are organised as a bunch of named tests within a package.
6766 Each test can contain a bunch of test forms that make up its body.")
6767 (home-page "https://shinmera.github.io/parachute/")
6768 (license license:zlib))))
6769
6770 (define-public cl-parachute
6771 (sbcl-package->cl-source-package sbcl-parachute))
6772
6773 (define-public ecl-parachute
6774 (sbcl-package->ecl-package sbcl-parachute))
6775
6776 (define-public sbcl-array-utils
6777 (let ((commit "f90eb9070d0b2205af51126a35033574725e5c56")
6778 (revision "0"))
6779 (package
6780 (name "sbcl-array-utils")
6781 (version (git-version "1.1.1" revision commit))
6782 (source
6783 (origin
6784 (method git-fetch)
6785 (uri
6786 (git-reference
6787 (url "https://github.com/Shinmera/array-utils")
6788 (commit commit)))
6789 (file-name (git-file-name name version))
6790 (sha256
6791 (base32
6792 "0zhwfbpr53vs1ii4sx75dz2k9yhh1xpwdqqpg8nmfndxkmhpbi3x"))))
6793 (build-system asdf-build-system/sbcl)
6794 (native-inputs
6795 `(("parachute" ,sbcl-parachute)))
6796 (inputs
6797 `(("documentation-utils" ,sbcl-documentation-utils)))
6798 (synopsis "Tiny collection of array and vector utilities for Common Lisp")
6799 (description
6800 "A miniature toolkit that contains some useful shifting/popping/pushing
6801 functions for arrays and vectors. Originally from Plump.")
6802 (home-page "https://shinmera.github.io/array-utils/")
6803 (license license:zlib))))
6804
6805 (define-public cl-array-utils
6806 (sbcl-package->cl-source-package sbcl-array-utils))
6807
6808 (define-public ecl-array-utils
6809 (sbcl-package->ecl-package sbcl-array-utils))
6810
6811 (define-public sbcl-plump
6812 (let ((commit "34f890fe46efdebe7bb70d218f1937e98f632bf9")
6813 (revision "1"))
6814 (package
6815 (name "sbcl-plump")
6816 (version (git-version "2.0.0" revision commit))
6817 (source
6818 (origin
6819 (method git-fetch)
6820 (uri
6821 (git-reference
6822 (url "https://github.com/Shinmera/plump")
6823 (commit commit)))
6824 (file-name (git-file-name name version))
6825 (sha256
6826 (base32
6827 "0a0x8wn6vv1ylxcwck12k18gy0a366kdm6ddxxk7yynl4mwnqgkh"))))
6828 (build-system asdf-build-system/sbcl)
6829 (inputs
6830 `(("array-utils" ,sbcl-array-utils)
6831 ("documentation-utils" ,sbcl-documentation-utils)))
6832 (synopsis "Lenient XML / XHTML / HTML parser for Common Lisp")
6833 (description
6834 "Plump is a parser for HTML/XML-like documents, focusing on being
6835 lenient towards invalid markup. It can handle things like invalid attributes,
6836 bad closing tag order, unencoded entities, inexistent tag types, self-closing
6837 tags and so on. It parses documents to a class representation and offers a
6838 small set of DOM functions to manipulate it. It can be extended to parse to
6839 your own classes.")
6840 (home-page "https://shinmera.github.io/plump/")
6841 (license license:zlib))))
6842
6843 (define-public cl-plump
6844 (sbcl-package->cl-source-package sbcl-plump))
6845
6846 (define-public ecl-plump
6847 (sbcl-package->ecl-package sbcl-plump))
6848
6849 ;;; Split the antik package in two to work around the circular dependency
6850 ;;; between antik/antik and antik/gsll.
6851 (define-public sbcl-antik-base
6852 (let ((commit "e4711a69b3d6bf37b5727af05c3cfd03e8428ba3")
6853 (revision "1"))
6854 (package
6855 (name "sbcl-antik-base")
6856 (version (git-version "0.0.0" revision commit))
6857 (source
6858 (origin
6859 (method git-fetch)
6860 (uri (git-reference
6861 (url "https://gitlab.common-lisp.net/antik/antik.git")
6862 (commit commit)))
6863 (file-name (git-file-name name version))
6864 (sha256
6865 (base32
6866 "047ga2c38par2xbgg4qx6hwv06qhf1c1f67as8xvir6s80lip1km"))))
6867 (build-system asdf-build-system/sbcl)
6868 (inputs
6869 `(("alexandria" ,sbcl-alexandria)
6870 ("cffi" ,sbcl-cffi)
6871 ("cl-ppcre" ,sbcl-cl-ppcre)
6872 ("drakma" ,sbcl-drakma)
6873 ("fare-utils" ,sbcl-fare-utils)
6874 ("iterate" ,sbcl-iterate)
6875 ("metabang-bind" ,sbcl-metabang-bind)
6876 ("named-readtables" ,sbcl-named-readtables)
6877 ("split-sequence" ,sbcl-split-sequence)
6878 ("static-vectors" ,sbcl-static-vectors)
6879 ("trivial-garbage" ,sbcl-trivial-garbage)
6880 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
6881 (native-inputs
6882 `(("lisp-unit" ,sbcl-lisp-unit)))
6883 (arguments
6884 '(#:asd-systems '("antik-base"
6885 "foreign-array")
6886 #:phases
6887 (modify-phases %standard-phases
6888 (add-after 'unpack 'fix-build
6889 (lambda _
6890 (for-each delete-file
6891 '("antik.asd"
6892 "physical-dimension.asd"
6893 "science-data.asd"))
6894 #t)))))
6895 (synopsis "Scientific and engineering computation in Common Lisp")
6896 (description
6897 "Antik provides a foundation for scientific and engineering
6898 computation in Common Lisp. It is designed not only to facilitate
6899 numerical computations, but to permit the use of numerical computation
6900 libraries and the interchange of data and procedures, whether
6901 foreign (non-Lisp) or Lisp libraries. It is named after the
6902 Antikythera mechanism, one of the oldest examples of a scientific
6903 computer known.")
6904 (home-page "https://common-lisp.net/project/antik/")
6905 (license license:gpl3))))
6906
6907 (define-public cl-antik-base
6908 (sbcl-package->cl-source-package sbcl-antik-base))
6909
6910 (define-public ecl-antik-base
6911 (let ((pkg (sbcl-package->ecl-package sbcl-antik-base)))
6912 (package
6913 (inherit pkg)
6914 (arguments
6915 (substitute-keyword-arguments (package-arguments pkg)
6916 ((#:phases phases)
6917 `(modify-phases ,phases
6918 (add-after 'unpack 'fix-readtable
6919 (lambda _
6920 (substitute* "input-output/readtable.lisp"
6921 (("#-ccl")
6922 "#-(or ccl ecl)"))
6923 #t)))))))))
6924
6925 (define-public sbcl-gsll
6926 (let ((commit "1a8ada22f9cf5ed7372d352b2317f4ccdb6ab308")
6927 (revision "1"))
6928 (package
6929 (name "sbcl-gsll")
6930 (version (git-version "0.0.0" revision commit))
6931 (source
6932 (origin
6933 (method git-fetch)
6934 (uri (git-reference
6935 (url "https://gitlab.common-lisp.net/antik/gsll.git")
6936 (commit commit)))
6937 (file-name (git-file-name name version))
6938 (sha256
6939 (base32
6940 "0z5nypfk26hxihb08p085644afawicrgb4xvadh3lmrn46qbjfn4"))))
6941 (build-system asdf-build-system/sbcl)
6942 (native-inputs
6943 `(("lisp-unit" ,sbcl-lisp-unit)))
6944 (inputs
6945 `(("alexandria" ,sbcl-alexandria)
6946 ("antik-base" ,sbcl-antik-base)
6947 ("cffi" ,sbcl-cffi)
6948 ("gsl" ,gsl)
6949 ("metabang-bind" ,sbcl-metabang-bind)
6950 ("trivial-features" ,sbcl-trivial-features)
6951 ("trivial-garbage" ,sbcl-trivial-garbage)))
6952 (arguments
6953 `(#:tests? #f
6954 #:phases
6955 (modify-phases %standard-phases
6956 (add-after 'unpack 'fix-cffi-paths
6957 (lambda* (#:key inputs #:allow-other-keys)
6958 (substitute* "gsll.asd"
6959 ((":depends-on \\(#:foreign-array")
6960 ":depends-on (#:foreign-array #:cffi-libffi"))
6961 (substitute* "init/init.lisp"
6962 (("libgslcblas.so" all)
6963 (string-append
6964 (assoc-ref inputs "gsl") "/lib/" all)))
6965 (substitute* "init/init.lisp"
6966 (("libgsl.so" all)
6967 (string-append
6968 (assoc-ref inputs "gsl") "/lib/" all))))))))
6969 (synopsis "GNU Scientific Library for Lisp")
6970 (description
6971 "The GNU Scientific Library for Lisp (GSLL) allows the use of the
6972 GNU Scientific Library (GSL) from Common Lisp. This library provides a
6973 full range of common mathematical operations useful to scientific and
6974 engineering applications. The design of the GSLL interface is such
6975 that access to most of the GSL library is possible in a Lisp-natural
6976 way; the intent is that the user not be hampered by the restrictions
6977 of the C language in which GSL has been written. GSLL thus provides
6978 interactive use of GSL for getting quick answers, even for someone not
6979 intending to program in Lisp.")
6980 (home-page "https://common-lisp.net/project/gsll/")
6981 (license license:gpl3))))
6982
6983 (define-public cl-gsll
6984 (sbcl-package->cl-source-package sbcl-gsll))
6985
6986 (define-public ecl-gsll
6987 (sbcl-package->ecl-package sbcl-gsll))
6988
6989 (define-public sbcl-antik
6990 (package
6991 (inherit sbcl-antik-base)
6992 (name "sbcl-antik")
6993 (inputs
6994 `(("antik-base" ,sbcl-antik-base)
6995 ("gsll" ,sbcl-gsll)))
6996 (arguments
6997 '(#:asd-systems '("antik"
6998 "science-data")
6999 #:phases
7000 (modify-phases %standard-phases
7001 (add-after 'unpack 'fix-build
7002 (lambda _
7003 (for-each delete-file
7004 '("antik-base.asd"
7005 "foreign-array.asd"))
7006 #t)))))))
7007
7008 (define-public cl-antik
7009 (sbcl-package->cl-source-package sbcl-antik))
7010
7011 (define-public sbcl-cl-interpol
7012 (let ((commit "1fd288d861db85bc4677cff3cdd6af75fda1afb4")
7013 (revision "1"))
7014 (package
7015 (name "sbcl-cl-interpol")
7016 (version (git-version "0.2.6" revision commit))
7017 (source
7018 (origin
7019 (method git-fetch)
7020 (uri (git-reference
7021 (url "https://github.com/edicl/cl-interpol")
7022 (commit commit)))
7023 (file-name (git-file-name name version))
7024 (sha256
7025 (base32
7026 "1hnikak52hmcq1r5f616m6qq1108qnkw80pja950nv1fq5p0ppjn"))))
7027 (build-system asdf-build-system/sbcl)
7028 (inputs
7029 `(("cl-unicode" ,sbcl-cl-unicode)
7030 ("named-readtables" ,sbcl-named-readtables)))
7031 (native-inputs
7032 `(("flexi-streams" ,sbcl-flexi-streams)))
7033 (synopsis "String interpolation for Common Lisp")
7034 (description
7035 "CL-INTERPOL is a library for Common Lisp which modifies the
7036 reader so that you can have interpolation within strings similar to
7037 Perl or Unix Shell scripts. It also provides various ways to insert
7038 arbitrary characters into literal strings even if your editor/IDE
7039 doesn't support them.")
7040 (home-page "https://edicl.github.io/cl-interpol/")
7041 (license license:bsd-3))))
7042
7043 (define-public cl-interpol
7044 (sbcl-package->cl-source-package sbcl-cl-interpol))
7045
7046 (define-public ecl-cl-interpol
7047 (sbcl-package->ecl-package sbcl-cl-interpol))
7048
7049 (define-public sbcl-symbol-munger
7050 (let ((commit "97598d4c3c53fd5da72ab78908fbd5d8c7a13416")
7051 (revision "1"))
7052 (package
7053 (name "sbcl-symbol-munger")
7054 (version (git-version "0.0.1" revision commit))
7055 (source
7056 (origin
7057 (method git-fetch)
7058 (uri (git-reference
7059 (url "https://github.com/AccelerationNet/symbol-munger")
7060 (commit commit)))
7061 (file-name (git-file-name name version))
7062 (sha256
7063 (base32
7064 "0y8jywjy0ldyhp7bxf16fdvdd2qgqnd7nlhlqfpfnzxcqk4xy1km"))))
7065 (build-system asdf-build-system/sbcl)
7066 (inputs
7067 `(("alexandria" ,sbcl-alexandria)
7068 ("iterate" ,sbcl-iterate)))
7069 (arguments
7070 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7071 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7072 '(#:tests? #f))
7073 (synopsis
7074 "Capitalization and spacing conversion functions for Common Lisp")
7075 (description
7076 "This is a Common Lisp library to change the capitalization and spacing
7077 of a string or a symbol. It can convert to and from Lisp, english, underscore
7078 and camel-case rules.")
7079 (home-page "https://github.com/AccelerationNet/symbol-munger")
7080 ;; The package declares a BSD license, but all of the license
7081 ;; text is MIT.
7082 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
7083 (license license:expat))))
7084
7085 (define-public cl-symbol-munger
7086 (sbcl-package->cl-source-package sbcl-symbol-munger))
7087
7088 (define-public ecl-symbol-munger
7089 (sbcl-package->ecl-package sbcl-symbol-munger))
7090
7091 (define-public sbcl-lisp-unit2
7092 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7093 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7094 (let ((commit "fb9721524d1e4e73abb223ee036d74ce14a5505c")
7095 (revision "1"))
7096 (package
7097 (name "sbcl-lisp-unit2")
7098 (version (git-version "0.2.0" revision commit))
7099 (source
7100 (origin
7101 (method git-fetch)
7102 (uri (git-reference
7103 (url "https://github.com/AccelerationNet/lisp-unit2")
7104 (commit commit)))
7105 (file-name (git-file-name name version))
7106 (sha256
7107 (base32
7108 "1rsqy8y0jqll6xn9a593848f5wvd5ribv4csry1ly0hmdhfnqzlp"))))
7109 (build-system asdf-build-system/sbcl)
7110 (inputs
7111 `(("alexandria" ,sbcl-alexandria)
7112 ("cl-interpol" ,sbcl-cl-interpol)
7113 ("iterate" ,sbcl-iterate)
7114 ("symbol-munger" ,sbcl-symbol-munger)))
7115 (synopsis "Test Framework for Common Lisp")
7116 (description
7117 "LISP-UNIT2 is a Common Lisp library that supports unit testing in the
7118 style of JUnit for Java. It is a new version of the lisp-unit library written
7119 by Chris Riesbeck.")
7120 (home-page "https://github.com/AccelerationNet/lisp-unit2")
7121 (license license:expat))))
7122
7123 (define-public cl-lisp-unit2
7124 (sbcl-package->cl-source-package sbcl-lisp-unit2))
7125
7126 (define-public ecl-lisp-unit2
7127 (sbcl-package->ecl-package sbcl-lisp-unit2))
7128
7129 (define-public sbcl-cl-csv
7130 (let ((commit "68ecb5d816545677513d7f6308d9e5e8d2265651")
7131 (revision "2"))
7132 (package
7133 (name "sbcl-cl-csv")
7134 (version (git-version "1.0.6" revision commit))
7135 (source
7136 (origin
7137 (method git-fetch)
7138 (uri (git-reference
7139 (url "https://github.com/AccelerationNet/cl-csv")
7140 (commit commit)))
7141 (file-name (git-file-name name version))
7142 (sha256
7143 (base32
7144 "0gcmlbwx5m3kwgk12qi80w08ak8fgdnvyia429fz6gnxmhg0k54x"))))
7145 (build-system asdf-build-system/sbcl)
7146 (arguments
7147 ;; See: https://github.com/AccelerationNet/cl-csv/pull/34
7148 `(#:tests? #f))
7149 (inputs
7150 `(("alexandria" ,sbcl-alexandria)
7151 ("cl-interpol" ,sbcl-cl-interpol)
7152 ("iterate" ,sbcl-iterate)))
7153 (native-inputs
7154 `(("lisp-unit2" ,sbcl-lisp-unit2)))
7155 (synopsis "Common lisp library for comma-separated values")
7156 (description
7157 "This is a Common Lisp library providing functions to read/write CSV
7158 from/to strings, streams and files.")
7159 (home-page "https://github.com/AccelerationNet/cl-csv")
7160 (license license:bsd-3))))
7161
7162 (define-public cl-csv
7163 (sbcl-package->cl-source-package sbcl-cl-csv))
7164
7165 (define-public ecl-cl-csv
7166 (sbcl-package->ecl-package sbcl-cl-csv))
7167
7168 (define-public sbcl-external-program
7169 (let ((commit "5888b8f1fd3953feeeacecbba4384ddda584a749")
7170 (revision "1"))
7171 (package
7172 (name "sbcl-external-program")
7173 (version (git-version "0.0.6" revision commit))
7174 (source
7175 (origin
7176 (method git-fetch)
7177 (uri (git-reference
7178 (url "https://github.com/sellout/external-program")
7179 (commit commit)))
7180 (file-name (git-file-name name version))
7181 (sha256
7182 (base32
7183 "0vww1x3yilb3bjwg6k184vaj4vxyxw4vralhnlm6lk4xac67kc9z"))))
7184 (build-system asdf-build-system/sbcl)
7185 (inputs
7186 `(("trivial-features" ,sbcl-trivial-features)))
7187 (native-inputs
7188 `(("fiveam" ,sbcl-fiveam)))
7189 (synopsis "Common Lisp library for running external programs")
7190 (description
7191 "EXTERNAL-PROGRAM enables running programs outside the Lisp
7192 process. It is an attempt to make the RUN-PROGRAM functionality in
7193 implementations like SBCL and CCL as portable as possible without
7194 sacrificing much in the way of power.")
7195 (home-page "https://github.com/sellout/external-program")
7196 (license license:llgpl))))
7197
7198 (define-public cl-external-program
7199 (sbcl-package->cl-source-package sbcl-external-program))
7200
7201 (define-public ecl-external-program
7202 (sbcl-package->ecl-package sbcl-external-program))
7203
7204 (define-public sbcl-cl-ana
7205 (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
7206 (revision "1"))
7207 (package
7208 (name "sbcl-cl-ana")
7209 (version (git-version "0.0.0" revision commit))
7210 (source
7211 (origin
7212 (method git-fetch)
7213 (uri (git-reference
7214 (url "https://github.com/ghollisjr/cl-ana")
7215 (commit commit)))
7216 (file-name (git-file-name name version))
7217 (sha256
7218 (base32 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
7219 (build-system asdf-build-system/sbcl)
7220 (native-inputs
7221 `(("cl-fad" ,sbcl-cl-fad)))
7222 (inputs
7223 `(("alexandria" ,sbcl-alexandria)
7224 ("antik" ,sbcl-antik)
7225 ("cffi" ,sbcl-cffi)
7226 ("cl-csv" ,sbcl-cl-csv)
7227 ("closer-mop" ,sbcl-closer-mop)
7228 ("external-program" ,sbcl-external-program)
7229 ("gsl" ,gsl)
7230 ("gsll" ,sbcl-gsll)
7231 ("hdf5" ,hdf5-parallel-openmpi)
7232 ("iterate" ,sbcl-iterate)
7233 ("libffi" ,libffi)
7234 ("split-sequence" ,sbcl-split-sequence)))
7235 (arguments
7236 `(#:phases
7237 (modify-phases %standard-phases
7238 (add-after 'unpack 'fix-paths
7239 (lambda* (#:key inputs #:allow-other-keys)
7240 (substitute* "hdf-cffi/hdf-cffi.lisp"
7241 (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
7242 (string-append (assoc-ref inputs "hdf5")
7243 "/lib/libhdf5.so")))
7244 (substitute* "gsl-cffi/gsl-cffi.lisp"
7245 (("define-foreign-library gsl-cffi" all)
7246 (string-append all " (:unix "
7247 (assoc-ref inputs "gsl")
7248 "/lib/libgsl.so)")))
7249 #t)))))
7250 (synopsis "Common Lisp data analysis library")
7251 (description
7252 "CL-ANA is a data analysis library in Common Lisp providing tabular and
7253 binned data analysis along with nonlinear least squares fitting and
7254 visualization.")
7255 (home-page "https://github.com/ghollisjr/cl-ana")
7256 (license license:gpl3))))
7257
7258 (define-public cl-ana
7259 (sbcl-package->cl-source-package sbcl-cl-ana))
7260
7261 (define-public sbcl-archive
7262 (let ((commit "631271c091ed02994bec3980cb288a2cf32c7cdc")
7263 (revision "1"))
7264 (package
7265 (name "sbcl-archive")
7266 (version (git-version "0.9" revision commit))
7267 (source (origin
7268 (method git-fetch)
7269 (uri (git-reference
7270 (url "https://github.com/sharplispers/archive")
7271 (commit commit)))
7272 (file-name (git-file-name name version))
7273 (sha256
7274 (base32
7275 "0pvsc9fmybx7rxd0kmzq4shi6hszdpwdc1sfy7jwyfxf8n3hnv4p"))))
7276 (build-system asdf-build-system/sbcl)
7277 (inputs
7278 `(("cl-fad" ,sbcl-cl-fad)
7279 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7280 (synopsis "Common Lisp library for tar and cpio archives")
7281 (description
7282 "This is a Common Lisp library to read and write disk-based file
7283 archives such as those generated by the tar and cpio programs on Unix.")
7284 (home-page "https://github.com/sharplispers/archive")
7285 (license license:bsd-3))))
7286
7287 (define-public cl-archive
7288 (sbcl-package->cl-source-package sbcl-archive))
7289
7290 (define-public ecl-archive
7291 (sbcl-package->ecl-package sbcl-archive))
7292
7293 (define-public sbcl-misc-extensions
7294 (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
7295 (revision "1"))
7296 (package
7297 (name "sbcl-misc-extensions")
7298 (version (git-version "3.3" revision commit))
7299 (source
7300 (origin
7301 (method git-fetch)
7302 (uri (git-reference
7303 (url "https://gitlab.common-lisp.net/misc-extensions/devel.git")
7304 (commit commit)))
7305 (file-name (git-file-name name version))
7306 (sha256
7307 (base32
7308 "0gz5f4p70qzilnxsnf5lih2n9m4wjcw8hlw4w8mpn9jyhyppyyv0"))))
7309 (build-system asdf-build-system/sbcl)
7310 (synopsis "Collection of small macros and extensions for Common Lisp")
7311 (description
7312 "This project is intended as a catchall for small, general-purpose
7313 extensions to Common Lisp. It contains:
7314
7315 @itemize
7316 @item @code{new-let}, a macro that combines and generalizes @code{let},
7317 @code{let*} and @code{multiple-value-bind},
7318 @item @code{gmap}, an iteration macro that generalizes @code{map}.
7319 @end itemize\n")
7320 (home-page "https://common-lisp.net/project/misc-extensions/")
7321 (license license:public-domain))))
7322
7323 (define-public cl-misc-extensions
7324 (sbcl-package->cl-source-package sbcl-misc-extensions))
7325
7326 (define-public ecl-misc-extensions
7327 (sbcl-package->ecl-package sbcl-misc-extensions))
7328
7329 (define-public sbcl-mt19937
7330 (package
7331 (name "sbcl-mt19937")
7332 (version "1.1")
7333 (source
7334 (origin
7335 (method url-fetch)
7336 (uri (string-append "https://common-lisp.net/project/asdf-packaging/"
7337 "mt19937-latest.tar.gz"))
7338 (sha256
7339 (base32
7340 "1iw636b0iw5ygkv02y8i41lh7xj0acglv0hg5agryn0zzi2nf1xv"))))
7341 (build-system asdf-build-system/sbcl)
7342 (synopsis "Mersenne Twister pseudo-random number generator")
7343 (description
7344 "MT19937 is a portable Mersenne Twister pseudo-random number generator
7345 for Common Lisp.")
7346 (home-page "https://www.cliki.net/mt19937")
7347 (license license:public-domain)))
7348
7349 (define-public cl-mt19937
7350 (sbcl-package->cl-source-package sbcl-mt19937))
7351
7352 (define-public ecl-mt19937
7353 (sbcl-package->ecl-package sbcl-mt19937))
7354
7355 (define-public sbcl-fset
7356 (let ((commit "6d2f9ded8934d2b42f2571a0ba5bda091037d852")
7357 (revision "1"))
7358 (package
7359 (name "sbcl-fset")
7360 (version (git-version "1.3.2" revision commit))
7361 (source
7362 (origin
7363 (method git-fetch)
7364 (uri (git-reference
7365 (url "https://github.com/slburson/fset")
7366 (commit commit)))
7367 (file-name (git-file-name name version))
7368 (sha256
7369 (base32
7370 "127acblwrbqicx47h6sgvknz1cqyfn8p4xkhkn1m7hxh8w5gk1zy"))
7371 (snippet '(begin
7372 ;; Remove obsolete copy of system definition.
7373 (delete-file "Code/fset.asd")
7374 #t))))
7375 (build-system asdf-build-system/sbcl)
7376 (inputs
7377 `(("misc-extensions" ,sbcl-misc-extensions)
7378 ("mt19937" ,sbcl-mt19937)
7379 ("named-readtables" ,sbcl-named-readtables)))
7380 (synopsis "Functional set-theoretic collections library")
7381 (description
7382 "FSet is a functional set-theoretic collections library for Common Lisp.
7383 Functional means that all update operations return a new collection rather than
7384 modifying an existing one in place. Set-theoretic means that collections may
7385 be nested arbitrarily with no additional programmer effort; for instance, sets
7386 may contain sets, maps may be keyed by sets, etc.")
7387 (home-page "https://common-lisp.net/project/fset/Site/index.html")
7388 (license license:llgpl))))
7389
7390 (define-public cl-fset
7391 (sbcl-package->cl-source-package sbcl-fset))
7392
7393 (define-public ecl-fset
7394 (package
7395 (inherit (sbcl-package->ecl-package sbcl-fset))
7396 (arguments
7397 ;; Tests fails on ECL with "The function FSET::MAKE-CHAR is undefined".
7398 '(#:tests? #f))))
7399
7400 (define-public sbcl-cl-cont
7401 (let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a")
7402 (revision "1"))
7403 (package
7404 (name "sbcl-cl-cont")
7405 (version (git-version "0.3.8" revision commit))
7406 (source
7407 (origin
7408 (method git-fetch)
7409 (uri (git-reference
7410 (url "https://gitlab.common-lisp.net/cl-cont/cl-cont.git")
7411 (commit commit)))
7412 (file-name (git-file-name name version))
7413 (sha256
7414 (base32
7415 "1zf8zvb0i6jm3hhfks4w74hibm6avgc6f9s1qwgjrn2bcik8lrvz"))))
7416 (build-system asdf-build-system/sbcl)
7417 (inputs
7418 `(("alexandria" ,sbcl-alexandria)
7419 ("closer-mop" ,sbcl-closer-mop)))
7420 (native-inputs
7421 `(("rt" ,sbcl-rt)))
7422 (synopsis "Delimited continuations for Common Lisp")
7423 (description
7424 "This is a library that implements delimited continuations by
7425 transforming Common Lisp code to continuation passing style.")
7426 (home-page "https://common-lisp.net/project/cl-cont/")
7427 (license license:llgpl))))
7428
7429 (define-public cl-cont
7430 (sbcl-package->cl-source-package sbcl-cl-cont))
7431
7432 (define-public ecl-cl-cont
7433 (sbcl-package->ecl-package sbcl-cl-cont))
7434
7435 (define-public sbcl-cl-coroutine
7436 (let ((commit "de098f8d5debd8b14ef6864b5bdcbbf5ddbcfd72")
7437 (revision "1"))
7438 (package
7439 (name "sbcl-cl-coroutine")
7440 (version (git-version "0.1" revision commit))
7441 (source
7442 (origin
7443 (method git-fetch)
7444 (uri (git-reference
7445 (url "https://github.com/takagi/cl-coroutine")
7446 (commit commit)))
7447 (file-name (git-file-name name version))
7448 (sha256
7449 (base32
7450 "1cqdhdjxffgfs116l1swjlsmcbly0xgcgrckvaajd566idj9yj4l"))))
7451 (build-system asdf-build-system/sbcl)
7452 (inputs
7453 `(("alexandria" ,sbcl-alexandria)
7454 ("cl-cont" ,sbcl-cl-cont)))
7455 (native-inputs
7456 `(("prove" ,sbcl-prove)))
7457 (arguments
7458 `(;; TODO: Fix the tests. They fail with:
7459 ;; "Component CL-COROUTINE-ASD::CL-COROUTINE-TEST not found"
7460 #:tests? #f
7461 #:phases
7462 (modify-phases %standard-phases
7463 (add-after 'unpack 'fix-tests
7464 (lambda _
7465 (substitute* "cl-coroutine-test.asd"
7466 (("cl-test-more")
7467 "prove"))
7468 #t)))))
7469 (synopsis "Coroutine library for Common Lisp")
7470 (description
7471 "This is a coroutine library for Common Lisp implemented using the
7472 continuations of the @code{cl-cont} library.")
7473 (home-page "https://github.com/takagi/cl-coroutine")
7474 (license license:llgpl))))
7475
7476 (define-public cl-coroutine
7477 (sbcl-package->cl-source-package sbcl-cl-coroutine))
7478
7479 (define-public ecl-cl-coroutine
7480 (sbcl-package->ecl-package sbcl-cl-coroutine))
7481
7482 (define-public sbcl-vom
7483 (let ((commit "1aeafeb5b74c53741b79497e0ef4acf85c92ff24")
7484 (revision "1"))
7485 (package
7486 (name "sbcl-vom")
7487 (version (git-version "0.1.4" revision commit))
7488 (source
7489 (origin
7490 (method git-fetch)
7491 (uri (git-reference
7492 (url "https://github.com/orthecreedence/vom")
7493 (commit commit)))
7494 (file-name (git-file-name name version))
7495 (sha256
7496 (base32
7497 "0536kppj76ax4lrxhv42npkfjsmx45km2g439vf9jmw3apinz9cy"))))
7498 (build-system asdf-build-system/sbcl)
7499 (synopsis "Tiny logging utility for Common Lisp")
7500 (description
7501 "Vom is a logging library for Common Lisp. It's goal is to be useful
7502 and small. It does not provide a lot of features as other loggers do, but
7503 has a small codebase that's easy to understand and use.")
7504 (home-page "https://github.com/orthecreedence/vom")
7505 (license license:expat))))
7506
7507 (define-public cl-vom
7508 (sbcl-package->cl-source-package sbcl-vom))
7509
7510 (define-public ecl-vom
7511 (sbcl-package->ecl-package sbcl-vom))
7512
7513 (define-public sbcl-cl-libuv
7514 (let ((commit "32100c023c518038d0670a103eaa4d50dd785d29")
7515 (revision "1"))
7516 (package
7517 (name "sbcl-cl-libuv")
7518 (version (git-version "0.1.6" revision commit))
7519 (source
7520 (origin
7521 (method git-fetch)
7522 (uri (git-reference
7523 (url "https://github.com/orthecreedence/cl-libuv")
7524 (commit commit)))
7525 (file-name (git-file-name name version))
7526 (sha256
7527 (base32
7528 "1kwix4si8a8hza34ab2k7whrh7z0yrmx39v2wc3qblv9m244jkh1"))))
7529 (build-system asdf-build-system/sbcl)
7530 (inputs
7531 `(("alexandria" ,sbcl-alexandria)
7532 ("cffi" ,sbcl-cffi)
7533 ("libuv" ,libuv)))
7534 (arguments
7535 `(#:phases
7536 (modify-phases %standard-phases
7537 (add-after 'unpack 'fix-paths
7538 (lambda* (#:key inputs #:allow-other-keys)
7539 (substitute* "lib.lisp"
7540 (("/usr/lib/libuv.so")
7541 (string-append (assoc-ref inputs "libuv")
7542 "/lib/libuv.so")))
7543 #t))
7544 (add-after 'fix-paths 'fix-system-definition
7545 (lambda _
7546 (substitute* "cl-libuv.asd"
7547 (("#:cffi #:alexandria")
7548 "#:cffi #:cffi-grovel #:alexandria"))
7549 #t)))))
7550 (synopsis "Common Lisp bindings to libuv")
7551 (description
7552 "This library provides low-level libuv bindings for Common Lisp.")
7553 (home-page "https://github.com/orthecreedence/cl-libuv")
7554 (license license:expat))))
7555
7556 (define-public cl-libuv
7557 (sbcl-package->cl-source-package sbcl-cl-libuv))
7558
7559 (define-public ecl-cl-libuv
7560 (sbcl-package->ecl-package sbcl-cl-libuv))
7561
7562 (define-public sbcl-cl-async
7563 (let ((commit "f6423e44404a44434d803605e0d2e17199158e28")
7564 (revision "1"))
7565 (package
7566 (name "sbcl-cl-async")
7567 (version (git-version "0.6.1" revision commit))
7568 (source
7569 (origin
7570 (method git-fetch)
7571 (uri (git-reference
7572 (url "https://github.com/orthecreedence/cl-async")
7573 (commit commit)))
7574 (file-name (git-file-name name version))
7575 (sha256
7576 (base32
7577 "11xi9dxb8mjgwzrkj88i0xkgk26z9w9ddxzbv6xsvfc1d4x5cf4x"))))
7578 (build-system asdf-build-system/sbcl)
7579 (inputs
7580 `(("babel" ,sbcl-babel)
7581 ("bordeaux-threads" ,sbcl-bordeaux-threads)
7582 ("cffi" ,sbcl-cffi)
7583 ("cl-libuv" ,sbcl-cl-libuv)
7584 ("cl-ppcre" ,sbcl-cl-ppcre)
7585 ("fast-io" ,sbcl-fast-io)
7586 ("openssl" ,openssl)
7587 ("static-vectors" ,sbcl-static-vectors)
7588 ("trivial-features" ,sbcl-trivial-features)
7589 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
7590 ("vom" ,sbcl-vom)))
7591 (arguments
7592 `(#:asd-systems '("cl-async"
7593 "cl-async-repl"
7594 "cl-async-ssl")
7595 #:phases
7596 (modify-phases %standard-phases
7597 (add-after 'unpack 'fix-paths
7598 (lambda* (#:key inputs #:allow-other-keys)
7599 (substitute* "src/ssl/package.lisp"
7600 (("libcrypto\\.so")
7601 (string-append (assoc-ref inputs "openssl")
7602 "/lib/libcrypto.so"))
7603 (("libssl\\.so")
7604 (string-append (assoc-ref inputs "openssl")
7605 "/lib/libssl.so")))
7606 #t)))))
7607 (synopsis "Asynchronous operations for Common Lisp")
7608 (description
7609 "Cl-async is a library for general purpose, non-blocking programming in
7610 Common Lisp. It uses the libuv library as backend.")
7611 (home-page "https://orthecreedence.github.io/cl-async/")
7612 (license license:expat))))
7613
7614 (define-public cl-async
7615 (sbcl-package->cl-source-package sbcl-cl-async))
7616
7617 (define-public ecl-cl-async
7618 (sbcl-package->ecl-package sbcl-cl-async))
7619
7620 (define-public sbcl-blackbird
7621 (let ((commit "d361f81c1411dec07f6c2dcb11c78f7aea9aaca8")
7622 (revision "1"))
7623 (package
7624 (name "sbcl-blackbird")
7625 (version (git-version "0.5.2" revision commit))
7626 (source
7627 (origin
7628 (method git-fetch)
7629 (uri (git-reference
7630 (url "https://github.com/orthecreedence/blackbird")
7631 (commit commit)))
7632 (file-name (git-file-name name version))
7633 (sha256
7634 (base32
7635 "0xfds5yaya64arzr7w1x38karyz11swzbhxx1afldpradj9dh19c"))))
7636 (build-system asdf-build-system/sbcl)
7637 (inputs
7638 `(("vom" ,sbcl-vom)))
7639 (native-inputs
7640 `(("cl-async" ,sbcl-cl-async)
7641 ("fiveam" ,sbcl-fiveam)))
7642 (synopsis "Promise implementation for Common Lisp")
7643 (description
7644 "This is a standalone promise implementation for Common Lisp. It is
7645 the successor to the now-deprecated cl-async-future project.")
7646 (home-page "https://orthecreedence.github.io/blackbird/")
7647 (license license:expat))))
7648
7649 (define-public cl-blackbird
7650 (sbcl-package->cl-source-package sbcl-blackbird))
7651
7652 (define-public ecl-blackbird
7653 (sbcl-package->ecl-package sbcl-blackbird))
7654
7655 (define-public sbcl-cl-async-future
7656 (let ((commit "ee36c22a69a9516407458d2ed8b475f1fc473959")
7657 (revision "1"))
7658 (package
7659 (name "sbcl-cl-async-future")
7660 (version (git-version "0.4.4.1" revision commit))
7661 (source
7662 (origin
7663 (method git-fetch)
7664 (uri (git-reference
7665 (url "https://github.com/orthecreedence/cl-async-future")
7666 (commit commit)))
7667 (file-name (git-file-name name version))
7668 (sha256
7669 (base32
7670 "0z0sc7qlzzxk99f4l26zp6rai9kv0kj0f599sxai5s44p17zbbvh"))))
7671 (build-system asdf-build-system/sbcl)
7672 (inputs
7673 `(("blackbird" ,sbcl-blackbird)))
7674 (native-inputs
7675 `(("cl-async" ,sbcl-cl-async)
7676 ("eos" ,sbcl-eos)))
7677 (synopsis "Futures implementation for Common Lisp")
7678 (description
7679 "This is futures implementation for Common Lisp. It plugs in nicely
7680 to cl-async.")
7681 (home-page "https://orthecreedence.github.io/cl-async/future")
7682 (license license:expat))))
7683
7684 (define-public cl-async-future
7685 (sbcl-package->cl-source-package sbcl-cl-async-future))
7686
7687 (define-public ecl-cl-async-future
7688 (sbcl-package->ecl-package sbcl-cl-async-future))
7689
7690 (define-public sbcl-green-threads
7691 (let ((commit "fff5ebecb441a37e5c511773716aafd84a3c5840")
7692 (revision "1"))
7693 (package
7694 (name "sbcl-green-threads")
7695 (version (git-version "0.3" revision commit))
7696 (source
7697 (origin
7698 (method git-fetch)
7699 (uri (git-reference
7700 (url "https://github.com/thezerobit/green-threads")
7701 (commit commit)))
7702 (file-name (git-file-name name version))
7703 (sha256
7704 (base32
7705 "1czw7nr0dwfps76h8hjvglk1wdh53yqbfbvv30whwbgqx33iippz"))))
7706 (build-system asdf-build-system/sbcl)
7707 (inputs
7708 `(("cl-async-future" ,sbcl-cl-async-future)
7709 ("cl-cont" ,sbcl-cl-cont)))
7710 (native-inputs
7711 `(("prove" ,sbcl-prove)))
7712 (arguments
7713 `(;; TODO: Fix the tests. They fail with:
7714 ;; "The function BLACKBIRD::PROMISE-VALUES is undefined"
7715 #:tests? #f
7716 #:phases
7717 (modify-phases %standard-phases
7718 (add-after 'unpack 'fix-tests
7719 (lambda _
7720 (substitute* "green-threads-test.asd"
7721 (("cl-test-more")
7722 "prove"))
7723 #t)))))
7724 (synopsis "Cooperative multitasking library for Common Lisp")
7725 (description
7726 "This library allows for cooperative multitasking with help of cl-cont
7727 for continuations. It tries to mimic the API of bordeaux-threads as much as
7728 possible.")
7729 (home-page "https://github.com/thezerobit/green-threads")
7730 (license license:bsd-3))))
7731
7732 (define-public cl-green-threads
7733 (sbcl-package->cl-source-package sbcl-green-threads))
7734
7735 (define-public ecl-green-threads
7736 (sbcl-package->ecl-package sbcl-green-threads))
7737
7738 (define-public sbcl-cl-base32
7739 (let ((commit "8cdee06fab397f7b0a19583b57e7f0c98405be85")
7740 (revision "1"))
7741 (package
7742 (name "sbcl-cl-base32")
7743 (version (git-version "0.1" revision commit))
7744 (source
7745 (origin
7746 (method git-fetch)
7747 (uri (git-reference
7748 (url "https://github.com/hargettp/cl-base32")
7749 (commit commit)))
7750 (file-name (git-file-name name version))
7751 (sha256
7752 (base32 "17jrng8jb05d64ggyd11hp308c2fl5drvf9g175blgrkkl8l4mf8"))))
7753 (build-system asdf-build-system/sbcl)
7754 (native-inputs
7755 `(("lisp-unit" ,sbcl-lisp-unit)))
7756 (synopsis "Common Lisp library for base32 encoding and decoding")
7757 (description
7758 "This package provides functions for base32 encoding and decoding as
7759 defined in RFC4648.")
7760 (home-page "https://github.com/hargettp/cl-base32")
7761 (license license:expat))))
7762
7763 (define-public cl-base32
7764 (sbcl-package->cl-source-package sbcl-cl-base32))
7765
7766 (define-public ecl-cl-base32
7767 (sbcl-package->ecl-package sbcl-cl-base32))
7768
7769 (define-public sbcl-cl-z85
7770 (let ((commit "85b3951a9cfa2603acb6aee15567684f9a108098")
7771 (revision "1"))
7772 (package
7773 (name "sbcl-cl-z85")
7774 (version (git-version "1.0" revision commit))
7775 (source
7776 (origin
7777 (method git-fetch)
7778 (uri (git-reference
7779 (url "https://github.com/glv2/cl-z85")
7780 (commit commit)))
7781 (file-name (git-file-name name version))
7782 (sha256
7783 (base32 "0r27pidjaxbm7k1rr90nnajwl5xm2kp65g1fv0fva17lzy45z1mp"))))
7784 (build-system asdf-build-system/sbcl)
7785 (native-inputs
7786 `(("cl-octet-streams" ,sbcl-cl-octet-streams)
7787 ("fiveam" ,sbcl-fiveam)))
7788 (synopsis "Common Lisp library for Z85 encoding and decoding")
7789 (description
7790 "This package provides functions to encode or decode byte vectors or
7791 byte streams using the Z85 format, which is a base-85 encoding used by
7792 ZeroMQ.")
7793 (home-page "https://github.com/glv2/cl-z85")
7794 (license license:gpl3+))))
7795
7796 (define-public cl-z85
7797 (sbcl-package->cl-source-package sbcl-cl-z85))
7798
7799 (define-public ecl-cl-z85
7800 (sbcl-package->ecl-package sbcl-cl-z85))
7801
7802 (define-public sbcl-ltk
7803 (package
7804 (name "sbcl-ltk")
7805 (version "0.992")
7806 (source
7807 (origin
7808 (method git-fetch)
7809 (uri (git-reference
7810 (url "https://github.com/herth/ltk")
7811 (commit version)))
7812 (file-name (git-file-name name version))
7813 (sha256
7814 (base32 "13l2q4mskzilya9xh5wy2xvy30lwn104bd8wrq6ifds56r82iy3x"))))
7815 (build-system asdf-build-system/sbcl)
7816 (inputs
7817 `(("imagemagick" ,imagemagick)
7818 ("tk" ,tk)))
7819 (arguments
7820 `(#:asd-systems '("ltk"
7821 "ltk-mw"
7822 "ltk-remote")
7823 #:tests? #f
7824 #:phases
7825 (modify-phases %standard-phases
7826 (add-after 'unpack 'fix-paths
7827 (lambda* (#:key inputs #:allow-other-keys)
7828 (substitute* "ltk/ltk.lisp"
7829 (("#-freebsd \"wish\"")
7830 (string-append "#-freebsd \""
7831 (assoc-ref inputs "tk")
7832 "/bin/wish\""))
7833 (("do-execute \"convert\"")
7834 (string-append "do-execute \""
7835 (assoc-ref inputs "imagemagick")
7836 "/bin/convert\"")))
7837 #t))
7838 (add-after 'unpack 'fix-build
7839 (lambda _
7840 (substitute* "ltk/ltk-remote.lisp"
7841 (("\\(:export")
7842 "(:shadow #:raise) (:export"))
7843 #t)))))
7844 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
7845 (description
7846 "LTK is a Common Lisp binding for the Tk graphics toolkit. It is written
7847 in pure Common Lisp and does not require any Tk knowledge for its usage.")
7848 (home-page "http://www.peter-herth.de/ltk/")
7849 (license license:llgpl)))
7850
7851 (define-public cl-ltk
7852 (sbcl-package->cl-source-package sbcl-ltk))
7853
7854 (define-public ecl-ltk
7855 (sbcl-package->ecl-package sbcl-ltk))
7856
7857 (define-public sbcl-cl-lex
7858 (let ((commit "f2dbbe25ef553005fb402d9a6203180c3fa1093b")
7859 (revision "1"))
7860 (package
7861 (name "sbcl-cl-lex")
7862 (version (git-version "1.1.3" revision commit))
7863 (source
7864 (origin
7865 (method git-fetch)
7866 (uri (git-reference
7867 (url "https://github.com/djr7C4/cl-lex")
7868 (commit commit)))
7869 (file-name (git-file-name name version))
7870 (sha256
7871 (base32 "1kg50f76bfpfxcv4dfivq1n9a0xlsra2ajb0vd68lxwgbidgyc2y"))))
7872 (build-system asdf-build-system/sbcl)
7873 (inputs
7874 `(("cl-ppcre" ,sbcl-cl-ppcre)))
7875 (synopsis "Common Lisp macros for generating lexical analyzers")
7876 (description
7877 "This is a Common Lisp library providing a set of macros for generating
7878 lexical analyzers automatically. The lexers generated using @code{cl-lex} can
7879 be used with @code{cl-yacc}.")
7880 (home-page "https://github.com/djr7C4/cl-lex")
7881 (license license:gpl3))))
7882
7883 (define-public cl-lex
7884 (sbcl-package->cl-source-package sbcl-cl-lex))
7885
7886 (define-public ecl-cl-lex
7887 (sbcl-package->ecl-package sbcl-cl-lex))
7888
7889 (define-public sbcl-clunit2
7890 (let ((commit "5e28343734eb9b7aee39306a614af92c1062d50b")
7891 (revision "1"))
7892 (package
7893 (name "sbcl-clunit2")
7894 (version (git-version "0.2.4" revision commit))
7895 (source
7896 (origin
7897 (method git-fetch)
7898 (uri (git-reference
7899 (url "https://notabug.org/cage/clunit2.git")
7900 (commit commit)))
7901 (file-name (git-file-name name version))
7902 (sha256
7903 (base32 "1ngiapfki6nm8a555mzhb5p7ch79i3w665za5bmb5j7q34fy80vw"))))
7904 (build-system asdf-build-system/sbcl)
7905 (synopsis "Unit testing framework for Common Lisp")
7906 (description
7907 "CLUnit is a Common Lisp unit testing framework. It is designed to be
7908 easy to use so that you can quickly start testing.")
7909 (home-page "https://notabug.org/cage/clunit2")
7910 (license license:expat))))
7911
7912 (define-public cl-clunit2
7913 (sbcl-package->cl-source-package sbcl-clunit2))
7914
7915 (define-public ecl-clunit2
7916 (sbcl-package->ecl-package sbcl-clunit2))
7917
7918 (define-public sbcl-cl-colors2
7919 (let ((commit "795aedee593b095fecde574bd999b520dd03ed24")
7920 (revision "1"))
7921 (package
7922 (name "sbcl-cl-colors2")
7923 (version (git-version "0.2.1" revision commit))
7924 (source
7925 (origin
7926 (method git-fetch)
7927 (uri (git-reference
7928 (url "https://notabug.org/cage/cl-colors2.git")
7929 (commit commit)))
7930 (file-name (git-file-name name version))
7931 (sha256
7932 (base32 "0hlyf4h5chkjdp9armla5w4kw5acikk159sym7y8c4jbjp9x47ih"))))
7933 (build-system asdf-build-system/sbcl)
7934 (native-inputs
7935 `(("clunit2" ,sbcl-clunit2)))
7936 (inputs
7937 `(("alexandria" ,sbcl-alexandria)
7938 ("cl-ppcre" ,sbcl-cl-ppcre)))
7939 (synopsis "Color library for Common Lisp")
7940 (description
7941 "This is a very simple color library for Common Lisp, providing:
7942
7943 @itemize
7944 @item Types for representing colors in HSV and RGB spaces.
7945 @item Simple conversion functions between the above types (and also
7946 hexadecimal representation for RGB).
7947 @item Some predefined colors (currently X11 color names -- of course
7948 the library does not depend on X11).
7949 @end itemize\n")
7950 (home-page "https://notabug.org/cage/cl-colors2")
7951 (license license:boost1.0))))
7952
7953 (define-public cl-colors2
7954 (sbcl-package->cl-source-package sbcl-cl-colors2))
7955
7956 (define-public ecl-cl-colors2
7957 (sbcl-package->ecl-package sbcl-cl-colors2))
7958
7959 (define-public sbcl-cl-jpeg
7960 (let ((commit "ec557038128df6895fbfb743bfe8faf8ec2534af")
7961 (revision "1"))
7962 (package
7963 (name "sbcl-cl-jpeg")
7964 (version (git-version "2.8" revision commit))
7965 (source
7966 (origin
7967 (method git-fetch)
7968 (uri (git-reference
7969 (url "https://github.com/sharplispers/cl-jpeg")
7970 (commit commit)))
7971 (file-name (git-file-name name version))
7972 (sha256
7973 (base32 "1bkkiqz8fqldlj1wbmrccjsvxcwj98h6s4b6gslr3cg2wmdv5xmy"))))
7974 (build-system asdf-build-system/sbcl)
7975 (synopsis "JPEG image library for Common Lisp")
7976 (description
7977 "This is a baseline JPEG codec written in Common Lisp. It can be used
7978 for reading and writing JPEG image files.")
7979 (home-page "https://github.com/sharplispers/cl-jpeg")
7980 (license license:bsd-3))))
7981
7982 (define-public cl-jpeg
7983 (sbcl-package->cl-source-package sbcl-cl-jpeg))
7984
7985 (define-public ecl-cl-jpeg
7986 (sbcl-package->ecl-package sbcl-cl-jpeg))
7987
7988 (define-public sbcl-nodgui
7989 (let ((commit "bc59ed9b787dfc9e68ae3bd7f7e8507c5c619212")
7990 (revision "1"))
7991 (package
7992 (name "sbcl-nodgui")
7993 (version (git-version "0.0.5" revision commit))
7994 (source
7995 (origin
7996 (method git-fetch)
7997 (uri (git-reference
7998 (url "https://notabug.org/cage/nodgui.git")
7999 (commit commit)))
8000 (file-name (git-file-name name version))
8001 (sha256
8002 (base32 "0xx0dk54d882i598ydnwmy7mnfk0b7vib3ddsgpqxhjck1rwq8l8"))))
8003 (build-system asdf-build-system/sbcl)
8004 (inputs
8005 `(("alexandria" ,sbcl-alexandria)
8006 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8007 ("cl-colors2" ,sbcl-cl-colors2)
8008 ("cl-jpeg" ,sbcl-cl-jpeg)
8009 ("cl-lex" ,sbcl-cl-lex)
8010 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
8011 ("cl-unicode" ,sbcl-cl-unicode)
8012 ("cl-yacc" ,sbcl-cl-yacc)
8013 ("clunit2" ,sbcl-clunit2)
8014 ("named-readtables" ,sbcl-named-readtables)
8015 ("parse-number" ,sbcl-parse-number)
8016 ("tk" ,tk)))
8017 (arguments
8018 `(#:phases (modify-phases %standard-phases
8019 (add-after 'unpack 'fix-paths
8020 (lambda* (#:key inputs #:allow-other-keys)
8021 (substitute* "src/wish-communication.lisp"
8022 (("#-freebsd \"wish\"")
8023 (string-append "#-freebsd \""
8024 (assoc-ref inputs "tk")
8025 "/bin/wish\"")))
8026 #t)))))
8027 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
8028 (description
8029 "Nodgui (@emph{No Drama GUI}) is a Common Lisp binding for the Tk GUI
8030 toolkit. It also provides a few additional widgets more than the standard Tk
8031 ones.")
8032 (home-page "https://www.autistici.org/interzona/nodgui.html")
8033 (license license:llgpl))))
8034
8035 (define-public cl-nodgui
8036 (sbcl-package->cl-source-package sbcl-nodgui))
8037
8038 (define-public ecl-nodgui
8039 (sbcl-package->ecl-package sbcl-nodgui))
8040
8041 (define-public sbcl-salza2
8042 (package
8043 (name "sbcl-salza2")
8044 (version "2.0.9")
8045 (source
8046 (origin
8047 (method git-fetch)
8048 (uri (git-reference
8049 (url "https://github.com/xach/salza2")
8050 (commit (string-append "release-" version))))
8051 (file-name (git-file-name name version))
8052 (sha256
8053 (base32 "0p38rj4gq7j5k807php7hrz7l2zyyfshv8i9yms7i8lkgg3433ki"))))
8054 (build-system asdf-build-system/sbcl)
8055 (synopsis "Common Lisp library for zlib, deflate and gzip compression")
8056 (description
8057 "Salza2 is a Common Lisp library for creating compressed data in the zlib,
8058 deflate, or gzip data formats, described in RFC 1950, RFC 1951, and RFC 1952,
8059 respectively.")
8060 (home-page "https://www.xach.com/lisp/salza2/")
8061 (license license:bsd-2)))
8062
8063 (define-public cl-salza2
8064 (sbcl-package->cl-source-package sbcl-salza2))
8065
8066 (define-public ecl-salza2
8067 (sbcl-package->ecl-package sbcl-salza2))
8068
8069 (define-public sbcl-png-read
8070 (let ((commit "ec29f38a689972b9f1373f13bbbcd6b05deada88")
8071 (revision "1"))
8072 (package
8073 (name "sbcl-png-read")
8074 (version (git-version "0.3.1" revision commit))
8075 (source
8076 (origin
8077 (method git-fetch)
8078 (uri (git-reference
8079 (url "https://github.com/Ramarren/png-read")
8080 (commit commit)))
8081 (file-name (git-file-name name version))
8082 (sha256
8083 (base32 "0vyczbcwskrygrf1hgrsnk0jil8skmvf1kiaalw5jps4fjrfdkw0"))))
8084 (build-system asdf-build-system/sbcl)
8085 (inputs
8086 `(("babel" ,sbcl-babel)
8087 ("chipz" ,sbcl-chipz)
8088 ("iterate" ,sbcl-iterate)))
8089 (synopsis "PNG decoder for Common Lisp")
8090 (description "This is a Common Lisp library for reading PNG images.")
8091 (home-page "https://github.com/Ramarren/png-read")
8092 (license license:bsd-3))))
8093
8094 (define-public cl-png-read
8095 (sbcl-package->cl-source-package sbcl-png-read))
8096
8097 (define-public ecl-png-read
8098 (sbcl-package->ecl-package sbcl-png-read))
8099
8100 (define-public sbcl-zpng
8101 (package
8102 (name "sbcl-zpng")
8103 (version "1.2.2")
8104 (source
8105 (origin
8106 (method git-fetch)
8107 (uri (git-reference
8108 (url "https://github.com/xach/zpng")
8109 (commit (string-append "release-" version))))
8110 (file-name (git-file-name name version))
8111 (sha256
8112 (base32 "0b3ag3jhl3z7kdls3ahdsdxsfhhw5qrizk769984f4wkxhb69rcm"))))
8113 (build-system asdf-build-system/sbcl)
8114 (inputs
8115 `(("salza2" ,sbcl-salza2)))
8116 (synopsis "PNG encoder for Common Lisp")
8117 (description "This is a Common Lisp library for creating PNG images.")
8118 (home-page "https://www.xach.com/lisp/zpng/")
8119 (license license:bsd-2)))
8120
8121 (define-public cl-zpng
8122 (sbcl-package->cl-source-package sbcl-zpng))
8123
8124 (define-public ecl-zpng
8125 (sbcl-package->ecl-package sbcl-zpng))
8126
8127 (define-public sbcl-cl-qrencode
8128 (package
8129 (name "sbcl-cl-qrencode")
8130 (version "0.1.2")
8131 (source
8132 (origin
8133 (method git-fetch)
8134 (uri (git-reference
8135 (url "https://github.com/jnjcc/cl-qrencode")
8136 (commit (string-append "v" version))))
8137 (file-name (git-file-name name version))
8138 (sha256
8139 (base32 "1l5k131dchbf6cj8a8xqa731790p01p3qa1kdy2wa9dawy3ymkxr"))))
8140 (build-system asdf-build-system/sbcl)
8141 (native-inputs
8142 `(("lisp-unit" ,sbcl-lisp-unit)))
8143 (inputs
8144 `(("zpng" ,sbcl-zpng)))
8145 (synopsis "QR code encoder for Common Lisp")
8146 (description
8147 "This Common Lisp library provides function to make QR codes and to save
8148 them as PNG files.")
8149 (home-page "https://github.com/jnjcc/cl-qrencode")
8150 (license license:gpl2+)))
8151
8152 (define-public cl-qrencode
8153 (sbcl-package->cl-source-package sbcl-cl-qrencode))
8154
8155 (define-public ecl-cl-qrencode
8156 (sbcl-package->ecl-package sbcl-cl-qrencode))
8157
8158 (define-public sbcl-hdf5-cffi
8159 (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c")
8160 (revision "1"))
8161 (package
8162 (name "sbcl-hdf5-cffi")
8163 (version (git-version "1.8.18" revision commit))
8164 (source
8165 (origin
8166 (method git-fetch)
8167 (uri (git-reference
8168 (url "https://github.com/hdfgroup/hdf5-cffi")
8169 (commit commit)))
8170 (file-name (git-file-name name version))
8171 (sha256
8172 (base32
8173 "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf"))))
8174 (build-system asdf-build-system/sbcl)
8175 (synopsis "Common Lisp bindings for the HDF5 library")
8176 (description
8177 "@code{hdf5-cffi} is a CFFI wrapper for the HDF5 library.")
8178 (home-page "https://github.com/hdfgroup/hdf5-cffi")
8179 (license (license:non-copyleft
8180 (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/"
8181 commit
8182 "/LICENSE")))
8183 (inputs
8184 `(("cffi" ,sbcl-cffi)
8185 ("hdf5" ,hdf5-1.10)))
8186 (native-inputs
8187 `(("fiveam" ,sbcl-fiveam)))
8188 (arguments
8189 `(#:test-asd-file "hdf5-cffi.test.asd"
8190 ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd,
8191 ;; I don't know if there is a way to tell asdf-build-system to load
8192 ;; an additional system first, so tests are disabled.
8193 #:tests? #f
8194 #:phases
8195 (modify-phases %standard-phases
8196 (add-after 'unpack 'fix-paths
8197 (lambda* (#:key inputs #:allow-other-keys)
8198 (substitute* "src/library.lisp"
8199 (("libhdf5.so")
8200 (string-append
8201 (assoc-ref inputs "hdf5")
8202 "/lib/libhdf5.so")))))
8203 (add-after 'unpack 'fix-dependencies
8204 (lambda* (#:key inputs #:allow-other-keys)
8205 (substitute* "hdf5-cffi.asd"
8206 ((":depends-on \\(:cffi\\)")
8207 ":depends-on (:cffi :cffi-grovel)"))
8208 (substitute* "hdf5-cffi.test.asd"
8209 ((":depends-on \\(:cffi :hdf5-cffi")
8210 ":depends-on (:cffi :cffi-grovel :hdf5-cffi"))))))))))
8211
8212 (define-public cl-hdf5-cffi
8213 (sbcl-package->cl-source-package sbcl-hdf5-cffi))
8214
8215 (define-public ecl-hdf5-cffi
8216 (sbcl-package->ecl-package sbcl-hdf5-cffi))
8217
8218 (define-public sbcl-cl-randist
8219 (package
8220 (name "sbcl-cl-randist")
8221 (version "0.4.2")
8222 (source
8223 (origin
8224 (method git-fetch)
8225 (uri (git-reference
8226 (url "https://github.com/lvaruzza/cl-randist")
8227 (commit "f088a54b540a7adefab7c04094a6103f9edda3d0")))
8228 (file-name (git-file-name name version))
8229 (sha256
8230 (base32
8231 "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g"))))
8232 (build-system asdf-build-system/sbcl)
8233 (synopsis "Random distributions for Common Lisp")
8234 (description
8235 "Manual translation from C to Common Lisp of some random number
8236 generation functions from the GSL library.")
8237 (home-page "https://github.com/lvaruzza/cl-randist")
8238 (license license:bsd-2)
8239 (arguments
8240 `(#:tests? #f))))
8241
8242 (define-public cl-randist
8243 (sbcl-package->cl-source-package sbcl-cl-randist))
8244
8245 (define-public ecl-cl-randist
8246 (sbcl-package->ecl-package sbcl-cl-randist))
8247
8248 (define-public sbcl-float-features
8249 (package
8250 (name "sbcl-float-features")
8251 (version "1.0.0")
8252 (source
8253 (origin
8254 (method git-fetch)
8255 (uri (git-reference
8256 (url "https://github.com/Shinmera/float-features")
8257 (commit "d3ef60181635b0849aa28cfc238053b7ca4644b0")))
8258 (file-name (git-file-name name version))
8259 (sha256
8260 (base32
8261 "0yj419k7n59x6rh3grwr6frgwwyria2il6f7wxpfazm8cskv4lzr"))))
8262 (build-system asdf-build-system/sbcl)
8263 (synopsis "Common Lisp IEEE float portability library")
8264 (description
8265 "Portability library for IEEE float features that are not
8266 covered by the Common Lisp standard.")
8267 (home-page "https://github.com/Shinmera/float-features")
8268 (license license:zlib)
8269 (inputs
8270 `(("documentation-utils" ,sbcl-documentation-utils)))
8271 (arguments
8272 `(#:tests? #f))))
8273
8274 (define-public cl-float-features
8275 (sbcl-package->cl-source-package sbcl-float-features))
8276
8277 (define-public ecl-float-features
8278 (sbcl-package->ecl-package sbcl-float-features))
8279
8280 (define-public sbcl-function-cache
8281 (package
8282 (name "sbcl-function-cache")
8283 (version "1.0.3")
8284 (source
8285 (origin
8286 (method git-fetch)
8287 (uri (git-reference
8288 (url "https://github.com/AccelerationNet/function-cache")
8289 (commit "6a5ada401e57da2c8abf046f582029926e61fce8")))
8290 (file-name (git-file-name name version))
8291 (sha256
8292 (base32
8293 "000vmd3f5rx5hs9nvphfric0gkzaadns31c6mxaslpv0k7pkrmc6"))))
8294 (build-system asdf-build-system/sbcl)
8295 (synopsis "Function caching / memoization library for Common Lisp")
8296 (description
8297 "A common lisp library that provides extensible function result
8298 caching based on arguments (an expanded form of memoization).")
8299 (home-page "https://github.com/AccelerationNet/function-cache")
8300 (license
8301 (license:non-copyleft
8302 "https://github.com/AccelerationNet/function-cache/blob/master/README.md"))
8303 (inputs
8304 `(("alexandria" ,sbcl-alexandria)
8305 ("cl-interpol" ,sbcl-cl-interpol)
8306 ("iterate" ,sbcl-iterate)
8307 ("symbol-munger" ,sbcl-symbol-munger)
8308 ("closer-mop" ,sbcl-closer-mop)))
8309 (arguments
8310 `(#:tests? #f))))
8311
8312 (define-public cl-function-cache
8313 (sbcl-package->cl-source-package sbcl-function-cache))
8314
8315 (define-public ecl-function-cache
8316 (sbcl-package->ecl-package sbcl-function-cache))
8317
8318 (define-public sbcl-type-r
8319 (let ((commit "83c89e38f2f7a7b16f1012777ecaf878cfa6a267")
8320 (revision "1"))
8321 (package
8322 (name "sbcl-type-r")
8323 (version (git-version "0.0.0" revision commit))
8324 (source
8325 (origin
8326 (method git-fetch)
8327 (uri (git-reference
8328 (url "https://github.com/guicho271828/type-r")
8329 (commit commit)))
8330 (file-name (git-file-name name version))
8331 (sha256
8332 (base32
8333 "1arsxc2539rg8vbrdirz4xxj1b06mc6g6rqndz7a02g127qvk2sm"))))
8334 (build-system asdf-build-system/sbcl)
8335 (synopsis "Parser interface for Common Lisp built-in compound types")
8336 (description
8337 "Collections of accessor functions and patterns to access
8338 the elements in compound type specifier, e.g. @code{dimensions} in
8339 @code{(array element-type dimensions)}")
8340 (home-page "https://github.com/guicho271828/type-r")
8341 (license license:lgpl3+)
8342 (inputs
8343 `(("trivia" ,sbcl-trivia)
8344 ("alexandria" ,sbcl-alexandria)))
8345 (native-inputs
8346 `(("fiveam" ,sbcl-fiveam)))
8347 (arguments
8348 `(#:test-asd-file "type-r.test.asd")))))
8349
8350 (define-public cl-type-r
8351 (sbcl-package->cl-source-package sbcl-type-r))
8352
8353 (define-public ecl-type-r
8354 (sbcl-package->ecl-package sbcl-type-r))
8355
8356 (define-public sbcl-trivialib-type-unify
8357 (let ((commit "62492ebf04db567dcf435ae84c50b7b8202ecf99")
8358 (revision "1"))
8359 (package
8360 (name "sbcl-trivialib-type-unify")
8361 (version (git-version "0.1" revision commit))
8362 (source
8363 (origin
8364 (method git-fetch)
8365 (uri (git-reference
8366 (url "https://github.com/guicho271828/trivialib.type-unify")
8367 (commit commit)))
8368 (file-name (git-file-name name version))
8369 (sha256
8370 (base32
8371 "1bkyfzbwv75p50zp8n1n9rh2r29pw3vgz91gmn2gzzkyq3khj1vh"))))
8372 (build-system asdf-build-system/sbcl)
8373 (synopsis "Common Lisp type unification")
8374 (description
8375 "Unifies a parametrized type specifier against an actual type specifier.
8376 Importantly, it handles complicated array-subtypes and number-related types
8377 correctly.")
8378 (home-page "https://github.com/guicho271828/trivialib.type-unify")
8379 (license license:lgpl3+)
8380 (inputs
8381 `(("alexandria" ,sbcl-alexandria)
8382 ("trivia" ,sbcl-trivia)
8383 ("introspect-environment" ,sbcl-introspect-environment)
8384 ("type-r" ,sbcl-type-r)))
8385 (native-inputs
8386 `(("fiveam" ,sbcl-fiveam)))
8387 (arguments
8388 `(#:asd-systems '("trivialib.type-unify")
8389 #:test-asd-file "trivialib.type-unify.test.asd")))))
8390
8391 (define-public cl-trivialib-type-unify
8392 (sbcl-package->cl-source-package sbcl-trivialib-type-unify))
8393
8394 (define-public ecl-trivialib-type-unify
8395 (sbcl-package->ecl-package sbcl-trivialib-type-unify))
8396
8397 (define-public sbcl-specialized-function
8398 (let ((commit "dee56d2d2b6ecd10500ad291c56217698604ec35")
8399 (revision "2"))
8400 (package
8401 (name "sbcl-specialized-function")
8402 (version (git-version "0.0.0" revision commit))
8403 (source
8404 (origin
8405 (method git-fetch)
8406 (uri (git-reference
8407 (url "https://github.com/numcl/specialized-function")
8408 (commit commit)))
8409 (file-name (git-file-name name version))
8410 (sha256
8411 (base32 "1mcc7mmpbnmgnr1cl2jl5r1ai54gn7fbisv2c14sh9za5w4sib82"))))
8412 (build-system asdf-build-system/sbcl)
8413 (synopsis "Julia-like dispatch for Common Lisp")
8414 (description
8415 "This library is part of NUMCL. It provides a macro
8416 @code{SPECIALIZED} that performs a Julia-like dispatch on the arguments,
8417 lazily compiling a type-specific version of the function from the same
8418 code. The main target of this macro is speed.")
8419 (home-page "https://github.com/numcl/specialized-function")
8420 (license license:lgpl3+)
8421 (inputs
8422 `(("trivia" ,sbcl-trivia)
8423 ("alexandria" ,sbcl-alexandria)
8424 ("iterate" ,sbcl-iterate)
8425 ("lisp-namespace" ,sbcl-lisp-namespace)
8426 ("type-r" ,sbcl-type-r)
8427 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
8428 (native-inputs
8429 `(("fiveam" ,sbcl-fiveam)))
8430 (arguments
8431 `(#:asd-files '("specialized-function.asd")
8432 #:test-asd-file "specialized-function.test.asd"
8433 ;; Tests fail because they try to use an internal symbol of SBCL
8434 ;; that does not exists in recent versions:
8435 ;; "The variable SB-VM:COMPLEX-VECTOR-NIL-WIDETAG is unbound."
8436 #:tests? #f)))))
8437
8438 (define-public cl-specialized-function
8439 (sbcl-package->cl-source-package sbcl-specialized-function))
8440
8441 (define-public ecl-specialized-function
8442 (sbcl-package->ecl-package sbcl-specialized-function))
8443
8444 (define-public sbcl-constantfold
8445 (let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4")
8446 (revision "1"))
8447 (package
8448 (name "sbcl-constantfold")
8449 (version (git-version "0.1" revision commit))
8450 (source
8451 (origin
8452 (method git-fetch)
8453 (uri (git-reference
8454 (url "https://github.com/numcl/constantfold")
8455 (commit commit)))
8456 (file-name (git-file-name name version))
8457 (sha256
8458 (base32
8459 "153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06"))))
8460 (build-system asdf-build-system/sbcl)
8461 (synopsis "Support library for numcl")
8462 (description
8463 "Support library for numcl. Registers a function as an
8464 additional form that is considered as a candidate for a constant.")
8465 (home-page "https://github.com/numcl/constantfold")
8466 (license license:lgpl3+)
8467 (inputs
8468 `(("trivia" ,sbcl-trivia)
8469 ("alexandria" ,sbcl-alexandria)
8470 ("iterate" ,sbcl-iterate)
8471 ("lisp-namespace" ,sbcl-lisp-namespace)))
8472 (native-inputs
8473 `(("fiveam" ,sbcl-fiveam)))
8474 (arguments
8475 `(#:asd-files '("constantfold.asd")
8476 #:test-asd-file "constantfold.test.asd")))))
8477
8478 (define-public cl-constantfold
8479 (sbcl-package->cl-source-package sbcl-constantfold))
8480
8481 (define-public ecl-constantfold
8482 (sbcl-package->ecl-package sbcl-constantfold))
8483
8484 (define-public sbcl-gtype
8485 (let ((commit "2442e32485635525af278ebd8fa69a27d5b8cf18")
8486 (revision "2"))
8487 (package
8488 (name "sbcl-gtype")
8489 (version (git-version "0.1" revision commit))
8490 (source
8491 (origin
8492 (method git-fetch)
8493 (uri (git-reference
8494 (url "https://github.com/numcl/gtype")
8495 (commit commit)))
8496 (file-name (git-file-name name version))
8497 (sha256
8498 (base32 "0hbkfdw00v7bsa6zbric34p5w6hfwxycccg8wc2faq0cxhsvpv9h"))))
8499 (build-system asdf-build-system/sbcl)
8500 (synopsis "C++/Julia-like parametric types in Common Lisp")
8501 (description
8502 "Support library for numcl that provides Julia-like runtime parametric
8503 type correctness in Common Lisp. It is based on CLtL2 extensions.")
8504 (home-page "https://github.com/numcl/gtype")
8505 (license license:lgpl3+)
8506 (inputs
8507 `(("trivialib.type-unify" ,sbcl-trivialib-type-unify)
8508 ("trivial-cltl2" ,sbcl-trivial-cltl2)
8509 ("trivia" ,sbcl-trivia)
8510 ("alexandria" ,sbcl-alexandria)
8511 ("iterate" ,sbcl-iterate)
8512 ("type-r" ,sbcl-type-r)))
8513 (native-inputs
8514 `(("fiveam" ,sbcl-fiveam)))
8515 (arguments
8516 `(#:asd-files '("gtype.asd")
8517 #:test-asd-file "gtype.test.asd")))))
8518
8519 (define-public cl-gtype
8520 (sbcl-package->cl-source-package sbcl-gtype))
8521
8522 (define-public ecl-gtype
8523 (let ((pkg (sbcl-package->ecl-package sbcl-gtype)))
8524 (package
8525 (inherit pkg)
8526 (arguments
8527 (substitute-keyword-arguments (package-arguments pkg)
8528 ;; The tests fail on ECL with a COMPILE-FILE-ERROR for t/package.lisp.
8529 ((#:tests? _ #f) #f))))))
8530
8531 (define-public sbcl-numcl
8532 (let ((commit "3e8d40bf774e070e7af1d3dbf01bc8c37dbebd3a")
8533 (revision "2"))
8534 (package
8535 (name "sbcl-numcl")
8536 (version (git-version "0.1.0" revision commit))
8537 (source
8538 (origin
8539 (method git-fetch)
8540 (uri (git-reference
8541 (url "https://github.com/numcl/numcl")
8542 (commit commit)))
8543 (file-name (git-file-name name version))
8544 (sha256
8545 (base32 "1hqpr68f6xkxaj1hjjayyh97wcdmj51k20qrd3nsv1rcpmdc5ll4"))))
8546 (build-system asdf-build-system/sbcl)
8547 (synopsis "Numpy clone in Common Lisp")
8548 (description
8549 "This is a Numpy clone in Common Lisp. At the moment the
8550 library is written in pure Common Lisp, focusing more on correctness
8551 and usefulness, not speed. Track the progress at
8552 @url{https://github.com/numcl/numcl/projects/1}.")
8553 (home-page "https://github.com/numcl/numcl")
8554 (license license:lgpl3+)
8555 (inputs
8556 `(("trivia" ,sbcl-trivia)
8557 ("alexandria" ,sbcl-alexandria)
8558 ("iterate" ,sbcl-iterate)
8559 ("lisp-namespace" ,sbcl-lisp-namespace)
8560 ("type-r" ,sbcl-type-r)
8561 ("constantfold" ,sbcl-constantfold)
8562 ("cl-randist" ,sbcl-cl-randist)
8563 ("float-features" ,sbcl-float-features)
8564 ("function-cache" ,sbcl-function-cache)
8565 ("specialized-function" ,sbcl-specialized-function)
8566 ("gtype" ,sbcl-gtype)))
8567 (native-inputs
8568 `(("fiveam" ,sbcl-fiveam)))
8569 (arguments
8570 `(#:asd-files '("numcl.asd")
8571 #:test-asd-file "numcl.test.asd"
8572 ;; Tests fail on SBCL with "Heap exhausted, game over",
8573 ;; but they pass on ECL.
8574 #:tests? #f)))))
8575
8576 (define-public cl-numcl
8577 (sbcl-package->cl-source-package sbcl-numcl))
8578
8579 (define-public ecl-numcl
8580 (let ((pkg (sbcl-package->ecl-package sbcl-numcl)))
8581 (package
8582 (inherit pkg)
8583 (arguments
8584 (substitute-keyword-arguments (package-arguments pkg)
8585 ((#:tests? _ #f) #t))))))
8586
8587 (define-public sbcl-pzmq
8588 (let ((commit "7c7390eedc469d033c72dc497984d1536ee75826")
8589 (revision "1"))
8590 (package
8591 (name "sbcl-pzmq")
8592 (version (git-version "0.0.0" revision commit))
8593 (source
8594 (origin
8595 (method git-fetch)
8596 (uri (git-reference
8597 (url "https://github.com/orivej/pzmq")
8598 (commit commit)))
8599 (file-name (git-file-name name version))
8600 (sha256
8601 (base32 "0gmwzf7h90wa7v4wnk49g0hv2mdalljpwhyigxcb967wzv8lqci9"))))
8602 (build-system asdf-build-system/sbcl)
8603 (native-inputs
8604 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
8605 ("fiveam" ,sbcl-fiveam)
8606 ("let-plus" ,sbcl-let-plus)))
8607 (inputs
8608 `(("cffi" ,sbcl-cffi)
8609 ("zeromq" ,zeromq)))
8610 (arguments
8611 `(#:phases (modify-phases %standard-phases
8612 (add-after 'unpack 'fix-paths
8613 (lambda* (#:key inputs #:allow-other-keys)
8614 (substitute* "c-api.lisp"
8615 (("\"libzmq")
8616 (string-append "\""
8617 (assoc-ref inputs "zeromq")
8618 "/lib/libzmq")))
8619 #t)))))
8620 (synopsis "Common Lisp bindings for the ZeroMQ library")
8621 (description "This Common Lisp library provides bindings for the ZeroMQ
8622 lightweight messaging kernel.")
8623 (home-page "https://github.com/orivej/pzmq")
8624 (license license:unlicense))))
8625
8626 (define-public cl-pzmq
8627 (sbcl-package->cl-source-package sbcl-pzmq))
8628
8629 (define-public ecl-pzmq
8630 (sbcl-package->ecl-package sbcl-pzmq))
8631
8632 (define-public sbcl-clss
8633 (let ((revision "1")
8634 (commit "2a8e8615ab55870d4ca01928f3ed3bbeb4e75c8d"))
8635 (package
8636 (name "sbcl-clss")
8637 (version (git-version "0.3.1" revision commit))
8638 (source
8639 (origin
8640 (method git-fetch)
8641 (uri
8642 (git-reference
8643 (url "https://github.com/Shinmera/clss")
8644 (commit commit)))
8645 (sha256
8646 (base32 "0la4dbcda78x29szanylccrsljqrn9d1mhh569sqkyp44ni5fv91"))
8647 (file-name (git-file-name name version))))
8648 (inputs
8649 `(("array-utils" ,sbcl-array-utils)
8650 ("plump" ,sbcl-plump)))
8651 (build-system asdf-build-system/sbcl)
8652 (synopsis "DOM tree searching engine based on CSS selectors")
8653 (description "CLSS is a DOM traversal engine based on CSS
8654 selectors. It makes use of the Plump-DOM and is used by lQuery.")
8655 (home-page "https://github.com/Shinmera/clss")
8656 (license license:zlib))))
8657
8658 (define-public cl-clss
8659 (sbcl-package->cl-source-package sbcl-clss))
8660
8661 (define-public ecl-clss
8662 (sbcl-package->ecl-package sbcl-clss))
8663
8664 (define-public sbcl-lquery
8665 (let ((revision "1")
8666 (commit "8048111c6b83956daa632e7a3ffbd8c9c203bd8d"))
8667 (package
8668 (name "sbcl-lquery")
8669 (version (git-version "3.2.1" revision commit))
8670 (source
8671 (origin
8672 (method git-fetch)
8673 (uri
8674 (git-reference
8675 (url "https://github.com/Shinmera/lquery")
8676 (commit commit)))
8677 (sha256
8678 (base32 "0520mcpxc2d6fdm8z61arpgd2z38kan7cf06qs373n5r64rakz6w"))
8679 (file-name (git-file-name name version))))
8680 (native-inputs
8681 `(("fiveam" ,sbcl-fiveam)))
8682 (inputs
8683 `(("array-utils" ,sbcl-array-utils)
8684 ("form-fiddle" ,sbcl-form-fiddle)
8685 ("plump" ,sbcl-plump)
8686 ("clss" ,sbcl-clss)))
8687 (build-system asdf-build-system/sbcl)
8688 (synopsis "Library to allow jQuery-like HTML/DOM manipulation")
8689 (description "@code{lQuery} is a DOM manipulation library written in
8690 Common Lisp, inspired by and based on the jQuery syntax and
8691 functions. It uses Plump and CLSS as DOM and selector engines. The
8692 main idea behind lQuery is to provide a simple interface for crawling
8693 and modifying HTML sites, as well as to allow for an alternative
8694 approach to templating.")
8695 (home-page "https://github.com/Shinmera/lquery")
8696 (license license:zlib))))
8697
8698 (define-public cl-lquery
8699 (sbcl-package->cl-source-package sbcl-lquery))
8700
8701 (define-public ecl-lquery
8702 (sbcl-package->ecl-package sbcl-lquery))
8703
8704 (define-public sbcl-cl-mysql
8705 (let ((commit "ab56c279c1815aec6ca0bfe85164ff7e85cfb6f9")
8706 (revision "1"))
8707 (package
8708 (name "sbcl-cl-mysql")
8709 (version (git-version "0.1" revision commit))
8710 (source
8711 (origin
8712 (method git-fetch)
8713 (uri (git-reference
8714 (url "https://github.com/hackinghat/cl-mysql")
8715 (commit commit)))
8716 (file-name (git-file-name name version))
8717 (sha256
8718 (base32 "0dg5ynx2ww94d0qfwrdrm7plkn43h64hs4iiq9mj2s1s4ixnp3lr"))))
8719 (build-system asdf-build-system/sbcl)
8720 (native-inputs
8721 `(("stefil" ,sbcl-stefil)))
8722 (inputs
8723 `(("cffi" ,sbcl-cffi)
8724 ("mariadb-lib" ,mariadb "lib")))
8725 (arguments
8726 `(#:tests? #f ; TODO: Tests require a running server
8727 #:phases
8728 (modify-phases %standard-phases
8729 (add-after 'unpack 'fix-paths
8730 (lambda* (#:key inputs #:allow-other-keys)
8731 (substitute* "system.lisp"
8732 (("libmysqlclient_r" all)
8733 (string-append (assoc-ref inputs "mariadb-lib")
8734 "/lib/"
8735 all)))
8736 #t)))))
8737 (synopsis "Common Lisp wrapper for MySQL")
8738 (description
8739 "@code{cl-mysql} is a Common Lisp implementation of a MySQL wrapper.")
8740 (home-page "http://www.hackinghat.com/index.php/cl-mysql")
8741 (license license:expat))))
8742
8743 (define-public cl-mysql
8744 (sbcl-package->cl-source-package sbcl-cl-mysql))
8745
8746 (define-public ecl-cl-mysql
8747 (sbcl-package->ecl-package sbcl-cl-mysql))
8748
8749 (define-public sbcl-postmodern
8750 (let ((commit "74469b25bbda990ec9b77e0d0eccdba0cd7e721a")
8751 (revision "1"))
8752 (package
8753 (name "sbcl-postmodern")
8754 (version (git-version "1.19" revision commit))
8755 (source
8756 (origin
8757 (method git-fetch)
8758 (uri (git-reference
8759 (url "https://github.com/marijnh/Postmodern")
8760 (commit commit)))
8761 (file-name (git-file-name name version))
8762 (sha256
8763 (base32 "0im7ymnyxjhn2w74jfg76k5gpr0gl33n31akx33hl28722ljd0hd"))))
8764 (build-system asdf-build-system/sbcl)
8765 (native-inputs
8766 `(("fiveam" ,sbcl-fiveam)))
8767 (inputs
8768 `(("alexandria" ,sbcl-alexandria)
8769 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8770 ("closer-mop" ,sbcl-closer-mop)
8771 ("global-vars" ,sbcl-global-vars)
8772 ("md5" ,sbcl-md5)
8773 ("split-sequence" ,sbcl-split-sequence)
8774 ("usocket" ,sbcl-usocket)))
8775 (arguments
8776 ;; TODO: Fix missing dependency errors for simple-date/postgres-glue,
8777 ;; cl-postgres/tests and s-sql/tests.
8778 `(#:tests? #f
8779 #:asd-systems '("postmodern"
8780 "simple-date/postgres-glue")))
8781 (synopsis "Common Lisp library for interacting with PostgreSQL")
8782 (description
8783 "@code{postmodern} is a Common Lisp library for interacting with
8784 PostgreSQL databases. It provides the following features:
8785
8786 @itemize
8787 @item Efficient communication with the database server without need for
8788 foreign libraries.
8789 @item Support for UTF-8 on Unicode-aware Lisp implementations.
8790 @item A syntax for mixing SQL and Lisp code.
8791 @item Convenient support for prepared statements and stored procedures.
8792 @item A metaclass for simple database-access objects.
8793 @end itemize\n")
8794 (home-page "https://marijnhaverbeke.nl/postmodern/")
8795 (license license:zlib))))
8796
8797 (define-public cl-postmodern
8798 (sbcl-package->cl-source-package sbcl-postmodern))
8799
8800 (define-public ecl-postmodern
8801 (package
8802 (inherit (sbcl-package->ecl-package sbcl-postmodern))
8803 (arguments
8804 `(#:tests? #f
8805 #:asd-systems '("postmodern"
8806 "simple-date/postgres-glue")
8807 #:phases
8808 (modify-phases %standard-phases
8809 (add-after 'unpack 'fix-build
8810 (lambda _
8811 (substitute* "cl-postgres.asd"
8812 (("\\) \"usocket\"")
8813 " :ecl) \"usocket\""))
8814 #t)))))))
8815
8816 (define-public sbcl-dbi
8817 ;; Master includes a breaking change which other packages depend on since
8818 ;; Quicklisp decided to follow it:
8819 ;; https://github.com/fukamachi/cl-dbi/commit/31c46869722f77fd5292a81b5b101f1347d7fce1
8820 (let ((commit "31c46869722f77fd5292a81b5b101f1347d7fce1"))
8821 (package
8822 (name "sbcl-dbi")
8823 (version (git-version "0.9.4" "1" commit))
8824 (source
8825 (origin
8826 (method git-fetch)
8827 (uri (git-reference
8828 (url "https://github.com/fukamachi/cl-dbi")
8829 (commit commit)))
8830 (file-name (git-file-name name version))
8831 (sha256
8832 (base32 "0r3n4rw12qqxad0cryym2ibm4ddl49gbq4ra227afibsr43nw5k3"))))
8833 (build-system asdf-build-system/sbcl)
8834 (native-inputs
8835 `(("rove" ,sbcl-rove)
8836 ("trivial-types" ,sbcl-trivial-types)))
8837 (inputs
8838 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
8839 ("cl-mysql" ,sbcl-cl-mysql)
8840 ("cl-sqlite" ,sbcl-cl-sqlite)
8841 ("closer-mop" ,sbcl-closer-mop)
8842 ("postmodern" ,sbcl-postmodern)
8843 ("split-sequence" ,sbcl-split-sequence)
8844 ("trivial-garbage" ,sbcl-trivial-garbage)))
8845 (arguments
8846 `(#:asd-systems '("dbi"
8847 "dbd-mysql"
8848 "dbd-postgres"
8849 "dbd-sqlite3")))
8850 (synopsis "Database independent interface for Common Lisp")
8851 (description
8852 "@code{dbi} is a Common Lisp library providing a database independent
8853 interface for MySQL, PostgreSQL and SQLite.")
8854 (home-page "https://github.com/fukamachi/cl-dbi")
8855 (license license:llgpl))))
8856
8857 (define-public cl-dbi
8858 (sbcl-package->cl-source-package sbcl-dbi))
8859
8860 (define-public ecl-dbi
8861 (sbcl-package->ecl-package sbcl-dbi))
8862
8863 (define-public sbcl-uffi
8864 (package
8865 (name "sbcl-uffi")
8866 (version "2.1.2")
8867 (source
8868 (origin
8869 (method git-fetch)
8870 (uri (git-reference
8871 (url "http://git.kpe.io/uffi.git")
8872 (commit (string-append "v" version))))
8873 (file-name (git-file-name name version))
8874 (sha256
8875 (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
8876 (build-system asdf-build-system/sbcl)
8877 (arguments
8878 `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions
8879 #:asd-files '("uffi.asd")
8880 #:phases
8881 (modify-phases %standard-phases
8882 (add-after 'unpack 'fix-permissions
8883 (lambda _
8884 (make-file-writable "doc/html.tar.gz")
8885 #t)))))
8886 (synopsis "Universal foreign function library for Common Lisp")
8887 (description
8888 "UFFI provides a universal foreign function interface (FFI)
8889 for Common Lisp.")
8890 (home-page "http://quickdocs.org/uffi/")
8891 (license license:llgpl)))
8892
8893 (define-public cl-uffi
8894 (package
8895 (inherit (sbcl-package->cl-source-package sbcl-uffi))
8896 (arguments
8897 `(#:phases
8898 ;; asdf-build-system/source has its own phases and does not inherit
8899 ;; from asdf-build-system/sbcl phases.
8900 (modify-phases %standard-phases/source
8901 ;; Already done in SBCL package.
8902 (delete 'reset-gzip-timestamps))))))
8903
8904 (define-public sbcl-clsql
8905 (package
8906 (name "sbcl-clsql")
8907 (version "6.7.0")
8908 (source
8909 (origin
8910 (method git-fetch)
8911 (uri (git-reference
8912 (url "http://git.kpe.io/clsql.git")
8913 (commit (string-append "v" version))))
8914 (file-name (git-file-name name version))
8915 (sha256
8916 (base32 "1v1k3s5bsy3lgd9gk459bzpb1r0kdjda25s29samxw4gsgf1fqvp"))
8917 (snippet
8918 '(begin
8919 ;; Remove precompiled libraries.
8920 (delete-file "db-mysql/clsql_mysql.dll")
8921 (delete-file "uffi/clsql_uffi.dll")
8922 (delete-file "uffi/clsql_uffi.lib")
8923 #t))))
8924 (build-system asdf-build-system/sbcl)
8925 (native-inputs
8926 `(("rt" ,sbcl-rt)))
8927 (inputs
8928 `(("cffi" ,sbcl-cffi)
8929 ("md5" ,sbcl-md5)
8930 ("mysql" ,mysql)
8931 ("postgresql" ,postgresql)
8932 ("postmodern" ,sbcl-postmodern)
8933 ("sqlite" ,sqlite)
8934 ("uffi" ,sbcl-uffi)
8935 ("zlib" ,zlib)))
8936 (arguments
8937 `(#:asd-files '("clsql.asd"
8938 "clsql-uffi.asd"
8939 "clsql-sqlite3.asd"
8940 "clsql-postgresql.asd"
8941 "clsql-postgresql-socket3.asd"
8942 "clsql-mysql.asd")
8943 #:asd-systems '("clsql"
8944 "clsql-sqlite3"
8945 "clsql-postgresql"
8946 "clsql-postgresql-socket3"
8947 "clsql-mysql")
8948 #:phases
8949 (modify-phases %standard-phases
8950 (add-after 'unpack 'fix-permissions
8951 (lambda _
8952 (make-file-writable "doc/html.tar.gz")
8953 #t))
8954 (add-after 'unpack 'fix-build
8955 (lambda _
8956 (substitute* "clsql-uffi.asd"
8957 (("\\(:version uffi \"2.0\"\\)")
8958 "uffi"))
8959 (substitute* "db-postgresql/postgresql-api.lisp"
8960 (("\\(data :cstring\\)")
8961 "(data :string)"))
8962 #t))
8963 (add-after 'unpack 'fix-paths
8964 (lambda* (#:key inputs outputs #:allow-other-keys)
8965 (substitute* "db-sqlite3/sqlite3-loader.lisp"
8966 (("libsqlite3")
8967 (string-append (assoc-ref inputs "sqlite")
8968 "/lib/libsqlite3")))
8969 (substitute* "db-postgresql/postgresql-loader.lisp"
8970 (("libpq")
8971 (string-append (assoc-ref inputs "postgresql")
8972 "/lib/libpq")))
8973 (let ((lib (string-append "#p\""
8974 (assoc-ref outputs "out")
8975 "/lib/\"")))
8976 (substitute* "clsql-mysql.asd"
8977 (("#p\"/usr/lib/clsql/clsql_mysql\\.so\"")
8978 lib))
8979 (substitute* "db-mysql/mysql-loader.lisp"
8980 (("libmysqlclient" all)
8981 (string-append (assoc-ref inputs "mysql") "/lib/" all))
8982 (("clsql-mysql-system::\\*library-file-dir\\*")
8983 lib)))
8984 #t))
8985 (add-before 'build 'build-helper-library
8986 (lambda* (#:key inputs outputs #:allow-other-keys)
8987 (let* ((mysql (assoc-ref inputs "mysql"))
8988 (inc-dir (string-append mysql "/include/mysql"))
8989 (lib-dir (string-append mysql "/lib"))
8990 (shared-lib-dir (string-append (assoc-ref outputs "out")
8991 "/lib"))
8992 (shared-lib (string-append shared-lib-dir
8993 "/clsql_mysql.so")))
8994 (mkdir-p shared-lib-dir)
8995 (invoke "gcc" "-fPIC" "-shared"
8996 "-I" inc-dir
8997 "db-mysql/clsql_mysql.c"
8998 "-Wl,-soname=clsql_mysql"
8999 "-L" lib-dir "-lmysqlclient" "-lz"
9000 "-o" shared-lib)
9001 #t)))
9002 (add-after 'unpack 'fix-tests
9003 (lambda _
9004 (substitute* "clsql.asd"
9005 (("clsql-tests :force t")
9006 "clsql-tests"))
9007 #t)))))
9008 (synopsis "Common Lisp SQL Interface library")
9009 (description
9010 "@code{clsql} is a Common Lisp interface to SQL RDBMS based on the
9011 Xanalys CommonSQL interface for Lispworks. It provides low-level database
9012 interfaces as well as a functional and an object oriented interface.")
9013 (home-page "http://clsql.kpe.io/")
9014 (license license:llgpl)))
9015
9016 (define-public cl-clsql
9017 (package
9018 (inherit (sbcl-package->cl-source-package sbcl-clsql))
9019 (native-inputs
9020 `(("rt" ,cl-rt)))
9021 (inputs
9022 `(("mysql" ,mysql)
9023 ("postgresql" ,postgresql)
9024 ("sqlite" ,sqlite)
9025 ("zlib" ,zlib)))
9026 (propagated-inputs
9027 `(("cffi" ,cl-cffi)
9028 ("md5" ,cl-md5)
9029 ("postmodern" ,cl-postmodern)
9030 ("uffi" ,cl-uffi)))
9031 (arguments
9032 `(#:phases
9033 ;; asdf-build-system/source has its own phases and does not inherit
9034 ;; from asdf-build-system/sbcl phases.
9035 (modify-phases %standard-phases/source
9036 (add-after 'unpack 'fix-permissions
9037 (lambda _
9038 (make-file-writable "doc/html.tar.gz")
9039 #t)))))))
9040
9041 (define-public ecl-clsql
9042 (let ((pkg (sbcl-package->ecl-package sbcl-clsql)))
9043 (package
9044 (inherit pkg)
9045 (inputs
9046 (alist-delete "uffi" (package-inputs pkg)))
9047 (arguments
9048 (substitute-keyword-arguments (package-arguments pkg)
9049 ((#:asd-files asd-files '())
9050 `(cons "clsql-cffi.asd" ,asd-files)))))))
9051
9052 (define-public sbcl-sycamore
9053 (let ((commit "fd2820fec165ad514493426dea209728f64e6d18"))
9054 (package
9055 (name "sbcl-sycamore")
9056 (version "0.0.20120604")
9057 (source
9058 (origin
9059 (method git-fetch)
9060 (uri (git-reference
9061 (url "https://github.com/ndantam/sycamore/")
9062 (commit commit)))
9063 (file-name (git-file-name name version))
9064 (sha256
9065 (base32 "00bv1aj89q5vldmq92zp2364jq312zjq2mbd3iyz1s2b4widzhl7"))))
9066 (build-system asdf-build-system/sbcl)
9067 (inputs
9068 `(("alexandria" ,sbcl-alexandria)
9069 ("cl-ppcre" ,sbcl-cl-ppcre)))
9070 (synopsis "Purely functional data structure library in Common Lisp")
9071 (description
9072 "Sycamore is a fast, purely functional data structure library in Common Lisp.
9073 If features:
9074
9075 @itemize
9076 @item Fast, purely functional weight-balanced binary trees.
9077 @item Leaf nodes are simple-vectors, greatly reducing tree height.
9078 @item Interfaces for tree Sets and Maps (dictionaries).
9079 @item Ropes.
9080 @item Purely functional pairing heaps.
9081 @item Purely functional amortized queue.
9082 @end itemize\n")
9083 (home-page "http://ndantam.github.io/sycamore/")
9084 (license license:bsd-3))))
9085
9086 (define-public cl-sycamore
9087 (sbcl-package->cl-source-package sbcl-sycamore))
9088
9089 (define-public ecl-sycamore
9090 (sbcl-package->ecl-package sbcl-sycamore))
9091
9092 (define-public sbcl-trivial-package-local-nicknames
9093 (package
9094 (name "sbcl-trivial-package-local-nicknames")
9095 (version "0.2")
9096 (home-page "https://github.com/phoe/trivial-package-local-nicknames")
9097 (source
9098 (origin
9099 (method git-fetch)
9100 (uri (git-reference
9101 (url home-page)
9102 (commit "16b7ad4c2b120f50da65154191f468ea5598460e")))
9103 (file-name (git-file-name name version))
9104 (sha256
9105 (base32 "18qc27xkjzdcqrilpk3pm7djldwq5rm3ggd5h9cr8hqcd54i2fqg"))))
9106 (build-system asdf-build-system/sbcl)
9107 (synopsis "Common Lisp compatibility library for package local nicknames")
9108 (description
9109 "This library is a portable compatibility layer around package local nicknames (PLN).
9110 This was done so there is a portability library for the PLN API not included
9111 in DEFPACKAGE.")
9112 (license license:unlicense)))
9113
9114 (define-public cl-trivial-package-local-nicknames
9115 (sbcl-package->cl-source-package sbcl-trivial-package-local-nicknames))
9116
9117 (define-public ecl-trivial-package-local-nicknames
9118 (sbcl-package->ecl-package sbcl-trivial-package-local-nicknames))
9119
9120 (define-public sbcl-enchant
9121 (let ((commit "6af162a7bf10541cbcfcfa6513894900329713fa"))
9122 (package
9123 (name "sbcl-enchant")
9124 (version (git-version "0.0.0" "1" commit))
9125 (home-page "https://github.com/tlikonen/cl-enchant")
9126 (source
9127 (origin
9128 (method git-fetch)
9129 (uri (git-reference
9130 (url home-page)
9131 (commit commit)))
9132 (file-name (git-file-name name version))
9133 (sha256
9134 (base32 "19yh5ihirzi1d8xqy1cjqipzd6ly3245cfxa5s9xx496rryz0s01"))))
9135 (build-system asdf-build-system/sbcl)
9136 (inputs
9137 `(("enchant" ,enchant)
9138 ("cffi" ,sbcl-cffi)))
9139 (arguments
9140 `(#:phases
9141 (modify-phases %standard-phases
9142 (add-after 'unpack 'fix-paths
9143 (lambda* (#:key inputs #:allow-other-keys)
9144 (substitute* "load-enchant.lisp"
9145 (("libenchant")
9146 (string-append
9147 (assoc-ref inputs "enchant") "/lib/libenchant-2"))))))))
9148 (synopsis "Common Lisp interface for the Enchant spell-checker library")
9149 (description
9150 "Enchant is a Common Lisp interface for the Enchant spell-checker
9151 library. The Enchant library is a generic spell-checker library which uses
9152 other spell-checkers transparently as back-end. The library supports the
9153 multiple checkers, including Aspell and Hunspell.")
9154 (license license:public-domain))))
9155
9156 (define-public cl-enchant
9157 (sbcl-package->cl-source-package sbcl-enchant))
9158
9159 (define-public ecl-enchant
9160 (sbcl-package->ecl-package sbcl-enchant))
9161
9162 (define-public sbcl-cl-change-case
9163 (let ((commit "5ceff2a5f8bd845b6cb510c6364176b27a238fd3"))
9164 (package
9165 (name "sbcl-cl-change-case")
9166 (version (git-version "0.1.0" "1" commit))
9167 (home-page "https://github.com/rudolfochrist/cl-change-case")
9168 (source
9169 (origin
9170 (method git-fetch)
9171 (uri (git-reference
9172 (url home-page)
9173 (commit commit)))
9174 (file-name (git-file-name name version))
9175 (sha256
9176 (base32 "1afyglglk9z3yg8gylcl301bl2r8vq3sllyznzj9s5xi5gs6qyf2"))))
9177 (build-system asdf-build-system/sbcl)
9178 (inputs
9179 `(("cl-ppcre" ,sbcl-cl-ppcre)
9180 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
9181 (native-inputs
9182 `(("fiveam" ,sbcl-fiveam)))
9183 (arguments
9184 '(;; FIXME: Test pass but phase fails with 'Component
9185 ;; "cl-change-case-test" not found, required by'.
9186 #:tests? #f
9187 #:test-asd-file "cl-change-case-test.asd"))
9188 (synopsis "Convert Common Lisp strings between camelCase, PascalCase and more")
9189 (description
9190 "@code{cl-change-case} is library to convert strings between camelCase,
9191 PascalCase, snake_case, param-case, CONSTANT_CASE and more.")
9192 (license license:llgpl))))
9193
9194 (define-public cl-change-case
9195 (sbcl-package->cl-source-package sbcl-cl-change-case))
9196
9197 (define-public ecl-cl-change-case
9198 (sbcl-package->ecl-package sbcl-cl-change-case))
9199
9200 (define-public sbcl-moptilities
9201 (let ((commit "a436f16b357c96b82397ec018ea469574c10dd41"))
9202 (package
9203 (name "sbcl-moptilities")
9204 (version (git-version "0.3.13" "1" commit))
9205 (home-page "https://github.com/gwkkwg/moptilities/")
9206 (source
9207 (origin
9208 (method git-fetch)
9209 (uri (git-reference
9210 (url home-page)
9211 (commit commit)))
9212 (file-name (git-file-name name version))
9213 (sha256
9214 (base32 "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc"))))
9215 (build-system asdf-build-system/sbcl)
9216 (inputs
9217 `(("closer-mop" ,sbcl-closer-mop)))
9218 (native-inputs
9219 `(("lift" ,sbcl-lift)))
9220 (arguments
9221 `(#:phases
9222 (modify-phases %standard-phases
9223 (add-after 'unpack 'fix-tests
9224 (lambda _
9225 (substitute* "lift-standard.config"
9226 ((":relative-to lift-test")
9227 ":relative-to moptilities-test"))
9228 #t)))))
9229 (synopsis "Compatibility layer for Common Lisp MOP implementation differences")
9230 (description
9231 "MOP utilities provide a common interface between Lisps and make the
9232 MOP easier to use.")
9233 (license license:expat))))
9234
9235 (define-public cl-moptilities
9236 (sbcl-package->cl-source-package sbcl-moptilities))
9237
9238 (define-public sbcl-osicat
9239 (let ((commit "de0c18a367eedc857e1902a7319828af072a0d97"))
9240 (package
9241 (name "sbcl-osicat")
9242 (version (git-version "0.7.0" "1" commit))
9243 (home-page "http://www.common-lisp.net/project/osicat/")
9244 (source
9245 (origin
9246 (method git-fetch)
9247 (uri (git-reference
9248 (url "https://github.com/osicat/osicat")
9249 (commit commit)))
9250 (file-name (git-file-name name version))
9251 (sha256
9252 (base32 "15viw5pi5sa7qq9b4n2rr3dj2jkqr180rh9z1lh8w3rgl42i2adc"))))
9253 (build-system asdf-build-system/sbcl)
9254 (inputs
9255 `(("alexandria" ,sbcl-alexandria)
9256 ("cffi" ,sbcl-cffi)
9257 ("trivial-features" ,sbcl-trivial-features)))
9258 (native-inputs
9259 `(("rt" ,sbcl-rt)))
9260 (synopsis "Operating system interface for Common Lisp")
9261 (description
9262 "Osicat is a lightweight operating system interface for Common Lisp on
9263 Unix-platforms. It is not a POSIX-style API, but rather a simple lispy
9264 accompaniment to the standard ANSI facilities.")
9265 (license license:expat))))
9266
9267 (define-public cl-osicat
9268 (sbcl-package->cl-source-package sbcl-osicat))
9269
9270 (define-public ecl-osicat
9271 (sbcl-package->ecl-package sbcl-osicat))
9272
9273 (define-public sbcl-clx-xembed
9274 (let ((commit "a5c4b844d31ee68ffa58c933cc1cdddde6990743")
9275 (revision "1"))
9276 (package
9277 (name "sbcl-clx-xembed")
9278 (version (git-version "0.1" revision commit))
9279 (home-page "https://github.com/laynor/clx-xembed")
9280 (source
9281 (origin
9282 (method git-fetch)
9283 (uri (git-reference
9284 (url "https://github.com/laynor/clx-xembed")
9285 (commit commit)))
9286 (file-name (git-file-name name version))
9287 (sha256
9288 (base32 "1abx4v36ycmfjdwpjk4hh8058ya8whwia7ds9vd96q2qsrs57f12"))))
9289 (build-system asdf-build-system/sbcl)
9290 (arguments
9291 `(#:asd-systems '("xembed")))
9292 (inputs
9293 `(("sbcl-clx" ,sbcl-clx)))
9294 (synopsis "CL(x) xembed protocol implementation ")
9295 (description "CL(x) xembed protocol implementation")
9296 ;; MIT License
9297 (license license:expat))))
9298
9299 (define-public cl-clx-xembed
9300 (sbcl-package->cl-source-package sbcl-clx-xembed))
9301
9302 (define-public ecl-clx-xembed
9303 (sbcl-package->ecl-package sbcl-clx-xembed))
9304
9305 (define-public sbcl-quantile-estimator
9306 (package
9307 (name "sbcl-quantile-estimator")
9308 (version "0.0.1")
9309 (source
9310 (origin
9311 (method git-fetch)
9312 (uri (git-reference
9313 (url "https://github.com/deadtrickster/quantile-estimator.cl")
9314 (commit "84d0ea405d793f5e808c68c4ddaf25417b0ff8e5")))
9315 (file-name (git-file-name name version))
9316 (sha256
9317 (base32
9318 "0rlswkf0siaabsvvch3dgxmg45fw5w8pd9b7ri2w7a298aya52z9"))))
9319 (build-system asdf-build-system/sbcl)
9320 (arguments
9321 '(#:asd-files '("quantile-estimator.asd")))
9322 (inputs
9323 `(("alexandria" ,sbcl-alexandria)))
9324 (home-page "https://github.com/deadtrickster/quantile-estimator.cl")
9325 (synopsis
9326 "Effective computation of biased quantiles over data streams")
9327 (description
9328 "Common Lisp implementation of Graham Cormode and S.
9329 Muthukrishnan's Effective Computation of Biased Quantiles over Data
9330 Streams in ICDE’05.")
9331 (license license:expat)))
9332
9333 (define-public cl-quantile-estimator
9334 (sbcl-package->cl-source-package sbcl-quantile-estimator))
9335
9336 (define-public ecl-quantile-estimator
9337 (sbcl-package->ecl-package sbcl-quantile-estimator))
9338
9339 (define-public sbcl-prometheus
9340 (package
9341 (name "sbcl-prometheus")
9342 (version "0.4.1")
9343 (source
9344 (origin
9345 (method git-fetch)
9346 (uri (git-reference
9347 (url "https://github.com/deadtrickster/prometheus.cl")
9348 (commit "7352b92296996ff383503e19bdd3bcea30409a15")))
9349 (file-name (git-file-name name version))
9350 (sha256
9351 (base32
9352 "0fzczls2kfgdx18pja4lqxjrz72i583185d8nq0pb3s331hhzh0z"))))
9353 (build-system asdf-build-system/sbcl)
9354 (inputs
9355 `(("alexandria" ,sbcl-alexandria)
9356 ("bordeaux-threads" ,sbcl-bordeaux-threads)
9357 ("cffi" ,sbcl-cffi)
9358 ("cl-fad" ,sbcl-cl-fad)
9359 ("cl-ppcre" ,sbcl-cl-ppcre)
9360 ("drakma" ,sbcl-drakma)
9361 ("hunchentoot" ,sbcl-hunchentoot)
9362 ("local-time" ,sbcl-local-time)
9363 ("quantile-estimator" ,sbcl-quantile-estimator)
9364 ("salza2" ,sbcl-salza2)
9365 ("split-sequence" ,sbcl-split-sequence)
9366 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9367 (arguments
9368 '(#:asd-files '("prometheus.asd"
9369 "prometheus.collectors.sbcl.asd"
9370 "prometheus.collectors.process.asd"
9371 "prometheus.formats.text.asd"
9372 "prometheus.exposers.hunchentoot.asd"
9373 "prometheus.pushgateway.asd")
9374 #:asd-systems '("prometheus"
9375 "prometheus.collectors.sbcl"
9376 "prometheus.collectors.process"
9377 "prometheus.formats.text"
9378 "prometheus.exposers.hunchentoot"
9379 "prometheus.pushgateway")))
9380 (home-page "https://github.com/deadtrickster/prometheus.cl")
9381 (synopsis "Prometheus.io Common Lisp client")
9382 (description "Prometheus.io Common Lisp client.")
9383 (license license:expat)))
9384
9385 (define-public cl-prometheus
9386 (sbcl-package->cl-source-package sbcl-prometheus))
9387
9388 (define-public ecl-prometheus
9389 (sbcl-package->ecl-package sbcl-prometheus))
9390
9391 (define-public sbcl-uuid
9392 (let ((commit "e7d6680c3138385c0708f7aaf0c96622eeb140e8"))
9393 (package
9394 (name "sbcl-uuid")
9395 (version (git-version "2012.12.26" "1" commit))
9396 (source
9397 (origin
9398 (method git-fetch)
9399 (uri (git-reference
9400 (url "https://github.com/dardoria/uuid")
9401 (commit commit)))
9402 (file-name (git-file-name name version))
9403 (sha256
9404 (base32
9405 "0jnyp2kibcf5cwi60l6grjrj8wws9chasjvsw7xzwyym2lyid46f"))))
9406 (build-system asdf-build-system/sbcl)
9407 (inputs
9408 `(("ironclad" ,sbcl-ironclad)
9409 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9410 (home-page "https://github.com/dardoria/uuid")
9411 (synopsis
9412 "Common Lisp implementation of UUIDs according to RFC4122")
9413 (description
9414 "Common Lisp implementation of UUIDs according to RFC4122.")
9415 (license license:llgpl))))
9416
9417 (define-public cl-uuid
9418 (sbcl-package->cl-source-package sbcl-uuid))
9419
9420 (define-public ecl-uuid
9421 (sbcl-package->ecl-package sbcl-uuid))
9422
9423 (define-public sbcl-dissect
9424 (let ((commit "cffd38479f0e64e805f167bbdb240b783ecc8d45"))
9425 (package
9426 (name "sbcl-dissect")
9427 (version (git-version "1.0.0" "1" commit))
9428 (source
9429 (origin
9430 (method git-fetch)
9431 (uri (git-reference
9432 (url "https://github.com/Shinmera/dissect")
9433 (commit commit)))
9434 (file-name (git-file-name name version))
9435 (sha256
9436 (base32
9437 "0rmsjkgjl90gl6ssvgd60hb0d5diyhsiyypvw9hbc0ripvbmk5r5"))))
9438 (build-system asdf-build-system/sbcl)
9439 (inputs
9440 `(("cl-ppcre" ,sbcl-cl-ppcre)))
9441 (home-page "https://shinmera.github.io/dissect/")
9442 (synopsis
9443 "Introspection library for the call stack and restarts")
9444 (description
9445 "Dissect is a small Common Lisp library for introspecting the call stack
9446 and active restarts.")
9447 (license license:zlib))))
9448
9449 (define-public cl-dissect
9450 (sbcl-package->cl-source-package sbcl-dissect))
9451
9452 (define-public ecl-dissect
9453 (sbcl-package->ecl-package sbcl-dissect))
9454
9455 (define-public sbcl-rove
9456 (package
9457 (name "sbcl-rove")
9458 (version "0.9.6")
9459 (source
9460 (origin
9461 (method git-fetch)
9462 (uri (git-reference
9463 (url "https://github.com/fukamachi/rove")
9464 (commit "f3695db08203bf26f3b861dc22ac0f4257d3ec21")))
9465 (file-name (git-file-name name version))
9466 (sha256
9467 (base32
9468 "07ala4l2fncxf540fzxj3h5mhi9i4wqllhj0rqk8m2ljl5zbz89q"))))
9469 (build-system asdf-build-system/sbcl)
9470 (inputs
9471 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9472 ("dissect" ,sbcl-dissect)
9473 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
9474 (home-page "https://github.com/fukamachi/rove")
9475 (synopsis
9476 "Yet another common lisp testing library")
9477 (description
9478 "Rove is a unit testing framework for Common Lisp applications.
9479 This is intended to be a successor of Prove.")
9480 (license license:bsd-3)))
9481
9482 (define-public cl-rove
9483 (sbcl-package->cl-source-package sbcl-rove))
9484
9485 (define-public ecl-rove
9486 (sbcl-package->ecl-package sbcl-rove))
9487
9488 (define-public sbcl-exponential-backoff
9489 (let ((commit "8d9e8444d8b3184a524c12ce3449f91613ab714f"))
9490 (package
9491 (name "sbcl-exponential-backoff")
9492 (version (git-version "0" "1" commit))
9493 (source
9494 (origin
9495 (method git-fetch)
9496 (uri (git-reference
9497 (url "https://github.com/death/exponential-backoff")
9498 (commit commit)))
9499 (file-name (git-file-name name version))
9500 (sha256
9501 (base32
9502 "1389hm9hxv85s0125ja4js1bvh8ay4dsy9q1gaynjv27ynik6gmv"))))
9503 (build-system asdf-build-system/sbcl)
9504 (home-page "https://github.com/death/exponential-backoff")
9505 (synopsis "Exponential backoff algorithm in Common Lisp")
9506 (description
9507 "An implementation of the exponential backoff algorithm in Common Lisp.
9508 Inspired by the implementation found in Chromium. Read the header file to
9509 learn about each of the parameters.")
9510 (license license:expat))))
9511
9512 (define-public cl-exponential-backoff
9513 (sbcl-package->cl-source-package sbcl-exponential-backoff))
9514
9515 (define-public ecl-exponential-backoff
9516 (sbcl-package->ecl-package sbcl-exponential-backoff))
9517
9518 (define-public sbcl-sxql
9519 (let ((commit "5aa8b739492c5829e8623432b5d46482263990e8"))
9520 (package
9521 (name "sbcl-sxql")
9522 (version (git-version "0.1.0" "1" commit))
9523 (source
9524 (origin
9525 (method git-fetch)
9526 (uri (git-reference
9527 (url "https://github.com/fukamachi/sxql")
9528 (commit commit)))
9529 (file-name (git-file-name name version))
9530 (sha256
9531 (base32
9532 "0k25p6w2ld9cn8q8s20lda6yjfyp4q89219sviayfgixnj27avnj"))))
9533 (build-system asdf-build-system/sbcl)
9534 (arguments
9535 `(#:test-asd-file "sxql-test.asd"))
9536 (inputs
9537 `(("alexandria" ,sbcl-alexandria)
9538 ("cl-syntax" ,sbcl-cl-syntax)
9539 ("iterate" ,sbcl-iterate)
9540 ("optima" ,sbcl-optima)
9541 ("split-sequence" ,sbcl-split-sequence)
9542 ("trivial-types" ,sbcl-trivial-types)))
9543 (native-inputs
9544 `(("prove" ,sbcl-prove)))
9545 (home-page "https://github.com/fukamachi/sxql")
9546 (synopsis "SQL generator for Common Lisp")
9547 (description "SQL generator for Common Lisp.")
9548 (license license:bsd-3))))
9549
9550 (define-public cl-sxql
9551 (sbcl-package->cl-source-package sbcl-sxql))
9552
9553 (define-public ecl-sxql
9554 (sbcl-package->ecl-package sbcl-sxql))
9555
9556 (define-public sbcl-1am
9557 (let ((commit "8b1da94eca4613fd8a20bdf63f0e609e379b0ba5"))
9558 (package
9559 (name "sbcl-1am")
9560 (version (git-version "0.0" "1" commit))
9561 (source
9562 (origin
9563 (method git-fetch)
9564 (uri (git-reference
9565 (url "https://github.com/lmj/1am")
9566 (commit commit)))
9567 (file-name (git-file-name name version))
9568 (sha256
9569 (base32
9570 "05ss4nz1jb9kb796295482b62w5cj29msfj8zis33sp2rw2vmv2g"))))
9571 (build-system asdf-build-system/sbcl)
9572 (arguments
9573 `(#:asd-systems '("1am")))
9574 (home-page "https://github.com/lmj/1am")
9575 (synopsis "Minimal testing framework for Common Lisp")
9576 (description "A minimal testing framework for Common Lisp.")
9577 (license license:expat))))
9578
9579 (define-public cl-1am
9580 (sbcl-package->cl-source-package sbcl-1am))
9581
9582 (define-public ecl-1am
9583 (sbcl-package->ecl-package sbcl-1am))
9584
9585 (define-public sbcl-cl-ascii-table
9586 (let ((commit "d9f5e774a56fad1b416e4dadb8f8a5b0e84094e2")
9587 (revision "1"))
9588 (package
9589 (name "sbcl-cl-ascii-table")
9590 (version (git-version "0.0.0" revision commit))
9591 (source
9592 (origin
9593 (method git-fetch)
9594 (uri (git-reference
9595 (url "https://github.com/telephil/cl-ascii-table")
9596 (commit commit)))
9597 (file-name (git-file-name name version))
9598 (sha256
9599 (base32 "125fdif9sgl7k0ngjhxv0wjas2q27d075025hvj2rx1b1x948z4s"))))
9600 (build-system asdf-build-system/sbcl)
9601 (synopsis "Library to make ascii-art tables")
9602 (description
9603 "This is a Common Lisp library to present tabular data in ascii-art
9604 tables.")
9605 (home-page "https://github.com/telephil/cl-ascii-table")
9606 (license license:expat))))
9607
9608 (define-public cl-ascii-table
9609 (sbcl-package->cl-source-package sbcl-cl-ascii-table))
9610
9611 (define-public ecl-cl-ascii-table
9612 (sbcl-package->ecl-package sbcl-cl-ascii-table))
9613
9614 (define-public sbcl-cl-rdkafka
9615 (package
9616 (name "sbcl-cl-rdkafka")
9617 (version "1.0.2")
9618 (source
9619 (origin
9620 (method git-fetch)
9621 (uri (git-reference
9622 (url "https://github.com/SahilKang/cl-rdkafka")
9623 (commit (string-append "v" version))))
9624 (file-name (git-file-name name version))
9625 (sha256
9626 (base32
9627 "1qcgfd4h7syilzmrmd4z2vknbvawda3q3ykw7xm8n381syry4g82"))))
9628 (build-system asdf-build-system/sbcl)
9629 (arguments
9630 `(#:tests? #f ; Attempts to connect to locally running Kafka
9631 #:phases
9632 (modify-phases %standard-phases
9633 (add-after 'unpack 'fix-paths
9634 (lambda* (#:key inputs #:allow-other-keys)
9635 (substitute* "src/low-level/librdkafka-bindings.lisp"
9636 (("librdkafka" all)
9637 (string-append (assoc-ref inputs "librdkafka") "/lib/"
9638 all))))))))
9639 (inputs
9640 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9641 ("cffi" ,sbcl-cffi)
9642 ("librdkafka" ,librdkafka)
9643 ("lparallel" ,sbcl-lparallel)
9644 ("trivial-garbage" ,sbcl-trivial-garbage)))
9645 (home-page "https://github.com/SahilKang/cl-rdkafka")
9646 (synopsis "Common Lisp client library for Apache Kafka")
9647 (description "A Common Lisp client library for Apache Kafka.")
9648 (license license:gpl3)))
9649
9650 (define-public cl-rdkafka
9651 (sbcl-package->cl-source-package sbcl-cl-rdkafka))
9652
9653 (define-public ecl-cl-rdkafka
9654 (sbcl-package->ecl-package sbcl-cl-rdkafka))
9655
9656 (define-public sbcl-acclimation
9657 (let ((commit "4d51150902568fcd59335f4cc4cfa022df6116a5"))
9658 (package
9659 (name "sbcl-acclimation")
9660 (version (git-version "0.0.0" "1" commit))
9661 (source
9662 (origin
9663 (method git-fetch)
9664 (uri (git-reference
9665 (url "https://github.com/robert-strandh/Acclimation")
9666 (commit commit)))
9667 (file-name (git-file-name name version))
9668 (sha256
9669 (base32
9670 "1aw7rarjl8ai57h0jxnp9hr3dka7qrs55mmbl1p6rhd6xj8mp9wq"))))
9671 (build-system asdf-build-system/sbcl)
9672 (home-page "https://github.com/robert-strandh/Acclimation")
9673 (synopsis "Internationalization library for Common Lisp")
9674 (description "This project is meant to provide tools for
9675 internationalizing Common Lisp programs.
9676
9677 One important aspect of internationalization is of course the language used in
9678 error messages, documentation strings, etc. But with this project we provide
9679 tools for all other aspects of internationalization as well, including dates,
9680 weight, temperature, names of physical quantitites, etc.")
9681 (license license:bsd-2))))
9682
9683 (define-public cl-acclimation
9684 (sbcl-package->cl-source-package sbcl-acclimation))
9685
9686 (define-public ecl-acclimation
9687 (sbcl-package->ecl-package sbcl-acclimation))
9688
9689 (define-public sbcl-clump
9690 (let ((commit "1ea4dbac1cb86713acff9ae58727dd187d21048a"))
9691 (package
9692 (name "sbcl-clump")
9693 (version (git-version "0.0.0" "1" commit))
9694 (source
9695 (origin
9696 (method git-fetch)
9697 (uri (git-reference
9698 (url "https://github.com/robert-strandh/Clump")
9699 (commit commit)))
9700 (file-name (git-file-name name version))
9701 (sha256
9702 (base32
9703 "1639msyagsswj85gc0wd90jgh8588j3qg5q70by9s2brf2q6w4lh"))))
9704 (inputs
9705 `(("acclimation" ,sbcl-acclimation)))
9706 (build-system asdf-build-system/sbcl)
9707 (home-page "https://github.com/robert-strandh/Clump")
9708 (synopsis "Collection of tree implementations for Common Lisp")
9709 (description "The purpose of this library is to provide a collection of
9710 implementations of trees.
9711
9712 In contrast to existing libraries such as cl-containers, it does not impose a
9713 particular use for the trees. Instead, it aims for a stratified design,
9714 allowing client code to choose between different levels of abstraction.
9715
9716 As a consequence of this policy, low-level interfaces are provided where
9717 the concrete representation is exposed, but also high level interfaces
9718 where the trees can be used as search trees or as trees that represent
9719 sequences of objects.")
9720 (license license:bsd-2))))
9721
9722 (define-public cl-clump
9723 (sbcl-package->cl-source-package sbcl-clump))
9724
9725 (define-public ecl-clump
9726 (sbcl-package->ecl-package sbcl-clump))
9727
9728 (define-public sbcl-cluffer
9729 (let ((commit "4aad29c276a58a593064e79972ee4d77cae0af4a"))
9730 (package
9731 (name "sbcl-cluffer")
9732 (version (git-version "0.0.0" "1" commit))
9733 (source
9734 (origin
9735 (method git-fetch)
9736 (uri (git-reference
9737 (url "https://github.com/robert-strandh/cluffer")
9738 (commit commit)))
9739 (file-name (git-file-name name version))
9740 (sha256
9741 (base32
9742 "1bcg13g7qb3dr8z50aihdjqa6miz5ivlc9wsj2csgv1km1mak2kj"))))
9743 (build-system asdf-build-system/sbcl)
9744 (inputs
9745 `(("acclimation" ,sbcl-acclimation)
9746 ("clump" ,sbcl-clump)))
9747 (home-page "https://github.com/robert-strandh/cluffer")
9748 (synopsis "Common Lisp library providing a protocol for text-editor buffers")
9749 (description "Cluffer is a library for representing the buffer of a text
9750 editor. As such, it defines a set of CLOS protocols for client code to
9751 interact with the buffer contents in various ways, and it supplies different
9752 implementations of those protocols for different purposes.")
9753 (license license:bsd-2))))
9754
9755 (define-public cl-cluffer
9756 (sbcl-package->cl-source-package sbcl-cluffer))
9757
9758 (define-public ecl-cluffer
9759 (sbcl-package->ecl-package sbcl-cluffer))
9760
9761 (define-public sbcl-cl-libsvm-format
9762 (let ((commit "3300f84fd8d9f5beafc114f543f9d83417c742fb")
9763 (revision "0"))
9764 (package
9765 (name "sbcl-cl-libsvm-format")
9766 (version (git-version "0.1.0" revision commit))
9767 (source
9768 (origin
9769 (method git-fetch)
9770 (uri (git-reference
9771 (url "https://github.com/masatoi/cl-libsvm-format")
9772 (commit commit)))
9773 (file-name (git-file-name name version))
9774 (sha256
9775 (base32
9776 "0284aj84xszhkhlivaigf9qj855fxad3mzmv3zfr0qzb5k0nzwrg"))))
9777 (build-system asdf-build-system/sbcl)
9778 (native-inputs
9779 `(("prove" ,sbcl-prove)))
9780 (inputs
9781 `(("alexandria" ,sbcl-alexandria)))
9782 (synopsis "LibSVM data format reader for Common Lisp")
9783 (description
9784 "This Common Lisp library provides a fast reader for data in LibSVM
9785 format.")
9786 (home-page "https://github.com/masatoi/cl-libsvm-format")
9787 (license license:expat))))
9788
9789 (define-public cl-libsvm-format
9790 (sbcl-package->cl-source-package sbcl-cl-libsvm-format))
9791
9792 (define-public ecl-cl-libsvm-format
9793 (sbcl-package->ecl-package sbcl-cl-libsvm-format))
9794
9795 (define-public sbcl-cl-online-learning
9796 (let ((commit "fc7a34f4f161cd1c7dd747d2ed8f698947781423")
9797 (revision "0"))
9798 (package
9799 (name "sbcl-cl-online-learning")
9800 (version (git-version "0.5" revision commit))
9801 (source
9802 (origin
9803 (method git-fetch)
9804 (uri (git-reference
9805 (url "https://github.com/masatoi/cl-online-learning")
9806 (commit commit)))
9807 (file-name (git-file-name name version))
9808 (sha256
9809 (base32
9810 "14x95rlg80ay5hv645ki57pqvy12v28hz4k1w0f6bsfi2rmpxchq"))))
9811 (build-system asdf-build-system/sbcl)
9812 (native-inputs
9813 `(("prove" ,sbcl-prove)))
9814 (inputs
9815 `(("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9816 ("cl-store" ,sbcl-cl-store)))
9817 (arguments
9818 `(;; FIXME: Tests pass but then the check phase crashes
9819 #:tests? #f))
9820 (synopsis "Online Machine Learning for Common Lisp")
9821 (description
9822 "This library contains a collection of machine learning algorithms for
9823 online linear classification written in Common Lisp.")
9824 (home-page "https://github.com/masatoi/cl-online-learning")
9825 (license license:expat))))
9826
9827 (define-public cl-online-learning
9828 (sbcl-package->cl-source-package sbcl-cl-online-learning))
9829
9830 (define-public ecl-cl-online-learning
9831 (sbcl-package->ecl-package sbcl-cl-online-learning))
9832
9833 (define-public sbcl-cl-random-forest
9834 (let ((commit "fedb36ce99bb6f4d7e3a7dd6d8b058f331308f91")
9835 (revision "1"))
9836 (package
9837 (name "sbcl-cl-random-forest")
9838 (version (git-version "0.1" revision commit))
9839 (source
9840 (origin
9841 (method git-fetch)
9842 (uri (git-reference
9843 (url "https://github.com/masatoi/cl-random-forest")
9844 (commit commit)))
9845 (file-name (git-file-name name version))
9846 (sha256
9847 (base32
9848 "0wqh4dxy5hrvm14jgyfypwhdw35f24rsksid4blz5a6l2z16rlmq"))))
9849 (build-system asdf-build-system/sbcl)
9850 (native-inputs
9851 `(("prove" ,sbcl-prove)
9852 ("trivial-garbage" ,sbcl-trivial-garbage)))
9853 (inputs
9854 `(("alexandria" ,sbcl-alexandria)
9855 ("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9856 ("cl-online-learning" ,sbcl-cl-online-learning)
9857 ("lparallel" ,sbcl-lparallel)))
9858 (arguments
9859 `(#:tests? #f)) ; The tests download data from the Internet
9860 (synopsis "Random Forest and Global Refinement for Common Lisp")
9861 (description
9862 "CL-random-forest is an implementation of Random Forest for multiclass
9863 classification and univariate regression written in Common Lisp. It also
9864 includes an implementation of Global Refinement of Random Forest.")
9865 (home-page "https://github.com/masatoi/cl-random-forest")
9866 (license license:expat))))
9867
9868 (define-public cl-random-forest
9869 (sbcl-package->cl-source-package sbcl-cl-random-forest))
9870
9871 (define-public ecl-cl-random-forest
9872 (sbcl-package->ecl-package sbcl-cl-random-forest))
9873
9874 (define-public sbcl-bordeaux-fft
9875 (let ((commit "4a1f5600cae59bdabcb32de4ee2d7d73a9450d6e")
9876 (revision "0"))
9877 (package
9878 (name "sbcl-bordeaux-fft")
9879 (version (git-version "1.0.1" revision commit))
9880 (source
9881 (origin
9882 (method git-fetch)
9883 (uri (git-reference
9884 (url "https://github.com/ahefner/bordeaux-fft")
9885 (commit commit)))
9886 (file-name (git-file-name name version))
9887 (sha256
9888 (base32 "0j584w6kq2k6r8lp2i14f9605rxhp3r15s33xs08iz1pndn6iwqf"))))
9889 (build-system asdf-build-system/sbcl)
9890 (home-page "http://vintage-digital.com/hefner/software/bordeaux-fft/")
9891 (synopsis "Fast Fourier Transform for Common Lisp")
9892 (description
9893 "The Bordeaux-FFT library provides a reasonably efficient implementation
9894 of the Fast Fourier Transform and its inverse for complex-valued inputs, in
9895 portable Common Lisp.")
9896 (license license:gpl2+))))
9897
9898 (define-public cl-bordeaux-fft
9899 (sbcl-package->cl-source-package sbcl-bordeaux-fft))
9900
9901 (define-public ecl-bordeaux-fft
9902 (sbcl-package->ecl-package sbcl-bordeaux-fft))
9903
9904 (define-public sbcl-napa-fft3
9905 (let ((commit "f2d9614c7167da327c9ceebefb04ff6eae2d2236")
9906 (revision "0"))
9907 (package
9908 (name "sbcl-napa-fft3")
9909 (version (git-version "0.0.1" revision commit))
9910 (source
9911 (origin
9912 (method git-fetch)
9913 (uri (git-reference
9914 (url "https://github.com/pkhuong/Napa-FFT3")
9915 (commit commit)))
9916 (file-name (git-file-name name version))
9917 (sha256
9918 (base32 "1hxjf599xgwm28gbryy7q96j9ys6hfszmv0qxpr5698hxnhknscp"))))
9919 (build-system asdf-build-system/sbcl)
9920 (home-page "https://github.com/pkhuong/Napa-FFT3")
9921 (synopsis "Fast Fourier Transform routines in Common Lisp")
9922 (description
9923 "Napa-FFT3 provides Discrete Fourier Transform (DFT) routines, but also
9924 buildings blocks to express common operations that involve DFTs: filtering,
9925 convolutions, etc.")
9926 (license license:bsd-3))))
9927
9928 (define-public cl-napa-fft3
9929 (sbcl-package->cl-source-package sbcl-napa-fft3))
9930
9931 (define-public sbcl-cl-tga
9932 (let ((commit "4dc2f7b8a259b9360862306640a07a23d4afaacc")
9933 (revision "0"))
9934 (package
9935 (name "sbcl-cl-tga")
9936 (version (git-version "0.0.0" revision commit))
9937 (source
9938 (origin
9939 (method git-fetch)
9940 (uri (git-reference
9941 (url "https://github.com/fisxoj/cl-tga")
9942 (commit commit)))
9943 (file-name (git-file-name name version))
9944 (sha256
9945 (base32 "03k3npmn0xd3fd2m7vwxph82av2xrfb150imqrinlzqmzvz1v1br"))))
9946 (build-system asdf-build-system/sbcl)
9947 (home-page "https://github.com/fisxoj/cl-tga")
9948 (synopsis "TGA file loader for Common Lisp")
9949 (description
9950 "Cl-tga was written to facilitate loading @emph{.tga} files into OpenGL
9951 programs. It's a very simple library, and, at the moment, only supports
9952 non-RLE encoded forms of the files.")
9953 (license license:expat))))
9954
9955 (define-public cl-tga
9956 (sbcl-package->cl-source-package sbcl-cl-tga))
9957
9958 (define-public ecl-cl-tga
9959 (sbcl-package->ecl-package sbcl-cl-tga))
9960
9961 (define-public sbcl-com.gigamonkeys.binary-data
9962 (let ((commit "22e908976d7f3e2318b7168909f911b4a00963ee")
9963 (revision "0"))
9964 (package
9965 (name "sbcl-com.gigamonkeys.binary-data")
9966 (version (git-version "0.0.0" revision commit))
9967 (source
9968 (origin
9969 (method git-fetch)
9970 (uri (git-reference
9971 (url "https://github.com/gigamonkey/monkeylib-binary-data")
9972 (commit commit)))
9973 (file-name (git-file-name name version))
9974 (sha256
9975 (base32 "072v417vmcnvmyh8ddq9vmwwrizm7zwz9dpzi14qy9nsw8q649zw"))))
9976 (build-system asdf-build-system/sbcl)
9977 (inputs
9978 `(("alexandria" ,sbcl-alexandria)))
9979 (home-page "https://github.com/gigamonkey/monkeylib-binary-data")
9980 (synopsis "Common Lisp library for reading and writing binary data")
9981 (description
9982 "This a Common Lisp library for reading and writing binary data. It is
9983 based on code from chapter 24 of the book @emph{Practical Common Lisp}.")
9984 (license license:bsd-3))))
9985
9986 (define-public cl-com.gigamonkeys.binary-data
9987 (sbcl-package->cl-source-package sbcl-com.gigamonkeys.binary-data))
9988
9989 (define-public ecl-com.gigamonkeys.binary-data
9990 (sbcl-package->ecl-package sbcl-com.gigamonkeys.binary-data))
9991
9992 (define-public sbcl-deflate
9993 (package
9994 (name "sbcl-deflate")
9995 (version "1.0.3")
9996 (source
9997 (origin
9998 (method git-fetch)
9999 (uri (git-reference
10000 (url "https://github.com/pmai/Deflate")
10001 (commit (string-append "release-" version))))
10002 (file-name (git-file-name name version))
10003 (sha256
10004 (base32 "1jpdjnxh6cw2d8hk70r2sxn92is52s9b855irvwkdd777fdciids"))))
10005 (build-system asdf-build-system/sbcl)
10006 (home-page "https://github.com/pmai/Deflate")
10007 (synopsis "Native deflate decompression for Common Lisp")
10008 (description
10009 "This library is an implementation of Deflate (RFC 1951) decompression,
10010 with optional support for ZLIB-style (RFC 1950) and gzip-style (RFC 1952)
10011 wrappers of deflate streams. It currently does not handle compression.")
10012 (license license:expat)))
10013
10014 (define-public cl-deflate
10015 (sbcl-package->cl-source-package sbcl-deflate))
10016
10017 (define-public ecl-deflate
10018 (sbcl-package->ecl-package sbcl-deflate))
10019
10020 (define-public sbcl-skippy
10021 (let ((commit "e456210202ca702c792292c5060a264d45e47090")
10022 (revision "0"))
10023 (package
10024 (name "sbcl-skippy")
10025 (version (git-version "1.3.12" revision commit))
10026 (source
10027 (origin
10028 (method git-fetch)
10029 (uri (git-reference
10030 (url "https://github.com/xach/skippy")
10031 (commit commit)))
10032 (file-name (git-file-name name version))
10033 (sha256
10034 (base32 "1sxbn5nh24qpx9w64x8mhp259cxcl1x8p126wk3b91ijjsj7l5vj"))))
10035 (build-system asdf-build-system/sbcl)
10036 (home-page "https://xach.com/lisp/skippy/")
10037 (synopsis "Common Lisp library for GIF images")
10038 (description
10039 "Skippy is a Common Lisp library to read and write GIF image files.")
10040 (license license:bsd-2))))
10041
10042 (define-public cl-skippy
10043 (sbcl-package->cl-source-package sbcl-skippy))
10044
10045 (define-public ecl-skippy
10046 (sbcl-package->ecl-package sbcl-skippy))
10047
10048 (define-public sbcl-cl-freetype2
10049 (let ((commit "96058da730b4812df916c1f4ee18c99b3b15a3de")
10050 (revision "0"))
10051 (package
10052 (name "sbcl-cl-freetype2")
10053 (version (git-version "1.1" revision commit))
10054 (source
10055 (origin
10056 (method git-fetch)
10057 (uri (git-reference
10058 (url "https://github.com/rpav/cl-freetype2")
10059 (commit commit)))
10060 (file-name (git-file-name name version))
10061 (sha256
10062 (base32 "0f8darhairgxnb5bzqcny7nh7ss3471bdzix5rzcyiwdbr5kymjl"))))
10063 (build-system asdf-build-system/sbcl)
10064 (native-inputs
10065 `(("fiveam" ,sbcl-fiveam)))
10066 (inputs
10067 `(("alexandria" ,sbcl-alexandria)
10068 ("cffi" ,sbcl-cffi)
10069 ("freetype" ,freetype)
10070 ("trivial-garbage" ,sbcl-trivial-garbage)))
10071 (arguments
10072 `(#:phases
10073 (modify-phases %standard-phases
10074 (add-after 'unpack 'fix-paths
10075 (lambda* (#:key inputs #:allow-other-keys)
10076 (substitute* "src/ffi/ft2-lib.lisp"
10077 (("\"libfreetype\"")
10078 (string-append "\"" (assoc-ref inputs "freetype")
10079 "/lib/libfreetype\"")))
10080 (substitute* "src/ffi/grovel/grovel-freetype2.lisp"
10081 (("-I/usr/include/freetype")
10082 (string-append "-I" (assoc-ref inputs "freetype")
10083 "/include/freetype")))
10084 #t)))))
10085 (home-page "https://github.com/rpav/cl-freetype2")
10086 (synopsis "Common Lisp bindings for Freetype 2")
10087 (description
10088 "This is a general Freetype 2 wrapper for Common Lisp using CFFI. It's
10089 geared toward both using Freetype directly by providing a simplified API, as
10090 well as providing access to the underlying C structures and functions for use
10091 with other libraries which may also use Freetype.")
10092 (license license:bsd-3))))
10093
10094 (define-public cl-freetype2
10095 (sbcl-package->cl-source-package sbcl-cl-freetype2))
10096
10097 (define-public ecl-cl-freetype2
10098 (sbcl-package->ecl-package sbcl-cl-freetype2))
10099
10100 (define-public sbcl-opticl-core
10101 (let ((commit "b7cd13d26df6b824b216fbc360dc27bfadf04999")
10102 (revision "0"))
10103 (package
10104 (name "sbcl-opticl-core")
10105 (version (git-version "0.0.0" revision commit))
10106 (source
10107 (origin
10108 (method git-fetch)
10109 (uri (git-reference
10110 (url "https://github.com/slyrus/opticl-core")
10111 (commit commit)))
10112 (file-name (git-file-name name version))
10113 (sha256
10114 (base32 "0458bllabcdjghfrqx6aki49c9qmvfmkk8jl75cfpi7q0i12kh95"))))
10115 (build-system asdf-build-system/sbcl)
10116 (inputs
10117 `(("alexandria" ,sbcl-alexandria)))
10118 (home-page "https://github.com/slyrus/opticl-core")
10119 (synopsis "Core classes and pixel access macros for Opticl")
10120 (description
10121 "This Common Lisp library contains the core classes and pixel access
10122 macros for the Opticl image processing library.")
10123 (license license:bsd-2))))
10124
10125 (define-public cl-opticl-core
10126 (sbcl-package->cl-source-package sbcl-opticl-core))
10127
10128 (define-public ecl-opticl-core
10129 (sbcl-package->ecl-package sbcl-opticl-core))
10130
10131 (define-public sbcl-retrospectiff
10132 (let ((commit "c2a69d77d5010f8cdd9045b3e36a08a73da5d321")
10133 (revision "0"))
10134 (package
10135 (name "sbcl-retrospectiff")
10136 (version (git-version "0.2" revision commit))
10137 (source
10138 (origin
10139 (method git-fetch)
10140 (uri (git-reference
10141 (url "https://github.com/slyrus/retrospectiff")
10142 (commit commit)))
10143 (file-name (git-file-name name version))
10144 (sha256
10145 (base32 "0qsn9hpd8j2kp43dk05j8dczz9zppdff5rrclbp45n3ksk9inw8i"))))
10146 (build-system asdf-build-system/sbcl)
10147 (native-inputs
10148 `(("fiveam" ,sbcl-fiveam)))
10149 (inputs
10150 `(("cl-jpeg" ,sbcl-cl-jpeg)
10151 ("com.gigamonkeys.binary-data" ,sbcl-com.gigamonkeys.binary-data)
10152 ("deflate" ,sbcl-deflate)
10153 ("flexi-streams" ,sbcl-flexi-streams)
10154 ("ieee-floats" ,sbcl-ieee-floats)
10155 ("opticl-core" ,sbcl-opticl-core)))
10156 (home-page "https://github.com/slyrus/retrospectiff")
10157 (synopsis "Common Lisp library for TIFF images")
10158 (description
10159 "Retrospectiff is a common lisp library for reading and writing images
10160 in the TIFF (Tagged Image File Format) format.")
10161 (license license:bsd-2))))
10162
10163 (define-public cl-retrospectif
10164 (sbcl-package->cl-source-package sbcl-retrospectiff))
10165
10166 (define-public ecl-retrospectiff
10167 (sbcl-package->ecl-package sbcl-retrospectiff))
10168
10169 (define-public sbcl-mmap
10170 (let ((commit "ba2e98c67e25f0fb8ff838238561120a23903ce7")
10171 (revision "0"))
10172 (package
10173 (name "sbcl-mmap")
10174 (version (git-version "1.0.0" revision commit))
10175 (source
10176 (origin
10177 (method git-fetch)
10178 (uri (git-reference
10179 (url "https://github.com/Shinmera/mmap")
10180 (commit commit)))
10181 (file-name (git-file-name name version))
10182 (sha256
10183 (base32 "0qd0xp20i1pcfn12kkapv9pirb6hd4ns7kz4zf1mmjwykpsln96q"))))
10184 (build-system asdf-build-system/sbcl)
10185 (native-inputs
10186 `(("alexandria" ,sbcl-alexandria)
10187 ("cffi" ,sbcl-cffi)
10188 ("parachute" ,sbcl-parachute)
10189 ("trivial-features" ,sbcl-trivial-features)))
10190 (inputs
10191 `(("cffi" ,sbcl-cffi)
10192 ("documentation-utils" ,sbcl-documentation-utils)))
10193 (home-page "https://shinmera.github.io/mmap/")
10194 (synopsis "File memory mapping for Common Lisp")
10195 (description
10196 "This is a utility library providing access to the @emph{mmap} family of
10197 functions in a portable way. It allows you to directly map a file into the
10198 address space of your process without having to manually read it into memory
10199 sequentially. Typically this is much more efficient for files that are larger
10200 than a few Kb.")
10201 (license license:zlib))))
10202
10203 (define-public cl-mmap
10204 (sbcl-package->cl-source-package sbcl-mmap))
10205
10206 (define-public ecl-mmap
10207 (sbcl-package->ecl-package sbcl-mmap))
10208
10209 (define-public sbcl-3bz
10210 (let ((commit "d6119083b5e0b0a6dd3abc2877936c51f3f3deed")
10211 (revision "0"))
10212 (package
10213 (name "sbcl-3bz")
10214 (version (git-version "0.0.0" revision commit))
10215 (source
10216 (origin
10217 (method git-fetch)
10218 (uri (git-reference
10219 (url "https://github.com/3b/3bz")
10220 (commit commit)))
10221 (file-name (git-file-name name version))
10222 (sha256
10223 (base32 "0fyxzyf2b6sc0w8d9g4nlva861565z6f3xszj0lw29x526dd9rhj"))))
10224 (build-system asdf-build-system/sbcl)
10225 (inputs
10226 `(("alexandria" ,sbcl-alexandria)
10227 ("babel" ,sbcl-babel)
10228 ("cffi" ,sbcl-cffi)
10229 ("mmap" ,sbcl-mmap)
10230 ("nibbles" ,sbcl-nibbles)
10231 ("trivial-features" ,sbcl-trivial-features)))
10232 (arguments
10233 ;; FIXME: Without the following line, the build fails (see issue 41437).
10234 `(#:asd-systems '("3bz")))
10235 (home-page "https://github.com/3b/3bz")
10236 (synopsis "Deflate decompression for Common Lisp")
10237 (description
10238 "3bz is an implementation of Deflate decompression (RFC 1951) optionally
10239 with zlib (RFC 1950) or gzip (RFC 1952) wrappers, with support for reading from
10240 foreign pointers (for use with mmap and similar, etc), and from CL octet
10241 vectors and streams.")
10242 (license license:expat))))
10243
10244 (define-public cl-3bz
10245 (sbcl-package->cl-source-package sbcl-3bz))
10246
10247 (define-public ecl-3bz
10248 (sbcl-package->ecl-package sbcl-3bz))
10249
10250 (define-public sbcl-zpb-exif
10251 (package
10252 (name "sbcl-zpb-exif")
10253 (version "1.2.4")
10254 (source
10255 (origin
10256 (method git-fetch)
10257 (uri (git-reference
10258 (url "https://github.com/xach/zpb-exif")
10259 (commit (string-append "release-" version))))
10260 (file-name (git-file-name name version))
10261 (sha256
10262 (base32 "15s227jhby55cisz14xafb0p1ws2jmrg2rrbbd00lrb97im84hy6"))))
10263 (build-system asdf-build-system/sbcl)
10264 (home-page "https://xach.com/lisp/zpb-exif/")
10265 (synopsis "EXIF information extractor for Common Lisp")
10266 (description
10267 "This is a Common Lisp library to extract EXIF information from image
10268 files.")
10269 (license license:bsd-2)))
10270
10271 (define-public cl-zpb-exif
10272 (sbcl-package->cl-source-package sbcl-zpb-exif))
10273
10274 (define-public ecl-zpb-exif
10275 (sbcl-package->ecl-package sbcl-zpb-exif))
10276
10277 (define-public sbcl-pngload
10278 (package
10279 (name "sbcl-pngload")
10280 (version "2.0.0")
10281 (source
10282 (origin
10283 (method git-fetch)
10284 (uri (git-reference
10285 (url "https://github.com/bufferswap/pngload")
10286 (commit version)))
10287 (file-name (git-file-name name version))
10288 (sha256
10289 (base32 "1ix8dd0fxlf8xm0bszh1s7sx83hn0vqq8b8c9gkrd5m310w8mpvh"))))
10290 (build-system asdf-build-system/sbcl)
10291 (inputs
10292 `(("3bz" ,sbcl-3bz)
10293 ("alexandria" ,sbcl-alexandria)
10294 ("cffi" ,sbcl-cffi)
10295 ("mmap" ,sbcl-mmap)
10296 ("parse-float" ,sbcl-parse-float)
10297 ("static-vectors" ,sbcl-static-vectors)
10298 ("swap-bytes" ,sbcl-swap-bytes)
10299 ("zpb-exif" ,sbcl-zpb-exif)))
10300 (arguments
10301 ;; Test suite disabled because of a dependency cycle.
10302 ;; pngload tests depend on opticl which depends on pngload.
10303 '(#:tests? #f))
10304 (home-page "https://github.com/bufferswap/pngload")
10305 (synopsis "PNG image decoder for Common Lisp")
10306 (description
10307 "This is a Common Lisp library to load images in the PNG image format,
10308 both from files on disk, or streams in memory.")
10309 (license license:expat)))
10310
10311 (define-public cl-pngload
10312 (sbcl-package->cl-source-package sbcl-pngload))
10313
10314 (define-public ecl-pngload
10315 (sbcl-package->ecl-package sbcl-pngload))
10316
10317 (define-public sbcl-opticl
10318 (let ((commit "e8684416eca2e78e82a7b436d436ef2ea24c019d")
10319 (revision "0"))
10320 (package
10321 (name "sbcl-opticl")
10322 (version (git-version "0.0.0" revision commit))
10323 (source
10324 (origin
10325 (method git-fetch)
10326 (uri (git-reference
10327 (url "https://github.com/slyrus/opticl")
10328 (commit commit)))
10329 (file-name (git-file-name name version))
10330 (sha256
10331 (base32 "03rirnnhhisjbimlmpi725h1d3x0cfv00r57988am873dyzawmm1"))))
10332 (build-system asdf-build-system/sbcl)
10333 (native-inputs
10334 `(("fiveam" ,sbcl-fiveam)))
10335 (inputs
10336 `(("alexandria" ,sbcl-alexandria)
10337 ("cl-jpeg" ,sbcl-cl-jpeg)
10338 ("cl-tga" ,sbcl-cl-tga)
10339 ("png-read" ,sbcl-png-read)
10340 ("pngload" ,sbcl-pngload)
10341 ("retrospectiff" ,sbcl-retrospectiff)
10342 ("skippy" ,sbcl-skippy)
10343 ("zpng" ,sbcl-zpng)))
10344 (arguments
10345 '(#:asd-files '("opticl.asd")))
10346 (home-page "https://github.com/slyrus/opticl")
10347 (synopsis "Image processing library for Common Lisp")
10348 (description
10349 "Opticl is a Common Lisp library for representing, processing, loading,
10350 and saving 2-dimensional pixel-based images.")
10351 (license license:bsd-2))))
10352
10353 (define-public cl-opticl
10354 (sbcl-package->cl-source-package sbcl-opticl))
10355
10356 (define-public ecl-opticl
10357 (sbcl-package->ecl-package sbcl-opticl))
10358
10359 (define-public sbcl-mcclim
10360 (let ((commit "27b4d7a667c9b3faa74cabcb57706b888314fff7")
10361 (revision "0"))
10362 (package
10363 (name "sbcl-mcclim")
10364 (version (git-version "0.9.7" revision commit))
10365 (source
10366 (origin
10367 (method git-fetch)
10368 (uri (git-reference
10369 (url "https://github.com/mcclim/mcclim")
10370 (commit commit)))
10371 (file-name (git-file-name name version))
10372 (sha256
10373 (base32 "0jijfgkwas6xnpp5wiii6slcx9pgsalngacb8zm29x6pamx2193h"))))
10374 (build-system asdf-build-system/sbcl)
10375 (native-inputs
10376 `(("fiveam" ,sbcl-fiveam)
10377 ("pkg-config" ,pkg-config)))
10378 (inputs
10379 `(("alexandria" ,sbcl-alexandria)
10380 ("babel" ,sbcl-babel)
10381 ("bordeaux-threads" ,sbcl-bordeaux-threads)
10382 ("cl-freetype2" ,sbcl-cl-freetype2)
10383 ("cl-pdf" ,sbcl-cl-pdf)
10384 ("cffi" ,sbcl-cffi)
10385 ("cl-unicode" ,sbcl-cl-unicode)
10386 ("cl-vectors" ,sbcl-cl-vectors)
10387 ("closer-mop" ,sbcl-closer-mop)
10388 ("clx" ,sbcl-clx)
10389 ("flexi-streams" ,sbcl-flexi-streams)
10390 ("flexichain" ,sbcl-flexichain)
10391 ("font-dejavu" ,font-dejavu)
10392 ("fontconfig" ,fontconfig)
10393 ("freetype" ,freetype)
10394 ("harfbuzz" ,harfbuzz)
10395 ("log4cl" ,sbcl-log4cl)
10396 ("opticl" ,sbcl-opticl)
10397 ("spatial-trees" ,sbcl-spatial-trees)
10398 ("swank" ,sbcl-slime-swank)
10399 ("trivial-features" ,sbcl-trivial-features)
10400 ("trivial-garbage" ,sbcl-trivial-garbage)
10401 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
10402 ("zpb-ttf" ,sbcl-zpb-ttf)))
10403 (arguments
10404 '(#:asd-systems '("mcclim"
10405 "clim-examples")
10406 #:phases
10407 (modify-phases %standard-phases
10408 (add-after 'unpack 'fix-paths
10409 (lambda* (#:key inputs #:allow-other-keys)
10410 ;; mcclim-truetype uses DejaVu as default font and
10411 ;; sets the path at build time.
10412 (substitute* "Extensions/fonts/fontconfig.lisp"
10413 (("/usr/share/fonts/truetype/dejavu/")
10414 (string-append (assoc-ref inputs "font-dejavu")
10415 "/share/fonts/truetype/")))
10416 (substitute* "Extensions/fontconfig/src/functions.lisp"
10417 (("libfontconfig\\.so")
10418 (string-append (assoc-ref inputs "fontconfig")
10419 "/lib/libfontconfig.so")))
10420 (substitute* "Extensions/harfbuzz/src/functions.lisp"
10421 (("libharfbuzz\\.so")
10422 (string-append (assoc-ref inputs "harfbuzz")
10423 "/lib/libharfbuzz.so")))
10424 #t))
10425 (add-after 'unpack 'fix-build
10426 (lambda _
10427 ;; The cffi-grovel system does not get loaded automatically,
10428 ;; so we load it explicitly.
10429 (substitute* "Extensions/fontconfig/mcclim-fontconfig.asd"
10430 (("\\(asdf:defsystem #:mcclim-fontconfig" all)
10431 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10432 (substitute* "Extensions/harfbuzz/mcclim-harfbuzz.asd"
10433 (("\\(asdf:defsystem #:mcclim-harfbuzz" all)
10434 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10435 #t)))))
10436 (home-page "https://common-lisp.net/project/mcclim/")
10437 (synopsis "Common Lisp GUI toolkit")
10438 (description
10439 "McCLIM is an implementation of the @emph{Common Lisp Interface Manager
10440 specification}, a toolkit for writing GUIs in Common Lisp.")
10441 (license license:lgpl2.1+))))
10442
10443 (define-public cl-mcclim
10444 (sbcl-package->cl-source-package sbcl-mcclim))
10445
10446 (define-public ecl-mcclim
10447 (sbcl-package->ecl-package sbcl-mcclim))
10448
10449 (define-public sbcl-cl-inflector
10450 (let ((commit "f1ab16919ccce3bd82a0042677d9616dde2034fe")
10451 (revision "1"))
10452 (package
10453 (name "sbcl-cl-inflector")
10454 (version (git-version "0.2" revision commit))
10455 (source
10456 (origin
10457 (method git-fetch)
10458 (uri (git-reference
10459 (url "https://github.com/AccelerationNet/cl-inflector")
10460 (commit commit)))
10461 (file-name (git-file-name name version))
10462 (sha256
10463 (base32 "1xwwlhik1la4fp984qnx2dqq24v012qv4x0y49sngfpwg7n0ya7y"))))
10464 (build-system asdf-build-system/sbcl)
10465 (native-inputs
10466 `(("lisp-unit2" ,sbcl-lisp-unit2)))
10467 (inputs
10468 `(("alexandria" ,sbcl-alexandria)
10469 ("cl-ppcre" ,sbcl-cl-ppcre)))
10470 (home-page "https://github.com/AccelerationNet/cl-inflector")
10471 (synopsis "Library to pluralize/singularize English and Portuguese words")
10472 (description
10473 "This is a common lisp library to easily pluralize and singularize
10474 English and Portuguese words. This is a port of the ruby ActiveSupport
10475 Inflector module.")
10476 (license license:expat))))
10477
10478 (define-public cl-inflector
10479 (sbcl-package->cl-source-package sbcl-cl-inflector))
10480
10481 (define-public ecl-cl-inflector
10482 (sbcl-package->ecl-package sbcl-cl-inflector))
10483
10484 (define-public sbcl-qbase64
10485 (package
10486 (name "sbcl-qbase64")
10487 (version "0.3.0")
10488 (source
10489 (origin
10490 (method git-fetch)
10491 (uri (git-reference
10492 (url "https://github.com/chaitanyagupta/qbase64")
10493 (commit version)))
10494 (file-name (git-file-name name version))
10495 (sha256
10496 (base32 "1dir0s70ca3hagxv9x15zq4p4ajgl7jrcgqsza2n2y7iqbxh0dwi"))))
10497 (build-system asdf-build-system/sbcl)
10498 (inputs
10499 `(("metabang-bind" ,sbcl-metabang-bind)
10500 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
10501 (native-inputs
10502 `(("fiveam" ,sbcl-fiveam)))
10503 (home-page "https://github.com/chaitanyagupta/qbase64")
10504 (synopsis "Base64 encoder and decoder for Common Lisp")
10505 (description "@code{qbase64} provides a fast and flexible base64 encoder
10506 and decoder for Common Lisp.")
10507 (license license:bsd-3)))
10508
10509 (define-public cl-qbase64
10510 (sbcl-package->cl-source-package sbcl-qbase64))
10511
10512 (define-public ecl-qbase64
10513 (sbcl-package->ecl-package sbcl-qbase64))
10514
10515 (define-public sbcl-lw-compat
10516 ;; No release since 2013.
10517 (let ((commit "aabfe28c6c1a4949f9d7b3cb30319367c9fd1c0d"))
10518 (package
10519 (name "sbcl-lw-compat")
10520 (version (git-version "1.0.0" "1" commit))
10521 (source
10522 (origin
10523 (method git-fetch)
10524 (uri (git-reference
10525 (url "https://github.com/pcostanza/lw-compat/")
10526 (commit commit)))
10527 (file-name (git-file-name name version))
10528 (sha256
10529 (base32 "131rq5k2mlv9bfhmafiv6nfsivl4cxx13d9wr06v5jrqnckh4aav"))))
10530 (build-system asdf-build-system/sbcl)
10531 (home-page "https://github.com/pcostanza/lw-compat/")
10532 (synopsis "LispWorks utilities ported to other Common Lisp implementations")
10533 (description "This package contains a few utility functions from the
10534 LispWorks library that are used in software such as ContextL.")
10535 (license license:expat))))
10536
10537 (define-public cl-lw-compat
10538 (sbcl-package->cl-source-package sbcl-lw-compat))
10539
10540 (define-public ecl-lw-compat
10541 (sbcl-package->ecl-package sbcl-lw-compat))
10542
10543 (define-public sbcl-contextl
10544 ;; No release since 2013.
10545 (let ((commit "5d18a71a85824f6c25a9f35a21052f967b8b6bb9"))
10546 (package
10547 (name "sbcl-contextl")
10548 (version (git-version "1.0.0" "1" commit))
10549 (source
10550 (origin
10551 (method git-fetch)
10552 (uri (git-reference
10553 (url "https://github.com/pcostanza/contextl/")
10554 (commit commit)))
10555 (file-name (git-file-name name version))
10556 (sha256
10557 (base32 "0gk1izx6l6g48nypmnm9r6mzjx0jixqjj2kc6klf8a88rr5xd226"))))
10558 (build-system asdf-build-system/sbcl)
10559 (inputs
10560 `(("closer-mop" ,sbcl-closer-mop)
10561 ("lw-compat" ,sbcl-lw-compat)))
10562 (home-page "https://github.com/pcostanza/contextl")
10563 (synopsis "Context-oriented programming for Common Lisp")
10564 (description "ContextL is a CLOS extension for Context-Oriented
10565 Programming (COP).
10566
10567 Find overview of ContextL's features in an overview paper:
10568 @url{http://www.p-cos.net/documents/contextl-soa.pdf}. See also this general
10569 overview article about COP which also contains some ContextL examples:
10570 @url{http://www.jot.fm/issues/issue_2008_03/article4/}.")
10571 (license license:expat))))
10572
10573 (define-public cl-contextl
10574 (sbcl-package->cl-source-package sbcl-contextl))
10575
10576 (define-public ecl-contextl
10577 (sbcl-package->ecl-package sbcl-contextl))
10578
10579 (define-public sbcl-hu.dwim.common-lisp
10580 (package
10581 (name "sbcl-hu.dwim.common-lisp")
10582 (version "2015-07-09")
10583 (source
10584 (origin
10585 (method url-fetch)
10586 (uri (string-append
10587 "http://beta.quicklisp.org/archive/hu.dwim.common-lisp/"
10588 version "/hu.dwim.common-lisp-"
10589 (string-replace-substring version "-" "")
10590 "-darcs.tgz"))
10591 (sha256
10592 (base32 "13cxrvh55rw080mvfir7s7k735l9rcfh3khxp97qfwd5rz0gadb9"))))
10593 (build-system asdf-build-system/sbcl)
10594 (native-inputs
10595 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10596 (home-page "http://dwim.hu/")
10597 (synopsis "Redefine some standard Common Lisp names")
10598 (description "This library is a redefinition of the standard Common Lisp
10599 package that includes a number of renames and shadows. ")
10600 (license license:public-domain)))
10601
10602 (define-public cl-hu.dwim.common-lisp
10603 (sbcl-package->cl-source-package sbcl-hu.dwim.common-lisp))
10604
10605 (define-public ecl-hu.dwim.common-lisp
10606 (sbcl-package->ecl-package sbcl-hu.dwim.common-lisp))
10607
10608 (define-public sbcl-hu.dwim.common
10609 (package
10610 (name "sbcl-hu.dwim.common")
10611 (version "2015-07-09")
10612 (source
10613 (origin
10614 (method url-fetch)
10615 (uri (string-append
10616 "http://beta.quicklisp.org/archive/hu.dwim.common/"
10617 version "/hu.dwim.common-"
10618 (string-replace-substring version "-" "")
10619 "-darcs.tgz"))
10620 (sha256
10621 (base32 "12l1rr6w9m99w0b5gc6hv58ainjfhbc588kz6vwshn4gqsxyzbhp"))))
10622 (build-system asdf-build-system/sbcl)
10623 (native-inputs
10624 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10625 (inputs
10626 `(("alexandria" ,sbcl-alexandria)
10627 ("anaphora" ,sbcl-anaphora)
10628 ("closer-mop" ,sbcl-closer-mop)
10629 ("hu.dwim.common-lisp" ,sbcl-hu.dwim.common-lisp)
10630 ("iterate" ,sbcl-iterate)
10631 ("metabang-bind" ,sbcl-metabang-bind)))
10632 (home-page "http://dwim.hu/")
10633 (synopsis "Common Lisp library shared by other hu.dwim systems")
10634 (description "This package contains a support library for other
10635 hu.dwim systems.")
10636 (license license:public-domain)))
10637
10638 (define-public cl-hu.dwim.common
10639 (sbcl-package->cl-source-package sbcl-hu.dwim.common))
10640
10641 (define-public ecl-hu.dwim.common
10642 (sbcl-package->ecl-package sbcl-hu.dwim.common))
10643
10644 (define-public sbcl-hu.dwim.defclass-star
10645 (package
10646 (name "sbcl-hu.dwim.defclass-star")
10647 (version "2015-07-09")
10648 (source
10649 (origin
10650 (method url-fetch)
10651 (uri (string-append
10652 "http://beta.quicklisp.org/archive/hu.dwim.defclass-star/"
10653 version "/hu.dwim.defclass-star-"
10654 (string-replace-substring version "-" "")
10655 "-darcs.tgz"))
10656 (sha256
10657 (base32 "032982lyp0hm0ssxlyh572whi2hr4j1nqkyqlllaj373v0dbs3vs"))))
10658 (build-system asdf-build-system/sbcl)
10659 (native-inputs
10660 `(;; These 2 inputs are only needed tests which are disabled, see below.
10661 ;; ("hu.dwim.common" ,sbcl-hu.dwim.common)
10662 ;; Need cl- package for the :hu.dwim.stefil+hu.dwim.def+swank system.
10663 ;; ("hu.dwim.stefil" ,cl-hu.dwim.stefil)
10664 ("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10665 (arguments
10666 `(#:test-asd-file "hu.dwim.defclass-star.test.asd"
10667 ;; Tests require a circular dependency: hu.dwim.stefil -> hu.dwim.def
10668 ;; -> hu.dwim.util -> hu.dwim.defclass-star.
10669 #:tests? #f))
10670 (home-page "http://dwim.hu/?_x=dfxn&_f=mRIMfonK")
10671 (synopsis "Simplify definitions with defclass* and friends in Common Lisp")
10672 (description "@code{defclass-star} provides defclass* and defcondition* to
10673 simplify class and condition declarations. Features include:
10674
10675 @itemize
10676 @item Automatically export all or select slots at compile time.
10677 @item Define the @code{:initarg} and @code{:accessor} automatically.
10678 @item Specify a name transformer for both the @code{:initarg} and
10679 @code{:accessor}, etc.
10680 @item Specify the @code{:initform} as second slot value.
10681 @end itemize
10682
10683 See
10684 @url{https://common-lisp.net/project/defclass-star/configuration.lisp.html}
10685 for an example.")
10686 (license license:public-domain)))
10687
10688 (define-public cl-hu.dwim.defclass-star
10689 (sbcl-package->cl-source-package sbcl-hu.dwim.defclass-star))
10690
10691 (define-public ecl-hu.dwim.defclass-star
10692 (sbcl-package->ecl-package sbcl-hu.dwim.defclass-star))
10693
10694 (define-public sbcl-livesupport
10695 (let ((commit "71e6e412df9f3759ad8378fabb203913d82e228a")
10696 (revision "1"))
10697 (package
10698 (name "sbcl-livesupport")
10699 (version (git-version "0.0.0" revision commit))
10700 (source
10701 (origin
10702 (method git-fetch)
10703 (uri (git-reference
10704 (url "https://github.com/cbaggers/livesupport")
10705 (commit commit)))
10706 (file-name (git-file-name name version))
10707 (sha256
10708 (base32 "1rvnl0mncylbx63608pz5llss7y92j7z3ydambk9mcnjg2mjaapg"))))
10709 (build-system asdf-build-system/sbcl)
10710 (home-page "https://github.com/cbaggers/livesupport")
10711 (synopsis "Some helpers that make livecoding a little easier")
10712 (description "This package provides a macro commonly used in livecoding to
10713 enable continuing when errors are raised. Simply wrap around a chunk of code
10714 and it provides a restart called @code{continue} which ignores the error and
10715 carrys on from the end of the body.")
10716 (license license:bsd-2))))
10717
10718 (define-public cl-livesupport
10719 (sbcl-package->cl-source-package sbcl-livesupport))
10720
10721 (define-public ecl-livesupport
10722 (sbcl-package->ecl-package sbcl-livesupport))
10723
10724 (define-public sbcl-envy
10725 (let ((commit "956321b2852d58ba71c6fe621f5c2924178e9f88")
10726 (revision "1"))
10727 (package
10728 (name "sbcl-envy")
10729 (version (git-version "0.1" revision commit))
10730 (home-page "https://github.com/fukamachi/envy")
10731 (source
10732 (origin
10733 (method git-fetch)
10734 (uri (git-reference
10735 (url home-page)
10736 (commit commit)))
10737 (file-name (git-file-name name version))
10738 (sha256
10739 (base32 "17iwrfxcdinjbb2h6l09qf40s7xkbhrpmnljlwpjy8l8rll8h3vg"))))
10740 (build-system asdf-build-system/sbcl)
10741 ;; (native-inputs ; Only for tests.
10742 ;; `(("prove" ,sbcl-prove)
10743 ;; ("osicat" ,sbcl-osicat)))
10744 (arguments
10745 '(#:phases
10746 (modify-phases %standard-phases
10747 (add-after 'unpack 'fix-tests
10748 (lambda _
10749 (substitute* "envy-test.asd"
10750 (("cl-test-more") "prove"))
10751 #t)))
10752 ;; Tests fail with
10753 ;; Component ENVY-ASD::ENVY-TEST not found, required by #<SYSTEM "envy">
10754 ;; like xsubseq. Why?
10755 #:tests? #f))
10756 (synopsis "Common Lisp configuration switcher inspired by Perl's Config::ENV.")
10757 (description "Envy is a configuration manager for various applications.
10758 Envy uses an environment variable to determine a configuration to use. This
10759 can separate configuration system from an implementation.")
10760 (license license:bsd-2))))
10761
10762 (define-public cl-envy
10763 (sbcl-package->cl-source-package sbcl-envy))
10764
10765 (define-public ecl-envy
10766 (sbcl-package->ecl-package sbcl-envy))
10767
10768 (define-public sbcl-mito
10769 (let ((commit "d3b9e375ef364a65692da2185085a08c969ac88a")
10770 (revision "1"))
10771 (package
10772 (name "sbcl-mito")
10773 (version (git-version "0.1" revision commit))
10774 (home-page "https://github.com/fukamachi/mito")
10775 (source
10776 (origin
10777 (method git-fetch)
10778 (uri (git-reference
10779 (url home-page)
10780 (commit commit)))
10781 (file-name (git-file-name name version))
10782 (sha256
10783 (base32 "08mncgzjnbbsf1a6am3l73iw4lyfvz5ldjg5g84awfaxml4p73mb"))))
10784 (build-system asdf-build-system/sbcl)
10785 (native-inputs
10786 `(("prove" ,sbcl-prove)))
10787 (inputs
10788 `(("alexandria" ,sbcl-alexandria)
10789 ("cl-ppcre" ,sbcl-cl-ppcre)
10790 ("cl-reexport" ,sbcl-cl-reexport)
10791 ("closer-mop" ,sbcl-closer-mop)
10792 ("dbi" ,sbcl-dbi)
10793 ("dissect" ,sbcl-dissect)
10794 ("esrap" ,sbcl-esrap)
10795 ("local-time" ,sbcl-local-time)
10796 ("optima" ,sbcl-optima)
10797 ("sxql" ,sbcl-sxql)
10798 ("uuid" ,sbcl-uuid)))
10799 (arguments
10800 '(#:phases
10801 (modify-phases %standard-phases
10802 (add-after 'unpack 'remove-non-functional-tests
10803 (lambda _
10804 (substitute* "mito-test.asd"
10805 (("\\(:test-file \"db/mysql\"\\)") "")
10806 (("\\(:test-file \"db/postgres\"\\)") "")
10807 (("\\(:test-file \"dao\"\\)") "")
10808 ;; TODO: migration/sqlite3 should work, re-enable once
10809 ;; upstream has fixed it:
10810 ;; https://github.com/fukamachi/mito/issues/70
10811 (("\\(:test-file \"migration/sqlite3\"\\)") "")
10812 (("\\(:test-file \"migration/mysql\"\\)") "")
10813 (("\\(:test-file \"migration/postgres\"\\)") "")
10814 (("\\(:test-file \"postgres-types\"\\)") "")
10815 (("\\(:test-file \"mixin\"\\)") ""))
10816 #t)))
10817 ;; TODO: While all enabled tests pass, the phase fails with:
10818 ;; Component MITO-ASD::MITO-TEST not found, required by #<SYSTEM "mito">
10819 #:tests? #f))
10820 (synopsis "ORM for Common Lisp with migrations and relationships support")
10821 (description "Mito is yet another object relational mapper, and it aims
10822 to be a successor of Integral.
10823
10824 @itemize
10825 @item Support MySQL, PostgreSQL and SQLite3.
10826 @item Add id (serial/uuid primary key), created_at and updated_at by default
10827 like Ruby's ActiveRecord.
10828 @item Migrations.
10829 @item Database schema versioning.
10830 @end itemize\n")
10831 (license license:llgpl))))
10832
10833 (define-public cl-mito
10834 (sbcl-package->cl-source-package sbcl-mito))
10835
10836 (define-public ecl-mito
10837 (sbcl-package->ecl-package sbcl-mito))
10838
10839 (define-public sbcl-kebab
10840 (let ((commit "e7f77644c4e46131e7b8039d191d35fe6211f31b")
10841 (revision "1"))
10842 (package
10843 (name "sbcl-kebab")
10844 (version (git-version "0.1" revision commit))
10845 (home-page "https://github.com/pocket7878/kebab")
10846 (source
10847 (origin
10848 (method git-fetch)
10849 (uri (git-reference
10850 (url home-page)
10851 (commit commit)))
10852 (file-name (git-file-name name version))
10853 (sha256
10854 (base32 "0j5haabnvj0vz0rx9mwyfsb3qzpga9nickbjw8xs6vypkdzlqv1b"))))
10855 (build-system asdf-build-system/sbcl)
10856 (inputs
10857 `(("cl-ppcre" ,sbcl-cl-ppcre)
10858 ("alexandria" ,sbcl-alexandria)
10859 ("cl-interpol" ,sbcl-cl-interpol)
10860 ("split-sequence" ,sbcl-split-sequence)))
10861 (native-inputs
10862 `(("prove" ,sbcl-prove)))
10863 (arguments
10864 ;; Tests passes but the phase fails with
10865 ;; Component KEBAB-ASD::KEBAB-TEST not found, required by #<SYSTEM "kebab">.
10866 `(#:tests? #f))
10867 (synopsis "Common Lisp case converter")
10868 (description "This Common Lisp library converts strings, symbols and
10869 keywords between any of the following typographical cases: PascalCase,
10870 camelCase, snake_case, kebab-case (lisp-case).")
10871 (license license:llgpl))))
10872
10873 (define-public cl-kebab
10874 (sbcl-package->cl-source-package sbcl-kebab))
10875
10876 (define-public ecl-kebab
10877 (sbcl-package->ecl-package sbcl-kebab))
10878
10879 (define-public sbcl-datafly
10880 (let ((commit "adece27fcbc4b5ea39ad1a105048b6b7166e3b0d")
10881 (revision "1"))
10882 (package
10883 (name "sbcl-datafly")
10884 (version (git-version "0.1" revision commit))
10885 (home-page "https://github.com/fukamachi/datafly")
10886 (source
10887 (origin
10888 (method git-fetch)
10889 (uri (git-reference
10890 (url home-page)
10891 (commit commit)))
10892 (file-name (git-file-name name version))
10893 (sha256
10894 (base32 "16b78kzmglp2a4nxlxxl7rpf5zaibsgagn0p3c56fsxvx0c4hszv"))))
10895 (build-system asdf-build-system/sbcl)
10896 (inputs
10897 `(("alexandria" ,sbcl-alexandria)
10898 ("iterate" ,sbcl-iterate)
10899 ("optima" ,sbcl-optima)
10900 ("trivial-types" ,sbcl-trivial-types)
10901 ("closer-mop" ,sbcl-closer-mop)
10902 ("cl-syntax" ,sbcl-cl-syntax)
10903 ("sxql" ,sbcl-sxql)
10904 ("dbi" ,sbcl-dbi)
10905 ("babel" ,sbcl-babel)
10906 ("local-time" ,sbcl-local-time)
10907 ("function-cache" ,sbcl-function-cache)
10908 ("jonathan" ,sbcl-jonathan)
10909 ("kebab" ,sbcl-kebab)
10910 ("log4cl" ,sbcl-log4cl)))
10911 (native-inputs
10912 `(("prove" ,sbcl-prove)))
10913 (arguments
10914 ;; TODO: Tests fail with
10915 ;; While evaluating the form starting at line 22, column 0
10916 ;; of #P"/tmp/guix-build-sbcl-datafly-0.1-1.adece27.drv-0/source/t/datafly.lisp":
10917 ;; Unhandled SQLITE:SQLITE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
10918 ;; {10009F8083}>:
10919 ;; Error when binding parameter 1 to value NIL.
10920 ;; Code RANGE: column index out of range.
10921 `(#:tests? #f))
10922 (synopsis "Lightweight database library for Common Lisp")
10923 (description "Datafly is a lightweight database library for Common Lisp.")
10924 (license license:bsd-3))))
10925
10926 (define-public cl-datafly
10927 (sbcl-package->cl-source-package sbcl-datafly))
10928
10929 (define-public ecl-datafly
10930 (sbcl-package->ecl-package sbcl-datafly))
10931
10932 (define-public sbcl-do-urlencode
10933 (let ((commit "199846441dad5dfac5478b8dee4b4e20d107af6a")
10934 (revision "1"))
10935 (package
10936 (name "sbcl-do-urlencode")
10937 (version (git-version "0.0.0" revision commit))
10938 (home-page "https://github.com/drdo/do-urlencode")
10939 (source
10940 (origin
10941 (method git-fetch)
10942 (uri (git-reference
10943 (url home-page)
10944 (commit commit)))
10945 (file-name (git-file-name name version))
10946 (sha256
10947 (base32 "0k2i3d4k9cpci235mwfm0c5a4yqfkijr716bjv7cdlpzx88lazm9"))))
10948 (build-system asdf-build-system/sbcl)
10949 (inputs
10950 `(("alexandria" ,sbcl-alexandria)
10951 ("babel" ,sbcl-babel)))
10952 (synopsis "Percent Encoding (aka URL Encoding) Common Lisp library")
10953 (description "This library provides trivial percent encoding and
10954 decoding functions for URLs.")
10955 (license license:isc))))
10956
10957 (define-public cl-do-urlencode
10958 (sbcl-package->cl-source-package sbcl-do-urlencode))
10959
10960 (define-public ecl-do-urlencode
10961 (sbcl-package->ecl-package sbcl-do-urlencode))
10962
10963 (define-public sbcl-cl-emb
10964 (let ((commit "fd8652174d048d4525a81f38cdf42f4fa519f840")
10965 (revision "1"))
10966 (package
10967 (name "sbcl-cl-emb")
10968 (version (git-version "0.4.3" revision commit))
10969 (home-page "https://common-lisp.net/project/cl-emb/")
10970 (source
10971 (origin
10972 (method git-fetch)
10973 (uri (git-reference
10974 (url "https://github.com/38a938c2/cl-emb")
10975 (commit commit)))
10976 (file-name (git-file-name name version))
10977 (sha256
10978 (base32 "1xcm31n7afh5316lwz8iqbjx7kn5lw0l11arg8mhdmkx42aj4gkk"))))
10979 (build-system asdf-build-system/sbcl)
10980 (inputs
10981 `(("cl-ppcre" ,sbcl-cl-ppcre)))
10982 (synopsis "Templating system for Common Lisp")
10983 (description "A mixture of features from eRuby and HTML::Template. You
10984 could name it \"Yet Another LSP\" (LispServer Pages) but it's a bit more than
10985 that and not limited to a certain server or text format.")
10986 (license license:llgpl))))
10987
10988 (define-public cl-emb
10989 (sbcl-package->cl-source-package sbcl-cl-emb))
10990
10991 (define-public ecl-cl-emb
10992 (sbcl-package->ecl-package sbcl-cl-emb))
10993
10994 (define-public sbcl-cl-project
10995 (let ((commit "151107014e534fc4666222d57fec2cc8549c8814")
10996 (revision "1"))
10997 (package
10998 (name "sbcl-cl-project")
10999 (version (git-version "0.3.1" revision commit))
11000 (home-page "https://github.com/fukamachi/cl-project")
11001 (source
11002 (origin
11003 (method git-fetch)
11004 (uri (git-reference
11005 (url home-page)
11006 (commit commit)))
11007 (file-name (git-file-name name version))
11008 (sha256
11009 (base32 "1rmh6s1ncv8s2yrr14ja9wisgg745sq6xibqwb341ikdicxdp26y"))))
11010 (build-system asdf-build-system/sbcl)
11011 (inputs
11012 `(("cl-emb" ,sbcl-cl-emb)
11013 ("cl-ppcre" ,sbcl-cl-ppcre)
11014 ("local-time" ,sbcl-local-time)
11015 ("prove" ,sbcl-prove)))
11016 (arguments
11017 ;; Tests depend on caveman, which in turns depends on cl-project.
11018 '(#:tests? #f
11019 #:asd-files '("cl-project.asd")))
11020 (synopsis "Generate a skeleton for modern Common Lisp projects")
11021 (description "This library provides a modern project skeleton generator.
11022 In contract with other generators, CL-Project generates one package per file
11023 and encourages unit testing by generating a system for unit testing, so you
11024 can begin writing unit tests as soon as the project is generated.")
11025 (license license:llgpl))))
11026
11027 (define-public cl-project
11028 (sbcl-package->cl-source-package sbcl-cl-project))
11029
11030 (define-public ecl-cl-project
11031 (sbcl-package->ecl-package sbcl-cl-project))
11032
11033 (define-public sbcl-caveman
11034 (let ((commit "faa5f7e3b364fd7e7096af9a7bb06728b8d80441") ; No release since 2012
11035 (revision "1"))
11036 (package
11037 (name "sbcl-caveman")
11038 (version (git-version "2.4.0" revision commit))
11039 (home-page "http://8arrow.org/caveman/")
11040 (source
11041 (origin
11042 (method git-fetch)
11043 (uri (git-reference
11044 (url "https://github.com/fukamachi/caveman/")
11045 (commit commit)))
11046 (file-name (git-file-name name version))
11047 (sha256
11048 (base32 "0kh0gx05pczk8f7r9qdi4zn1p3d0a2prps27k7jpgvc1dxkl8qhq"))))
11049 (build-system asdf-build-system/sbcl)
11050 (inputs
11051 `(("ningle" ,cl-ningle)
11052 ("lack" ,sbcl-lack)
11053 ("cl-project" ,sbcl-cl-project)
11054 ("dbi" ,sbcl-dbi)
11055 ("cl-syntax" ,sbcl-cl-syntax)
11056 ("myway" ,sbcl-myway)
11057 ("quri" ,sbcl-quri)))
11058 (native-inputs
11059 `(("usocket" ,sbcl-usocket)
11060 ("dexador" ,sbcl-dexador)))
11061 (arguments
11062 `(#:asd-files '("caveman2.asd")
11063 #:asd-systems '("caveman2")
11064 #:phases
11065 (modify-phases %standard-phases
11066 (add-after 'unpack 'remove-v1
11067 (lambda _
11068 (delete-file-recursively "v1")
11069 (for-each delete-file
11070 '("README.v1.markdown" "caveman.asd" "caveman-test.asd")))))
11071 ;; TODO: Tests fail with:
11072 ;; writing /gnu/store/...-sbcl-caveman-2.4.0-1.faa5f7e/share/common-lisp/sbcl-source/caveman2/v2/t/tmp/myapp573/tests/myapp573.lisp
11073 ;; While evaluating the form starting at line 38, column 0
11074 ;; of #P"/tmp/guix-build-sbcl-caveman-2.4.0-1.faa5f7e.drv-0/source/v2/t/caveman.lisp":
11075 ;; Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING
11076 ;; {10009F8083}>:
11077 ;; Component "myapp573" not found
11078 #:tests? #f))
11079 (synopsis "Lightweight web application framework in Common Lisp")
11080 (description "Caveman is intended to be a collection of common parts for
11081 web applications. Caveman2 has three design goals:
11082
11083 @itemize
11084 @item Be extensible.
11085 @item Be practical.
11086 @item Don't force anything.
11087 @end itemize\n")
11088 (license license:llgpl))))
11089
11090 (define-public cl-caveman
11091 (package
11092 (inherit
11093 (sbcl-package->cl-source-package sbcl-caveman))
11094 (propagated-inputs
11095 `(("ningle" ,cl-ningle)))))
11096
11097 (define-public ecl-caveman
11098 (sbcl-package->ecl-package sbcl-caveman))
11099
11100 (define-public sbcl-lambda-fiddle
11101 (let ((commit "d16bba55acf6065b412f64ab8fdff679a4a32b1e") ;; no tagged branch
11102 (revision "1"))
11103 (package
11104 (name "sbcl-lambda-fiddle")
11105 (version (git-version "1.0.0" revision commit))
11106 (source
11107 (origin
11108 (method git-fetch)
11109 (uri (git-reference
11110 (url "https://github.com/Shinmera/lambda-fiddle")
11111 (commit commit)))
11112 (file-name (git-file-name name version))
11113 (sha256
11114 (base32 "1zarj1pqjqmk95kdx1axkgpwy2wq3canczk7f9z5hvaw5an6gand"))))
11115 (build-system asdf-build-system/sbcl)
11116 (home-page "https://github.com/Shinmera/lambda-fiddle")
11117 (synopsis "Collection of utilities to process lambda-lists")
11118 (description "This collection of utilities is useful in contexts where
11119 you want a macro that uses lambda-lists in some fashion but need more precise
11120 processing.")
11121 (license license:zlib))))
11122
11123 (define-public cl-lambda-fiddle
11124 (sbcl-package->cl-source-package sbcl-lambda-fiddle))
11125
11126 (define-public ecl-lambda-fiddle
11127 (sbcl-package->ecl-package sbcl-lambda-fiddle))
11128
11129 (define-public sbcl-xmls
11130 (let ((commit "18546f0850b1338e03997ffd1696add1cb1800d1") ;; no tagged branch
11131 (revision "1"))
11132 (package
11133 (name "sbcl-xmls")
11134 (version (git-version "3.0.2" revision commit))
11135 (source
11136 (origin
11137 (method git-fetch)
11138 (uri (git-reference
11139 (url "https://github.com/rpgoldman/xmls")
11140 (commit commit)))
11141 (file-name (git-file-name name version))
11142 (sha256
11143 (base32 "1lmvfml2ldbb1wkhm25jqqk2bhwsz52hhcgljbnzj1xr8xhc3anp"))))
11144 (native-inputs
11145 `(("fiveam" ,sbcl-fiveam)))
11146 (build-system asdf-build-system/sbcl)
11147 (home-page "https://github.com/rpgoldman/xmls")
11148 (synopsis "Non-validating XML parser for Common Lisp")
11149 (description "Xmls is a self-contained, easily embedded parser that
11150 recognizes a useful subset of the XML spec. It provides a simple mapping from
11151 XML to Lisp structures or s-expressions and back.")
11152 (license license:bsd-2))))
11153
11154 (define-public cl-xmls
11155 (sbcl-package->cl-source-package sbcl-xmls))
11156
11157 (define-public ecl-xmls
11158 (sbcl-package->ecl-package sbcl-xmls))
11159
11160 (define-public sbcl-geco
11161 (package
11162 (name "sbcl-geco")
11163 (version "2.01a")
11164 (source
11165 (origin
11166 (method url-fetch)
11167 (uri (string-append "https://common-lisp.net/project/geco/download/"
11168 "geco-" version ".tar.gz"))
11169 (sha256
11170 (base32 "0kk0bzr1019cfmf2b1jl1rk9shv3gx5z1znifxllg9mb98yqsgw0"))
11171 (patches (search-patches "sbcl-geco-fix-organism-class.patch"))))
11172 (build-system asdf-build-system/sbcl)
11173 (home-page "https://common-lisp.net/project/geco/")
11174 (synopsis "Genetic algorithm toolkit for Common Lisp")
11175 (description
11176 "GECO (Genetic Evolution through Combination of Objects) is an extensible,
11177 object-oriented framework for prototyping genetic algorithms in Common Lisp.")
11178 (license license:lgpl2.1+)))
11179
11180 (define-public cl-geco
11181 (sbcl-package->cl-source-package sbcl-geco))
11182
11183 (define-public ecl-geco
11184 (sbcl-package->ecl-package sbcl-geco))
11185
11186 (define-public sbcl-html-entities
11187 (let ((commit "4af018048e891f41d77e7d680ed3aeb639e1eedb"))
11188 (package
11189 (name "sbcl-html-entities")
11190 (version (git-version "0.02" "1" commit))
11191 (source
11192 (origin
11193 (method git-fetch)
11194 (uri (git-reference
11195 (url "https://github.com/BnMcGn/html-entities/")
11196 (commit commit)))
11197 (file-name (git-file-name name version))
11198 (sha256
11199 (base32 "1b2yl6lf6vis17y4n5s505p7ica96bdafcl6vydy1hg50fy33nfr"))))
11200 (build-system asdf-build-system/sbcl)
11201 (inputs
11202 `(("ppcre" ,sbcl-cl-ppcre)))
11203 (native-inputs
11204 `(("fiveam" ,sbcl-fiveam)))
11205 (home-page "https://github.com/BnMcGn/html-entities/")
11206 (synopsis "Encode and decode entities in HTML with Common Lisp")
11207 (description "Html-entities is a Common Lisp library that lets you
11208 encode and decode entities in HTML.")
11209 (license license:expat))))
11210
11211 (define-public cl-html-entities
11212 (sbcl-package->cl-source-package sbcl-html-entities))
11213
11214 (define-public ecl-html-entities
11215 (sbcl-package->ecl-package sbcl-html-entities))
11216
11217 (define-public sbcl-quicksearch
11218 (let ((commit "fb02ecf7c876ec580ab18c7d2c8c7814c06af599"))
11219 (package
11220 (name "sbcl-quicksearch")
11221 (version (git-version "0.01.04" "1" commit))
11222 (source
11223 (origin
11224 (method git-fetch)
11225 (uri (git-reference
11226 (url "https://github.com/tkych/quicksearch/")
11227 (commit commit)))
11228 (file-name (git-file-name name version))
11229 (sha256
11230 (base32 "16k19zjkhh7r64vjq371k5jwjs7cdfjz83flh561n4h4v1z89fps"))))
11231 (build-system asdf-build-system/sbcl)
11232 (inputs
11233 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11234 ("iterate" ,sbcl-iterate)
11235 ("alexandria" ,sbcl-alexandria)
11236 ("anaphora" ,sbcl-anaphora)
11237 ("ppcre" ,sbcl-cl-ppcre)
11238 ("drakma" ,sbcl-drakma)
11239 ("html-entities" ,sbcl-html-entities)
11240 ("yason" ,sbcl-yason)
11241 ("flexi-streams" ,sbcl-flexi-streams)
11242 ("do-urlencode" ,sbcl-do-urlencode)))
11243 (home-page "https://github.com/tkych/quicksearch/")
11244 (synopsis "Search Engine Interface for Common Lisp packages")
11245 (description "Quicksearch is a search-engine-interface for Common Lisp.
11246 The goal of Quicksearch is to find the Common Lisp library quickly. For
11247 example, if you will find the library about json, just type @code{(qs:?
11248 'json)} at REPL.
11249
11250 The function @code{quicksearch} searches for Common Lisp projects in
11251 Quicklisp, Cliki, GitHub and BitBucket, then outputs results in REPL. The
11252 function @code{?} is abbreviation wrapper for @code{quicksearch}.")
11253 (license license:expat))))
11254
11255 (define-public cl-quicksearch
11256 (sbcl-package->cl-source-package sbcl-quicksearch))
11257
11258 (define-public ecl-quicksearch
11259 (sbcl-package->ecl-package sbcl-quicksearch))
11260
11261 (define-public sbcl-agutil
11262 (let ((commit "df188d754d472da9faa1601a48f1f37bb7b34d68"))
11263 (package
11264 (name "sbcl-agutil")
11265 (version (git-version "0.0.1" "1" commit))
11266 (source
11267 (origin
11268 (method git-fetch)
11269 (uri (git-reference
11270 (url "https://github.com/alex-gutev/agutil/")
11271 (commit commit)))
11272 (file-name (git-file-name name version))
11273 (sha256
11274 (base32 "1xpnyzksk2xld64b6lw6rw0gn5zxlb77jwna59sd4yl7kxhxlfpf"))))
11275 (build-system asdf-build-system/sbcl)
11276 (inputs
11277 `(("alexandria" ,sbcl-alexandria)
11278 ("trivia" ,sbcl-trivia)))
11279 (home-page "https://github.com/alex-gutev/agutil/")
11280 (synopsis "Collection of Common Lisp utilities")
11281 (description "A collection of Common Lisp utility functions and macros
11282 mostly not found in other utility packages.")
11283 (license license:expat))))
11284
11285 (define-public cl-agutil
11286 (sbcl-package->cl-source-package sbcl-agutil))
11287
11288 (define-public ecl-agutil
11289 (sbcl-package->ecl-package sbcl-agutil))
11290
11291 (define-public sbcl-custom-hash-table
11292 (let ((commit "f26983133940f5edf826ebbc8077acc04816ddfa"))
11293 (package
11294 (name "sbcl-custom-hash-table")
11295 (version (git-version "0.3" "1" commit))
11296 (source
11297 (origin
11298 (method git-fetch)
11299 (uri (git-reference
11300 (url "https://github.com/metawilm/cl-custom-hash-table")
11301 (commit commit)))
11302 (file-name (git-file-name name version))
11303 (sha256
11304 (base32 "1k4mvrpbqqds2fwjxp1bxmrfmr8ch4dkwhnkbw559knbqshvrlj5"))))
11305 (build-system asdf-build-system/sbcl)
11306 (arguments
11307 '(#:asd-files '("cl-custom-hash-table.asd")
11308 #:asd-systems '("cl-custom-hash-table")))
11309 (home-page "https://github.com/metawilm/cl-custom-hash-table")
11310 (synopsis "Custom hash tables for Common Lisp")
11311 (description "This library allows creation of hash tables with arbitrary
11312 @code{test}/@code{hash} functions, in addition to the @code{test} functions
11313 allowed by the standard (@code{EQ}, @code{EQL}, @code{EQUAL} and
11314 @code{EQUALP}), even in implementations that don't support this functionality
11315 directly.")
11316 (license license:expat))))
11317
11318 (define-public cl-custom-hash-table
11319 (sbcl-package->cl-source-package sbcl-custom-hash-table))
11320
11321 (define-public ecl-custom-hash-table
11322 (sbcl-package->ecl-package sbcl-custom-hash-table))
11323
11324 (define-public sbcl-collectors
11325 (let ((commit "13acef25d8422d1d82e067b1861e513587c166ee"))
11326 (package
11327 (name "sbcl-collectors")
11328 (version (git-version "0.1" "1" commit))
11329 (source
11330 (origin
11331 (method git-fetch)
11332 (uri (git-reference
11333 (url "https://github.com/AccelerationNet/collectors")
11334 (commit commit)))
11335 (file-name (git-file-name name version))
11336 (sha256
11337 (base32 "1si68n1j6rpns8jw6ksqjpb937pdl30v7xza8rld7j5vh0jhy2yi"))))
11338 (build-system asdf-build-system/sbcl)
11339 (inputs
11340 `(("alexandria" ,sbcl-alexandria)
11341 ("closer-mop" ,sbcl-closer-mop)
11342 ("symbol-munger" ,sbcl-symbol-munger)))
11343 (native-inputs
11344 `(("lisp-unit2" ,sbcl-lisp-unit2)))
11345 (home-page "https://github.com/AccelerationNet/collectors/")
11346 (synopsis "Common lisp library providing collector macros")
11347 (description "A small collection of common lisp macros to make
11348 collecting values easier.")
11349 (license license:bsd-3))))
11350
11351 (define-public cl-collectors
11352 (sbcl-package->cl-source-package sbcl-collectors))
11353
11354 (define-public ecl-collectors
11355 (sbcl-package->ecl-package sbcl-collectors))
11356
11357 (define-public sbcl-cl-environments
11358 (let ((commit "0b22154c5afefef23d1eba9a4fae11d73580ef41")) ; No version in 2 years.
11359 (package
11360 (name "sbcl-cl-environments")
11361 (version (git-version "0.2.3" "1" commit))
11362 (source
11363 (origin
11364 (method git-fetch)
11365 (uri (git-reference
11366 (url "https://github.com/alex-gutev/cl-environments")
11367 (commit commit)))
11368 (file-name (git-file-name name version))
11369 (sha256
11370 (base32
11371 "18r3wfarr7lgn78m6c66r0r9aazirv07gy7xgvqkl9pmrz1bc47m"))))
11372 (build-system asdf-build-system/sbcl)
11373 (propagated-inputs
11374 `(("alexandria" ,cl-alexandria)
11375 ("anaphora" ,cl-anaphora)
11376 ("collectors" ,cl-collectors)
11377 ("optima" ,cl-optima)))
11378 (native-inputs
11379 `(("prove" ,sbcl-prove)))
11380 (home-page "https://github.com/alex-gutev/cl-environments")
11381 (synopsis "Implements the Common Lisp standard environment access API")
11382 (description "This library provides a uniform API, as specified in Common
11383 Lisp the Language 2, for accessing information about variable and function
11384 bindings from implementation-defined lexical environment objects. All major
11385 Common Lisp implementations are supported, even those which don't support the
11386 CLTL2 environment access API.")
11387 (license license:expat))))
11388
11389 (define-public cl-environments
11390 (sbcl-package->cl-source-package sbcl-cl-environments))
11391
11392 (define-public ecl-environments
11393 (sbcl-package->ecl-package sbcl-cl-environments))
11394
11395 (define-public sbcl-static-dispatch
11396 (package
11397 (name "sbcl-static-dispatch")
11398 (version "0.3")
11399 (source
11400 (origin
11401 (method git-fetch)
11402 (uri (git-reference
11403 (url "https://github.com/alex-gutev/static-dispatch")
11404 (commit (string-append "v" version))))
11405 (file-name (git-file-name name version))
11406 (sha256
11407 (base32 "1wp5yz8liqqic3yifqf33qhccd755pd7ycvsq1j4i7k3f1wm18i0"))))
11408 (build-system asdf-build-system/sbcl)
11409 (inputs
11410 `(("agutil" ,sbcl-agutil)
11411 ("alexandria" ,sbcl-alexandria)
11412 ("anaphora" ,sbcl-anaphora)
11413 ("arrows" ,sbcl-arrows)
11414 ("closer-mop" ,sbcl-closer-mop)
11415 ("iterate" ,sbcl-iterate)
11416 ("trivia" ,sbcl-trivia)))
11417 (propagated-inputs
11418 ;; FIXME: `sbcl-cl-environments' input fails with
11419 ;;
11420 ;; compiling #<CL-SOURCE-FILE "collectors" "collectors">
11421 ;; Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
11422 ;; {1008238213}>:
11423 ;; Error opening #P"/.../cl-environments/src/common/package-tmp5GEXGEG5.fasl":
11424 ;; Permission denied
11425 `(("cl-environments" ,cl-environments)))
11426 (native-inputs
11427 `(("prove" ,sbcl-prove)))
11428 (arguments
11429 `(#:phases
11430 (modify-phases %standard-phases
11431 ;; Use `arrows' instead of cl-arrows which is abandoned and unlicensed.
11432 ;; https://github.com/nightfly19/cl-arrows/issues/5
11433 (add-after 'unpack 'use-arrows-instead-of-cl-arrows
11434 (lambda _
11435 (for-each
11436 (lambda (file)
11437 (substitute* file
11438 ((":cl-arrows") ":arrows")))
11439 '("static-dispatch.asd"
11440 "src/package.lisp"
11441 "test/methods.lisp"
11442 "test/test.lisp")))))))
11443 (home-page "https://github.com/alex-gutev/static-dispatch")
11444 (synopsis "Static generic function dispatch for Common Lisp")
11445 (description "Static dispatch is a Common Lisp library, inspired by
11446 @code{inlined-generic-function}, which allows standard Common Lisp generic
11447 function dispatch to be performed statically (at compile time) rather than
11448 dynamically (runtime). This is similar to what is known as \"overloading\" in
11449 languages such as C++ and Java.
11450
11451 The purpose of static dispatch is to provide an optimization in cases where
11452 the usual dynamic dispatch is too slow, and the dynamic features of generic
11453 functions, such as adding/removing methods at runtime are not required. An
11454 example of such a case is a generic equality comparison function. Currently
11455 generic functions are considered far too slow to implement generic arithmetic
11456 and comparison operations when used heavily in numeric code.")
11457 (license license:expat)))
11458
11459 (define-public cl-static-dispatch
11460 (sbcl-package->cl-source-package sbcl-static-dispatch))
11461
11462 (define-public ecl-static-dispatch
11463 (sbcl-package->ecl-package sbcl-static-dispatch))
11464
11465 (define-public sbcl-generic-cl
11466 ;; Latest commit includes a necessary fix for our Guix build.
11467 (let ((commit "8e5a81487ee3c13fe5ffdc8bdda161d476639535"))
11468 (package
11469 (name "sbcl-generic-cl")
11470 (version (git-version "0.7.1" "1" commit))
11471 (source
11472 (origin
11473 (method git-fetch)
11474 (uri (git-reference
11475 (url "https://github.com/alex-gutev/generic-cl")
11476 (commit commit)))
11477 (file-name (git-file-name name version))
11478 (sha256
11479 (base32
11480 "11w0g79s4wmc78vmfng437rmsgnp5qn246zcyr540fp5nw0ad6ix"))))
11481 (build-system asdf-build-system/sbcl)
11482 (inputs
11483 `(("agutil" ,sbcl-agutil)
11484 ("alexandria" ,sbcl-alexandria)
11485 ("anaphora" ,sbcl-anaphora)
11486 ("arrows" ,sbcl-arrows)
11487 ("cl-custom-hash-table" ,sbcl-custom-hash-table)
11488 ("trivia" ,sbcl-trivia)))
11489 (propagated-inputs
11490 ;; FIXME: Same error as for `sbcl-static-dispatch'.
11491 `(("static-dispatch" ,cl-static-dispatch)))
11492 (native-inputs
11493 `(("prove" ,sbcl-prove)))
11494 (arguments
11495 ;; Tests fail because SBCL head size is not high enough.
11496 ;; https://github.com/alex-gutev/generic-cl/issues/6
11497 `(#:tests? #f))
11498 (home-page "https://alex-gutev.github.io/generic-cl/")
11499 (synopsis "Generic function interface to standard Common Lisp functions")
11500 (description "@code{generic-cl} provides a generic function wrapper over
11501 various functions in the Common Lisp standard, such as equality predicates and
11502 sequence operations. The goal of this wrapper is to provide a standard
11503 interface to common operations, such as testing for the equality of two
11504 objects, which is extensible to user-defined types.")
11505 (license license:expat))))
11506
11507 (define-public cl-generic-cl
11508 (sbcl-package->cl-source-package sbcl-generic-cl))
11509
11510 (define-public ecl-generic-cl
11511 (sbcl-package->ecl-package sbcl-generic-cl))
11512
11513 (define-public sbcl-defpackage-plus
11514 (let ((revision "0")
11515 (commit "5492e27e0bdb7b75fa5177ea4388519dc7a75f11"))
11516 (package
11517 (name "sbcl-defpackage-plus")
11518 (version (git-version "1.0" revision commit))
11519 (source
11520 (origin
11521 (method git-fetch)
11522 (uri (git-reference
11523 (url "https://github.com/rpav/defpackage-plus")
11524 (commit commit)))
11525 (file-name (git-file-name name version))
11526 (sha256
11527 (base32 "0lzljvf343xb6mlh6lni2i27hpm5qd376522mk6hr2pa20vd6rdq"))))
11528 (build-system asdf-build-system/sbcl)
11529 (inputs
11530 `(("alexandria" ,sbcl-alexandria)))
11531 (home-page "https://github.com/rpav/defpackage-plus")
11532 (synopsis "Extensible @code{DEFPACKAGE} variant with version support")
11533 (description
11534 "@code{DEFPACKAGE-PLUS} is an extensible @code{DEFPACKAGE} variant with
11535 predictable cross-platform behavior and some utilities useful for versioning.")
11536 (license license:bsd-2))))
11537
11538 (define-public cl-defpackage-plus
11539 (sbcl-package->cl-source-package sbcl-defpackage-plus))
11540
11541 (define-public ecl-defpackage-plus
11542 (sbcl-package->ecl-package sbcl-defpackage-plus))
11543
11544 (define-public sbcl-deploy
11545 ;; tagged branch is outdated
11546 (let ((revision "1")
11547 (commit "59fd49719ef651a8fc11750bcfb337f132cff75f"))
11548 (package
11549 (name "sbcl-deploy")
11550 (version (git-version "1.0.0" revision commit))
11551 (source
11552 (origin
11553 (method git-fetch)
11554 (uri (git-reference
11555 (url "https://github.com/Shinmera/deploy")
11556 (commit commit)))
11557 (file-name (git-file-name name version))
11558 (sha256
11559 (base32 "1vl2116z4kw2pd3qd3n6mmg8g0mnwxr9dgddk86g7j1bis1z8k9a"))))
11560 (build-system asdf-build-system/sbcl)
11561 (inputs
11562 `(("cffi" ,sbcl-cffi)
11563 ("documentation-utils" ,sbcl-documentation-utils)))
11564 (arguments
11565 '(#:asd-files '("deploy.asd")))
11566 (home-page "https://shinmera.github.io/deploy/")
11567 (synopsis "Deployment tools for standalone Common Lisp application")
11568 (description
11569 "This is a system to help you easily and quickly deploy standalone
11570 common lisp applications as binaries. Specifically it is geared towards
11571 applications with foreign library dependencies that run some kind of GUI.")
11572 (license license:artistic2.0))))
11573
11574 (define-public cl-deploy
11575 (sbcl-package->cl-source-package sbcl-deploy))
11576
11577 (define-public ecl-deploy
11578 (sbcl-package->ecl-package sbcl-deploy))
11579
11580 (define-public sbcl-deeds
11581 ;; taged branch is outdated
11582 (let ((revision "1")
11583 (commit "f5df54eac79b58a34030e0eb8acf3952c788410d"))
11584 (package
11585 (name "sbcl-deeds")
11586 (version (git-version "1.1.1" revision commit))
11587 (source
11588 (origin
11589 (method git-fetch)
11590 (uri (git-reference
11591 (url "https://github.com/Shinmera/deeds")
11592 (commit commit)))
11593 (file-name (git-file-name name version))
11594 (sha256
11595 (base32 "062cnb2dwli6pw3zvv46jfxyxdzcbzwsck5pa6nw03qf1j1hyg3k"))))
11596 (build-system asdf-build-system/sbcl)
11597 (inputs
11598 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11599 ("closer-mop" ,sbcl-closer-mop)
11600 ("form-fiddle" ,sbcl-form-fiddle)
11601 ("lambda-fiddle" ,sbcl-lambda-fiddle)))
11602 (home-page "https://github.com/Shinmera/deeds")
11603 (synopsis "Extensible Event Delivery System")
11604 (description
11605 "@code{deeds} allows for efficient event delivery to multiple handlers
11606 with a complex event filtering system.")
11607 (license license:zlib))))
11608
11609 (define-public cl-deeds
11610 (sbcl-package->cl-source-package sbcl-deeds))
11611
11612 (define-public ecl-deeds
11613 (sbcl-package->ecl-package sbcl-deeds))
11614
11615 (define-public sbcl-make-hash
11616 ;; no tagged branch
11617 (let ((revision "1")
11618 (commit "ae0909cd8e697520a1085fac6f54ac2b448ebd21"))
11619 (package
11620 (name "sbcl-make-hash")
11621 (version (git-version "1.0.2" revision commit))
11622 (source
11623 (origin
11624 (method git-fetch)
11625 (uri (git-reference
11626 (url "https://github.com/genovese/make-hash")
11627 (commit commit)))
11628 (file-name (git-file-name name version))
11629 (sha256
11630 (base32 "1qa4mcmb3pv44py0j129dd8hjx09c2akpnds53b69151mgwv5qz8"))))
11631 (build-system asdf-build-system/sbcl)
11632 (home-page "https://github.com/genovese/make-hash")
11633 (synopsis "Common Lisp package for flexible hash table creation")
11634 (description
11635 "This is a Common Lisp package for hash table creation with flexible,
11636 extensible initializers.")
11637 (license license:bsd-3))))
11638
11639 (define-public cl-make-hash
11640 (sbcl-package->cl-source-package sbcl-make-hash))
11641
11642 (define-public ecl-make-hash
11643 (sbcl-package->ecl-package sbcl-make-hash))
11644
11645 (define-public sbcl-claw-support
11646 (package
11647 (name "sbcl-claw-support")
11648 (version "1.0.0")
11649 (source
11650 (origin
11651 (method git-fetch)
11652 (uri (git-reference
11653 (url "https://github.com/borodust/claw-support")
11654 (commit "9a15c8bed04585f45e6a461bcda1b475144dbd0b")))
11655 (file-name (git-file-name name version))
11656 (sha256
11657 (base32 "1my2ka7h72ipx5n3b465g6kjkasrhsvhqlijwcg6dhlzs5yygl23"))))
11658 (build-system asdf-build-system/sbcl)
11659 (home-page "https://github.com/borodust/claw-support")
11660 (synopsis "Support routines for claw")
11661 (description
11662 "This packages provide support routines for the @code{claw} common-lisp
11663 package.")
11664 (license license:expat)))
11665
11666 (define-public cl-claw-support
11667 (sbcl-package->cl-source-package sbcl-claw-support))
11668
11669 (define-public ecl-claw-support
11670 (sbcl-package->ecl-package sbcl-claw-support))
11671
11672 (define-public sbcl-array-operations
11673 (let ((commit "75cbc3b1adb2e3ce2109489753d0f290b071e81b")
11674 (revision "0"))
11675 (package
11676 (name "sbcl-array-operations")
11677 (version (git-version "0.0.0" revision commit))
11678 (source
11679 (origin
11680 (method git-fetch)
11681 (uri (git-reference
11682 (url "https://github.com/bendudson/array-operations")
11683 (commit commit)))
11684 (file-name (git-file-name "array-operations" version))
11685 (sha256
11686 (base32 "0ip49hhq32w80qsc7jmspyda5r2rsszvw0mk2r3341cld78sz9ya"))))
11687 (build-system asdf-build-system/sbcl)
11688 (native-inputs
11689 `(("alexandria" ,sbcl-alexandria)
11690 ("clunit2" ,sbcl-clunit2)))
11691 (inputs
11692 `(("let-plus" ,sbcl-let-plus)))
11693 (synopsis "Simple array operations library for Common Lisp")
11694 (description
11695 "This library is a collection of functions and macros for manipulating
11696 Common Lisp arrays and performing numerical calculations with them.")
11697 (home-page "https://github.com/bendudson/array-operations")
11698 (license license:expat))))
11699
11700 (define-public cl-array-operations
11701 (sbcl-package->cl-source-package sbcl-array-operations))
11702
11703 (define-public ecl-array-operations
11704 (sbcl-package->ecl-package sbcl-array-operations))
11705
11706 (define-public sbcl-clml
11707 (let ((commit "95505b54c8c7b4b27f500c3be97fa5732f4b51a8")
11708 (revision "0"))
11709 (package
11710 (name "sbcl-clml")
11711 (version (git-version "0.0.0" revision commit))
11712 (source
11713 (origin
11714 (method git-fetch)
11715 (uri (git-reference
11716 (url "https://github.com/mmaul/clml")
11717 (commit commit)))
11718 (file-name (git-file-name "clml" version))
11719 (sha256
11720 (base32 "006pii59nmpc61n7p7h8ha5vjg6x0dya327i58z0rnvxs249h345"))
11721 ;; TODO: Remove this when the patch has been merged upstream.
11722 (patches (search-patches "sbcl-clml-fix-types.patch"))))
11723 (build-system asdf-build-system/sbcl)
11724 (inputs
11725 `(("alexandia" ,sbcl-alexandria)
11726 ("array-operations" ,sbcl-array-operations)
11727 ("cl-fad" ,sbcl-cl-fad)
11728 ("cl-ppcre" ,sbcl-cl-ppcre)
11729 ("drakma" ,sbcl-drakma)
11730 ("introspect-environment" ,sbcl-introspect-environment)
11731 ("iterate" ,sbcl-iterate)
11732 ("lparallel" ,sbcl-lparallel)
11733 ("parse-number" ,sbcl-parse-number)
11734 ("split-sequence" ,sbcl-split-sequence)
11735 ("trivial-garbage" ,sbcl-trivial-garbage)))
11736 (synopsis "Common Lisp machine learning library")
11737 (description
11738 "CLML (Common Lisp Machine Learning) is a high performance and large
11739 scale statistical machine learning package")
11740 (home-page "https://mmaul.github.io/clml/")
11741 (license license:llgpl))))
11742
11743 (define-public cl-clml
11744 (sbcl-package->cl-source-package sbcl-clml))
11745
11746 (define-public sbcl-utm-ups
11747 (let ((commit "780f1d8ab6290ad2be0f40e2cddc2535fa6fe979")
11748 (revision "0"))
11749 (package
11750 (name "sbcl-utm-ups")
11751 (version (git-version "1.0" revision commit))
11752 (source
11753 (origin
11754 (method git-fetch)
11755 (uri (git-reference
11756 (url "https://github.com/glv2/utm-ups")
11757 (commit commit)))
11758 (file-name (git-file-name "utm-ups" version))
11759 (sha256
11760 (base32 "0l3kr2m56skf5cx3kkkdcis7msmidcsixx9fqjapkcjsj8x67aqq"))))
11761 (build-system asdf-build-system/sbcl)
11762 (native-inputs
11763 `(("fiveam" ,sbcl-fiveam)))
11764 (synopsis
11765 "Convert coordinates between latitude/longitude and UTM or UPS")
11766 (description
11767 "This a Common Lisp library to convert geographic coordinates between
11768 latitude/longitude and UTM (Universal Transverse Mercator) or UPS (Universal
11769 Polar Stereographic).")
11770 (home-page "https://github.com/glv2/utm-ups")
11771 (license license:gpl3+))))
11772
11773 (define-public cl-utm-ups
11774 (sbcl-package->cl-source-package sbcl-utm-ups))
11775
11776 (define-public ecl-utm-ups
11777 (sbcl-package->ecl-package sbcl-utm-ups))
11778
11779 (define-public sbcl-mgrs
11780 (let ((commit "00455460407b7e5509d1be3da09bf6152956761f")
11781 (revision "0"))
11782 (package
11783 (name "sbcl-mgrs")
11784 (version (git-version "1.0" revision commit))
11785 (source
11786 (origin
11787 (method git-fetch)
11788 (uri (git-reference
11789 (url "https://github.com/glv2/mgrs")
11790 (commit commit)))
11791 (file-name (git-file-name "mgrs" version))
11792 (sha256
11793 (base32 "0ckvn4hg3wwivzavhfashb6fap4a1q10l8krhbng8bdb54ac10sz"))))
11794 (build-system asdf-build-system/sbcl)
11795 (native-inputs
11796 `(("fiveam" ,sbcl-fiveam)))
11797 (inputs
11798 `(("utm-ups" ,sbcl-utm-ups)))
11799 (synopsis
11800 "Convert coordinates between latitude/longitude and MGRS")
11801 (description
11802 "This a Common Lisp library to convert geographic coordinates between
11803 latitude/longitude and MGRS.")
11804 (home-page "https://github.com/glv2/mgrs")
11805 (license license:gpl3+))))
11806
11807 (define-public cl-mgrs
11808 (sbcl-package->cl-source-package sbcl-mgrs))
11809
11810 (define-public ecl-mgrs
11811 (sbcl-package->ecl-package sbcl-mgrs))
11812
11813 (define-public sbcl-maidenhead
11814 (let ((commit "b756d235c27b5d6798867aa240318af1a8f35d6d")
11815 (revision "0"))
11816 (package
11817 (name "sbcl-maidenhead")
11818 (version (git-version "1.0" revision commit))
11819 (source
11820 (origin
11821 (method git-fetch)
11822 (uri (git-reference
11823 (url "https://github.com/glv2/maidenhead")
11824 (commit commit)))
11825 (file-name (git-file-name "maidenhead" version))
11826 (sha256
11827 (base32 "02p990zprhjvifmsfk8yh3frvz6xyw26ikzxvzglqdixbal36nr3"))))
11828 (build-system asdf-build-system/sbcl)
11829 (native-inputs
11830 `(("fiveam" ,sbcl-fiveam)))
11831 (synopsis
11832 "Convert coordinates between latitude/longitude and Maidenhead")
11833 (description
11834 "This a Common Lisp library to convert geographic coordinates between
11835 latitude/longitude and Maidenhead locator system.")
11836 (home-page "https://github.com/glv2/maidenhead")
11837 (license license:gpl3+))))
11838
11839 (define-public cl-maidenhead
11840 (sbcl-package->cl-source-package sbcl-maidenhead))
11841
11842 (define-public ecl-maidenhead
11843 (sbcl-package->ecl-package sbcl-maidenhead))