gnu: Add clml.
[jackhill/guix/guix.git] / gnu / packages / lisp-xyz.scm
CommitLineData
88f06fd0
PN
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>
3c986a7d 6;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
88f06fd0 7;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
92afa57b 8;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
a13063d6 9;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
88f06fd0
PN
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>
2fa04968 13;;; Copyright © 2018, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
88f06fd0 14;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
20972e4e 15;;; Copyright © 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
88f06fd0 16;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
20972e4e 17;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
7ae8c34b 18;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
c6397e3e 19;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
cfc9004e 20;;; Copyright © 2020 Dimakis Dimakakos <me@bendersteed.tech>
1fbd1b4c 21;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
de681bdb 22;;; Copyright © 2020 Adam Kandur <rndd@tuta.io>
88f06fd0
PN
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)
8a6c0f55 56 #:use-module (gnu packages databases)
2fa04968 57 #:use-module (gnu packages enchant)
1c5901ae 58 #:use-module (gnu packages fonts)
ec2c73b8 59 #:use-module (gnu packages fontutils)
88f06fd0
PN
60 #:use-module (gnu packages glib)
61 #:use-module (gnu packages gtk)
d3a2df68 62 #:use-module (gnu packages imagemagick)
37b48dc1 63 #:use-module (gnu packages libevent)
88f06fd0
PN
64 #:use-module (gnu packages libffi)
65 #:use-module (gnu packages lisp)
064dbb71 66 #:use-module (gnu packages maths)
a3f6c410 67 #:use-module (gnu packages networking)
88f06fd0
PN
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)
d3a2df68 72 #:use-module (gnu packages tcl)
88f06fd0 73 #:use-module (gnu packages tls)
0d1c7c97 74 #:use-module (gnu packages web)
88f06fd0
PN
75 #:use-module (gnu packages webkit)
76 #:use-module (gnu packages xdisorg)
77 #:use-module (ice-9 match)
bdd3b1b2 78 #:use-module (srfi srfi-1)
88f06fd0
PN
79 #:use-module (srfi srfi-19))
80
81(define-public sbcl-alexandria
012bdf2e
GLV
82 (package
83 (name "sbcl-alexandria")
fcc9c5a5 84 (version "1.2")
012bdf2e
GLV
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
fcc9c5a5 93 "0bcqs0z9xlqgjz43qzgq9i07vdlnjllpm1wwa37wpkg0w975r712"))
012bdf2e
GLV
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
88f06fd0
PN
101conceptual extensions to Common Lisp. It is conservative in scope, and
102portable between implementations.")
012bdf2e
GLV
103 (home-page "https://common-lisp.net/project/alexandria/")
104 (license license:public-domain)))
88f06fd0
PN
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
128ASDF. A file-local variable behaves like @code{*PACKAGE*} and
129@code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
130dynamic binding is created before processing the file, so that any
131modification to the variable becomes essentially file-local.
132
133In 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
b0e7b699 154 (url "https://github.com/sionescu/fiveam")
88f06fd0
PN
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
166goes) regression testing framework. It has been designed with Common Lisp's
167interactive 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
5a647850
GLV
178 (package
179 (name "sbcl-bordeaux-threads")
d2a34eba 180 (version "0.8.8")
5a647850
GLV
181 (source (origin
182 (method git-fetch)
183 (uri (git-reference
b0e7b699 184 (url "https://github.com/sionescu/bordeaux-threads")
5a647850
GLV
185 (commit (string-append "v" version))))
186 (sha256
d2a34eba 187 (base32 "19i443fz3488v1pbbr9x24y8h8vlyhny9vj6c9jk5prm702awrp6"))
5a647850
GLV
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
88f06fd0
PN
195MP/Threading interface. It is similar to the CLIM-SYS threading and lock
196support.")
5a647850
GLV
197 (home-page "https://common-lisp.net/project/bordeaux-threads/")
198 (license license:x11)))
88f06fd0
PN
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")
f15cc738 208 (commit "ebd59b1afed03b9dc8544320f8f432fdf92ab010"))
88f06fd0
PN
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
b0e7b699 217 (url "https://github.com/trivial-gray-streams/trivial-gray-streams")
88f06fd0
PN
218 (commit commit)))
219 (sha256
f15cc738 220 (base32 "0b1pxlccmnagk9cbh4cy8s5k66g3x0gwib5shjwr24xvrji6lp94"))
88f06fd0
PN
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
226ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
227popular CL implementations implement it. This package provides an extremely
228thin compatibility layer for gray streams.")
0eecc9eb 229 (home-page "https://www.cliki.net/trivial-gray-streams")
88f06fd0
PN
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
b0e7b699 248 (url "https://github.com/joaotavora/fiasco")
88f06fd0
PN
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,
260logical 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")
6b0604fd 277 (version "1.0.18")
88f06fd0
PN
278 (source
279 (origin
280 (method git-fetch)
281 (uri (git-reference
b0e7b699 282 (url "https://github.com/edicl/flexi-streams")
88f06fd0
PN
283 (commit (string-append "v" version))))
284 (file-name (git-file-name "flexi-streams" version))
285 (sha256
6b0604fd 286 (base32 "0bjv7fd2acknidc5dyi3h85pn10krxv5jyxs1xg8jya2rlfv7f1j"))))
88f06fd0
PN
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
298streams that can be layered atop real binary or bivalent streams and that can
299be used to read and write character data in various single- or multi-octet
300encodings which can be changed on the fly. It also supplies in-memory binary
301streams 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")
6c874425 314 (version "2.1.1")
88f06fd0
PN
315 (source
316 (origin
317 (method git-fetch)
318 (uri (git-reference
b0e7b699 319 (url "https://github.com/edicl/cl-ppcre")
88f06fd0
PN
320 (commit (string-append "v" version))))
321 (file-name (git-file-name "cl-ppcre" version))
322 (sha256
6c874425 323 (base32 "0dwvr29diqzcg5n6jvbk2rnd90i05l7n828hhw99khmqd0kz7xsi"))))
88f06fd0 324 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
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)))))
88f06fd0
PN
337 (synopsis "Portable regular expression library for Common Lisp")
338 (description "CL-PPCRE is a portable regular expression library for Common
339Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
340compatible 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
2ff8b5ba 350(define-public sbcl-cl-unicode
6fdfef66 351 (package
2ff8b5ba 352 (name "sbcl-cl-unicode")
6fdfef66
GLV
353 (version "0.1.6")
354 (source (origin
355 (method git-fetch)
356 (uri (git-reference
b0e7b699 357 (url "https://github.com/edicl/cl-unicode")
6fdfef66
GLV
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)
2ff8b5ba
GLV
364 (native-inputs
365 `(("flexi-streams" ,sbcl-flexi-streams)))
6fdfef66
GLV
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
88f06fd0
PN
371is compatible with perl. It is pretty fast, thread-safe, and compatible with
372ANSI-compliant Common Lisp implementations.")
6fdfef66 373 (license license:bsd-2)))
88f06fd0 374
88f06fd0
PN
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
2ff8b5ba
GLV
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
3d8c8d15
GLV
399(define-public cl-ppcre-unicode
400 (sbcl-package->cl-source-package sbcl-cl-ppcre-unicode))
401
2ff8b5ba
GLV
402(define-public ecl-cl-ppcre-unicode
403 (sbcl-package->ecl-package sbcl-cl-ppcre-unicode))
404
92afa57b
RW
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
b0e7b699 413 (url "https://github.com/xach/zpb-ttf")
92afa57b
RW
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
424reading typographic metrics, glyph outlines, and other information from the
425file.")
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
2ff8b5ba 434(define-public sbcl-cl-vectors
64997728 435 (package
2ff8b5ba 436 (name "sbcl-cl-vectors")
64997728
RW
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)
0dbd7c3c 447 (inputs
2ff8b5ba
GLV
448 `(("zpb-ttf" ,sbcl-zpb-ttf)))
449 (arguments
3f8bbf7c 450 '(#:asd-systems '("cl-vectors"
2ff8b5ba
GLV
451 "cl-paths-ttf")))
452 (home-page "http://projects.tuxee.net/cl-vectors/")
94c621bd
RW
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
2ff8b5ba
GLV
456anti-aliased vectorial paths.")
457 (license license:expat)))
94c621bd
RW
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
7c62d384
RW
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
b0e7b699 476 (url "https://github.com/rpav/spatial-trees")
7c62d384
RW
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
7c62d384
RW
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
492spatially-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
5dfde3f5
RW
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
b0e7b699 512 (url "https://github.com/robert-strandh/Flexichain")
5dfde3f5
RW
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,
523allowing client code to dynamically add elements to, and delete elements from
524a 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
e088a010
RW
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
b0e7b699 544 (url "https://github.com/mbattyani/cl-pdf")
e088a010
RW
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
558files.")
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
88f06fd0
PN
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
b0e7b699 576 (url "https://github.com/sharplispers/clx")
88f06fd0
PN
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)))
f0db7779 585 (home-page "https://www.cliki.net/portable-clx")
88f06fd0
PN
586 (synopsis "X11 client library for Common Lisp")
587 (description "CLX is an X11 client library for Common Lisp. The code was
588originally taken from a CMUCL distribution, was modified somewhat in order to
589make it compile and run under SBCL, then a selection of patches were added
590from 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
1fbd1b4c
OP
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)
1fbd1b4c
OP
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
632antialiased TrueType font rendering using CLX and XRender extension.")
633 (license license:expat))))
634
d9bdde74
GLV
635(define-public cl-clx-truetype
636 (sbcl-package->cl-source-package sbcl-clx-truetype))
637
e7cbcf5a
GLV
638(define-public ecl-clx-truetype
639 (sbcl-package->ecl-package sbcl-clx-truetype))
640
2ff8b5ba 641(define-public sbcl-slynk
e4bd4dd7 642 (let ((revision "4")
c3c63352 643 ;; Update together with emacs-sly.
e4bd4dd7 644 (commit "68561f1b7b66fa0240766ece836bb04da31ea17d"))
88f06fd0 645 (package
2ff8b5ba
GLV
646 (name "sbcl-slynk")
647 (version (git-version "1.0.0-beta" revision commit))
88f06fd0
PN
648 (source
649 (origin
650 (method git-fetch)
651 (uri
652 (git-reference
b0e7b699 653 (url "https://github.com/joaotavora/sly")
88f06fd0
PN
654 (commit commit)))
655 (sha256
e4bd4dd7 656 (base32 "1xwx537dhgclngi6b0faf320i8pnac9309wvmk6z2g6dm3v652ds"))
2ff8b5ba 657 (file-name (git-file-name "slynk" version))
88f06fd0
PN
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")
e4bd4dd7 666 "contrib"))
88f06fd0
PN
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)
2ff8b5ba 677 (outputs '("out" "image"))
88f06fd0
PN
678 (arguments
679 `(#:tests? #f ; No test suite
2ff8b5ba
GLV
680 #:asd-systems '("slynk"
681 "slynk/arglists"
2ff8b5ba
GLV
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"
2ff8b5ba
GLV
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)))))
88f06fd0
PN
709 (synopsis "Common Lisp IDE for Emacs")
710 (description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
711It also features a completely redesigned REPL based on Emacs's own
c3c63352 712full-featured @code{comint-mode}, live code annotations, and a consistent interactive
88f06fd0
PN
713button interface. Everything can be copied to the REPL. One can create
714multiple 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
b6c55a72 720 (sbcl-package->cl-source-package sbcl-slynk))
88f06fd0 721
88f06fd0 722(define-public ecl-slynk
b6c55a72
GLV
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))))))))
88f06fd0
PN
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)
9ca4c654 750 (home-page "https://marijnhaverbeke.nl/parse-js/")
88f06fd0
PN
751 (synopsis "Parse JavaScript")
752 (description "Parse-js is a Common Lisp package for parsing
753JavaScript (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
e7cbcf5a
GLV
759(define-public ecl-parse-js
760 (sbcl-package->ecl-package sbcl-parse-js))
761
88f06fd0
PN
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)
fed4ff33 777 (home-page "https://www.cliki.net/PARSE-NUMBER")
88f06fd0
PN
778 (synopsis "Parse numbers")
779 (description "@code{parse-number} is a library of functions for parsing
780strings into one of the standard Common Lisp number types without using the
781reader. @code{parse-number} accepts an arbitrary string and attempts to parse
782the string into one of the standard Common Lisp number types, if possible, or
783else @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
e7cbcf5a
GLV
789(define-public ecl-parse-number
790 (sbcl-package->ecl-package sbcl-parse-number))
791
88f06fd0
PN
792(define-public sbcl-iterate
793 (package
794 (name "sbcl-iterate")
f36ec871 795 (version "1.5")
88f06fd0
PN
796 (source
797 (origin
798 (method url-fetch)
f36ec871
GLV
799 (uri (string-append "https://common-lisp.net/project/iterate/releases/"
800 "iterate-" version ".tar.gz"))
88f06fd0
PN
801 (sha256
802 (base32
f36ec871 803 "1lqsbhrkfl0yif46aymvb7l3nb9wdcmj4jyw485blj32jb4famzn"))))
88f06fd0
PN
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.
810It 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
b0e7b699 837 (url "https://github.com/mishoo/cl-uglify-js")
88f06fd0
PN
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
853compressor. 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
12df8b7b
GLV
870(define-public ecl-cl-uglify-js
871 (sbcl-package->ecl-package sbcl-cl-uglify-js))
872
ba42da24
PN
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
2ff8b5ba 888
ba42da24 889 (require :asdf)
2ff8b5ba
GLV
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/\")"
ba42da24 894 (assoc-ref %build-inputs "sbcl")
2ff8b5ba 895 (assoc-ref %build-inputs "sbcl-cl-uglify-js")
ba42da24
PN
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
88f06fd0
PN
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
945utilities that make it even easier to manipulate text in Common Lisp. It has
946100% 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
c75e3494
PN
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
b0e7b699 966 (url "https://github.com/trivial-features/trivial-features")
c75e3494
PN
967 (commit commit)))
968 (file-name (git-file-name "trivial-features" version))
969 (sha256
970 (base32 "14pcahr8r2j3idhyy216zyw8jnj1dnrx0qbkkbdqkvwzign1ah4j"))))
971 (build-system asdf-build-system/sbcl)
3f8bbf7c
GLV
972 (arguments
973 '(#:asd-files '("trivial-features.asd")
974 #:tests? #f))
c75e3494
PN
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
88f06fd0 978consistent across multiple Common Lisp implementations.")
c75e3494 979 (license license:expat))))
88f06fd0
PN
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
1003documentation 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,
1035with 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
8e596809
PN
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
b0e7b699 1054 (url "https://github.com/cl-babel/babel")
8e596809
PN
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
88f06fd0 1068GNU libiconv, but completely written in Common Lisp.")
8e596809 1069 (license license:expat))))
88f06fd0
PN
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
3f8bbf7c 1093 `(#:asd-systems '("yacc")))
88f06fd0
PN
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
1097to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
1098
1099CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
1100by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
1101to 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
974b94ae
PN
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
1133concurrency primitives that unify parallel and lazy evaluation, are integrated
1134with the Common Lisp condition system, and have automatic resource
1135management.")
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
88f06fd0
PN
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
1166and 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
1207Additionally, a synchronization wrapper is provided to make any queue
1208conforming to the @command{jpl-queues} API thread-safe for lightweight
1209multithreading applications. (See Calispel for a more sophisticated CL
1210multithreaded message-passing library with timeouts and alternation among
1211several 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
5ff25d15
PN
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
1247channels, in the style of the occam programming language, also known as
1248communicating sequential processes (CSP). See
1249@url{https://en.wikipedia.org/wiki/Communicating_sequential_processes}.
1250
1251Calispel channels let one thread communicate with another, facilitating
1252unidirectional communication of any Lisp object. Channels may be unbuffered,
1253where a sender waits for a receiver (or vice versa) before either operation can
1254continue, or channels may be buffered with flexible policy options.
1255
1256Because sending and receiving on a channel may block, either operation can time
1257out after a specified amount of time.
1258
1259A 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
1261block, alternation selects the first operation that doesn't block and executes
1262associated code. Alternation can also time out, executing an \"otherwise\"
1263clause if no operation becomes available within a set amount of time.
1264
1265Calispel is a message-passing library, and as such leaves the role of
1266threading abstractions and utilities left to be filled by complementary
1267libraries 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
88f06fd0 1277(define-public sbcl-eos
c203be27
GLV
1278 (let ((commit "b4413bccc4d142cbe1bf49516c3a0a22c9d99243")
1279 (revision "2"))
88f06fd0
PN
1280 (package
1281 (name "sbcl-eos")
c203be27 1282 (version (git-version "0.0.0" revision commit))
88f06fd0
PN
1283 (source
1284 (origin
1285 (method git-fetch)
1286 (uri (git-reference
1287 (url "https://github.com/adlai/Eos")
1288 (commit commit)))
1289 (sha256
c203be27 1290 (base32 "1afllvmlnx97yzz404gycl3pa3kwx427k3hrbf37rpmjlv47knhk"))
88f06fd0
PN
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.
1296It began as a fork of FiveAM; however, FiveAM development has continued, while
1297that 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.
1330In 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")
92da0588 1350 (version "2.0.0")
88f06fd0
PN
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
92da0588 1359 "0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
88f06fd0
PN
1360 (file-name (git-file-name "split-sequence" version))))
1361 (build-system asdf-build-system/sbcl)
92da0588
GLV
1362 (native-inputs
1363 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
1364 (synopsis "Member of the Common Lisp Utilities family of programs")
1365 (description
1366 "Splits sequence into a list of subsequences delimited by objects
1367satisfying 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
1427supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1428C, 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.
3f8bbf7c 1458 `(#:asd-systems '("3bmd"
2ff8b5ba 1459 "3bmd-ext-code-blocks")))
88f06fd0 1460 (inputs
2ff8b5ba
GLV
1461 `(("colorize" ,sbcl-colorize)
1462 ("esrap" ,sbcl-esrap)
88f06fd0
PN
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
1467parsing, 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
88f06fd0
PN
1477(define-public sbcl-cl-fad
1478 (package
1479 (name "sbcl-cl-fad")
f0d9eaca 1480 (version "0.7.6")
88f06fd0
PN
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
f0d9eaca 1489 "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa"))
88f06fd0
PN
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
1497Lisp's standard pathname functions. It is intended to provide some
1498unification between current CL implementations on Windows, OS X, Linux, and
1499Unix. Most of the code was written by Peter Seibel for his book Practical
1500Common 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
e81b0719
GLV
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))))
88f06fd0
PN
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
1559have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1560flavors. Common Lisp sort of supports this by specifying :element-type for
1561streams, but that facility is underspecified and there's nothing similar for
1562read/write from octet vectors. What most people wind up doing is rolling their
1563own small facility for their particular needs and calling it a day.
1564
1565This library attempts to be comprehensive and centralize such
1566facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1567vectors in signed or unsigned flavors are provided; these functions are also
1568SETFable. Since it's sometimes desirable to read/write directly from streams,
1569functions for doing so are also provided. On some implementations,
1570reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1571also 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")
81ea278e 1584 (version "0.51")
88f06fd0
PN
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
81ea278e 1592 (base32 "1zxkzbxsfb83bb87rhp4h75cc1h5f6ziyfa5lvaa30zgix9l2d7v"))
88f06fd0
PN
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)
d2a9a39c 1600 ("flexi-streams" ,sbcl-flexi-streams)))
88f06fd0
PN
1601 (synopsis "Cryptographic toolkit written in Common Lisp")
1602 (description
1603 "Ironclad is a cryptography library written entirely in Common Lisp.
1604It includes support for several popular ciphers, digests, MACs and public key
1605cryptography algorithms. For several implementations that support Gray
1606streams, 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
438d8113
PN
1617 (let ((commit "64bd53f37a1694cfde48fc38b8f03901f6f0c05b")
1618 (revision "2"))
88f06fd0
PN
1619 (package
1620 (name "sbcl-named-readtables")
438d8113 1621 (version (git-version "0.9" revision commit))
88f06fd0
PN
1622 (source
1623 (origin
1624 (method git-fetch)
1625 (uri (git-reference
b0e7b699 1626 (url "https://github.com/melisgl/named-readtables")
88f06fd0
PN
1627 (commit commit)))
1628 (sha256
438d8113 1629 (base32 "01l4831m7k84qvhzyx0qgdl50isr4zmp40qf6dfq2iqcaj8y4h3n"))
88f06fd0
PN
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
1638named 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
1667simpler to input string literals which contain backslashes and double quotes
1668This is very useful for writing complicated docstrings and, as it turns out,
1669writing 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
2ff8b5ba 1678(define-public sbcl-slime-swank
88f06fd0 1679 (package
2ff8b5ba 1680 (name "sbcl-slime-swank")
c35403cc 1681 (version "2.26")
88f06fd0
PN
1682 (source
1683 (origin
2ff8b5ba 1684 (file-name (git-file-name "slime-swank" version))
88f06fd0
PN
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
c35403cc 1691 "0mxb1wnw19v0s72w2wkz5afdlzvpy5nn7pr4vav403qybac0sw5c"))))
2ff8b5ba
GLV
1692 (build-system asdf-build-system/sbcl)
1693 (arguments
3f8bbf7c 1694 '(#:asd-systems '("swank")))
88f06fd0
PN
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
1699processes 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
2ff8b5ba
GLV
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))
88f06fd0
PN
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)
88f06fd0
PN
1727 ("babel" ,sbcl-babel)
1728 ("cl-fad" ,sbcl-cl-fad)
1729 ("ironclad" ,sbcl-ironclad)
1730 ("named-readtables" ,sbcl-named-readtables)
2ff8b5ba
GLV
1731 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)
1732 ("swank" ,sbcl-slime-swank)))
88f06fd0
PN
1733 (synopsis "Exploratory programming environment and documentation generator")
1734 (description
1735 "PAX provides an extremely poor man's Explorable Programming
1736environment. Narrative primarily lives in so called sections that mix markdown
1737docstrings with references to functions, variables, etc, all of which should
1738probably have their own docstrings.
1739
1740The primary focus is on making code easily explorable by using SLIME's
1741@command{M-.} (@command{slime-edit-definition}). See how to enable some
1742fanciness in Emacs Integration. Generating documentation from sections and all
1743the referenced items in Markdown or HTML format is also implemented.
1744
1745With the simplistic tools provided, one may accomplish similar effects as with
1746Literate Programming, but documentation is generated from code, not vice versa
1747and there is no support for chunking yet. Code is first, code must look
1748pretty, 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
851abcf6
GLV
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))))))
88f06fd0
PN
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
1783testing. 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
1813new 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.
1852Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1853testcases are organized into hierarchical testsuites each of which can have
1854its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1855supports 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
1889extension of let*. It features:
1890
1891@itemize
1892@item Clean, consistent syntax and small implementation (less than 300 LOC,
1893not 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
1933hexadecimal representation for RGB).
1934@item Some predefined colors (currently X11 color names – of course the
1935library does not depend on X11).Because color in your terminal is nice.
1936@end itemize
1937
1938This 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
1972ANSI terminal with colored text. It provides the macro @command{with-color}
1973which causes everything printed in the body to be displayed with the provided
1974color. It further provides functions which will print the argument with the
1975named 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
2ff8b5ba 1985(define-public sbcl-prove
88f06fd0
PN
1986 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
1987 (package
2ff8b5ba 1988 (name "sbcl-prove")
88f06fd0
PN
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)
2ff8b5ba
GLV
2001 (inputs
2002 `(("alexandria" ,sbcl-alexandria)
2003 ("cl-ppcre" ,sbcl-cl-ppcre)
2004 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
2ff8b5ba 2005 (synopsis "Yet another unit testing framework for Common Lisp")
88f06fd0 2006 (description
2ff8b5ba 2007 "This project was originally called @command{cl-test-more}.
88f06fd0
PN
2008@command{prove} is yet another unit testing framework for Common Lisp. The
2009advantages 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
2ff8b5ba
GLV
2017@end itemize\n")
2018 (home-page "https://github.com/fukamachi/prove")
2019 (license license:expat))))
88f06fd0
PN
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
2ff8b5ba 2047 `(("prove" ,sbcl-prove)))
88f06fd0
PN
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
2054readability in mind. Unlike other libraries, the code is not a
2055pattern-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
2ff8b5ba 2085 `(("prove" ,sbcl-prove)))
88f06fd0
PN
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
2092values 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
2ff8b5ba 2102(define-public sbcl-cl-string-match
88f06fd0
PN
2103 (let ((revision "1")
2104 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
2105 (package
2ff8b5ba
GLV
2106 (name "sbcl-cl-string-match")
2107 (version (git-version "0" revision changeset))
88f06fd0
PN
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)
2ff8b5ba
GLV
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)))
88f06fd0 2133 (arguments
3f8bbf7c 2134 `(#:tests? #f))
2ff8b5ba 2135 (synopsis "Set of utilities to manipulate strings in Common Lisp")
88f06fd0 2136 (description
2ff8b5ba
GLV
2137 "@command{cl-strings} is a small, portable, dependency-free set of
2138utilities that make it even easier to manipulate text in Common Lisp. It has
2139100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
88f06fd0
PN
2140 (home-page "https://bitbucket.org/vityok/cl-string-match/")
2141 (license license:bsd-3))))
2142
88f06fd0
PN
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
d9d8e3c2
GLV
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
88f06fd0 2169tester module.")
d9d8e3c2 2170 (license license:llgpl))))
88f06fd0
PN
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
ff6cf9fa
GLV
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
2200Lisp programs. It parses URI according to the RFC 2396 specification.")
2201 (license license:llgpl))))
88f06fd0
PN
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)
2ff8b5ba
GLV
2225 (inputs
2226 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
2227 (arguments
3f8bbf7c 2228 '(#:asd-systems '("queues"
2ff8b5ba
GLV
2229 "queues.simple-queue"
2230 "queues.simple-cqueue"
2231 "queues.priority-queue"
2232 "queues.priority-cqueue")))
88f06fd0
PN
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
2237non-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
2ff8b5ba 2246(define-public sbcl-cffi
88f06fd0 2247 (package
2ff8b5ba 2248 (name "sbcl-cffi")
237d58c3 2249 (version "0.21.0")
88f06fd0
PN
2250 (source
2251 (origin
2252 (method git-fetch)
2253 (uri (git-reference
b0e7b699 2254 (url "https://github.com/cffi/cffi")
88f06fd0
PN
2255 (commit (string-append "v" version))))
2256 (file-name (git-file-name "cffi-bootstrap" version))
2257 (sha256
237d58c3 2258 (base32 "1qalargz9bhp850qv60ffwpdqi4xirzar4l3g6qcg8yc6xqf2cjk"))))
88f06fd0
PN
2259 (build-system asdf-build-system/sbcl)
2260 (inputs
2ff8b5ba 2261 `(("alexandria" ,sbcl-alexandria)
88f06fd0 2262 ("babel" ,sbcl-babel)
2ff8b5ba 2263 ("libffi" ,libffi)
88f06fd0
PN
2264 ("trivial-features" ,sbcl-trivial-features)))
2265 (native-inputs
2ff8b5ba
GLV
2266 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2267 ("pkg-config" ,pkg-config)
2268 ("rt" ,sbcl-rt)))
88f06fd0
PN
2269 (arguments
2270 '(#:phases
2271 (modify-phases %standard-phases
a13063d6
EF
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))
88f06fd0
PN
2278 (add-after 'unpack 'fix-paths
2279 (lambda* (#:key inputs #:allow-other-keys)
2280 (substitute* "libffi/libffi.lisp"
25a2f2ef 2281 (("libffi.so.7" all) (string-append
88f06fd0
PN
2282 (assoc-ref inputs "libffi")
2283 "/lib/" all)))
2284 (substitute* "toolchain/c-toolchain.lisp"
2ff8b5ba
GLV
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")))
88f06fd0
PN
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)
2303purports to be a portable foreign function interface for Common Lisp.
2304The CFFI library is composed of a Lisp-implementation-specific backend
2305in the CFFI-SYS package, and a portable frontend in the CFFI
2306package.")
2307 (license license:expat)))
2308
2ff8b5ba
GLV
2309(define-public cl-cffi
2310 (sbcl-package->cl-source-package sbcl-cffi))
88f06fd0 2311
2ff8b5ba
GLV
2312(define-public ecl-cffi
2313 (sbcl-package->ecl-package sbcl-cffi))
88f06fd0 2314
2ff8b5ba 2315(define-public sbcl-cl-sqlite
b7d974b3
PN
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
3f8bbf7c 2338 `(#:asd-systems '("sqlite")
b7d974b3
PN
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
88f06fd0 2350relational database engine.")
b7d974b3 2351 (license license:public-domain)))
88f06fd0
PN
2352
2353(define-public cl-sqlite
2354 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2355
12df8b7b
GLV
2356(define-public ecl-cl-sqlite
2357 (sbcl-package->ecl-package sbcl-cl-sqlite))
2358
88f06fd0 2359(define-public sbcl-parenscript
a84b7a4a
PN
2360 ;; Source archives are overwritten on every release, we use the Git repo instead.
2361 (let ((commit "7a1ac46353cecd144fc91915ba9f122aafcf4766"))
88f06fd0
PN
2362 (package
2363 (name "sbcl-parenscript")
a84b7a4a 2364 (version (git-version "2.7.1" "1" commit))
88f06fd0
PN
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
a84b7a4a 2374 "0c22lqarrpbq82dg1sb3y6mp6w2faczp34ymzhnmff88yfq1xzsf"))))
88f06fd0
PN
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
2384JavaScript. Parenscript code can run almost identically on both the
2385browser (as JavaScript) and server (as Common Lisp).
2386
2387Parenscript code is treated the same way as Common Lisp code, making the full
2388power of Lisp macros available for JavaScript. This provides a web
2389development environment that is unmatched in its ability to reduce code
2390duplication and provide advanced meta-programming facilities to web
2391developers.
2392
2393At the same time, Parenscript is different from almost all other \"language
2394X\" 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
2398as-is. There are no JavaScript files to include.
2399@item Native types: Parenscript works entirely with native JavaScript data
2400types. There are no new types introduced, and object prototypes are not
2401touched.
2402@item Native calling convention: Any JavaScript code can be called without the
2403need for bindings. Likewise, Parenscript can be used to make efficient,
2404self-contained JavaScript libraries.
2405@item Readable code: Parenscript generates concise, formatted, idiomatic
2406JavaScript code. Identifier names are preserved. This enables seamless
2407debugging in tools like Firebug.
2408@item Efficiency: Parenscript introduces minimal overhead for advanced Common
2409Lisp features. The generated code is almost as fast as hand-written
2410JavaScript.
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
2442and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2443and the decoder are highly customizable; at the same time, the default
2444settings 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
2473advantage of the library is the ability to concisely define command line
2474options once and then use this definition for parsing and extraction of
2475command line arguments, as well as printing description of command line
2476options (you get --help for free). This way you don't need to repeat
102fc7bc
VC
2477yourself. Also, @command{unix-opts} doesn't depend on anything and
2478precisely controls the behavior of the parser via Common Lisp restarts.")
88f06fd0
PN
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
b0e7b699 2495 (url "https://github.com/trivial-garbage/trivial-garbage")
88f06fd0
PN
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
2506finalizers, weak hash-tables and weak pointers on all major implementations of
2507the 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
d4c04565 2517 (let ((commit "19c9d33f576e10715fd79cc1d4f688dab0f241d6"))
88f06fd0
PN
2518 (package
2519 (name "sbcl-closer-mop")
d4c04565 2520 (version (git-version "1.0.0" "2" commit))
88f06fd0
PN
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
d4c04565 2528 (base32 "1w3x087wvlwkd6swfdgbvjfs6kazf0la8ax4pjfzikwjch4snn2c"))
88f06fd0
PN
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
2534of the absent or incorrect CLOS MOP features across a broad range of Common
2535Lisp 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
2ff8b5ba 2544(define-public sbcl-cl-cffi-gtk
fd689a83 2545 (let ((commit "e9a46df65995d9a16e6c8dbdc1e09b775eb4a966"))
88f06fd0 2546 (package
2ff8b5ba 2547 (name "sbcl-cl-cffi-gtk")
fd689a83 2548 (version (git-version "0.11.2" "2" commit))
88f06fd0
PN
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
fd689a83 2558 "04vix0gmqsj91lm975sx7jhlnz5gq1xf9jp873mp7c8frc5dk1jj"))))
88f06fd0 2559 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
2560 (native-inputs
2561 `(("fiveam" ,sbcl-fiveam)))
88f06fd0 2562 (inputs
2ff8b5ba
GLV
2563 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2564 ("cairo" ,cairo)
88f06fd0 2565 ("cffi" ,sbcl-cffi)
2ff8b5ba
GLV
2566 ("closer-mop" ,sbcl-closer-mop)
2567 ("gdk-pixbuf" ,gdk-pixbuf)
0fadc00a 2568 ("glib" ,glib)
2ff8b5ba
GLV
2569 ("gtk" ,gtk+)
2570 ("iterate" ,sbcl-iterate)
0fadc00a 2571 ("pango" ,pango)
2ff8b5ba
GLV
2572 ("trivial-features" ,sbcl-trivial-features)
2573 ("trivial-garbage" ,sbcl-trivial-garbage)))
0fadc00a 2574 (arguments
2ff8b5ba
GLV
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")
2ff8b5ba
GLV
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
0fadc00a
PN
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))))))))
88f06fd0
PN
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
2619is a library for creating graphical user interfaces.")
2620 (license license:lgpl3))))
2621
88f06fd0
PN
2622(define-public cl-cffi-gtk
2623 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
2624
e7cbcf5a
GLV
2625(define-public ecl-cl-cffi-gtk
2626 (sbcl-package->ecl-package sbcl-cl-cffi-gtk))
2627
88f06fd0 2628(define-public sbcl-cl-webkit
f4024165 2629 (let ((commit "aecd76a2bcc7bfee049c91d94cc75f893800bf37"))
88f06fd0
PN
2630 (package
2631 (name "sbcl-cl-webkit")
f4024165 2632 (version (git-version "2.4" "9" commit))
88f06fd0
PN
2633 (source
2634 (origin
2635 (method git-fetch)
2636 (uri (git-reference
94aab844 2637 (url "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
2638 (commit commit)))
2639 (file-name (git-file-name "cl-webkit" version))
2640 (sha256
2641 (base32
f4024165 2642 "1j2wvn19kz0bcg17qr9pc4xp6fgjy8zngdnnp5rpfxd25sli62yc"))))
88f06fd0
PN
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
3f8bbf7c 2649 `(#:asd-systems '("cl-webkit2")
88f06fd0
PN
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))))))))
94aab844 2658 (home-page "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
2659 (synopsis "Binding to WebKitGTK+ for Common Lisp")
2660 (description
2661 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
2662currently targeting WebKit version 2. The WebKitGTK+ library adds web
2663browsing capabilities to an application, leveraging the full power of the
2664WebKit browsing engine.")
2665 (license license:expat))))
2666
2667(define-public cl-webkit
2668 (sbcl-package->cl-source-package sbcl-cl-webkit))
2669
12df8b7b
GLV
2670(define-public ecl-cl-webkit
2671 (sbcl-package->ecl-package sbcl-cl-webkit))
2672
88f06fd0
PN
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)))
388a8975
KCB
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"))))))))
88f06fd0
PN
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
2707Lisp, 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
2785Lisp. Its goals are axiomatic syntax, simple implementation to support
2786portability, 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
cb92693e 2796 (let ((commit "aa26bf38338a6b068bf8bfb3375d8d8c3b0a28df"))
88f06fd0
PN
2797 (package
2798 (name "sbcl-portable-threads")
cb92693e 2799 (version (git-version "2.3" "2" commit))
88f06fd0
PN
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
cb92693e 2808 (base32 "058ksi07vfdmhrf5mdlc833s82m1rcqfja2266520m3r8bzs8bvs"))))
88f06fd0
PN
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")
cb92693e 2814 (synopsis "Portable threads API for Common Lisp")
88f06fd0
PN
2815 (description
2816 "Portable Threads (and Scheduled and Periodic Functions) API for Common
2817Lisp (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
2ff8b5ba 2823(define-public ecl-portable-threads
88f06fd0
PN
2824 (sbcl-package->ecl-package sbcl-portable-threads))
2825
2ff8b5ba 2826(define-public sbcl-usocket
b23e6f5d 2827 (package
2ff8b5ba 2828 (name "sbcl-usocket")
b23e6f5d
GLV
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)
2ff8b5ba
GLV
2841 (native-inputs
2842 `(("rt" ,sbcl-rt)))
b23e6f5d 2843 (inputs
2ff8b5ba
GLV
2844 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2845 ("split-sequence" ,sbcl-split-sequence)))
b23e6f5d 2846 (arguments
2ff8b5ba 2847 `(#:tests? #f ; FIXME: Tests need network access?
2ff8b5ba
GLV
2848 #:asd-systems '("usocket"
2849 "usocket-server")))
b23e6f5d 2850 (home-page "https://common-lisp.net/project/usocket/")
2ff8b5ba 2851 (synopsis "Universal socket library for Common Lisp")
b23e6f5d
GLV
2852 (description
2853 "This library strives to provide a portable TCP/IP and UDP/IP socket
88f06fd0
PN
2854interface for as many Common Lisp implementations as possible, while keeping
2855the abstraction and portability layer as thin as possible.")
b23e6f5d 2856 (license license:expat)))
88f06fd0 2857
88f06fd0
PN
2858(define-public cl-usocket
2859 (sbcl-package->cl-source-package sbcl-usocket))
2860
b23e6f5d 2861(define-public ecl-usocket
88f06fd0
PN
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
2880parser 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
2885comments and whitespace).
2886@item It has a core API that is simple, efficient and pure functional, much
2887like that from SSAX (see also http://ssax.sourceforge.net).
2888@item It supports different DOM models: an XSML-based one, an LXML-based one
2889and a classic xml-element struct based one.
2890@item It is reasonably time and space efficient (internally avoiding garbage
2891generatation as much as possible).
2892@item It does support CDATA.
2893@item It should support the same character sets as your Common Lisp
2894implementation.
2895@item It does support XML name spaces.
2896@end itemize
2897
2898This 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
2930client 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
6e05adbb 2940 (let ((commit "afcd3743b842f5a81fc86dba60f9db59970f49c5"))
88f06fd0
PN
2941 (package
2942 (name "sbcl-trivial-clipboard")
6e05adbb 2943 (version (git-version "0.0.0.0" "3" commit))
88f06fd0
PN
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
6e05adbb 2953 "1qfbvkzmvkbqpc5s3sx31c5653sy6qlcixafgzd10qpykb843prr"))))
88f06fd0
PN
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
b0e7b699 2991 (url "https://github.com/gwkkwg/trivial-backtrace")
88f06fd0
PN
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)))
8dc2af3b
GLV
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/"
3136fda7 3006 (%lisp-type)
8dc2af3b
GLV
3007 "/trivial-backtrace"
3008 "/test-results")))
3009 (when (file-exists? test-results)
3010 (delete-file-recursively test-results)))
3011 #t)))))
88f06fd0
PN
3012 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3013 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3014 (description
d35a0f14 3015 "One of the many things that didn't quite get into the Common Lisp
88f06fd0
PN
3016standard was how to get a Lisp to output its call stack when something has
3017gone wrong. As such, each Lisp has developed its own notion of what to
3018display, how to display it, and what sort of arguments can be used to
3019customize it. @code{trivial-backtrace} is a simple solution to generating a
3020backtrace portably.")
3021 (license license:expat))))
3022
3023(define-public cl-trivial-backtrace
3024 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3025
12df8b7b
GLV
3026(define-public ecl-trivial-backtrace
3027 (sbcl-package->ecl-package sbcl-trivial-backtrace))
3028
88f06fd0
PN
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
b0e7b699 3039 (url "https://github.com/jdz/rfc2388")
88f06fd0
PN
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
3049process 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
12df8b7b
GLV
3056(define-public ecl-rfc2388
3057 (sbcl-package->ecl-package sbcl-rfc2388))
3058
88f06fd0
PN
3059(define-public sbcl-md5
3060 (package
3061 (name "sbcl-md5")
3062 (version "2.0.4")
3063 (source
3064 (origin
fffe9a15
EF
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))
88f06fd0 3070 (sha256
fffe9a15 3071 (base32 "1waqxzm7vlc22n92hv8r27anlvvjkkh9slhrky1ww7mdx4mmxwb8"))))
88f06fd0
PN
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
3078RFC 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
588a4492
PN
3084(define-public ecl-md5
3085 (package
3086 (inherit (sbcl-package->ecl-package sbcl-md5))
3087 (inputs
3088 `(("flexi-streams" ,ecl-flexi-streams)))))
3089
88f06fd0 3090(define-public sbcl-cl+ssl
14620ce7 3091 (let ((commit "701e645081e6533a3f0f0b3ac86389d6f506c4b5")
88f06fd0
PN
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
b0e7b699 3100 (url "https://github.com/cl-plus-ssl/cl-plus-ssl")
88f06fd0
PN
3101 (commit commit)))
3102 (file-name (git-file-name "cl+ssl" version))
3103 (sha256
14620ce7 3104 (base32 "0nfl275nwhff3m25872y388cydz14kqb6zbwywa6nj85r9k8bgs0"))))
88f06fd0
PN
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)))
113c9b97 3124 (home-page "https://common-lisp.net/project/cl-plus-ssl/")
88f06fd0
PN
3125 (synopsis "Common Lisp bindings to OpenSSL")
3126 (description
3127 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3128code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3129Development 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
e7cbcf5a
GLV
3135(define-public ecl-cl+ssl
3136 (sbcl-package->ecl-package sbcl-cl+ssl))
3137
88f06fd0 3138(define-public sbcl-kmrcl
23611680
PN
3139 (let ((version "1.111")
3140 (commit "4a27407aad9deb607ffb8847630cde3d041ea25a")
88f06fd0
PN
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
23611680 3153 (base32 "06gx04mah5nc8w78s0j8628divbf1s5w7af8w7pvzb2d5mgvrbd2"))))
88f06fd0 3154 (build-system asdf-build-system/sbcl)
88f06fd0
PN
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
23611680 3161Rosenberg's Common Lisp packages.")
88f06fd0
PN
3162 (license license:llgpl))))
3163
3164(define-public cl-kmrcl
3165 (sbcl-package->cl-source-package sbcl-kmrcl))
3166
e7cbcf5a
GLV
3167(define-public ecl-kmrcl
3168 (sbcl-package->ecl-package sbcl-kmrcl))
3169
88f06fd0 3170(define-public sbcl-cl-base64
7cb44409
PN
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)))
49ae5f79 3182 (file-name (git-file-name name version))
7cb44409
PN
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.
88f06fd0
PN
3194Besides conversion to and from strings, integer conversions are supported.
3195Encoding with Uniform Resource Identifiers is supported by using a modified
3196encoding table that uses only URI-compatible characters.")
7cb44409 3197 (license license:bsd-3))))
88f06fd0
PN
3198
3199(define-public cl-base64
3200 (sbcl-package->cl-source-package sbcl-cl-base64))
3201
e7cbcf5a
GLV
3202(define-public ecl-cl-base64
3203 (sbcl-package->ecl-package sbcl-cl-base64))
3204
88f06fd0
PN
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
b0e7b699 3213 (url "https://github.com/edicl/chunga")
88f06fd0
PN
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
3225defined in RFC 2616.")
3226 (license license:bsd-2)))
3227
3228(define-public cl-chunga
3229 (sbcl-package->cl-source-package sbcl-chunga))
3230
e7cbcf5a
GLV
3231(define-public ecl-chunga
3232 (sbcl-package->ecl-package sbcl-chunga))
3233
88f06fd0
PN
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
b0e7b699 3245 (url "https://github.com/edicl/cl-who")
88f06fd0
PN
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
3258programmer seems to write at least one during his career - and CL-WHO (where
3259WHO means \"with-html-output\" for want of a better acronym) is probably just
3260as good or bad as the next one.")
3261 (license license:bsd-2))))
3262
12df8b7b 3263(define-public cl-who
88f06fd0
PN
3264 (sbcl-package->cl-source-package sbcl-cl-who))
3265
12df8b7b
GLV
3266(define-public ecl-cl-who
3267 (sbcl-package->ecl-package sbcl-cl-who))
3268
88f06fd0
PN
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
b0e7b699 3280 (url "https://github.com/froydnj/chipz")
88f06fd0
PN
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
3292data")
3293 (description
3294 "DEFLATE data, defined in RFC1951, forms the core of popular
3295compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3296Chipz also provides for decompressing data in those formats as well. BZIP2 is
3297the 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
e7cbcf5a
GLV
3304(define-public ecl-chipz
3305 (sbcl-package->ecl-package sbcl-chipz))
3306
88f06fd0 3307(define-public sbcl-drakma
a2b6b973
GLV
3308 (package
3309 (name "sbcl-drakma")
3310 (version "2.0.7")
3311 (source
3312 (origin
3313 (method git-fetch)
3314 (uri (git-reference
b0e7b699 3315 (url "https://github.com/edicl/drakma")
a2b6b973
GLV
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
88f06fd0
PN
3337knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3338sockets, SSL, continuable uploads, file uploads, cookies, and more.")
a2b6b973 3339 (license license:bsd-2)))
88f06fd0
PN
3340
3341(define-public cl-drakma
3342 (sbcl-package->cl-source-package sbcl-drakma))
3343
10ac723b
GLV
3344(define-public ecl-drakma
3345 (sbcl-package->ecl-package sbcl-drakma))
3346
88f06fd0
PN
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
b0e7b699 3355 (url "https://github.com/edicl/hunchentoot")
88f06fd0
PN
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
3379time a toolkit for building dynamic websites. As a stand-alone web server,
3380Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3381connections (keep-alive), and SSL.")
3382 (license license:bsd-2)))
3383
3384(define-public cl-hunchentoot
3385 (sbcl-package->cl-source-package sbcl-hunchentoot))
3386
bdd3b1b2
GLV
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
88f06fd0
PN
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
b0e7b699 3402 (url "https://github.com/m2ym/trivial-types")
88f06fd0
PN
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
3412PROPER-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
12df8b7b
GLV
3418(define-public ecl-trivial-types
3419 (sbcl-package->ecl-package sbcl-trivial-types))
3420
88f06fd0
PN
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
b0e7b699 3431 (url "https://github.com/m2ym/cl-annot")
88f06fd0
PN
3432 (commit commit)))
3433 (file-name (git-file-name name version))
3434 (sha256
3435 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3436 (build-system asdf-build-system/sbcl)
88f06fd0
PN
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
e7cbcf5a
GLV
3448(define-public ecl-cl-annot
3449 (sbcl-package->ecl-package sbcl-cl-annot))
3450
2ff8b5ba 3451(define-public sbcl-cl-syntax
5b22df94 3452 (package
2ff8b5ba
GLV
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)
5b22df94 3465 (inputs
2ff8b5ba
GLV
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
3f8bbf7c 3471 '(#:asd-systems '("cl-syntax"
2ff8b5ba
GLV
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")
5b22df94 3476 (description
2ff8b5ba
GLV
3477 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3478 (license license:llgpl)))
5b22df94 3479
2ff8b5ba
GLV
3480(define-public cl-syntax
3481 (sbcl-package->cl-source-package sbcl-cl-syntax))
5b22df94 3482
12df8b7b
GLV
3483(define-public ecl-cl-syntax
3484 (sbcl-package->ecl-package sbcl-cl-syntax))
3485
88f06fd0
PN
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
e765d9c9 3503 '(#:phases
88f06fd0
PN
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
3514is a collection of Common Lisp Utilities, things that everybody writes since
3515they're not part of the official standard. There are some very useful things
3516there; the only problems are that they aren't implemented as well as you'd
3517like (some aren't implemented at all) and they aren't conveniently packaged
3518and maintained. It takes quite a bit of work to carefully implement utilities
3519for common use, commented and documented, with error checking placed
3520everywhere 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
12df8b7b
GLV
3526(define-public ecl-cl-utilities
3527 (sbcl-package->ecl-package sbcl-cl-utilities))
3528
88f06fd0
PN
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
3548addition, 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
e7cbcf5a
GLV
3554(define-public ecl-map-set
3555 (sbcl-package->ecl-package sbcl-map-set))
3556
88f06fd0 3557(define-public sbcl-quri
27c7df29
PN
3558 (let ((commit "b53231c5f19446dd7c24b15a249fefa45ae94f9a")
3559 (revision "2"))
88f06fd0
PN
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
b0e7b699 3567 (url "https://github.com/fukamachi/quri")
88f06fd0
PN
3568 (commit commit)))
3569 (file-name (git-file-name name version))
3570 (sha256
27c7df29 3571 (base32 "0cansr63m690ymvhway419178mq2sqnmxm4rdxclbsrnjwwbi36m"))))
88f06fd0
PN
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))
2ff8b5ba 3577 (native-inputs `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
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
3586Lisp. 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
e7cbcf5a
GLV
3592(define-public ecl-quri
3593 (sbcl-package->ecl-package sbcl-quri))
3594
88f06fd0
PN
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
b0e7b699 3605 (url "https://github.com/fukamachi/myway")
88f06fd0
PN
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
2ff8b5ba 3616 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
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
e7cbcf5a
GLV
3629(define-public ecl-myway
3630 (sbcl-package->ecl-package sbcl-myway))
3631
88f06fd0
PN
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
2ff8b5ba 3653 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
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
3658effieiently.")
3659 (license license:bsd-2))))
3660
3661(define-public cl-xsubseq
3662 (sbcl-package->cl-source-package sbcl-xsubseq))
3663
12df8b7b
GLV
3664(define-public ecl-xsubseq
3665 (sbcl-package->ecl-package sbcl-xsubseq))
3666
88f06fd0
PN
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
2ff8b5ba 3688 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
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
3696depending 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
12df8b7b
GLV
3702(define-public ecl-smart-buffer
3703 (sbcl-package->ecl-package sbcl-smart-buffer))
3704
88f06fd0 3705(define-public sbcl-fast-http
47e73008
PN
3706 (let ((commit "502a37715dcb8544cc8528b78143a942de662c5a")
3707 (revision "2"))
88f06fd0
PN
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
47e73008 3719 (base32 "0al2g7g219jjljsf7b23pbilpgacxy5as5gs2nqf76b5qni396mi"))))
88f06fd0
PN
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
2ff8b5ba
GLV
3726 `(("sbcl-prove" ,sbcl-prove)
3727 ("cl-syntax" ,sbcl-cl-syntax)))
88f06fd0
PN
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
3738Lisp.")
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
e7cbcf5a
GLV
3745(define-public ecl-fast-http
3746 (sbcl-package->ecl-package sbcl-fast-http))
3747
88f06fd0 3748(define-public sbcl-static-vectors
ba55cbda
GLV
3749 (package
3750 (name "sbcl-static-vectors")
3751 (version "1.8.4")
3752 (source
3753 (origin
88f06fd0
PN
3754 (method git-fetch)
3755 (uri (git-reference
b0e7b699 3756 (url "https://github.com/sionescu/static-vectors")
ba55cbda 3757 (commit (string-append "v" version))))
88f06fd0
PN
3758 (file-name (git-file-name name version))
3759 (sha256
ba55cbda
GLV
3760 (base32 "0qvf9z6bhwhm8n45fjwkm7j8dcb58szfvndky65cyn4lpdval7m1"))))
3761 (native-inputs
3762 `(("sbcl-fiveam" ,sbcl-fiveam)))
3763 (inputs
2ff8b5ba 3764 `(("sbcl-cffi" ,sbcl-cffi)))
ba55cbda 3765 (build-system asdf-build-system/sbcl)
6b40dbff 3766 (home-page "https://github.com/sionescu/static-vectors")
ba55cbda
GLV
3767 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
3768 (description
3769 "With @code{static-vectors}, you can create vectors allocated in static
88f06fd0 3770memory.")
ba55cbda 3771 (license license:expat)))
88f06fd0
PN
3772
3773(define-public cl-static-vectors
3774 (sbcl-package->cl-source-package sbcl-static-vectors))
3775
f6a6f085
GLV
3776(define-public ecl-static-vectors
3777 (sbcl-package->ecl-package sbcl-static-vectors))
3778
88f06fd0
PN
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
b0e7b699 3789 (url "https://github.com/wlbr/cl-marshal")
88f06fd0
PN
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
3799into a string representation, put it on a stream an revive it from there.
3800Only 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
e7cbcf5a
GLV
3806(define-public ecl-marshal
3807 (sbcl-package->ecl-package sbcl-marshal))
3808
88f06fd0
PN
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
b0e7b699 3819 (url "https://github.com/rpav/CheckL")
88f06fd0
PN
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.
3f8bbf7c
GLV
3829 '(#:asd-files '("checkl.asd")
3830 #:tests? #f))
88f06fd0
PN
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
3839against 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
e7cbcf5a
GLV
3848(define-public ecl-checkl
3849 (sbcl-package->ecl-package sbcl-checkl))
3850
88f06fd0 3851(define-public sbcl-fast-io
481f41e3
PN
3852 (let ((commit "603f4903dd74fb221859da7058ae6ca3853fe64b")
3853 (revision "2"))
88f06fd0
PN
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
b0e7b699 3861 (url "https://github.com/rpav/fast-io")
88f06fd0
PN
3862 (commit commit)))
3863 (file-name (git-file-name name version))
3864 (sha256
481f41e3 3865 (base32 "00agvc0xx4w715i6ach05p995zpcpghn04xc06zyci06q677vw3n"))))
88f06fd0
PN
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.
3f8bbf7c
GLV
3871 '(#:tests? #f
3872 #:asd-files '("fast-io.asd")))
88f06fd0
PN
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
3884streams (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
e7cbcf5a
GLV
3891(define-public ecl-fast-io
3892 (sbcl-package->ecl-package sbcl-fast-io))
3893
88f06fd0
PN
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
b0e7b699 3904 (url "https://github.com/Rudolph-Miller/jonathan")
88f06fd0
PN
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
2ff8b5ba 3915 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
3916 (inputs
3917 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
88f06fd0
PN
3918 ("sbcl-fast-io" ,sbcl-fast-io)
3919 ("sbcl-proc-parse" ,sbcl-proc-parse)
3920 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
46a5d07e 3921 (home-page "https://rudolph-miller.github.io/jonathan/overview.html")
88f06fd0
PN
3922 (synopsis "JSON encoder and decoder")
3923 (description
3924 "High performance JSON encoder and decoder. Currently support: SBCL,
3925CCL.")
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
e7cbcf5a
GLV
3932(define-public ecl-jonathan
3933 (sbcl-package->ecl-package sbcl-jonathan))
3934
88f06fd0
PN
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
2ff8b5ba 3956 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
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
3965supports application/x-www-form-urlencoded, application/json, and
3966multipart/form-data.")
3967 (license license:bsd-2))))
3968
3969(define-public cl-http-body
3970 (sbcl-package->cl-source-package sbcl-http-body))
3971
e7cbcf5a
GLV
3972(define-public ecl-http-body
3973 (sbcl-package->ecl-package sbcl-http-body))
3974
88f06fd0
PN
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
4002streams. Once you reach end-of-file of a stream, it's file position will be
4003reset 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
e7cbcf5a
GLV
4009(define-public ecl-circular-streams
4010 (sbcl-package->ecl-package sbcl-circular-streams))
4011
2ff8b5ba 4012(define-public sbcl-lack
88f06fd0
PN
4013 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4014 (revision "1"))
4015 (package
2ff8b5ba
GLV
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
3f8bbf7c 4038 '(#:asd-systems '("lack"
2ff8b5ba
GLV
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
88f06fd0
PN
4052constructed of modular components. It was originally a part of Clack, however
4053it's going to be rewritten as an individual project since Clack v2 with
4054performance and simplicity in mind.")
2ff8b5ba 4055 (license license:llgpl))))
88f06fd0 4056
2ff8b5ba
GLV
4057(define-public cl-lack
4058 (sbcl-package->cl-source-package sbcl-lack))
88f06fd0 4059
e7cbcf5a
GLV
4060(define-public ecl-lack
4061 (sbcl-package->ecl-package sbcl-lack))
4062
88f06fd0 4063(define-public sbcl-local-time
c9d9795f 4064 (let ((commit "62792705245168d3fc2e04164b9a143477284142")
88f06fd0
PN
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
b0e7b699 4073 (url "https://github.com/dlowe-net/local-time")
88f06fd0
PN
4074 (commit commit)))
4075 (file-name (git-file-name name version))
4076 (sha256
c9d9795f 4077 (base32 "1r5zq4l1lrgprdr2pw7wwry194yknnllyjf6lx7snypb3k4r3yir"))))
88f06fd0
PN
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
4091dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4092Long 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
e7cbcf5a
GLV
4098(define-public ecl-local-time
4099 (sbcl-package->ecl-package sbcl-local-time))
4100
2ff8b5ba
GLV
4101(define-public sbcl-trivial-mimes
4102 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
88f06fd0
PN
4103 (revision "1"))
4104 (package
2ff8b5ba
GLV
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)
2ff8b5ba
GLV
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
4125mime-type of a file.")
4126 (license license:artistic2.0))))
88f06fd0 4127
2ff8b5ba
GLV
4128(define-public cl-trivial-mimes
4129 (sbcl-package->cl-source-package sbcl-trivial-mimes))
88f06fd0 4130
2ff8b5ba
GLV
4131(define-public ecl-trivial-mimes
4132 (sbcl-package->ecl-package sbcl-trivial-mimes))
4133
4134(define-public sbcl-ningle
4135 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
88f06fd0
PN
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
b0e7b699 4144 (url "https://github.com/fukamachi/ningle")
88f06fd0
PN
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
2ff8b5ba 4177 `(("sbcl-prove" ,sbcl-prove)))
88f06fd0
PN
4178 (inputs
4179 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
88f06fd0 4180 ("sbcl-myway" ,sbcl-myway)
2ff8b5ba 4181 ("sbcl-lack" ,sbcl-lack)
88f06fd0
PN
4182 ("sbcl-alexandria" ,sbcl-alexandria)
4183 ("sbcl-babel" ,sbcl-babel)))
f13695ec 4184 (home-page "https://8arrow.org/ningle/")
88f06fd0
PN
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
e7cbcf5a
GLV
4193(define-public ecl-ningle
4194 (sbcl-package->ecl-package sbcl-ningle))
4195
0d1c7c97
PN
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
4230mostly 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
88f06fd0 4241(define-public sbcl-clack
2ff8b5ba
GLV
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
3f8bbf7c 4268 '(#:asd-systems '("clack"
2ff8b5ba
GLV
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
88f06fd0 4276Python's WSGI and Ruby's Rack.")
2ff8b5ba 4277 (license license:llgpl))))
88f06fd0
PN
4278
4279(define-public cl-clack
4280 (sbcl-package->cl-source-package sbcl-clack))
4281
bdd3b1b2
GLV
4282(define-public ecl-clack
4283 (sbcl-package->ecl-package sbcl-clack))
4284
88f06fd0
PN
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
4309various 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
4342port 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
b0e7b699 4361 (url "https://github.com/tgutu/clunit")
88f06fd0
PN
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
4371to be easy to use so that you can quickly start testing. CLUnit
4372provides a rich set of features aimed at improving your unit testing
4373experience.")
b4034d1b 4374 (home-page "https://tgutu.github.io/clunit/")
88f06fd0
PN
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
b0e7b699 4394 (url "https://github.com/bendudson/py4cl")
88f06fd0
PN
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
4431Lisp to interact with Python code. It uses streams to communicate with a
4432separate python process, the approach taken by cl4py. This is different to
4433the 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
1fce78c4
GLV
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
3f8bbf7c 4463 `(#:asd-systems '("parse-declarations-1.0")))
1fce78c4
GLV
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
88f06fd0
PN
4468macros which establish bindings. To be semantically correct, such
4469macros must take user declarations into account, as these may affect
4470the bindings they establish. Yet the ANSI standard of Common Lisp does
4471not provide any operators to work with declarations in a convenient,
4472high-level way. This library provides such operators.")
1fce78c4
GLV
4473 ;; MIT License
4474 (license license:expat))))
88f06fd0
PN
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
b0e7b699 4492 (url "https://github.com/mcandre/cl-quickcheck")
88f06fd0
PN
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
2ff8b5ba 4507(define-public cl-quickcheck
88f06fd0
PN
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
839fa4cd
MB
4514 (let ((commit "f65f454d13bb6c40e17e9ec62e41eb5069e09760")
4515 (revision "2"))
88f06fd0
PN
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
b0e7b699 4523 (url "https://github.com/snmsts/burgled-batteries3")
88f06fd0
PN
4524 (commit commit)))
4525 (file-name (git-file-name name version))
4526 (sha256
4527 (base32
839fa4cd 4528 "1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))))
88f06fd0
PN
4529 (build-system asdf-build-system/sbcl)
4530 (arguments
839fa4cd
MB
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)
88f06fd0 4536 #:phases
839fa4cd 4537 (modify-phases (@ (guix build asdf-build-system) %standard-phases)
88f06fd0
PN
4538 (add-after 'unpack 'set-*cpython-include-dir*-var
4539 (lambda* (#:key inputs #:allow-other-keys)
839fa4cd
MB
4540 (let ((python (assoc-ref inputs "python")))
4541 (setenv "BB_PYTHON3_INCLUDE_DIR"
4542 (string-append python "/include/python"
8c83069b 4543 (python-version python)))
839fa4cd
MB
4544 (setenv "BB_PYTHON3_DYLIB"
4545 (string-append python "/lib/libpython3.so"))
8c83069b
MB
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)))))
88f06fd0 4554 (native-inputs
3d280dae 4555 `(("sbcl-cl-fad" ,sbcl-cl-fad)
88f06fd0
PN
4556 ("sbcl-lift" ,sbcl-lift)
4557 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
4558 (inputs
3d280dae
MB
4559 `(("python" ,python)
4560 ("sbcl-cffi" ,sbcl-cffi)
88f06fd0
PN
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
4567CPython implementation of Python) and Common Lisp.")
4568 (home-page "https://github.com/snmsts/burgled-batteries3")
88f06fd0
PN
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
b0e7b699 4587 (url "https://github.com/gwkkwg/metabang-bind")
88f06fd0
PN
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
4599syntax for all your accessor needs. It combines @code{let},
4600@code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
4601editing, property or association-lists, and @code{multiple-value-bind} and a
4602whole 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
4639basic 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.
3f8bbf7c 4671 `(#:asd-systems '("trivial-utf-8")))
88f06fd0
PN
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
4676encodings. Trivial UTF-8 was written before Babel existed, but for new
4677projects you might be better off going with Babel. The one plus that Trivial
4678UTF-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
4708decoding 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)
dbf6de58 4721 (version "1.2")
88f06fd0
PN
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
dbf6de58 4732 "1hw1v1lw26rifyznpnj1csphha9jgzwpiic16ni3pvs6hcsni9rz"))))
88f06fd0
PN
4733 (inputs
4734 `(("trivial-features" ,sbcl-trivial-features)))
4735 (native-inputs
4736 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
4737 (synopsis "Efficient endianness conversion for Common Lisp")
4738 (description "This Common Lisp library provides optimized byte-swapping
4739primitives. The library can change endianness of unsigned integers of length
47401/2/4/8. Very useful in implementing various network protocols and file
4741formats.")
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
2ff8b5ba 4750(define-public sbcl-iolib
88f06fd0 4751 ;; Latest release is from June 2017.
53c4a0da
PN
4752 (let ((commit "7f5ea3a8457a29d224b24653c2b3657fb1898021")
4753 (revision "2"))
88f06fd0 4754 (package
2ff8b5ba 4755 (name "sbcl-iolib")
53c4a0da 4756 (version (git-version "0.8.3" revision commit))
88f06fd0
PN
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
53c4a0da 4767 "1bg5w7lm61hqk4b0svmri8a590q36z76jfa0sdgzb39r98c04w12"))))
2ff8b5ba 4768 (build-system asdf-build-system/sbcl)
88f06fd0 4769 (inputs
2ff8b5ba
GLV
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)))
88f06fd0 4777 (arguments
2ff8b5ba
GLV
4778 '(#:asd-files '("iolib.asdf.asd"
4779 "iolib.conf.asd"
4780 "iolib.common-lisp.asd"
4781 "iolib.base.asd"
4782 "iolib.asd")
2ff8b5ba
GLV
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")
88f06fd0
PN
4797 (description "IOlib is to be a better and more modern I/O library than
4798the standard Common Lisp library. It contains a socket library, a DNS
4799resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
4800and @code{kqueue(2)}), a pathname library and file-system utilities.")
4801 (license license:expat))))
4802
af5c4eff 4803(define-public cl-iolib
c6201ab9
PN
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))))))
af5c4eff 4811
e7cbcf5a
GLV
4812(define-public ecl-iolib
4813 (sbcl-package->ecl-package sbcl-iolib))
4814
88f06fd0
PN
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")
c05181a3 4836 (description "This is a Common Lisp library that converts
88f06fd0
PN
4837floating 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
e7cbcf5a
GLV
4843(define-public ecl-ieee-floats
4844 (sbcl-package->ecl-package sbcl-ieee-floats))
4845
88f06fd0
PN
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
4869Closure is a reference to the web browser it was originally written for.")
4870 ;; TODO: License?
4871 (license #f))))
4872
2ff8b5ba 4873(define-public sbcl-cxml
88f06fd0
PN
4874 (let ((commit "00b22bf4c4cf11c993d5866fae284f95ab18e6bf")
4875 (revision "1"))
4876 (package
2ff8b5ba 4877 (name "sbcl-cxml")
88f06fd0 4878 (version (git-version "0.0.0" revision commit))
88f06fd0
PN
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"))))
2ff8b5ba 4889 (build-system asdf-build-system/sbcl)
88f06fd0
PN
4890 (inputs
4891 `(("closure-common" ,sbcl-closure-common)
4892 ("puri" ,sbcl-puri)
2ff8b5ba 4893 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
2ff8b5ba
GLV
4894 (synopsis "Common Lisp XML parser")
4895 (description "CXML implements a namespace-aware, validating XML 1.0
4896parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are
4897offered, one SAX-like, the other similar to StAX.")
4898 (home-page "https://common-lisp.net/project/cxml/")
4899 (license license:llgpl))))
88f06fd0
PN
4900
4901(define-public cl-cxml
4902 (sbcl-package->cl-source-package sbcl-cxml))
4903
e7cbcf5a
GLV
4904(define-public ecl-cxml
4905 (sbcl-package->ecl-package sbcl-cxml))
4906
88f06fd0
PN
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
4932cookie 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
e7cbcf5a
GLV
4938(define-public ecl-cl-reexport
4939 (sbcl-package->ecl-package sbcl-cl-reexport))
4940
88f06fd0
PN
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
2ff8b5ba 4966 `(("prove" ,sbcl-prove)))
88f06fd0
PN
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
4972cookie 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
e7cbcf5a
GLV
4978(define-public ecl-cl-cookie
4979 (sbcl-package->ecl-package sbcl-cl-cookie))
4980
88f06fd0 4981(define-public sbcl-dexador
e067ef95 4982 (let ((commit "953090f04c4d1a9ee6632b90133cdc297b68badc")
88f06fd0
PN
4983 (revision "1"))
4984 (package
4985 (name "sbcl-dexador")
4986 (build-system asdf-build-system/sbcl)
e067ef95 4987 (version "0.9.14" )
88f06fd0
PN
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
e067ef95 4998 "0w18fz3301rpmwc3kwb810czcd24mbf7r1z8vdyc0v5crjfpw3mn"))))
88f06fd0
PN
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)
2ff8b5ba 5018 ("lack" ,sbcl-lack)
88f06fd0
PN
5019 ("clack" ,sbcl-clack)
5020 ("babel" ,sbcl-babel)
5021 ("alexandria" ,sbcl-alexandria)
5022 ("cl-ppcre" ,sbcl-cl-ppcre)
e067ef95
PN
5023 ("local-time" ,sbcl-local-time)
5024 ("trivial-features" ,sbcl-trivial-features)))
88f06fd0
PN
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
5034neat 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
09db7f39
PN
5045 ;; Already done in SBCL package.
5046 (delete 'reset-gzip-timestamps))))))
88f06fd0
PN
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
5079namespace and value namespace (or variable namespace), but there are actually
5080more — e.g., class namespace.
5081This 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
e7cbcf5a
GLV
5087(define-public ecl-lisp-namespace
5088 (sbcl-package->ecl-package sbcl-lisp-namespace))
5089
88f06fd0 5090(define-public sbcl-trivial-cltl2
36ceab7d
PN
5091 (let ((commit "8a3bda30dc25d2f65fcf514d0eb6e6db75252c61")
5092 (revision "2"))
88f06fd0
PN
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
36ceab7d 5107 "08cnzb9rnczn4pn2zpf0587ny4wjy1mjndy885fz9pw7xrlx37ip"))))
88f06fd0
PN
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
5111Edition\" (@url{https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html})
5112and 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
12df8b7b
GLV
5118(define-public ecl-trivial-cltl2
5119 (sbcl-package->ecl-package sbcl-trivial-cltl2))
5120
88f06fd0
PN
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
5143nonstandard introspection of Common Lisp environments. It is intended to
5144allow a bit more compile-time introspection of environments in Common Lisp.
5145
5146Quite a bit of information is available at the time a macro or compiler-macro
5147runs; inlining info, type declarations, that sort of thing. This information
5148is all standard - any Common Lisp program can @code{(declare (integer x))} and
5149such.
5150
5151This info ought to be accessible through the standard @code{&environment}
5152parameters, but it is not. Several implementations keep the information for
5153their own purposes but do not make it available to user programs, because
5154there is no standard mechanism to do so.
5155
5156This library uses implementation-specific hooks to make information available
5157to users. This is currently supported on SBCL, CCL, and CMUCL. Other
5158implementations have implementations of the functions that do as much as they
5159can 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
e7cbcf5a
GLV
5165(define-public ecl-introspect-environment
5166 (sbcl-package->ecl-package sbcl-introspect-environment))
5167
88f06fd0 5168(define-public sbcl-type-i
758f32af
PN
5169 (let ((commit "d34440ab4ebf5a46a58deccb35950b15670e3667")
5170 (revision "2"))
88f06fd0
PN
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
758f32af 5185 "12wsga0pwjkkr176lnjwkmmlm3ccp0n310sjj9h20lk53iyd0z69"))))
88f06fd0
PN
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
5196type the given predicate is trying to check. This is different from inferring
5197the 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
12df8b7b
GLV
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
88f06fd0
PN
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
5239optimizing 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
e7cbcf5a
GLV
5245(define-public ecl-optima
5246 (sbcl-package->ecl-package sbcl-optima))
5247
88f06fd0 5248(define-public sbcl-fare-quasiquote
639b47e6
GLV
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
2ff8b5ba
GLV
5267 `(("fare-utils" ,sbcl-fare-utils)
5268 ("named-readtables" ,sbcl-named-readtables)
5269 ("optima" ,sbcl-optima)))
639b47e6
GLV
5270 (arguments
5271 ;; XXX: Circular dependencies: Tests depend on subsystems,
5272 ;; which depend on the main systems.
5273 `(#:tests? #f
2ff8b5ba
GLV
5274 #:asd-systems '("fare-quasiquote"
5275 "fare-quasiquote-extras")
639b47e6
GLV
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\"\\)")
2ff8b5ba
GLV
5285 "\"fare-utils\""))
5286 (substitute* "fare-quasiquote-optima.asd"
5287 (("\\(:version \"optima\" \"1\\.0\"\\)")
5288 "\"optima\""))
5289 #t)))))
639b47e6
GLV
5290 (synopsis "Pattern-matching friendly implementation of quasiquote")
5291 (description "The main purpose of this n+2nd reimplementation of
88f06fd0
PN
5292quasiquote is enable matching of quasiquoted patterns, using Optima or
5293Trivia.")
639b47e6 5294 (license license:expat))))
88f06fd0
PN
5295
5296(define-public cl-fare-quasiquote
5297 (sbcl-package->cl-source-package sbcl-fare-quasiquote))
5298
e7cbcf5a
GLV
5299(define-public ecl-fare-quasiquote
5300 (sbcl-package->ecl-package sbcl-fare-quasiquote))
5301
2ff8b5ba
GLV
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
ba69e6e6
PN
5305 (let ((commit "37698b47a14c2007630468de7a993694ef7bd475")
5306 (revision "2"))
88f06fd0 5307 (package
2ff8b5ba 5308 (name "sbcl-trivia.trivial")
88f06fd0 5309 (version (git-version "0.0.0" revision commit))
88f06fd0
PN
5310 (source
5311 (origin
5312 (method git-fetch)
5313 (uri (git-reference
2ff8b5ba 5314 (url "https://github.com/guicho271828/trivia")
88f06fd0 5315 (commit commit)))
2ff8b5ba 5316 (file-name (git-file-name "trivia" version))
88f06fd0
PN
5317 (sha256
5318 (base32
ba69e6e6 5319 "0rsbwbw3ipxxgr6zzhci12nilq8zky475kmhz1rcxy4q8a85vn72"))))
2ff8b5ba 5320 (build-system asdf-build-system/sbcl)
88f06fd0 5321 (inputs
2ff8b5ba
GLV
5322 `(("alexandria" ,sbcl-alexandria)
5323 ("closer-mop" ,sbcl-closer-mop)
5324 ("lisp-namespace" ,sbcl-lisp-namespace)
5325 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
5326 (arguments
e765d9c9 5327 '(#:phases
2ff8b5ba
GLV
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)))))
88f06fd0
PN
5339 (synopsis "Pattern matching in Common Lisp")
5340 (description "Trivia is a pattern matching compiler that is compatible
5341with Optima, another pattern matching library for Common Lisp. It is meant to
5342be faster and more extensible than Optima.")
2ff8b5ba 5343 (home-page "https://github.com/guicho271828/trivia")
88f06fd0
PN
5344 (license license:llgpl))))
5345
d9bdde74
GLV
5346(define-public cl-trivia.trivial
5347 (sbcl-package->cl-source-package sbcl-trivia.trivial))
5348
12df8b7b
GLV
5349(define-public ecl-trivia.trivial
5350 (sbcl-package->ecl-package sbcl-trivia.trivial))
5351
88f06fd0
PN
5352(define-public sbcl-trivia
5353 (package
2ff8b5ba 5354 (inherit sbcl-trivia.trivial)
88f06fd0 5355 (name "sbcl-trivia")
88f06fd0
PN
5356 (native-inputs
5357 `(("fiveam" ,sbcl-fiveam)
88f06fd0 5358 ("optima" ,sbcl-optima)))
2ff8b5ba
GLV
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
3f8bbf7c 5368 '(#:asd-systems '("trivia"
2ff8b5ba
GLV
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)))))))
88f06fd0
PN
5383
5384(define-public cl-trivia
5385 (sbcl-package->cl-source-package sbcl-trivia))
5386
12df8b7b
GLV
5387(define-public ecl-trivia
5388 (sbcl-package->ecl-package sbcl-trivia))
5389
88f06fd0
PN
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
5406various 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
e7cbcf5a
GLV
5424(define-public ecl-mk-string-metrics
5425 (sbcl-package->ecl-package sbcl-mk-string-metrics))
5426
88f06fd0 5427(define-public sbcl-cl-str
cc978955
PN
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
32787d65 5446 `(("prove" ,sbcl-prove)))
cc978955 5447 (arguments
32787d65 5448 `(#:asd-systems '("str")
cc978955
PN
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
88f06fd0
PN
5452library 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
5455discoverable library instead of many; consistency and composability, where
5456@code{s} is always the last argument, which makes it easier to feed pipes and
5457arrows.")
cc978955 5458 (license license:expat)))
88f06fd0
PN
5459
5460(define-public cl-str
5461 (sbcl-package->cl-source-package sbcl-cl-str))
5462
12df8b7b
GLV
5463(define-public ecl-cl-str
5464 (sbcl-package->ecl-package sbcl-cl-str))
5465
88f06fd0
PN
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
5488do you do when you have a XML file that's larger than you want to fit in
5489memory, and you want to extract some information from it? Writing code to deal
5490with SAX events, or even using Klacks, quickly becomes tedious.
5491@code{cl-xmlspam} (for XML Stream PAttern Matcher) is designed to make it easy
5492to write code that mirrors the structure of the XML that it's parsing. It
5493also makes it easy to shift paradigms when necessary - the usual Lisp control
5494constructs can be used interchangeably with pattern matching, and the full
5495power of CXML is available when necessary.")
5496 (license license:bsd-3))))
5497
d9bdde74
GLV
5498(define-public cl-xmlspam
5499 (sbcl-package->cl-source-package sbcl-cl-xmlspam))
5500
12df8b7b
GLV
5501(define-public ecl-cl-xmlspam
5502 (sbcl-package->ecl-package sbcl-cl-xmlspam))
5503
2ff8b5ba 5504(define-public sbcl-dbus
88f06fd0
PN
5505 (let ((commit "24b452df3a45ca5dc95015500f34baad175c981a")
5506 (revision "1"))
5507 (package
2ff8b5ba 5508 (name "sbcl-dbus")
88f06fd0
PN
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"))))
2ff8b5ba
GLV
5521 (build-system asdf-build-system/sbcl)
5522 (inputs
88f06fd0
PN
5523 `(("alexandria" ,sbcl-alexandria)
5524 ("trivial-garbage" ,sbcl-trivial-garbage)
5525 ("babel" ,sbcl-babel)
5526 ("iolib" ,sbcl-iolib)
88f06fd0
PN
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")
104b1bde 5532 (description "This is a Common Lisp library that publishes D-Bus
88f06fd0
PN
5533objects as well as send and notify other objects connected to a bus.")
5534 (license license:bsd-2))))
5535
2ff8b5ba
GLV
5536(define-public cl-dbus
5537 (sbcl-package->cl-source-package sbcl-dbus))
5538
e7cbcf5a
GLV
5539(define-public ecl-dbus
5540 (sbcl-package->ecl-package sbcl-dbus))
5541
88f06fd0
PN
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
5569extension point in a program that allows interleaving the execution of
5570arbitrary code with the execution of a the program without introducing any
5571coupling between the two. Hooks are used extensively in the extensible editor
5572Emacs.
5573
5574In the Common LISP Object System (CLOS), a similar kind of extensibility is
5575possible using the flexible multi-method dispatch mechanism. It may even seem
5576that the concept of hooks does not provide any benefits over the possibilities
5577of CLOS. However, there are some differences:
5578
5579@itemize
5580
5581@item There can be only one method for each combination of specializers and
5582qualifiers. As a result this kind of extension point cannot be used by
5583multiple 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}
5587and @code{:after} in a single method.
5588@item Attaching codes to individual objects using eql specializers can be
5589cumbersome.
5590@item Introspection of code attached a particular extension point is
5591cumbersome since this requires enumerating and inspecting the methods of a
5592generic function.
5593@end itemize
5594
5595This library tries to complement some of these weaknesses of method-based
5596extension-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
bdfd1d18
PN
5606 ;; No release since 2013.
5607 (let ((commit "9aa23bbdceb24bcdbe0e7c39fa1901858f823106")
5608 (revision "2"))
88f06fd0
PN
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
bdfd1d18
PN
5623 "1fh8r7kf8s3hvqdg6b71b8p7w3v2kkga9bw8j3qqdxhzr6anpm0b"))))
5624 (inputs
5625 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2ff8b5ba 5626 ("usocket" ,sbcl-usocket)))
88f06fd0
PN
5627 (synopsis "Common Lisp abstraction layer over platform dependent functionality")
5628 (description "@code{s-sysdeps} is an abstraction layer over platform
5629dependent functionality. This simple package is used as a building block in a
5630number 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
58de426e
PN
5649 (let ((commit "5a76be036092ed6c18cb695a9e03bce87e21b840")
5650 (revision "4"))
88f06fd0
PN
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
58de426e 5665 "050h6hwv8f16b5v6fzba8zmih92hgaaq27i2x9wv1iib41gbia3r"))))
88f06fd0
PN
5666 (inputs
5667 `(("s-sysdeps" ,sbcl-s-sysdeps)
5668 ("s-xml" ,sbcl-s-xml)))
419db900
PN
5669 (native-inputs
5670 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
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
5674for (de)serializing to and from s-exps as well as XML. Serialization of arbitrary
5675classes 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
5708a sequence, with similar kinds of operations. The difference is that in many
5709situations, operations on series may be composed functionally and yet execute
5710iteratively, without the need to construct intermediate series values
5711explicitly. In this manner, series provide both the clarity of a functional
5712programming 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
b0e7b699 5732 (url "https://github.com/jwiegley/periods")
88f06fd0
PN
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
2ff8b5ba
GLV
5740 `(("local-time" ,sbcl-local-time)
5741 ("series" ,sbcl-series)))
5742 (arguments
3f8bbf7c 5743 '(#:asd-systems '("periods"
2ff8b5ba 5744 "periods-series")))
88f06fd0
PN
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
5748manipulating times, distances between times, and both contiguous and
5749discontiguous 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
88f06fd0
PN
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
b0e7b699 5769 (url "https://github.com/gwkkwg/metatilities-base")
88f06fd0
PN
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
5781which 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
0ad6ecb8
PN
5792 (let ((commit "3d1df53c22403121bffb5d553cf7acb1503850e7")
5793 (revision "3"))
88f06fd0
PN
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
b0e7b699 5801 (url "https://github.com/gwkkwg/cl-containers")
88f06fd0
PN
5802 (commit commit)))
5803 (file-name (git-file-name name version))
5804 (sha256
5805 (base32
0ad6ecb8 5806 "18s6jfq11n8nv9k4biz32pm1s7y9zl054ry1gmdbcf39nisy377y"))))
88f06fd0
PN
5807 (build-system asdf-build-system/sbcl)
5808 (native-inputs
5809 `(("lift" ,sbcl-lift)))
5810 (inputs
5811 `(("metatilities-base" ,sbcl-metatilities-base)))
5812 (arguments
3f8bbf7c
GLV
5813 '(#:asd-files '("cl-containers.asd")
5814 #:phases
88f06fd0
PN
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
5828including the venerable list, full featured arrays, and hash-tables.
5829CL-containers enhances and builds on these structures by adding containers
5830that are not available in native Lisp (for example: binary search trees,
5831red-black trees, sparse arrays and so on), and by providing a standard
5832interface so that they are simpler to use and so that changing design
5833decisions 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
5871on 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
2ff8b5ba 5881(define-public sbcl-cambl
88f06fd0
PN
5882 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
5883 (revision "1"))
5884 (package
2ff8b5ba
GLV
5885 (name "sbcl-cambl")
5886 (version (git-version "4.0.0" revision commit))
88f06fd0
PN
5887 (source
5888 (origin
5889 (method git-fetch)
5890 (uri (git-reference
b0e7b699 5891 (url "https://github.com/jwiegley/cambl")
88f06fd0 5892 (commit commit)))
2ff8b5ba 5893 (file-name (git-file-name "cambl" version))
88f06fd0 5894 (sha256
2ff8b5ba 5895 (base32 "103mry04j2k9vznsxm7wcvccgxkil92cdrv52miwcmxl8daa4jiz"))))
88f06fd0 5896 (build-system asdf-build-system/sbcl)
88f06fd0
PN
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)
2ff8b5ba
GLV
5903 ("periods" ,sbcl-periods)))
5904 (arguments
5905 '(#:asd-files '("fprog.asd"
e765d9c9 5906 "cambl.asd")))
88f06fd0
PN
5907 (synopsis "Commoditized amounts and balances for Common Lisp")
5908 (description
5909 "CAMBL is a Common Lisp library providing a convenient facility for
5910working with commoditized values. It does not allow compound units (and so is
5911not suited for scientific operations) but does work rather nicely for the
2ff8b5ba
GLV
5912purpose of financial calculations.")
5913 (home-page "https://github.com/jwiegley/cambl")
5914 (license license:bsd-3))))
88f06fd0
PN
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
b0e7b699 5932 (url "https://github.com/ledger/cl-ledger")
88f06fd0
PN
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)
2ff8b5ba 5943 ("periods" ,sbcl-periods)))
88f06fd0
PN
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
5957system.")
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
b0e7b699 5977 (url "https://github.com/glv2/bst")
88f06fd0
PN
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
5990can 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
b0e7b699 6008 (url "https://github.com/glv2/cl-octet-streams")
88f06fd0
PN
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
6022streams for Common Lisp. It was inspired by the trivial-octet-streams and
6023cl-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
b0e7b699 6043 (url "https://github.com/glv2/cl-lzlib")
88f06fd0
PN
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)
6068compression/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
00a9a936
GLV
6079 (let ((commit "56e90a126c78b39bb621a01585e8d3b985238e8c")
6080 (revision "1"))
88f06fd0
PN
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
b0e7b699 6088 (url "https://github.com/zkat/chanl")
88f06fd0
PN
6089 (commit commit)))
6090 (file-name (git-file-name name version))
6091 (sha256
6092 (base32
00a9a936 6093 "0b1cf6c12qx5cy1fw2z42jgh566rp3l8nv5qf0qqc569s7bgmrh4"))))
88f06fd0
PN
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
6101a nutshell, you create various threads sequentially executing tasks you need
6102done, and use channel objects to communicate and synchronize the state of these
6103threads.")
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
00a9a936 6111 (sbcl-package->ecl-package sbcl-chanl))
88f06fd0
PN
6112
6113(define-public sbcl-cl-store
1896256d
BG
6114 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
6115 (revision "1"))
88f06fd0
PN
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
b0e7b699 6123 (url "https://github.com/skypher/cl-store")
88f06fd0
PN
6124 (commit commit)))
6125 (file-name (git-file-name name version))
6126 (sha256
6127 (base32
1896256d 6128 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
88f06fd0
PN
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
6135ability to store all Common Lisp data types into streams.")
630a4b77 6136 (home-page "https://www.common-lisp.net/project/cl-store/")
88f06fd0
PN
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
6190Introspection, which enables Common Lisp programs to access the full interface
6191of 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
e7cbcf5a
GLV
6199(define-public ecl-cl-gobject-introspection
6200 (sbcl-package->ecl-package sbcl-cl-gobject-introspection))
6201
88f06fd0
PN
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
6223trees 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
6253typically serves as a stand-in for a global variable. The @code{global-vars}
6254library provides true global variables that are implemented by some compilers.
6255An attempt to rebind a global variable properly results in a compiler error.
6256That is, a global variable cannot be dynamically bound.
6257
6258Global variables therefore allow us to communicate an intended usage that
6259differs from special variables. Global variables are also more efficient than
6260special 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,
6292is to open the file with an element type of (unsigned-byte 8) and then
6293calculate the length of the stream. This is less than ideal. In most cases
6294it is better to get the size of the file from its metadata, using a system
6295call.
6296
6297This library exports a single function, file-size-in-octets. It returns the
6298size 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
6330implementation 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
32b51798
PN
6340 (let ((commit "c5e352a9f04a84a93742193c01734f4fb31d9f82")
6341 (revision "3"))
88f06fd0
PN
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
32b51798 6355 "16767pxl766c15jznr4srcbp7cnxf8w9lkyaqpp5w5crqymw84nw"))))
88f06fd0
PN
6356 (build-system asdf-build-system/sbcl)
6357 (inputs
6358 `(("alexandria" ,sbcl-alexandria)
6359 ("trivia" ,sbcl-trivia)
88f06fd0
PN
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)
2ff8b5ba 6366 ("fare-quasiquote" ,sbcl-fare-quasiquote)
88f06fd0
PN
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
6386supplement, not a competitor, to Alexandria.")
6387 (license license:expat))))
6388
6389(define-public cl-serapeum
6390 (sbcl-package->cl-source-package sbcl-serapeum))
6391
12df8b7b
GLV
6392(define-public ecl-serapeum
6393 (sbcl-package->ecl-package sbcl-serapeum))
6394
88f06fd0
PN
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
6417Clojure, 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 "db460f7a3f7bbfe2d3a2223ed21e162068d04dda")
6429 (revision "0"))
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
b0e7b699 6437 (url "https://github.com/glv2/simple-parallel-tasks")
88f06fd0
PN
6438 (commit commit)))
6439 (file-name (git-file-name name version))
6440 (sha256
6441 (base32
6442 "0amw3qk23wnlyrsgzszs6rs7y4zvxv8dr03rnqhc60mnm8ds4dd5"))))
6443 (build-system asdf-build-system/sbcl)
6444 (native-inputs
6445 `(("fiveam" ,sbcl-fiveam)))
6446 (inputs
6447 `(("chanl" ,sbcl-chanl)))
6448 (synopsis "Common Lisp library to evaluate some forms in parallel")
6449 (description "This is a simple Common Lisp library to evaluate some
6450forms in parallel.")
6451 (home-page "https://github.com/glv2/simple-parallel-tasks")
6452 (license license:gpl3))))
6453
6454(define-public cl-simple-parallel-tasks
6455 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
6456
6457(define-public ecl-simple-parallel-tasks
6458 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
6459
6460(define-public sbcl-cl-heap
6461 (package
6462 (name "sbcl-cl-heap")
6463 (version "0.1.6")
6464 (source
6465 (origin
6466 (method url-fetch)
6467 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
6468 "cl-heap_" version ".tar.gz"))
6469 (sha256
6470 (base32
6471 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
6472 (build-system asdf-build-system/sbcl)
6473 (native-inputs
6474 `(("xlunit" ,sbcl-xlunit)))
6475 (arguments
6476 `(#:test-asd-file "cl-heap-tests.asd"))
6477 (synopsis "Heap and priority queue data structures for Common Lisp")
6478 (description
6479 "CL-HEAP provides various implementations of heap data structures (a
6480binary heap and a Fibonacci heap) as well as an efficient priority queue.")
6481 (home-page "https://common-lisp.net/project/cl-heap/")
6482 (license license:gpl3+)))
6483
6484(define-public cl-heap
6485 (sbcl-package->cl-source-package sbcl-cl-heap))
6486
6487(define-public ecl-cl-heap
6488 (sbcl-package->ecl-package sbcl-cl-heap))
6489
6490(define-public sbcl-curry-compose-reader-macros
6491 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
6492 (revision "0"))
6493 (package
6494 (name "sbcl-curry-compose-reader-macros")
6495 (version (git-version "1.0.0" revision commit))
6496 (source
6497 (origin
6498 (method git-fetch)
6499 (uri
6500 (git-reference
b0e7b699 6501 (url "https://github.com/eschulte/curry-compose-reader-macros")
88f06fd0
PN
6502 (commit commit)))
6503 (file-name (git-file-name name version))
6504 (sha256
6505 (base32
6506 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
6507 (build-system asdf-build-system/sbcl)
6508 (inputs
6509 `(("alexandria" ,sbcl-alexandria)
6510 ("named-readtables" ,sbcl-named-readtables)))
6511 (synopsis "Reader macros for partial application and composition")
6512 (description
6513 "This Common Lisp library provides reader macros for concise expression
6514of function partial application and composition.")
6515 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
6516 (license license:public-domain))))
6517
6518(define-public cl-curry-compose-reader-macros
6519 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
6520
6521(define-public ecl-curry-compose-reader-macros
6522 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
6523
6524(define-public sbcl-yason
6525 (package
6526 (name "sbcl-yason")
6527 (version "0.7.7")
6528 (source
6529 (origin
6530 (method git-fetch)
6531 (uri (git-reference
b0e7b699 6532 (url "https://github.com/phmarek/yason")
88f06fd0
PN
6533 (commit (string-append "v" version))))
6534 (file-name (git-file-name name version))
6535 (sha256
6536 (base32
6537 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
6538 (build-system asdf-build-system/sbcl)
6539 (inputs
6540 `(("alexandria" ,sbcl-alexandria)
6541 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
6542 (synopsis "Common Lisp JSON parser/encoder")
6543 (description
6544 "YASON is a Common Lisp library for encoding and decoding data in the
6545JSON interchange format.")
6546 (home-page "https://github.com/phmarek/yason")
6547 (license license:bsd-3)))
6548
6549(define-public cl-yason
6550 (sbcl-package->cl-source-package sbcl-yason))
6551
6552(define-public ecl-yason
6553 (sbcl-package->ecl-package sbcl-yason))
6554
6555(define-public sbcl-stefil
6556 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
6557 (revision "0"))
6558 (package
6559 (name "sbcl-stefil")
6560 (version (git-version "0.1" revision commit))
6561 (source
6562 (origin
6563 (method git-fetch)
6564 (uri (git-reference
6565 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
6566 (commit commit)))
6567 (file-name (git-file-name name version))
6568 (sha256
6569 (base32
6570 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
6571 (build-system asdf-build-system/sbcl)
6572 (inputs
6573 `(("alexandria" ,sbcl-alexandria)
6574 ("iterate" ,sbcl-iterate)
2ff8b5ba
GLV
6575 ("metabang-bind" ,sbcl-metabang-bind)
6576 ("swank" ,sbcl-slime-swank)))
88f06fd0
PN
6577 (arguments
6578 '(#:phases
6579 (modify-phases %standard-phases
6580 (add-after 'unpack 'drop-unnecessary-dependency
6581 (lambda _
6582 (substitute* "package.lisp"
6583 ((":stefil-system") ""))
6584 #t)))))
6585 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
6586 (synopsis "Simple test framework")
6587 (description
6588 "Stefil is a simple test framework for Common Lisp, with a focus on
6589interactive development.")
6590 (license license:public-domain))))
6591
6592(define-public cl-stefil
6593 (sbcl-package->cl-source-package sbcl-stefil))
6594
12df8b7b
GLV
6595(define-public ecl-stefil
6596 (sbcl-package->ecl-package sbcl-stefil))
6597
88f06fd0
PN
6598(define-public sbcl-graph
6599 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
6600 (revision "0"))
6601 (package
6602 (name "sbcl-graph")
6603 (version (git-version "0.0.0" revision commit))
6604 (source
6605 (origin
6606 (method git-fetch)
6607 (uri
6608 (git-reference
b0e7b699 6609 (url "https://github.com/eschulte/graph")
88f06fd0
PN
6610 (commit commit)))
6611 (file-name (git-file-name name version))
6612 (sha256
6613 (base32
2ff8b5ba 6614 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))))
88f06fd0
PN
6615 (build-system asdf-build-system/sbcl)
6616 (native-inputs
6617 `(("stefil" ,sbcl-stefil)))
6618 (inputs
6619 `(("alexandria" ,sbcl-alexandria)
6620 ("cl-heap" ,sbcl-cl-heap)
2ff8b5ba 6621 ("cl-ppcre" ,sbcl-cl-ppcre)
88f06fd0
PN
6622 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
6623 ("metabang-bind" ,sbcl-metabang-bind)
2ff8b5ba
GLV
6624 ("named-readtables" ,sbcl-named-readtables)
6625 ("yason" ,sbcl-yason)))
88f06fd0 6626 (arguments
3f8bbf7c 6627 '(#:asd-systems '("graph"
2ff8b5ba
GLV
6628 "graph/dot"
6629 "graph/json")))
88f06fd0
PN
6630 (synopsis "Graph data structure and algorithms for Common Lisp")
6631 (description
6632 "The GRAPH Common Lisp library provides a data structures to represent
6633graphs, as well as some graph manipulation and analysis algorithms (shortest
6634path, maximum flow, minimum spanning tree, etc.).")
6635 (home-page "https://eschulte.github.io/graph/")
6636 (license license:gpl3+))))
6637
6638(define-public cl-graph
6639 (sbcl-package->cl-source-package sbcl-graph))
6640
e7cbcf5a
GLV
6641(define-public ecl-graph
6642 (sbcl-package->ecl-package sbcl-graph))
6643
3029b585
PN
6644(define-public sbcl-trivial-indent
6645 (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
6646 (revision "0"))
6647 (package
6648 (name "sbcl-trivial-indent")
6649 (version (git-version "1.0.0" revision commit))
6650 (source
6651 (origin
6652 (method git-fetch)
6653 (uri
6654 (git-reference
6655 (url "https://github.com/Shinmera/trivial-indent")
6656 (commit commit)))
6657 (file-name (git-file-name name version))
6658 (sha256
6659 (base32
6660 "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
6661 (build-system asdf-build-system/sbcl)
6662 (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
6663 (description
6664 "This library allows you to define custom indentation hints for your
6665macros if the one recognised by SLIME automatically produces unwanted
6666results.")
6667 (home-page "https://shinmera.github.io/trivial-indent/")
6668 (license license:zlib))))
6669
6670(define-public cl-trivial-indent
6671 (sbcl-package->cl-source-package sbcl-trivial-indent))
8dc5ff8f 6672
12df8b7b
GLV
6673(define-public ecl-trivial-indent
6674 (sbcl-package->ecl-package sbcl-trivial-indent))
6675
8dc5ff8f
PN
6676(define-public sbcl-documentation-utils
6677 (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
6678 (revision "0"))
6679 (package
6680 (name "sbcl-documentation-utils")
6681 (version (git-version "1.2.0" revision commit))
6682 (source
6683 (origin
6684 (method git-fetch)
6685 (uri
6686 (git-reference
b0e7b699 6687 (url "https://github.com/Shinmera/documentation-utils")
8dc5ff8f
PN
6688 (commit commit)))
6689 (file-name (git-file-name name version))
6690 (sha256
6691 (base32
6692 "098qhkqskmmrh4wix34mawf7p5c87yql28r51r75yjxj577k5idq"))))
6693 (build-system asdf-build-system/sbcl)
6694 (inputs
6695 `(("trivial-indent" ,sbcl-trivial-indent)))
6696 (synopsis "Few simple tools to document Common Lisp libraries")
6697 (description
6698 "This is a small library to help you with managing the Common Lisp
6699docstrings for your library.")
6700 (home-page "https://shinmera.github.io/documentation-utils/")
6701 (license license:zlib))))
6702
6703(define-public cl-documentation-utils
6704 (sbcl-package->cl-source-package sbcl-documentation-utils))
aa47c9e7 6705
281537f4
GLV
6706(define-public ecl-documentation-utils
6707 (sbcl-package->ecl-package sbcl-documentation-utils))
6708
aa47c9e7
PN
6709(define-public sbcl-form-fiddle
6710 (let ((commit "e0c23599dbb8cff3e83e012f3d86d0764188ad18")
6711 (revision "0"))
6712 (package
6713 (name "sbcl-form-fiddle")
6714 (version (git-version "1.1.0" revision commit))
6715 (source
6716 (origin
6717 (method git-fetch)
6718 (uri
6719 (git-reference
6720 (url "https://github.com/Shinmera/form-fiddle")
6721 (commit commit)))
6722 (file-name (git-file-name name version))
6723 (sha256
6724 (base32
6725 "041iznc9mpfyrl0sv5893ys9pbb2pvbn9g3clarqi7gsfj483jln"))))
6726 (build-system asdf-build-system/sbcl)
6727 (inputs
6728 `(("documentation-utils" ,sbcl-documentation-utils)))
6729 (synopsis "Utilities to destructure Common Lisp lambda forms")
6730 (description
6731 "Often times we need to destructure a form definition in a Common Lisp
6732macro. This library provides a set of simple utilities to help with that.")
6733 (home-page "https://shinmera.github.io/form-fiddle/")
6734 (license license:zlib))))
6735
6736(define-public cl-form-fiddle
6737 (sbcl-package->cl-source-package sbcl-form-fiddle))
e0786d13 6738
e7cbcf5a
GLV
6739(define-public ecl-form-fiddle
6740 (sbcl-package->ecl-package sbcl-form-fiddle))
6741
e0786d13
PN
6742(define-public sbcl-parachute
6743 (let ((commit "ca04dd8e43010a6dfffa26dbe1d62af86008d666")
6744 (revision "0"))
6745 (package
6746 (name "sbcl-parachute")
6747 (version (git-version "1.1.1" revision commit))
6748 (source
6749 (origin
6750 (method git-fetch)
6751 (uri
6752 (git-reference
6753 (url "https://github.com/Shinmera/parachute")
6754 (commit commit)))
6755 (file-name (git-file-name name version))
6756 (sha256
6757 (base32
6758 "1mvsm3r0r6a2bg75nw0q7n9vlby3ch45qjl7hnb5k1z2n5x5lh60"))))
6759 (build-system asdf-build-system/sbcl)
6760 (inputs
6761 `(("documentation-utils" ,sbcl-documentation-utils)
6762 ("form-fiddle" ,sbcl-form-fiddle)))
6763 (synopsis "Extensible and cross-compatible testing framework for Common Lisp")
6764 (description
6765 "Parachute is a simple-to-use and extensible testing framework.
6766In Parachute, things are organised as a bunch of named tests within a package.
6767Each test can contain a bunch of test forms that make up its body.")
6768 (home-page "https://shinmera.github.io/parachute/")
6769 (license license:zlib))))
6770
6771(define-public cl-parachute
6772 (sbcl-package->cl-source-package sbcl-parachute))
f5b1da68 6773
e7cbcf5a
GLV
6774(define-public ecl-parachute
6775 (sbcl-package->ecl-package sbcl-parachute))
6776
f5b1da68
PN
6777(define-public sbcl-array-utils
6778 (let ((commit "f90eb9070d0b2205af51126a35033574725e5c56")
6779 (revision "0"))
6780 (package
6781 (name "sbcl-array-utils")
6782 (version (git-version "1.1.1" revision commit))
6783 (source
6784 (origin
6785 (method git-fetch)
6786 (uri
6787 (git-reference
6788 (url "https://github.com/Shinmera/array-utils")
6789 (commit commit)))
6790 (file-name (git-file-name name version))
6791 (sha256
6792 (base32
6793 "0zhwfbpr53vs1ii4sx75dz2k9yhh1xpwdqqpg8nmfndxkmhpbi3x"))))
6794 (build-system asdf-build-system/sbcl)
6795 (native-inputs
6796 `(("parachute" ,sbcl-parachute)))
6797 (inputs
6798 `(("documentation-utils" ,sbcl-documentation-utils)))
6799 (synopsis "Tiny collection of array and vector utilities for Common Lisp")
6800 (description
6801 "A miniature toolkit that contains some useful shifting/popping/pushing
6802functions for arrays and vectors. Originally from Plump.")
6803 (home-page "https://shinmera.github.io/array-utils/")
6804 (license license:zlib))))
6805
6806(define-public cl-array-utils
6807 (sbcl-package->cl-source-package sbcl-array-utils))
cbda07d4 6808
e7cbcf5a
GLV
6809(define-public ecl-array-utils
6810 (sbcl-package->ecl-package sbcl-array-utils))
6811
cbda07d4 6812(define-public sbcl-plump
ef4a5a85
PN
6813 (let ((commit "34f890fe46efdebe7bb70d218f1937e98f632bf9")
6814 (revision "1"))
cbda07d4
PN
6815 (package
6816 (name "sbcl-plump")
6817 (version (git-version "2.0.0" revision commit))
6818 (source
6819 (origin
6820 (method git-fetch)
6821 (uri
6822 (git-reference
6823 (url "https://github.com/Shinmera/plump")
6824 (commit commit)))
6825 (file-name (git-file-name name version))
6826 (sha256
6827 (base32
ef4a5a85 6828 "0a0x8wn6vv1ylxcwck12k18gy0a366kdm6ddxxk7yynl4mwnqgkh"))))
cbda07d4
PN
6829 (build-system asdf-build-system/sbcl)
6830 (inputs
6831 `(("array-utils" ,sbcl-array-utils)
6832 ("documentation-utils" ,sbcl-documentation-utils)))
6833 (synopsis "Lenient XML / XHTML / HTML parser for Common Lisp")
6834 (description
6835 "Plump is a parser for HTML/XML-like documents, focusing on being
6836lenient towards invalid markup. It can handle things like invalid attributes,
6837bad closing tag order, unencoded entities, inexistent tag types, self-closing
6838tags and so on. It parses documents to a class representation and offers a
6839small set of DOM functions to manipulate it. It can be extended to parse to
6840your own classes.")
6841 (home-page "https://shinmera.github.io/plump/")
6842 (license license:zlib))))
6843
6844(define-public cl-plump
6845 (sbcl-package->cl-source-package sbcl-plump))
20972e4e 6846
e7cbcf5a
GLV
6847(define-public ecl-plump
6848 (sbcl-package->ecl-package sbcl-plump))
6849
2ff8b5ba
GLV
6850;;; Split the antik package in two to work around the circular dependency
6851;;; between antik/antik and antik/gsll.
20972e4e
KCB
6852(define-public sbcl-antik-base
6853 (let ((commit "e4711a69b3d6bf37b5727af05c3cfd03e8428ba3")
6854 (revision "1"))
6855 (package
6856 (name "sbcl-antik-base")
6857 (version (git-version "0.0.0" revision commit))
6858 (source
6859 (origin
6860 (method git-fetch)
6861 (uri (git-reference
6862 (url "https://gitlab.common-lisp.net/antik/antik.git")
6863 (commit commit)))
6864 (file-name (git-file-name name version))
6865 (sha256
6866 (base32
6867 "047ga2c38par2xbgg4qx6hwv06qhf1c1f67as8xvir6s80lip1km"))))
6868 (build-system asdf-build-system/sbcl)
6869 (inputs
6870 `(("alexandria" ,sbcl-alexandria)
2ff8b5ba 6871 ("cffi" ,sbcl-cffi)
20972e4e 6872 ("cl-ppcre" ,sbcl-cl-ppcre)
2ff8b5ba
GLV
6873 ("drakma" ,sbcl-drakma)
6874 ("fare-utils" ,sbcl-fare-utils)
20972e4e
KCB
6875 ("iterate" ,sbcl-iterate)
6876 ("metabang-bind" ,sbcl-metabang-bind)
6877 ("named-readtables" ,sbcl-named-readtables)
2ff8b5ba
GLV
6878 ("split-sequence" ,sbcl-split-sequence)
6879 ("static-vectors" ,sbcl-static-vectors)
6880 ("trivial-garbage" ,sbcl-trivial-garbage)
6881 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
20972e4e
KCB
6882 (native-inputs
6883 `(("lisp-unit" ,sbcl-lisp-unit)))
2ff8b5ba 6884 (arguments
3f8bbf7c 6885 '(#:asd-systems '("antik-base"
e1dda5dd 6886 "foreign-array")
2ff8b5ba
GLV
6887 #:phases
6888 (modify-phases %standard-phases
6889 (add-after 'unpack 'fix-build
6890 (lambda _
e1dda5dd
GLV
6891 (for-each delete-file
6892 '("antik.asd"
6893 "physical-dimension.asd"
6894 "science-data.asd"))
2ff8b5ba 6895 #t)))))
20972e4e
KCB
6896 (synopsis "Scientific and engineering computation in Common Lisp")
6897 (description
6898 "Antik provides a foundation for scientific and engineering
6899computation in Common Lisp. It is designed not only to facilitate
6900numerical computations, but to permit the use of numerical computation
6901libraries and the interchange of data and procedures, whether
6902foreign (non-Lisp) or Lisp libraries. It is named after the
6903Antikythera mechanism, one of the oldest examples of a scientific
6904computer known.")
6905 (home-page "https://common-lisp.net/project/antik/")
6906 (license license:gpl3))))
6907
d9bdde74
GLV
6908(define-public cl-antik-base
6909 (sbcl-package->cl-source-package sbcl-antik-base))
6910
e1dda5dd
GLV
6911(define-public ecl-antik-base
6912 (let ((pkg (sbcl-package->ecl-package sbcl-antik-base)))
6913 (package
6914 (inherit pkg)
6915 (arguments
6916 (substitute-keyword-arguments (package-arguments pkg)
6917 ((#:phases phases)
6918 `(modify-phases ,phases
6919 (add-after 'unpack 'fix-readtable
6920 (lambda _
6921 (substitute* "input-output/readtable.lisp"
6922 (("#-ccl")
6923 "#-(or ccl ecl)"))
6924 #t)))))))))
6925
064dbb71
KCB
6926(define-public sbcl-gsll
6927 (let ((commit "1a8ada22f9cf5ed7372d352b2317f4ccdb6ab308")
6928 (revision "1"))
6929 (package
6930 (name "sbcl-gsll")
6931 (version (git-version "0.0.0" revision commit))
6932 (source
6933 (origin
6934 (method git-fetch)
6935 (uri (git-reference
6936 (url "https://gitlab.common-lisp.net/antik/gsll.git")
6937 (commit commit)))
6938 (file-name (git-file-name name version))
6939 (sha256
6940 (base32
6941 "0z5nypfk26hxihb08p085644afawicrgb4xvadh3lmrn46qbjfn4"))))
6942 (build-system asdf-build-system/sbcl)
6943 (native-inputs
6944 `(("lisp-unit" ,sbcl-lisp-unit)))
6945 (inputs
6946 `(("alexandria" ,sbcl-alexandria)
2ff8b5ba
GLV
6947 ("antik-base" ,sbcl-antik-base)
6948 ("cffi" ,sbcl-cffi)
064dbb71
KCB
6949 ("gsl" ,gsl)
6950 ("metabang-bind" ,sbcl-metabang-bind)
6951 ("trivial-features" ,sbcl-trivial-features)
6952 ("trivial-garbage" ,sbcl-trivial-garbage)))
6953 (arguments
6954 `(#:tests? #f
6955 #:phases
6956 (modify-phases %standard-phases
6957 (add-after 'unpack 'fix-cffi-paths
6958 (lambda* (#:key inputs #:allow-other-keys)
6959 (substitute* "gsll.asd"
6960 ((":depends-on \\(#:foreign-array")
6961 ":depends-on (#:foreign-array #:cffi-libffi"))
6962 (substitute* "init/init.lisp"
6963 (("libgslcblas.so" all)
6964 (string-append
6965 (assoc-ref inputs "gsl") "/lib/" all)))
6966 (substitute* "init/init.lisp"
6967 (("libgsl.so" all)
6968 (string-append
6969 (assoc-ref inputs "gsl") "/lib/" all))))))))
6970 (synopsis "GNU Scientific Library for Lisp")
6971 (description
6972 "The GNU Scientific Library for Lisp (GSLL) allows the use of the
6973GNU Scientific Library (GSL) from Common Lisp. This library provides a
6974full range of common mathematical operations useful to scientific and
6975engineering applications. The design of the GSLL interface is such
6976that access to most of the GSL library is possible in a Lisp-natural
6977way; the intent is that the user not be hampered by the restrictions
6978of the C language in which GSL has been written. GSLL thus provides
6979interactive use of GSL for getting quick answers, even for someone not
6980intending to program in Lisp.")
6981 (home-page "https://common-lisp.net/project/gsll/")
6982 (license license:gpl3))))
6983
6984(define-public cl-gsll
6985 (sbcl-package->cl-source-package sbcl-gsll))
f1faf1ca 6986
e1dda5dd
GLV
6987(define-public ecl-gsll
6988 (sbcl-package->ecl-package sbcl-gsll))
6989
f1faf1ca
KCB
6990(define-public sbcl-antik
6991 (package
6992 (inherit sbcl-antik-base)
6993 (name "sbcl-antik")
6994 (inputs
2ff8b5ba
GLV
6995 `(("antik-base" ,sbcl-antik-base)
6996 ("gsll" ,sbcl-gsll)))
f1faf1ca 6997 (arguments
e1dda5dd
GLV
6998 '(#:asd-systems '("antik"
6999 "science-data")
7000 #:phases
2ff8b5ba
GLV
7001 (modify-phases %standard-phases
7002 (add-after 'unpack 'fix-build
7003 (lambda _
7004 (for-each delete-file
7005 '("antik-base.asd"
e1dda5dd 7006 "foreign-array.asd"))
2ff8b5ba 7007 #t)))))))
f1faf1ca
KCB
7008
7009(define-public cl-antik
7010 (sbcl-package->cl-source-package sbcl-antik))
7b0bb0d1
KCB
7011
7012(define-public sbcl-cl-interpol
7013 (let ((commit "1fd288d861db85bc4677cff3cdd6af75fda1afb4")
7014 (revision "1"))
7015 (package
7016 (name "sbcl-cl-interpol")
7017 (version (git-version "0.2.6" revision commit))
7018 (source
7019 (origin
7020 (method git-fetch)
7021 (uri (git-reference
b0e7b699 7022 (url "https://github.com/edicl/cl-interpol")
7b0bb0d1
KCB
7023 (commit commit)))
7024 (file-name (git-file-name name version))
7025 (sha256
7026 (base32
7027 "1hnikak52hmcq1r5f616m6qq1108qnkw80pja950nv1fq5p0ppjn"))))
7028 (build-system asdf-build-system/sbcl)
7029 (inputs
7030 `(("cl-unicode" ,sbcl-cl-unicode)
7031 ("named-readtables" ,sbcl-named-readtables)))
7032 (native-inputs
7033 `(("flexi-streams" ,sbcl-flexi-streams)))
7034 (synopsis "String interpolation for Common Lisp")
7035 (description
7036 "CL-INTERPOL is a library for Common Lisp which modifies the
7037reader so that you can have interpolation within strings similar to
7038Perl or Unix Shell scripts. It also provides various ways to insert
7039arbitrary characters into literal strings even if your editor/IDE
7040doesn't support them.")
7041 (home-page "https://edicl.github.io/cl-interpol/")
7042 (license license:bsd-3))))
7043
7044(define-public cl-interpol
7045 (sbcl-package->cl-source-package sbcl-cl-interpol))
7046
7047(define-public ecl-cl-interpol
7048 (sbcl-package->ecl-package sbcl-cl-interpol))
14ef7a92 7049
2ff8b5ba
GLV
7050(define-public sbcl-symbol-munger
7051 (let ((commit "97598d4c3c53fd5da72ab78908fbd5d8c7a13416")
14ef7a92
KCB
7052 (revision "1"))
7053 (package
2ff8b5ba 7054 (name "sbcl-symbol-munger")
14ef7a92
KCB
7055 (version (git-version "0.0.1" revision commit))
7056 (source
7057 (origin
7058 (method git-fetch)
7059 (uri (git-reference
b0e7b699 7060 (url "https://github.com/AccelerationNet/symbol-munger")
14ef7a92
KCB
7061 (commit commit)))
7062 (file-name (git-file-name name version))
7063 (sha256
7064 (base32
2ff8b5ba 7065 "0y8jywjy0ldyhp7bxf16fdvdd2qgqnd7nlhlqfpfnzxcqk4xy1km"))))
14ef7a92 7066 (build-system asdf-build-system/sbcl)
14ef7a92 7067 (inputs
2ff8b5ba
GLV
7068 `(("alexandria" ,sbcl-alexandria)
7069 ("iterate" ,sbcl-iterate)))
7070 (arguments
7071 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7072 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7073 '(#:tests? #f))
14ef7a92
KCB
7074 (synopsis
7075 "Capitalization and spacing conversion functions for Common Lisp")
7076 (description
7077 "This is a Common Lisp library to change the capitalization and spacing
7078of a string or a symbol. It can convert to and from Lisp, english, underscore
7079and camel-case rules.")
7080 (home-page "https://github.com/AccelerationNet/symbol-munger")
7081 ;; The package declares a BSD license, but all of the license
7082 ;; text is MIT.
7083 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
7084 (license license:expat))))
7085
2ff8b5ba
GLV
7086(define-public cl-symbol-munger
7087 (sbcl-package->cl-source-package sbcl-symbol-munger))
7088
7089(define-public ecl-symbol-munger
7090 (sbcl-package->ecl-package sbcl-symbol-munger))
7091
7092(define-public sbcl-lisp-unit2
14ef7a92
KCB
7093 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
7094 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
7095 (let ((commit "fb9721524d1e4e73abb223ee036d74ce14a5505c")
7096 (revision "1"))
7097 (package
2ff8b5ba 7098 (name "sbcl-lisp-unit2")
14ef7a92
KCB
7099 (version (git-version "0.2.0" revision commit))
7100 (source
7101 (origin
7102 (method git-fetch)
7103 (uri (git-reference
b0e7b699 7104 (url "https://github.com/AccelerationNet/lisp-unit2")
14ef7a92
KCB
7105 (commit commit)))
7106 (file-name (git-file-name name version))
7107 (sha256
7108 (base32
7109 "1rsqy8y0jqll6xn9a593848f5wvd5ribv4csry1ly0hmdhfnqzlp"))))
7110 (build-system asdf-build-system/sbcl)
14ef7a92
KCB
7111 (inputs
7112 `(("alexandria" ,sbcl-alexandria)
7113 ("cl-interpol" ,sbcl-cl-interpol)
7114 ("iterate" ,sbcl-iterate)
2ff8b5ba 7115 ("symbol-munger" ,sbcl-symbol-munger)))
14ef7a92
KCB
7116 (synopsis "Test Framework for Common Lisp")
7117 (description
7118 "LISP-UNIT2 is a Common Lisp library that supports unit testing in the
7119style of JUnit for Java. It is a new version of the lisp-unit library written
7120by Chris Riesbeck.")
7121 (home-page "https://github.com/AccelerationNet/lisp-unit2")
7122 (license license:expat))))
edfa2261 7123
b97dbb64
KCB
7124(define-public cl-lisp-unit2
7125 (sbcl-package->cl-source-package sbcl-lisp-unit2))
7126
7127(define-public ecl-lisp-unit2
7128 (sbcl-package->ecl-package sbcl-lisp-unit2))
f4448e43
KCB
7129
7130(define-public sbcl-cl-csv
be0ebf33
PN
7131 (let ((commit "68ecb5d816545677513d7f6308d9e5e8d2265651")
7132 (revision "2"))
f4448e43
KCB
7133 (package
7134 (name "sbcl-cl-csv")
7135 (version (git-version "1.0.6" revision commit))
7136 (source
7137 (origin
7138 (method git-fetch)
7139 (uri (git-reference
b0e7b699 7140 (url "https://github.com/AccelerationNet/cl-csv")
f4448e43
KCB
7141 (commit commit)))
7142 (file-name (git-file-name name version))
7143 (sha256
7144 (base32
be0ebf33 7145 "0gcmlbwx5m3kwgk12qi80w08ak8fgdnvyia429fz6gnxmhg0k54x"))))
f4448e43
KCB
7146 (build-system asdf-build-system/sbcl)
7147 (arguments
7148 ;; See: https://github.com/AccelerationNet/cl-csv/pull/34
7149 `(#:tests? #f))
7150 (inputs
7151 `(("alexandria" ,sbcl-alexandria)
7152 ("cl-interpol" ,sbcl-cl-interpol)
7153 ("iterate" ,sbcl-iterate)))
7154 (native-inputs
7155 `(("lisp-unit2" ,sbcl-lisp-unit2)))
7156 (synopsis "Common lisp library for comma-separated values")
7157 (description
7158 "This is a Common Lisp library providing functions to read/write CSV
7159from/to strings, streams and files.")
7160 (home-page "https://github.com/AccelerationNet/cl-csv")
7161 (license license:bsd-3))))
7162
7163(define-public cl-csv
7164 (sbcl-package->cl-source-package sbcl-cl-csv))
7165
7166(define-public ecl-cl-csv
7167 (sbcl-package->ecl-package sbcl-cl-csv))
6f0c2c95
KCB
7168
7169(define-public sbcl-external-program
7170 (let ((commit "5888b8f1fd3953feeeacecbba4384ddda584a749")
7171 (revision "1"))
7172 (package
7173 (name "sbcl-external-program")
7174 (version (git-version "0.0.6" revision commit))
7175 (source
7176 (origin
7177 (method git-fetch)
7178 (uri (git-reference
b0e7b699 7179 (url "https://github.com/sellout/external-program")
6f0c2c95
KCB
7180 (commit commit)))
7181 (file-name (git-file-name name version))
7182 (sha256
7183 (base32
7184 "0vww1x3yilb3bjwg6k184vaj4vxyxw4vralhnlm6lk4xac67kc9z"))))
7185 (build-system asdf-build-system/sbcl)
7186 (inputs
7187 `(("trivial-features" ,sbcl-trivial-features)))
7188 (native-inputs
7189 `(("fiveam" ,sbcl-fiveam)))
7190 (synopsis "Common Lisp library for running external programs")
7191 (description
7192 "EXTERNAL-PROGRAM enables running programs outside the Lisp
7193process. It is an attempt to make the RUN-PROGRAM functionality in
7194implementations like SBCL and CCL as portable as possible without
7195sacrificing much in the way of power.")
7196 (home-page "https://github.com/sellout/external-program")
7197 (license license:llgpl))))
7198
7199(define-public cl-external-program
7200 (sbcl-package->cl-source-package sbcl-external-program))
7201
7202(define-public ecl-external-program
7203 (sbcl-package->ecl-package sbcl-external-program))
710a2815 7204
2ff8b5ba 7205(define-public sbcl-cl-ana
710a2815
KCB
7206 (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
7207 (revision "1"))
7208 (package
2ff8b5ba 7209 (name "sbcl-cl-ana")
710a2815
KCB
7210 (version (git-version "0.0.0" revision commit))
7211 (source
7212 (origin
7213 (method git-fetch)
7214 (uri (git-reference
b0e7b699 7215 (url "https://github.com/ghollisjr/cl-ana")
710a2815
KCB
7216 (commit commit)))
7217 (file-name (git-file-name name version))
7218 (sha256
2ff8b5ba 7219 (base32 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
710a2815 7220 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
7221 (native-inputs
7222 `(("cl-fad" ,sbcl-cl-fad)))
7223 (inputs
7224 `(("alexandria" ,sbcl-alexandria)
7225 ("antik" ,sbcl-antik)
7226 ("cffi" ,sbcl-cffi)
7227 ("cl-csv" ,sbcl-cl-csv)
7228 ("closer-mop" ,sbcl-closer-mop)
7229 ("external-program" ,sbcl-external-program)
7230 ("gsl" ,gsl)
7231 ("gsll" ,sbcl-gsll)
7232 ("hdf5" ,hdf5-parallel-openmpi)
7233 ("iterate" ,sbcl-iterate)
7234 ("libffi" ,libffi)
7235 ("split-sequence" ,sbcl-split-sequence)))
7236 (arguments
e765d9c9 7237 `(#:phases
2ff8b5ba
GLV
7238 (modify-phases %standard-phases
7239 (add-after 'unpack 'fix-paths
7240 (lambda* (#:key inputs #:allow-other-keys)
7241 (substitute* "hdf-cffi/hdf-cffi.lisp"
7242 (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
7243 (string-append (assoc-ref inputs "hdf5")
7244 "/lib/libhdf5.so")))
7245 (substitute* "gsl-cffi/gsl-cffi.lisp"
7246 (("define-foreign-library gsl-cffi" all)
7247 (string-append all " (:unix "
7248 (assoc-ref inputs "gsl")
7249 "/lib/libgsl.so)")))
7250 #t)))))
710a2815
KCB
7251 (synopsis "Common Lisp data analysis library")
7252 (description
7253 "CL-ANA is a data analysis library in Common Lisp providing tabular and
7254binned data analysis along with nonlinear least squares fitting and
7255visualization.")
7256 (home-page "https://github.com/ghollisjr/cl-ana")
7257 (license license:gpl3))))
7258
2ff8b5ba
GLV
7259(define-public cl-ana
7260 (sbcl-package->cl-source-package sbcl-cl-ana))
6d69c5b4 7261
2ff8b5ba
GLV
7262(define-public sbcl-archive
7263 (let ((commit "631271c091ed02994bec3980cb288a2cf32c7cdc")
7264 (revision "1"))
7265 (package
7266 (name "sbcl-archive")
7267 (version (git-version "0.9" revision commit))
7268 (source (origin
7269 (method git-fetch)
7270 (uri (git-reference
7271 (url "https://github.com/sharplispers/archive")
7272 (commit commit)))
7273 (file-name (git-file-name name version))
7274 (sha256
7275 (base32
7276 "0pvsc9fmybx7rxd0kmzq4shi6hszdpwdc1sfy7jwyfxf8n3hnv4p"))))
7277 (build-system asdf-build-system/sbcl)
7278 (inputs
7279 `(("cl-fad" ,sbcl-cl-fad)
7280 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7281 (synopsis "Common Lisp library for tar and cpio archives")
7282 (description
7283 "This is a Common Lisp library to read and write disk-based file
7284archives such as those generated by the tar and cpio programs on Unix.")
7285 (home-page "https://github.com/sharplispers/archive")
7286 (license license:bsd-3))))
39ba698b 7287
2ff8b5ba
GLV
7288(define-public cl-archive
7289 (sbcl-package->cl-source-package sbcl-archive))
39ba698b 7290
2ff8b5ba
GLV
7291(define-public ecl-archive
7292 (sbcl-package->ecl-package sbcl-archive))
39ba698b 7293
2ff8b5ba
GLV
7294(define-public sbcl-misc-extensions
7295 (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
7296 (revision "1"))
7297 (package
7298 (name "sbcl-misc-extensions")
7299 (version (git-version "3.3" revision commit))
7300 (source
7301 (origin
7302 (method git-fetch)
7303 (uri (git-reference
7304 (url "https://gitlab.common-lisp.net/misc-extensions/devel.git")
7305 (commit commit)))
7306 (file-name (git-file-name name version))
7307 (sha256
7308 (base32
7309 "0gz5f4p70qzilnxsnf5lih2n9m4wjcw8hlw4w8mpn9jyhyppyyv0"))))
7310 (build-system asdf-build-system/sbcl)
7311 (synopsis "Collection of small macros and extensions for Common Lisp")
7312 (description
7313 "This project is intended as a catchall for small, general-purpose
7314extensions to Common Lisp. It contains:
ad09a96a 7315
2ff8b5ba
GLV
7316@itemize
7317@item @code{new-let}, a macro that combines and generalizes @code{let},
7318@code{let*} and @code{multiple-value-bind},
7319@item @code{gmap}, an iteration macro that generalizes @code{map}.
7320@end itemize\n")
7321 (home-page "https://common-lisp.net/project/misc-extensions/")
7322 (license license:public-domain))))
ad09a96a 7323
2ff8b5ba
GLV
7324(define-public cl-misc-extensions
7325 (sbcl-package->cl-source-package sbcl-misc-extensions))
ad09a96a 7326
2ff8b5ba
GLV
7327(define-public ecl-misc-extensions
7328 (sbcl-package->ecl-package sbcl-misc-extensions))
141d96e1 7329
2ff8b5ba 7330(define-public sbcl-mt19937
141d96e1 7331 (package
2ff8b5ba
GLV
7332 (name "sbcl-mt19937")
7333 (version "1.1")
7334 (source
7335 (origin
7336 (method url-fetch)
7337 (uri (string-append "https://common-lisp.net/project/asdf-packaging/"
7338 "mt19937-latest.tar.gz"))
7339 (sha256
7340 (base32
7341 "1iw636b0iw5ygkv02y8i41lh7xj0acglv0hg5agryn0zzi2nf1xv"))))
7342 (build-system asdf-build-system/sbcl)
7343 (synopsis "Mersenne Twister pseudo-random number generator")
7344 (description
7345 "MT19937 is a portable Mersenne Twister pseudo-random number generator
7346for Common Lisp.")
7347 (home-page "https://www.cliki.net/mt19937")
7348 (license license:public-domain)))
141d96e1 7349
2ff8b5ba
GLV
7350(define-public cl-mt19937
7351 (sbcl-package->cl-source-package sbcl-mt19937))
141d96e1 7352
2ff8b5ba
GLV
7353(define-public ecl-mt19937
7354 (sbcl-package->ecl-package sbcl-mt19937))
7468ca3c 7355
2ff8b5ba
GLV
7356(define-public sbcl-fset
7357 (let ((commit "6d2f9ded8934d2b42f2571a0ba5bda091037d852")
7358 (revision "1"))
7359 (package
7360 (name "sbcl-fset")
7361 (version (git-version "1.3.2" revision commit))
7362 (source
7363 (origin
7364 (method git-fetch)
7365 (uri (git-reference
7366 (url "https://github.com/slburson/fset")
7367 (commit commit)))
7368 (file-name (git-file-name name version))
7369 (sha256
7370 (base32
7371 "127acblwrbqicx47h6sgvknz1cqyfn8p4xkhkn1m7hxh8w5gk1zy"))
7372 (snippet '(begin
7373 ;; Remove obsolete copy of system definition.
7374 (delete-file "Code/fset.asd")
7375 #t))))
7376 (build-system asdf-build-system/sbcl)
7377 (inputs
7378 `(("misc-extensions" ,sbcl-misc-extensions)
7379 ("mt19937" ,sbcl-mt19937)
7380 ("named-readtables" ,sbcl-named-readtables)))
7381 (synopsis "Functional set-theoretic collections library")
7382 (description
7383 "FSet is a functional set-theoretic collections library for Common Lisp.
7384Functional means that all update operations return a new collection rather than
7385modifying an existing one in place. Set-theoretic means that collections may
7386be nested arbitrarily with no additional programmer effort; for instance, sets
7387may contain sets, maps may be keyed by sets, etc.")
7388 (home-page "https://common-lisp.net/project/fset/Site/index.html")
7389 (license license:llgpl))))
7468ca3c 7390
2ff8b5ba
GLV
7391(define-public cl-fset
7392 (sbcl-package->cl-source-package sbcl-fset))
7468ca3c 7393
bdd3b1b2
GLV
7394(define-public ecl-fset
7395 (package
7396 (inherit (sbcl-package->ecl-package sbcl-fset))
7397 (arguments
7398 ;; Tests fails on ECL with "The function FSET::MAKE-CHAR is undefined".
7399 '(#:tests? #f))))
7400
2ff8b5ba
GLV
7401(define-public sbcl-cl-cont
7402 (let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a")
7403 (revision "1"))
7404 (package
7405 (name "sbcl-cl-cont")
7406 (version (git-version "0.3.8" revision commit))
7407 (source
7408 (origin
7409 (method git-fetch)
7410 (uri (git-reference
7411 (url "https://gitlab.common-lisp.net/cl-cont/cl-cont.git")
7412 (commit commit)))
7413 (file-name (git-file-name name version))
7414 (sha256
7415 (base32
7416 "1zf8zvb0i6jm3hhfks4w74hibm6avgc6f9s1qwgjrn2bcik8lrvz"))))
7417 (build-system asdf-build-system/sbcl)
7418 (inputs
7419 `(("alexandria" ,sbcl-alexandria)
7420 ("closer-mop" ,sbcl-closer-mop)))
7421 (native-inputs
7422 `(("rt" ,sbcl-rt)))
7423 (synopsis "Delimited continuations for Common Lisp")
7424 (description
7425 "This is a library that implements delimited continuations by
7426transforming Common Lisp code to continuation passing style.")
7427 (home-page "https://common-lisp.net/project/cl-cont/")
7428 (license license:llgpl))))
f69f0235 7429
2ff8b5ba
GLV
7430(define-public cl-cont
7431 (sbcl-package->cl-source-package sbcl-cl-cont))
f69f0235 7432
2ff8b5ba
GLV
7433(define-public ecl-cl-cont
7434 (sbcl-package->ecl-package sbcl-cl-cont))
4101c714
GLV
7435
7436(define-public sbcl-cl-coroutine
7437 (let ((commit "de098f8d5debd8b14ef6864b5bdcbbf5ddbcfd72")
7438 (revision "1"))
7439 (package
7440 (name "sbcl-cl-coroutine")
7441 (version (git-version "0.1" revision commit))
7442 (source
7443 (origin
7444 (method git-fetch)
7445 (uri (git-reference
b0e7b699 7446 (url "https://github.com/takagi/cl-coroutine")
4101c714
GLV
7447 (commit commit)))
7448 (file-name (git-file-name name version))
7449 (sha256
7450 (base32
7451 "1cqdhdjxffgfs116l1swjlsmcbly0xgcgrckvaajd566idj9yj4l"))))
7452 (build-system asdf-build-system/sbcl)
7453 (inputs
7454 `(("alexandria" ,sbcl-alexandria)
7455 ("cl-cont" ,sbcl-cl-cont)))
7456 (native-inputs
7457 `(("prove" ,sbcl-prove)))
7458 (arguments
7459 `(;; TODO: Fix the tests. They fail with:
7460 ;; "Component CL-COROUTINE-ASD::CL-COROUTINE-TEST not found"
7461 #:tests? #f
7462 #:phases
7463 (modify-phases %standard-phases
7464 (add-after 'unpack 'fix-tests
7465 (lambda _
7466 (substitute* "cl-coroutine-test.asd"
7467 (("cl-test-more")
7468 "prove"))
7469 #t)))))
7470 (synopsis "Coroutine library for Common Lisp")
7471 (description
7472 "This is a coroutine library for Common Lisp implemented using the
7473continuations of the @code{cl-cont} library.")
7474 (home-page "https://github.com/takagi/cl-coroutine")
7475 (license license:llgpl))))
7476
7477(define-public cl-coroutine
7478 (sbcl-package->cl-source-package sbcl-cl-coroutine))
7479
7480(define-public ecl-cl-coroutine
7481 (sbcl-package->ecl-package sbcl-cl-coroutine))
5b8bc813
GLV
7482
7483(define-public sbcl-vom
7484 (let ((commit "1aeafeb5b74c53741b79497e0ef4acf85c92ff24")
7485 (revision "1"))
7486 (package
7487 (name "sbcl-vom")
7488 (version (git-version "0.1.4" revision commit))
7489 (source
7490 (origin
7491 (method git-fetch)
7492 (uri (git-reference
b0e7b699 7493 (url "https://github.com/orthecreedence/vom")
5b8bc813
GLV
7494 (commit commit)))
7495 (file-name (git-file-name name version))
7496 (sha256
7497 (base32
7498 "0536kppj76ax4lrxhv42npkfjsmx45km2g439vf9jmw3apinz9cy"))))
7499 (build-system asdf-build-system/sbcl)
7500 (synopsis "Tiny logging utility for Common Lisp")
7501 (description
7502 "Vom is a logging library for Common Lisp. It's goal is to be useful
7503and small. It does not provide a lot of features as other loggers do, but
7504has a small codebase that's easy to understand and use.")
7505 (home-page "https://github.com/orthecreedence/vom")
7506 (license license:expat))))
7507
7508(define-public cl-vom
7509 (sbcl-package->cl-source-package sbcl-vom))
7510
7511(define-public ecl-vom
7512 (sbcl-package->ecl-package sbcl-vom))
37b48dc1
GLV
7513
7514(define-public sbcl-cl-libuv
7515 (let ((commit "32100c023c518038d0670a103eaa4d50dd785d29")
7516 (revision "1"))
7517 (package
7518 (name "sbcl-cl-libuv")
7519 (version (git-version "0.1.6" revision commit))
7520 (source
7521 (origin
7522 (method git-fetch)
7523 (uri (git-reference
b0e7b699 7524 (url "https://github.com/orthecreedence/cl-libuv")
37b48dc1
GLV
7525 (commit commit)))
7526 (file-name (git-file-name name version))
7527 (sha256
7528 (base32
7529 "1kwix4si8a8hza34ab2k7whrh7z0yrmx39v2wc3qblv9m244jkh1"))))
7530 (build-system asdf-build-system/sbcl)
7531 (inputs
7532 `(("alexandria" ,sbcl-alexandria)
7533 ("cffi" ,sbcl-cffi)
37b48dc1
GLV
7534 ("libuv" ,libuv)))
7535 (arguments
7536 `(#:phases
7537 (modify-phases %standard-phases
7538 (add-after 'unpack 'fix-paths
7539 (lambda* (#:key inputs #:allow-other-keys)
7540 (substitute* "lib.lisp"
7541 (("/usr/lib/libuv.so")
7542 (string-append (assoc-ref inputs "libuv")
7543 "/lib/libuv.so")))
7544 #t))
7545 (add-after 'fix-paths 'fix-system-definition
7546 (lambda _
7547 (substitute* "cl-libuv.asd"
7548 (("#:cffi #:alexandria")
7549 "#:cffi #:cffi-grovel #:alexandria"))
7550 #t)))))
7551 (synopsis "Common Lisp bindings to libuv")
7552 (description
7553 "This library provides low-level libuv bindings for Common Lisp.")
7554 (home-page "https://github.com/orthecreedence/cl-libuv")
7555 (license license:expat))))
7556
7557(define-public cl-libuv
7558 (sbcl-package->cl-source-package sbcl-cl-libuv))
7559
7560(define-public ecl-cl-libuv
7561 (sbcl-package->ecl-package sbcl-cl-libuv))
1cc1dfbb 7562
2ff8b5ba 7563(define-public sbcl-cl-async
1cc1dfbb
GLV
7564 (let ((commit "f6423e44404a44434d803605e0d2e17199158e28")
7565 (revision "1"))
7566 (package
2ff8b5ba 7567 (name "sbcl-cl-async")
1cc1dfbb
GLV
7568 (version (git-version "0.6.1" revision commit))
7569 (source
7570 (origin
7571 (method git-fetch)
7572 (uri (git-reference
b0e7b699 7573 (url "https://github.com/orthecreedence/cl-async")
1cc1dfbb
GLV
7574 (commit commit)))
7575 (file-name (git-file-name name version))
7576 (sha256
7577 (base32
7578 "11xi9dxb8mjgwzrkj88i0xkgk26z9w9ddxzbv6xsvfc1d4x5cf4x"))))
7579 (build-system asdf-build-system/sbcl)
7580 (inputs
2ff8b5ba
GLV
7581 `(("babel" ,sbcl-babel)
7582 ("bordeaux-threads" ,sbcl-bordeaux-threads)
1cc1dfbb 7583 ("cffi" ,sbcl-cffi)
2ff8b5ba
GLV
7584 ("cl-libuv" ,sbcl-cl-libuv)
7585 ("cl-ppcre" ,sbcl-cl-ppcre)
7586 ("fast-io" ,sbcl-fast-io)
7587 ("openssl" ,openssl)
7588 ("static-vectors" ,sbcl-static-vectors)
7589 ("trivial-features" ,sbcl-trivial-features)
7590 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
7591 ("vom" ,sbcl-vom)))
1cc1dfbb 7592 (arguments
3f8bbf7c 7593 `(#:asd-systems '("cl-async"
2ff8b5ba
GLV
7594 "cl-async-repl"
7595 "cl-async-ssl")
7596 #:phases
7597 (modify-phases %standard-phases
ae51aa91
GLV
7598 (add-after 'unpack 'fix-paths
7599 (lambda* (#:key inputs #:allow-other-keys)
7600 (substitute* "src/ssl/package.lisp"
7601 (("libcrypto\\.so")
7602 (string-append (assoc-ref inputs "openssl")
7603 "/lib/libcrypto.so"))
7604 (("libssl\\.so")
7605 (string-append (assoc-ref inputs "openssl")
7606 "/lib/libssl.so")))
2ff8b5ba
GLV
7607 #t)))))
7608 (synopsis "Asynchronous operations for Common Lisp")
7609 (description
7610 "Cl-async is a library for general purpose, non-blocking programming in
7611Common Lisp. It uses the libuv library as backend.")
7612 (home-page "https://orthecreedence.github.io/cl-async/")
7613 (license license:expat))))
ae51aa91 7614
2ff8b5ba
GLV
7615(define-public cl-async
7616 (sbcl-package->cl-source-package sbcl-cl-async))
ae51aa91 7617
2ff8b5ba
GLV
7618(define-public ecl-cl-async
7619 (sbcl-package->ecl-package sbcl-cl-async))
34f9b581
GLV
7620
7621(define-public sbcl-blackbird
7622 (let ((commit "d361f81c1411dec07f6c2dcb11c78f7aea9aaca8")
7623 (revision "1"))
7624 (package
7625 (name "sbcl-blackbird")
7626 (version (git-version "0.5.2" revision commit))
7627 (source
7628 (origin
7629 (method git-fetch)
7630 (uri (git-reference
b0e7b699 7631 (url "https://github.com/orthecreedence/blackbird")
34f9b581
GLV
7632 (commit commit)))
7633 (file-name (git-file-name name version))
7634 (sha256
7635 (base32
7636 "0xfds5yaya64arzr7w1x38karyz11swzbhxx1afldpradj9dh19c"))))
7637 (build-system asdf-build-system/sbcl)
7638 (inputs
7639 `(("vom" ,sbcl-vom)))
7640 (native-inputs
7641 `(("cl-async" ,sbcl-cl-async)
7642 ("fiveam" ,sbcl-fiveam)))
7643 (synopsis "Promise implementation for Common Lisp")
7644 (description
7645 "This is a standalone promise implementation for Common Lisp. It is
7646the successor to the now-deprecated cl-async-future project.")
e0318062 7647 (home-page "https://orthecreedence.github.io/blackbird/")
34f9b581
GLV
7648 (license license:expat))))
7649
7650(define-public cl-blackbird
7651 (sbcl-package->cl-source-package sbcl-blackbird))
7652
7653(define-public ecl-blackbird
7654 (sbcl-package->ecl-package sbcl-blackbird))
c5eedf80
GLV
7655
7656(define-public sbcl-cl-async-future
7657 (let ((commit "ee36c22a69a9516407458d2ed8b475f1fc473959")
7658 (revision "1"))
7659 (package
7660 (name "sbcl-cl-async-future")
7661 (version (git-version "0.4.4.1" revision commit))
7662 (source
7663 (origin
7664 (method git-fetch)
7665 (uri (git-reference
b0e7b699 7666 (url "https://github.com/orthecreedence/cl-async-future")
c5eedf80
GLV
7667 (commit commit)))
7668 (file-name (git-file-name name version))
7669 (sha256
7670 (base32
7671 "0z0sc7qlzzxk99f4l26zp6rai9kv0kj0f599sxai5s44p17zbbvh"))))
7672 (build-system asdf-build-system/sbcl)
7673 (inputs
7674 `(("blackbird" ,sbcl-blackbird)))
7675 (native-inputs
7676 `(("cl-async" ,sbcl-cl-async)
7677 ("eos" ,sbcl-eos)))
7678 (synopsis "Futures implementation for Common Lisp")
7679 (description
7680 "This is futures implementation for Common Lisp. It plugs in nicely
7681to cl-async.")
e0318062 7682 (home-page "https://orthecreedence.github.io/cl-async/future")
c5eedf80
GLV
7683 (license license:expat))))
7684
7685(define-public cl-async-future
7686 (sbcl-package->cl-source-package sbcl-cl-async-future))
7687
7688(define-public ecl-cl-async-future
7689 (sbcl-package->ecl-package sbcl-cl-async-future))
8ea00edf
GLV
7690
7691(define-public sbcl-green-threads
7692 (let ((commit "fff5ebecb441a37e5c511773716aafd84a3c5840")
7693 (revision "1"))
7694 (package
7695 (name "sbcl-green-threads")
7696 (version (git-version "0.3" revision commit))
7697 (source
7698 (origin
7699 (method git-fetch)
7700 (uri (git-reference
b0e7b699 7701 (url "https://github.com/thezerobit/green-threads")
8ea00edf
GLV
7702 (commit commit)))
7703 (file-name (git-file-name name version))
7704 (sha256
7705 (base32
7706 "1czw7nr0dwfps76h8hjvglk1wdh53yqbfbvv30whwbgqx33iippz"))))
7707 (build-system asdf-build-system/sbcl)
7708 (inputs
7709 `(("cl-async-future" ,sbcl-cl-async-future)
7710 ("cl-cont" ,sbcl-cl-cont)))
7711 (native-inputs
7712 `(("prove" ,sbcl-prove)))
7713 (arguments
7714 `(;; TODO: Fix the tests. They fail with:
7715 ;; "The function BLACKBIRD::PROMISE-VALUES is undefined"
7716 #:tests? #f
7717 #:phases
7718 (modify-phases %standard-phases
7719 (add-after 'unpack 'fix-tests
7720 (lambda _
7721 (substitute* "green-threads-test.asd"
7722 (("cl-test-more")
7723 "prove"))
7724 #t)))))
7725 (synopsis "Cooperative multitasking library for Common Lisp")
7726 (description
7727 "This library allows for cooperative multitasking with help of cl-cont
7728for continuations. It tries to mimic the API of bordeaux-threads as much as
7729possible.")
7730 (home-page "https://github.com/thezerobit/green-threads")
7731 (license license:bsd-3))))
7732
7733(define-public cl-green-threads
7734 (sbcl-package->cl-source-package sbcl-green-threads))
7735
7736(define-public ecl-green-threads
7737 (sbcl-package->ecl-package sbcl-green-threads))
3ac0e64d
GLV
7738
7739(define-public sbcl-cl-base32
7740 (let ((commit "8cdee06fab397f7b0a19583b57e7f0c98405be85")
7741 (revision "1"))
7742 (package
7743 (name "sbcl-cl-base32")
7744 (version (git-version "0.1" revision commit))
7745 (source
7746 (origin
7747 (method git-fetch)
7748 (uri (git-reference
b0e7b699 7749 (url "https://github.com/hargettp/cl-base32")
3ac0e64d
GLV
7750 (commit commit)))
7751 (file-name (git-file-name name version))
7752 (sha256
7753 (base32 "17jrng8jb05d64ggyd11hp308c2fl5drvf9g175blgrkkl8l4mf8"))))
7754 (build-system asdf-build-system/sbcl)
7755 (native-inputs
7756 `(("lisp-unit" ,sbcl-lisp-unit)))
7757 (synopsis "Common Lisp library for base32 encoding and decoding")
7758 (description
7759 "This package provides functions for base32 encoding and decoding as
7760defined in RFC4648.")
7761 (home-page "https://github.com/hargettp/cl-base32")
7762 (license license:expat))))
7763
7764(define-public cl-base32
7765 (sbcl-package->cl-source-package sbcl-cl-base32))
7766
7767(define-public ecl-cl-base32
7768 (sbcl-package->ecl-package sbcl-cl-base32))
c5bbcb82
GLV
7769
7770(define-public sbcl-cl-z85
7771 (let ((commit "85b3951a9cfa2603acb6aee15567684f9a108098")
7772 (revision "1"))
7773 (package
7774 (name "sbcl-cl-z85")
7775 (version (git-version "1.0" revision commit))
7776 (source
7777 (origin
7778 (method git-fetch)
7779 (uri (git-reference
b0e7b699 7780 (url "https://github.com/glv2/cl-z85")
c5bbcb82
GLV
7781 (commit commit)))
7782 (file-name (git-file-name name version))
7783 (sha256
7784 (base32 "0r27pidjaxbm7k1rr90nnajwl5xm2kp65g1fv0fva17lzy45z1mp"))))
7785 (build-system asdf-build-system/sbcl)
7786 (native-inputs
7787 `(("cl-octet-streams" ,sbcl-cl-octet-streams)
7788 ("fiveam" ,sbcl-fiveam)))
7789 (synopsis "Common Lisp library for Z85 encoding and decoding")
7790 (description
7791 "This package provides functions to encode or decode byte vectors or
7792byte streams using the Z85 format, which is a base-85 encoding used by
7793ZeroMQ.")
7794 (home-page "https://github.com/glv2/cl-z85")
7795 (license license:gpl3+))))
7796
7797(define-public cl-z85
7798 (sbcl-package->cl-source-package sbcl-cl-z85))
7799
7800(define-public ecl-cl-z85
7801 (sbcl-package->ecl-package sbcl-cl-z85))
d3a2df68
GLV
7802
7803(define-public sbcl-ltk
7804 (package
7805 (name "sbcl-ltk")
7806 (version "0.992")
7807 (source
7808 (origin
7809 (method git-fetch)
7810 (uri (git-reference
b0e7b699 7811 (url "https://github.com/herth/ltk")
d3a2df68
GLV
7812 (commit version)))
7813 (file-name (git-file-name name version))
7814 (sha256
7815 (base32 "13l2q4mskzilya9xh5wy2xvy30lwn104bd8wrq6ifds56r82iy3x"))))
7816 (build-system asdf-build-system/sbcl)
7817 (inputs
7818 `(("imagemagick" ,imagemagick)
7819 ("tk" ,tk)))
7820 (arguments
3f8bbf7c 7821 `(#:asd-systems '("ltk"
2ff8b5ba
GLV
7822 "ltk-mw"
7823 "ltk-remote")
d3a2df68 7824 #:tests? #f
2ff8b5ba
GLV
7825 #:phases
7826 (modify-phases %standard-phases
7827 (add-after 'unpack 'fix-paths
7828 (lambda* (#:key inputs #:allow-other-keys)
7829 (substitute* "ltk/ltk.lisp"
7830 (("#-freebsd \"wish\"")
7831 (string-append "#-freebsd \""
7832 (assoc-ref inputs "tk")
7833 "/bin/wish\""))
7834 (("do-execute \"convert\"")
7835 (string-append "do-execute \""
7836 (assoc-ref inputs "imagemagick")
7837 "/bin/convert\"")))
7838 #t))
7839 (add-after 'unpack 'fix-build
7840 (lambda _
7841 (substitute* "ltk/ltk-remote.lisp"
7842 (("\\(:export")
7843 "(:shadow #:raise) (:export"))
7844 #t)))))
d3a2df68
GLV
7845 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
7846 (description
7847 "LTK is a Common Lisp binding for the Tk graphics toolkit. It is written
7848in pure Common Lisp and does not require any Tk knowledge for its usage.")
7849 (home-page "http://www.peter-herth.de/ltk/")
7850 (license license:llgpl)))
7851
7852(define-public cl-ltk
7853 (sbcl-package->cl-source-package sbcl-ltk))
7854
7855(define-public ecl-ltk
7856 (sbcl-package->ecl-package sbcl-ltk))
811747f9 7857
95abaafb
GLV
7858(define-public sbcl-cl-lex
7859 (let ((commit "f2dbbe25ef553005fb402d9a6203180c3fa1093b")
7860 (revision "1"))
7861 (package
7862 (name "sbcl-cl-lex")
7863 (version (git-version "1.1.3" revision commit))
7864 (source
7865 (origin
7866 (method git-fetch)
7867 (uri (git-reference
b0e7b699 7868 (url "https://github.com/djr7C4/cl-lex")
95abaafb
GLV
7869 (commit commit)))
7870 (file-name (git-file-name name version))
7871 (sha256
7872 (base32 "1kg50f76bfpfxcv4dfivq1n9a0xlsra2ajb0vd68lxwgbidgyc2y"))))
7873 (build-system asdf-build-system/sbcl)
7874 (inputs
7875 `(("cl-ppcre" ,sbcl-cl-ppcre)))
7876 (synopsis "Common Lisp macros for generating lexical analyzers")
7877 (description
7878 "This is a Common Lisp library providing a set of macros for generating
7879lexical analyzers automatically. The lexers generated using @code{cl-lex} can
7880be used with @code{cl-yacc}.")
7881 (home-page "https://github.com/djr7C4/cl-lex")
7882 (license license:gpl3))))
7883
7884(define-public cl-lex
7885 (sbcl-package->cl-source-package sbcl-cl-lex))
7886
7887(define-public ecl-cl-lex
7888 (sbcl-package->ecl-package sbcl-cl-lex))
21a519fa
GLV
7889
7890(define-public sbcl-clunit2
7891 (let ((commit "5e28343734eb9b7aee39306a614af92c1062d50b")
7892 (revision "1"))
7893 (package
7894 (name "sbcl-clunit2")
7895 (version (git-version "0.2.4" revision commit))
7896 (source
7897 (origin
7898 (method git-fetch)
7899 (uri (git-reference
7900 (url "https://notabug.org/cage/clunit2.git")
7901 (commit commit)))
7902 (file-name (git-file-name name version))
7903 (sha256
7904 (base32 "1ngiapfki6nm8a555mzhb5p7ch79i3w665za5bmb5j7q34fy80vw"))))
7905 (build-system asdf-build-system/sbcl)
7906 (synopsis "Unit testing framework for Common Lisp")
7907 (description
7908 "CLUnit is a Common Lisp unit testing framework. It is designed to be
7909easy to use so that you can quickly start testing.")
7910 (home-page "https://notabug.org/cage/clunit2")
7911 (license license:expat))))
7912
7913(define-public cl-clunit2
7914 (sbcl-package->cl-source-package sbcl-clunit2))
7915
7916(define-public ecl-clunit2
7917 (sbcl-package->ecl-package sbcl-clunit2))
e9a36a74
GLV
7918
7919(define-public sbcl-cl-colors2
7920 (let ((commit "795aedee593b095fecde574bd999b520dd03ed24")
7921 (revision "1"))
7922 (package
7923 (name "sbcl-cl-colors2")
7924 (version (git-version "0.2.1" revision commit))
7925 (source
7926 (origin
7927 (method git-fetch)
7928 (uri (git-reference
7929 (url "https://notabug.org/cage/cl-colors2.git")
7930 (commit commit)))
7931 (file-name (git-file-name name version))
7932 (sha256
7933 (base32 "0hlyf4h5chkjdp9armla5w4kw5acikk159sym7y8c4jbjp9x47ih"))))
7934 (build-system asdf-build-system/sbcl)
7935 (native-inputs
7936 `(("clunit2" ,sbcl-clunit2)))
7937 (inputs
7938 `(("alexandria" ,sbcl-alexandria)
7939 ("cl-ppcre" ,sbcl-cl-ppcre)))
7940 (synopsis "Color library for Common Lisp")
7941 (description
7942 "This is a very simple color library for Common Lisp, providing:
7943
7944@itemize
7945@item Types for representing colors in HSV and RGB spaces.
7946@item Simple conversion functions between the above types (and also
7947hexadecimal representation for RGB).
7948@item Some predefined colors (currently X11 color names -- of course
7949the library does not depend on X11).
7950@end itemize\n")
7951 (home-page "https://notabug.org/cage/cl-colors2")
7952 (license license:boost1.0))))
7953
7954(define-public cl-colors2
7955 (sbcl-package->cl-source-package sbcl-cl-colors2))
7956
7957(define-public ecl-cl-colors2
7958 (sbcl-package->ecl-package sbcl-cl-colors2))
d5f63a73
GLV
7959
7960(define-public sbcl-cl-jpeg
7961 (let ((commit "ec557038128df6895fbfb743bfe8faf8ec2534af")
7962 (revision "1"))
7963 (package
7964 (name "sbcl-cl-jpeg")
7965 (version (git-version "2.8" revision commit))
7966 (source
7967 (origin
7968 (method git-fetch)
7969 (uri (git-reference
b0e7b699 7970 (url "https://github.com/sharplispers/cl-jpeg")
d5f63a73
GLV
7971 (commit commit)))
7972 (file-name (git-file-name name version))
7973 (sha256
7974 (base32 "1bkkiqz8fqldlj1wbmrccjsvxcwj98h6s4b6gslr3cg2wmdv5xmy"))))
7975 (build-system asdf-build-system/sbcl)
7976 (synopsis "JPEG image library for Common Lisp")
7977 (description
7978 "This is a baseline JPEG codec written in Common Lisp. It can be used
7979for reading and writing JPEG image files.")
7980 (home-page "https://github.com/sharplispers/cl-jpeg")
7981 (license license:bsd-3))))
7982
7983(define-public cl-jpeg
7984 (sbcl-package->cl-source-package sbcl-cl-jpeg))
7985
7986(define-public ecl-cl-jpeg
7987 (sbcl-package->ecl-package sbcl-cl-jpeg))
227aeeb6
GLV
7988
7989(define-public sbcl-nodgui
7990 (let ((commit "bc59ed9b787dfc9e68ae3bd7f7e8507c5c619212")
7991 (revision "1"))
7992 (package
7993 (name "sbcl-nodgui")
7994 (version (git-version "0.0.5" revision commit))
7995 (source
7996 (origin
7997 (method git-fetch)
7998 (uri (git-reference
7999 (url "https://notabug.org/cage/nodgui.git")
8000 (commit commit)))
8001 (file-name (git-file-name name version))
8002 (sha256
8003 (base32 "0xx0dk54d882i598ydnwmy7mnfk0b7vib3ddsgpqxhjck1rwq8l8"))))
8004 (build-system asdf-build-system/sbcl)
8005 (inputs
8006 `(("alexandria" ,sbcl-alexandria)
8007 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8008 ("cl-colors2" ,sbcl-cl-colors2)
8009 ("cl-jpeg" ,sbcl-cl-jpeg)
8010 ("cl-lex" ,sbcl-cl-lex)
8011 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
8012 ("cl-unicode" ,sbcl-cl-unicode)
8013 ("cl-yacc" ,sbcl-cl-yacc)
8014 ("clunit2" ,sbcl-clunit2)
8015 ("named-readtables" ,sbcl-named-readtables)
8016 ("parse-number" ,sbcl-parse-number)
8017 ("tk" ,tk)))
8018 (arguments
8019 `(#:phases (modify-phases %standard-phases
8020 (add-after 'unpack 'fix-paths
8021 (lambda* (#:key inputs #:allow-other-keys)
8022 (substitute* "src/wish-communication.lisp"
8023 (("#-freebsd \"wish\"")
8024 (string-append "#-freebsd \""
8025 (assoc-ref inputs "tk")
8026 "/bin/wish\"")))
8027 #t)))))
8028 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
8029 (description
8030 "Nodgui (@emph{No Drama GUI}) is a Common Lisp binding for the Tk GUI
8031toolkit. It also provides a few additional widgets more than the standard Tk
8032ones.")
8033 (home-page "https://www.autistici.org/interzona/nodgui.html")
8034 (license license:llgpl))))
8035
8036(define-public cl-nodgui
8037 (sbcl-package->cl-source-package sbcl-nodgui))
8038
8039(define-public ecl-nodgui
8040 (sbcl-package->ecl-package sbcl-nodgui))
46cc2a38
GLV
8041
8042(define-public sbcl-salza2
8043 (package
8044 (name "sbcl-salza2")
8045 (version "2.0.9")
8046 (source
8047 (origin
8048 (method git-fetch)
8049 (uri (git-reference
b0e7b699 8050 (url "https://github.com/xach/salza2")
46cc2a38
GLV
8051 (commit (string-append "release-" version))))
8052 (file-name (git-file-name name version))
8053 (sha256
8054 (base32 "0p38rj4gq7j5k807php7hrz7l2zyyfshv8i9yms7i8lkgg3433ki"))))
8055 (build-system asdf-build-system/sbcl)
8056 (synopsis "Common Lisp library for zlib, deflate and gzip compression")
8057 (description
8058 "Salza2 is a Common Lisp library for creating compressed data in the zlib,
8059deflate, or gzip data formats, described in RFC 1950, RFC 1951, and RFC 1952,
8060respectively.")
8061 (home-page "https://www.xach.com/lisp/salza2/")
8062 (license license:bsd-2)))
8063
8064(define-public cl-salza2
8065 (sbcl-package->cl-source-package sbcl-salza2))
8066
8067(define-public ecl-salza2
8068 (sbcl-package->ecl-package sbcl-salza2))
d165821e
GLV
8069
8070(define-public sbcl-png-read
8071 (let ((commit "ec29f38a689972b9f1373f13bbbcd6b05deada88")
8072 (revision "1"))
8073 (package
8074 (name "sbcl-png-read")
8075 (version (git-version "0.3.1" revision commit))
8076 (source
8077 (origin
8078 (method git-fetch)
8079 (uri (git-reference
b0e7b699 8080 (url "https://github.com/Ramarren/png-read")
d165821e
GLV
8081 (commit commit)))
8082 (file-name (git-file-name name version))
8083 (sha256
8084 (base32 "0vyczbcwskrygrf1hgrsnk0jil8skmvf1kiaalw5jps4fjrfdkw0"))))
8085 (build-system asdf-build-system/sbcl)
8086 (inputs
8087 `(("babel" ,sbcl-babel)
8088 ("chipz" ,sbcl-chipz)
8089 ("iterate" ,sbcl-iterate)))
8090 (synopsis "PNG decoder for Common Lisp")
8091 (description "This is a Common Lisp library for reading PNG images.")
8092 (home-page "https://github.com/Ramarren/png-read")
8093 (license license:bsd-3))))
8094
8095(define-public cl-png-read
8096 (sbcl-package->cl-source-package sbcl-png-read))
8097
8098(define-public ecl-png-read
8099 (sbcl-package->ecl-package sbcl-png-read))
7b875e4e
GLV
8100
8101(define-public sbcl-zpng
8102 (package
8103 (name "sbcl-zpng")
8104 (version "1.2.2")
8105 (source
8106 (origin
8107 (method git-fetch)
8108 (uri (git-reference
b0e7b699 8109 (url "https://github.com/xach/zpng")
7b875e4e
GLV
8110 (commit (string-append "release-" version))))
8111 (file-name (git-file-name name version))
8112 (sha256
8113 (base32 "0b3ag3jhl3z7kdls3ahdsdxsfhhw5qrizk769984f4wkxhb69rcm"))))
8114 (build-system asdf-build-system/sbcl)
8115 (inputs
8116 `(("salza2" ,sbcl-salza2)))
8117 (synopsis "PNG encoder for Common Lisp")
8118 (description "This is a Common Lisp library for creating PNG images.")
8119 (home-page "https://www.xach.com/lisp/zpng/")
8120 (license license:bsd-2)))
8121
8122(define-public cl-zpng
8123 (sbcl-package->cl-source-package sbcl-zpng))
8124
8125(define-public ecl-zpng
8126 (sbcl-package->ecl-package sbcl-zpng))
5d4d4c01
GLV
8127
8128(define-public sbcl-cl-qrencode
8129 (package
8130 (name "sbcl-cl-qrencode")
8131 (version "0.1.2")
8132 (source
8133 (origin
8134 (method git-fetch)
8135 (uri (git-reference
b0e7b699 8136 (url "https://github.com/jnjcc/cl-qrencode")
5d4d4c01
GLV
8137 (commit (string-append "v" version))))
8138 (file-name (git-file-name name version))
8139 (sha256
8140 (base32 "1l5k131dchbf6cj8a8xqa731790p01p3qa1kdy2wa9dawy3ymkxr"))))
8141 (build-system asdf-build-system/sbcl)
8142 (native-inputs
8143 `(("lisp-unit" ,sbcl-lisp-unit)))
8144 (inputs
8145 `(("zpng" ,sbcl-zpng)))
8146 (synopsis "QR code encoder for Common Lisp")
8147 (description
8148 "This Common Lisp library provides function to make QR codes and to save
8149them as PNG files.")
8150 (home-page "https://github.com/jnjcc/cl-qrencode")
8151 (license license:gpl2+)))
8152
8153(define-public cl-qrencode
8154 (sbcl-package->cl-source-package sbcl-cl-qrencode))
8155
8156(define-public ecl-cl-qrencode
8157 (sbcl-package->ecl-package sbcl-cl-qrencode))
c6397e3e
KH
8158
8159(define-public sbcl-hdf5-cffi
8160 (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c")
8161 (revision "1"))
8162 (package
8163 (name "sbcl-hdf5-cffi")
8164 (version (git-version "1.8.18" revision commit))
8165 (source
8166 (origin
8167 (method git-fetch)
8168 (uri (git-reference
b0e7b699 8169 (url "https://github.com/hdfgroup/hdf5-cffi")
c6397e3e
KH
8170 (commit commit)))
8171 (file-name (git-file-name name version))
8172 (sha256
8173 (base32
8174 "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf"))))
8175 (build-system asdf-build-system/sbcl)
8176 (synopsis "Common Lisp bindings for the HDF5 library")
8177 (description
8178 "@code{hdf5-cffi} is a CFFI wrapper for the HDF5 library.")
8179 (home-page "https://github.com/hdfgroup/hdf5-cffi")
8180 (license (license:non-copyleft
8181 (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/"
8182 commit
8183 "/LICENSE")))
8184 (inputs
8185 `(("cffi" ,sbcl-cffi)
c6397e3e
KH
8186 ("hdf5" ,hdf5-1.10)))
8187 (native-inputs
8188 `(("fiveam" ,sbcl-fiveam)))
8189 (arguments
e765d9c9 8190 `(#:test-asd-file "hdf5-cffi.test.asd"
c6397e3e
KH
8191 ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd,
8192 ;; I don't know if there is a way to tell asdf-build-system to load
8193 ;; an additional system first, so tests are disabled.
8194 #:tests? #f
8195 #:phases
8196 (modify-phases %standard-phases
8197 (add-after 'unpack 'fix-paths
8198 (lambda* (#:key inputs #:allow-other-keys)
8199 (substitute* "src/library.lisp"
8200 (("libhdf5.so")
8201 (string-append
8202 (assoc-ref inputs "hdf5")
8203 "/lib/libhdf5.so")))))
8204 (add-after 'unpack 'fix-dependencies
8205 (lambda* (#:key inputs #:allow-other-keys)
8206 (substitute* "hdf5-cffi.asd"
8207 ((":depends-on \\(:cffi\\)")
8208 ":depends-on (:cffi :cffi-grovel)"))
8209 (substitute* "hdf5-cffi.test.asd"
8210 ((":depends-on \\(:cffi :hdf5-cffi")
8211 ":depends-on (:cffi :cffi-grovel :hdf5-cffi"))))))))))
8212
8213(define-public cl-hdf5-cffi
8214 (sbcl-package->cl-source-package sbcl-hdf5-cffi))
8215
8216(define-public ecl-hdf5-cffi
8217 (sbcl-package->ecl-package sbcl-hdf5-cffi))
c6e6254a
KH
8218
8219(define-public sbcl-cl-randist
8220 (package
8221 (name "sbcl-cl-randist")
8222 (version "0.4.2")
8223 (source
8224 (origin
8225 (method git-fetch)
8226 (uri (git-reference
b0e7b699 8227 (url "https://github.com/lvaruzza/cl-randist")
c6e6254a
KH
8228 (commit "f088a54b540a7adefab7c04094a6103f9edda3d0")))
8229 (file-name (git-file-name name version))
8230 (sha256
8231 (base32
8232 "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g"))))
8233 (build-system asdf-build-system/sbcl)
8234 (synopsis "Random distributions for Common Lisp")
8235 (description
8236 "Manual translation from C to Common Lisp of some random number
8237generation functions from the GSL library.")
8238 (home-page "https://github.com/lvaruzza/cl-randist")
8239 (license license:bsd-2)
8240 (arguments
e765d9c9 8241 `(#:tests? #f))))
c6e6254a
KH
8242
8243(define-public cl-randist
8244 (sbcl-package->cl-source-package sbcl-cl-randist))
8245
8246(define-public ecl-cl-randist
8247 (sbcl-package->ecl-package sbcl-cl-randist))
41884bfa
KH
8248
8249(define-public sbcl-float-features
8250 (package
8251 (name "sbcl-float-features")
8252 (version "1.0.0")
8253 (source
8254 (origin
8255 (method git-fetch)
8256 (uri (git-reference
b0e7b699 8257 (url "https://github.com/Shinmera/float-features")
41884bfa
KH
8258 (commit "d3ef60181635b0849aa28cfc238053b7ca4644b0")))
8259 (file-name (git-file-name name version))
8260 (sha256
8261 (base32
8262 "0yj419k7n59x6rh3grwr6frgwwyria2il6f7wxpfazm8cskv4lzr"))))
8263 (build-system asdf-build-system/sbcl)
8264 (synopsis "Common Lisp IEEE float portability library")
8265 (description
8266 "Portability library for IEEE float features that are not
8267covered by the Common Lisp standard.")
8268 (home-page "https://github.com/Shinmera/float-features")
8269 (license license:zlib)
8270 (inputs
8271 `(("documentation-utils" ,sbcl-documentation-utils)))
8272 (arguments
e765d9c9 8273 `(#:tests? #f))))
41884bfa
KH
8274
8275(define-public cl-float-features
8276 (sbcl-package->cl-source-package sbcl-float-features))
8277
8278(define-public ecl-float-features
8279 (sbcl-package->ecl-package sbcl-float-features))
06327c30
KH
8280
8281(define-public sbcl-function-cache
8282 (package
8283 (name "sbcl-function-cache")
8284 (version "1.0.3")
8285 (source
8286 (origin
8287 (method git-fetch)
8288 (uri (git-reference
b0e7b699 8289 (url "https://github.com/AccelerationNet/function-cache")
06327c30
KH
8290 (commit "6a5ada401e57da2c8abf046f582029926e61fce8")))
8291 (file-name (git-file-name name version))
8292 (sha256
8293 (base32
8294 "000vmd3f5rx5hs9nvphfric0gkzaadns31c6mxaslpv0k7pkrmc6"))))
8295 (build-system asdf-build-system/sbcl)
8296 (synopsis "Function caching / memoization library for Common Lisp")
8297 (description
8298 "A common lisp library that provides extensible function result
8299caching based on arguments (an expanded form of memoization).")
8300 (home-page "https://github.com/AccelerationNet/function-cache")
8301 (license
8302 (license:non-copyleft
8303 "https://github.com/AccelerationNet/function-cache/blob/master/README.md"))
8304 (inputs
8305 `(("alexandria" ,sbcl-alexandria)
8306 ("cl-interpol" ,sbcl-cl-interpol)
8307 ("iterate" ,sbcl-iterate)
8308 ("symbol-munger" ,sbcl-symbol-munger)
8309 ("closer-mop" ,sbcl-closer-mop)))
8310 (arguments
e765d9c9 8311 `(#:tests? #f))))
06327c30
KH
8312
8313(define-public cl-function-cache
8314 (sbcl-package->cl-source-package sbcl-function-cache))
8315
8316(define-public ecl-function-cache
8317 (sbcl-package->ecl-package sbcl-function-cache))
e4f7ef87
KH
8318
8319(define-public sbcl-type-r
8320 (let ((commit "83c89e38f2f7a7b16f1012777ecaf878cfa6a267")
8321 (revision "1"))
8322 (package
8323 (name "sbcl-type-r")
8324 (version (git-version "0.0.0" revision commit))
8325 (source
8326 (origin
8327 (method git-fetch)
8328 (uri (git-reference
b0e7b699 8329 (url "https://github.com/guicho271828/type-r")
e4f7ef87
KH
8330 (commit commit)))
8331 (file-name (git-file-name name version))
8332 (sha256
8333 (base32
8334 "1arsxc2539rg8vbrdirz4xxj1b06mc6g6rqndz7a02g127qvk2sm"))))
8335 (build-system asdf-build-system/sbcl)
8336 (synopsis "Parser interface for Common Lisp built-in compound types")
8337 (description
8338 "Collections of accessor functions and patterns to access
8339the elements in compound type specifier, e.g. @code{dimensions} in
8340@code{(array element-type dimensions)}")
8341 (home-page "https://github.com/guicho271828/type-r")
8342 (license license:lgpl3+)
8343 (inputs
8344 `(("trivia" ,sbcl-trivia)
8345 ("alexandria" ,sbcl-alexandria)))
8346 (native-inputs
8347 `(("fiveam" ,sbcl-fiveam)))
8348 (arguments
e765d9c9 8349 `(#:test-asd-file "type-r.test.asd")))))
e4f7ef87
KH
8350
8351(define-public cl-type-r
8352 (sbcl-package->cl-source-package sbcl-type-r))
8926866e 8353
12df8b7b
GLV
8354(define-public ecl-type-r
8355 (sbcl-package->ecl-package sbcl-type-r))
8356
8926866e
KH
8357(define-public sbcl-trivialib-type-unify
8358 (let ((commit "62492ebf04db567dcf435ae84c50b7b8202ecf99")
8359 (revision "1"))
8360 (package
8361 (name "sbcl-trivialib-type-unify")
8362 (version (git-version "0.1" revision commit))
8363 (source
8364 (origin
8365 (method git-fetch)
8366 (uri (git-reference
b0e7b699 8367 (url "https://github.com/guicho271828/trivialib.type-unify")
8926866e
KH
8368 (commit commit)))
8369 (file-name (git-file-name name version))
8370 (sha256
8371 (base32
8372 "1bkyfzbwv75p50zp8n1n9rh2r29pw3vgz91gmn2gzzkyq3khj1vh"))))
8373 (build-system asdf-build-system/sbcl)
8374 (synopsis "Common Lisp type unification")
8375 (description
8376 "Unifies a parametrized type specifier against an actual type specifier.
8377Importantly, it handles complicated array-subtypes and number-related types
8378correctly.")
8379 (home-page "https://github.com/guicho271828/trivialib.type-unify")
8380 (license license:lgpl3+)
8381 (inputs
8382 `(("alexandria" ,sbcl-alexandria)
8383 ("trivia" ,sbcl-trivia)
8384 ("introspect-environment" ,sbcl-introspect-environment)
8385 ("type-r" ,sbcl-type-r)))
8386 (native-inputs
8387 `(("fiveam" ,sbcl-fiveam)))
8388 (arguments
2ff8b5ba 8389 `(#:asd-systems '("trivialib.type-unify")
8926866e
KH
8390 #:test-asd-file "trivialib.type-unify.test.asd")))))
8391
8392(define-public cl-trivialib-type-unify
8393 (sbcl-package->cl-source-package sbcl-trivialib-type-unify))
ca6c5c7f 8394
12df8b7b
GLV
8395(define-public ecl-trivialib-type-unify
8396 (sbcl-package->ecl-package sbcl-trivialib-type-unify))
8397
ca6c5c7f 8398(define-public sbcl-specialized-function
e95a6311
GLV
8399 (let ((commit "dee56d2d2b6ecd10500ad291c56217698604ec35")
8400 (revision "2"))
ca6c5c7f
KH
8401 (package
8402 (name "sbcl-specialized-function")
8403 (version (git-version "0.0.0" revision commit))
8404 (source
8405 (origin
8406 (method git-fetch)
8407 (uri (git-reference
b0e7b699 8408 (url "https://github.com/numcl/specialized-function")
ca6c5c7f
KH
8409 (commit commit)))
8410 (file-name (git-file-name name version))
8411 (sha256
e95a6311 8412 (base32 "1mcc7mmpbnmgnr1cl2jl5r1ai54gn7fbisv2c14sh9za5w4sib82"))))
ca6c5c7f
KH
8413 (build-system asdf-build-system/sbcl)
8414 (synopsis "Julia-like dispatch for Common Lisp")
8415 (description
8416 "This library is part of NUMCL. It provides a macro
8417@code{SPECIALIZED} that performs a Julia-like dispatch on the arguments,
8418lazily compiling a type-specific version of the function from the same
8419code. The main target of this macro is speed.")
8420 (home-page "https://github.com/numcl/specialized-function")
8421 (license license:lgpl3+)
8422 (inputs
8423 `(("trivia" ,sbcl-trivia)
8424 ("alexandria" ,sbcl-alexandria)
8425 ("iterate" ,sbcl-iterate)
8426 ("lisp-namespace" ,sbcl-lisp-namespace)
8427 ("type-r" ,sbcl-type-r)
8428 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
8429 (native-inputs
8430 `(("fiveam" ,sbcl-fiveam)))
8431 (arguments
e765d9c9 8432 `(#:asd-files '("specialized-function.asd")
ca6c5c7f
KH
8433 #:test-asd-file "specialized-function.test.asd")))))
8434
8435(define-public cl-specialized-function
8436 (sbcl-package->cl-source-package sbcl-specialized-function))
6e0f2b95 8437
e95a6311
GLV
8438(define-public ecl-specialized-function
8439 (sbcl-package->ecl-package sbcl-specialized-function))
8440
6e0f2b95
KH
8441(define-public sbcl-constantfold
8442 (let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4")
8443 (revision "1"))
8444 (package
8445 (name "sbcl-constantfold")
8446 (version (git-version "0.1" revision commit))
8447 (source
8448 (origin
8449 (method git-fetch)
8450 (uri (git-reference
b0e7b699 8451 (url "https://github.com/numcl/constantfold")
6e0f2b95
KH
8452 (commit commit)))
8453 (file-name (git-file-name name version))
8454 (sha256
8455 (base32
8456 "153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06"))))
8457 (build-system asdf-build-system/sbcl)
8458 (synopsis "Support library for numcl")
8459 (description
8460 "Support library for numcl. Registers a function as an
8461additional form that is considered as a candidate for a constant.")
8462 (home-page "https://github.com/numcl/constantfold")
8463 (license license:lgpl3+)
8464 (inputs
8465 `(("trivia" ,sbcl-trivia)
8466 ("alexandria" ,sbcl-alexandria)
8467 ("iterate" ,sbcl-iterate)
8468 ("lisp-namespace" ,sbcl-lisp-namespace)))
8469 (native-inputs
8470 `(("fiveam" ,sbcl-fiveam)))
8471 (arguments
e765d9c9 8472 `(#:asd-files '("constantfold.asd")
6e0f2b95
KH
8473 #:test-asd-file "constantfold.test.asd")))))
8474
8475(define-public cl-constantfold
8476 (sbcl-package->cl-source-package sbcl-constantfold))
5ce7d186 8477
12df8b7b
GLV
8478(define-public ecl-constantfold
8479 (sbcl-package->ecl-package sbcl-constantfold))
8480
5ce7d186 8481(define-public sbcl-gtype
e4c03dd5
GLV
8482 (let ((commit "2442e32485635525af278ebd8fa69a27d5b8cf18")
8483 (revision "2"))
5ce7d186
KH
8484 (package
8485 (name "sbcl-gtype")
8486 (version (git-version "0.1" revision commit))
8487 (source
8488 (origin
8489 (method git-fetch)
8490 (uri (git-reference
b0e7b699 8491 (url "https://github.com/numcl/gtype")
5ce7d186
KH
8492 (commit commit)))
8493 (file-name (git-file-name name version))
8494 (sha256
e4c03dd5 8495 (base32 "0hbkfdw00v7bsa6zbric34p5w6hfwxycccg8wc2faq0cxhsvpv9h"))))
5ce7d186
KH
8496 (build-system asdf-build-system/sbcl)
8497 (synopsis "C++/Julia-like parametric types in Common Lisp")
8498 (description
8499 "Support library for numcl that provides Julia-like runtime parametric
8500type correctness in Common Lisp. It is based on CLtL2 extensions.")
8501 (home-page "https://github.com/numcl/gtype")
8502 (license license:lgpl3+)
8503 (inputs
8504 `(("trivialib.type-unify" ,sbcl-trivialib-type-unify)
8505 ("trivial-cltl2" ,sbcl-trivial-cltl2)
8506 ("trivia" ,sbcl-trivia)
8507 ("alexandria" ,sbcl-alexandria)
8508 ("iterate" ,sbcl-iterate)
8509 ("type-r" ,sbcl-type-r)))
8510 (native-inputs
8511 `(("fiveam" ,sbcl-fiveam)))
8512 (arguments
e765d9c9 8513 `(#:asd-files '("gtype.asd")
5ce7d186
KH
8514 #:test-asd-file "gtype.test.asd")))))
8515
8516(define-public cl-gtype
8517 (sbcl-package->cl-source-package sbcl-gtype))
7ad12200 8518
e4c03dd5
GLV
8519(define-public ecl-gtype
8520 (let ((pkg (sbcl-package->ecl-package sbcl-gtype)))
8521 (package
8522 (inherit pkg)
8523 (arguments
8524 (substitute-keyword-arguments (package-arguments pkg)
8525 ;; The tests fail on ECL with a COMPILE-FILE-ERROR for t/package.lisp.
8526 ((#:tests? _ #f) #f))))))
8527
7ad12200 8528(define-public sbcl-numcl
4287ee69
GLV
8529 (let ((commit "3e8d40bf774e070e7af1d3dbf01bc8c37dbebd3a")
8530 (revision "2"))
7ad12200
KH
8531 (package
8532 (name "sbcl-numcl")
8533 (version (git-version "0.1.0" revision commit))
8534 (source
8535 (origin
8536 (method git-fetch)
8537 (uri (git-reference
b0e7b699 8538 (url "https://github.com/numcl/numcl")
7ad12200
KH
8539 (commit commit)))
8540 (file-name (git-file-name name version))
8541 (sha256
4287ee69 8542 (base32 "1hqpr68f6xkxaj1hjjayyh97wcdmj51k20qrd3nsv1rcpmdc5ll4"))))
7ad12200
KH
8543 (build-system asdf-build-system/sbcl)
8544 (synopsis "Numpy clone in Common Lisp")
8545 (description
8546 "This is a Numpy clone in Common Lisp. At the moment the
8547library is written in pure Common Lisp, focusing more on correctness
8548and usefulness, not speed. Track the progress at
8549@url{https://github.com/numcl/numcl/projects/1}.")
8550 (home-page "https://github.com/numcl/numcl")
8551 (license license:lgpl3+)
8552 (inputs
8553 `(("trivia" ,sbcl-trivia)
8554 ("alexandria" ,sbcl-alexandria)
8555 ("iterate" ,sbcl-iterate)
8556 ("lisp-namespace" ,sbcl-lisp-namespace)
8557 ("type-r" ,sbcl-type-r)
8558 ("constantfold" ,sbcl-constantfold)
8559 ("cl-randist" ,sbcl-cl-randist)
8560 ("float-features" ,sbcl-float-features)
8561 ("function-cache" ,sbcl-function-cache)
8562 ("specialized-function" ,sbcl-specialized-function)
8563 ("gtype" ,sbcl-gtype)))
8564 (native-inputs
8565 `(("fiveam" ,sbcl-fiveam)))
8566 (arguments
e765d9c9 8567 `(#:asd-files '("numcl.asd")
4287ee69
GLV
8568 #:test-asd-file "numcl.test.asd"
8569 ;; Tests fail on SBCL with "Heap exhausted, game over",
8570 ;; but they pass on ECL.
8571 #:tests? #f)))))
7ad12200
KH
8572
8573(define-public cl-numcl
8574 (sbcl-package->cl-source-package sbcl-numcl))
a3f6c410 8575
4287ee69 8576(define-public ecl-numcl
3f3c1d67
GLV
8577 (let ((pkg (sbcl-package->ecl-package sbcl-numcl)))
8578 (package
8579 (inherit pkg)
8580 (arguments
8581 (substitute-keyword-arguments (package-arguments pkg)
8582 ((#:tests? _ #f) #t))))))
4287ee69 8583
a3f6c410
GLV
8584(define-public sbcl-pzmq
8585 (let ((commit "7c7390eedc469d033c72dc497984d1536ee75826")
8586 (revision "1"))
8587 (package
8588 (name "sbcl-pzmq")
8589 (version (git-version "0.0.0" revision commit))
8590 (source
8591 (origin
8592 (method git-fetch)
8593 (uri (git-reference
b0e7b699 8594 (url "https://github.com/orivej/pzmq")
a3f6c410
GLV
8595 (commit commit)))
8596 (file-name (git-file-name name version))
8597 (sha256
8598 (base32 "0gmwzf7h90wa7v4wnk49g0hv2mdalljpwhyigxcb967wzv8lqci9"))))
8599 (build-system asdf-build-system/sbcl)
8600 (native-inputs
8601 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
8602 ("fiveam" ,sbcl-fiveam)
8603 ("let-plus" ,sbcl-let-plus)))
8604 (inputs
8605 `(("cffi" ,sbcl-cffi)
a3f6c410
GLV
8606 ("zeromq" ,zeromq)))
8607 (arguments
8608 `(#:phases (modify-phases %standard-phases
8609 (add-after 'unpack 'fix-paths
8610 (lambda* (#:key inputs #:allow-other-keys)
8611 (substitute* "c-api.lisp"
8612 (("\"libzmq")
8613 (string-append "\""
8614 (assoc-ref inputs "zeromq")
8615 "/lib/libzmq")))
8616 #t)))))
8617 (synopsis "Common Lisp bindings for the ZeroMQ library")
8618 (description "This Common Lisp library provides bindings for the ZeroMQ
8619lightweight messaging kernel.")
8620 (home-page "https://github.com/orivej/pzmq")
8621 (license license:unlicense))))
8622
8623(define-public cl-pzmq
8624 (sbcl-package->cl-source-package sbcl-pzmq))
8625
8626(define-public ecl-pzmq
8627 (sbcl-package->ecl-package sbcl-pzmq))
cfc9004e
DD
8628
8629(define-public sbcl-clss
8630 (let ((revision "1")
8631 (commit "2a8e8615ab55870d4ca01928f3ed3bbeb4e75c8d"))
8632 (package
8633 (name "sbcl-clss")
8634 (version (git-version "0.3.1" revision commit))
8635 (source
8636 (origin
8637 (method git-fetch)
8638 (uri
8639 (git-reference
b0e7b699 8640 (url "https://github.com/Shinmera/clss")
cfc9004e
DD
8641 (commit commit)))
8642 (sha256
8643 (base32 "0la4dbcda78x29szanylccrsljqrn9d1mhh569sqkyp44ni5fv91"))
8644 (file-name (git-file-name name version))))
8645 (inputs
8646 `(("array-utils" ,sbcl-array-utils)
8647 ("plump" ,sbcl-plump)))
8648 (build-system asdf-build-system/sbcl)
8649 (synopsis "DOM tree searching engine based on CSS selectors")
8650 (description "CLSS is a DOM traversal engine based on CSS
8651selectors. It makes use of the Plump-DOM and is used by lQuery.")
8652 (home-page "https://github.com/Shinmera/clss")
8653 (license license:zlib))))
8654
8655(define-public cl-clss
8656 (sbcl-package->cl-source-package sbcl-clss))
8657
8658(define-public ecl-clss
8659 (sbcl-package->ecl-package sbcl-clss))
eb859957
DD
8660
8661(define-public sbcl-lquery
8662 (let ((revision "1")
8663 (commit "8048111c6b83956daa632e7a3ffbd8c9c203bd8d"))
8664 (package
8665 (name "sbcl-lquery")
8666 (version (git-version "3.2.1" revision commit))
8667 (source
8668 (origin
8669 (method git-fetch)
8670 (uri
8671 (git-reference
b0e7b699 8672 (url "https://github.com/Shinmera/lquery")
eb859957
DD
8673 (commit commit)))
8674 (sha256
8675 (base32 "0520mcpxc2d6fdm8z61arpgd2z38kan7cf06qs373n5r64rakz6w"))
8676 (file-name (git-file-name name version))))
8677 (native-inputs
8678 `(("fiveam" ,sbcl-fiveam)))
8679 (inputs
8680 `(("array-utils" ,sbcl-array-utils)
8681 ("form-fiddle" ,sbcl-form-fiddle)
8682 ("plump" ,sbcl-plump)
8683 ("clss" ,sbcl-clss)))
8684 (build-system asdf-build-system/sbcl)
8685 (synopsis "Library to allow jQuery-like HTML/DOM manipulation")
8686 (description "@code{lQuery} is a DOM manipulation library written in
8687Common Lisp, inspired by and based on the jQuery syntax and
8688functions. It uses Plump and CLSS as DOM and selector engines. The
8689main idea behind lQuery is to provide a simple interface for crawling
8690and modifying HTML sites, as well as to allow for an alternative
8691approach to templating.")
8692 (home-page "https://github.com/Shinmera/lquery")
8693 (license license:zlib))))
8694
8695(define-public cl-lquery
8696 (sbcl-package->cl-source-package sbcl-lquery))
8697
8698(define-public ecl-lquery
8699 (sbcl-package->ecl-package sbcl-lquery))
8a6c0f55
GLV
8700
8701(define-public sbcl-cl-mysql
8702 (let ((commit "ab56c279c1815aec6ca0bfe85164ff7e85cfb6f9")
8703 (revision "1"))
8704 (package
8705 (name "sbcl-cl-mysql")
8706 (version (git-version "0.1" revision commit))
8707 (source
8708 (origin
8709 (method git-fetch)
8710 (uri (git-reference
b0e7b699 8711 (url "https://github.com/hackinghat/cl-mysql")
8a6c0f55
GLV
8712 (commit commit)))
8713 (file-name (git-file-name name version))
8714 (sha256
8715 (base32 "0dg5ynx2ww94d0qfwrdrm7plkn43h64hs4iiq9mj2s1s4ixnp3lr"))))
8716 (build-system asdf-build-system/sbcl)
8717 (native-inputs
8718 `(("stefil" ,sbcl-stefil)))
8719 (inputs
8720 `(("cffi" ,sbcl-cffi)
8721 ("mariadb-lib" ,mariadb "lib")))
8722 (arguments
8723 `(#:tests? #f ; TODO: Tests require a running server
8724 #:phases
8725 (modify-phases %standard-phases
8726 (add-after 'unpack 'fix-paths
8727 (lambda* (#:key inputs #:allow-other-keys)
8728 (substitute* "system.lisp"
8729 (("libmysqlclient_r" all)
8730 (string-append (assoc-ref inputs "mariadb-lib")
8731 "/lib/"
8732 all)))
8733 #t)))))
8734 (synopsis "Common Lisp wrapper for MySQL")
8735 (description
8736 "@code{cl-mysql} is a Common Lisp implementation of a MySQL wrapper.")
8737 (home-page "http://www.hackinghat.com/index.php/cl-mysql")
8738 (license license:expat))))
8739
8740(define-public cl-mysql
8741 (sbcl-package->cl-source-package sbcl-cl-mysql))
c79ea1a2 8742
e7cbcf5a
GLV
8743(define-public ecl-cl-mysql
8744 (sbcl-package->ecl-package sbcl-cl-mysql))
8745
2ff8b5ba 8746(define-public sbcl-postmodern
c79ea1a2
GLV
8747 (let ((commit "74469b25bbda990ec9b77e0d0eccdba0cd7e721a")
8748 (revision "1"))
8749 (package
2ff8b5ba 8750 (name "sbcl-postmodern")
c79ea1a2
GLV
8751 (version (git-version "1.19" revision commit))
8752 (source
8753 (origin
8754 (method git-fetch)
8755 (uri (git-reference
b0e7b699 8756 (url "https://github.com/marijnh/Postmodern")
c79ea1a2
GLV
8757 (commit commit)))
8758 (file-name (git-file-name name version))
8759 (sha256
8760 (base32 "0im7ymnyxjhn2w74jfg76k5gpr0gl33n31akx33hl28722ljd0hd"))))
8761 (build-system asdf-build-system/sbcl)
8762 (native-inputs
8763 `(("fiveam" ,sbcl-fiveam)))
2ff8b5ba
GLV
8764 (inputs
8765 `(("alexandria" ,sbcl-alexandria)
8766 ("bordeaux-threads" ,sbcl-bordeaux-threads)
8767 ("closer-mop" ,sbcl-closer-mop)
8768 ("global-vars" ,sbcl-global-vars)
8769 ("md5" ,sbcl-md5)
8770 ("split-sequence" ,sbcl-split-sequence)
8771 ("usocket" ,sbcl-usocket)))
8772 (arguments
8773 ;; TODO: Fix missing dependency errors for simple-date/postgres-glue,
8774 ;; cl-postgres/tests and s-sql/tests.
8775 `(#:tests? #f
2ff8b5ba
GLV
8776 #:asd-systems '("postmodern"
8777 "simple-date/postgres-glue")))
8778 (synopsis "Common Lisp library for interacting with PostgreSQL")
8779 (description
8780 "@code{postmodern} is a Common Lisp library for interacting with
add1a356
GLV
8781PostgreSQL databases. It provides the following features:
8782
8783@itemize
8784@item Efficient communication with the database server without need for
8785foreign libraries.
8786@item Support for UTF-8 on Unicode-aware Lisp implementations.
8787@item A syntax for mixing SQL and Lisp code.
8788@item Convenient support for prepared statements and stored procedures.
8789@item A metaclass for simple database-access objects.
2ff8b5ba
GLV
8790@end itemize\n")
8791 (home-page "https://marijnhaverbeke.nl/postmodern/")
8792 (license license:zlib))))
add1a356
GLV
8793
8794(define-public cl-postmodern
8795 (sbcl-package->cl-source-package sbcl-postmodern))
47a6cde0 8796
12df8b7b
GLV
8797(define-public ecl-postmodern
8798 (package
8799 (inherit (sbcl-package->ecl-package sbcl-postmodern))
8800 (arguments
8801 `(#:tests? #f
8802 #:asd-systems '("postmodern"
8803 "simple-date/postgres-glue")
8804 #:phases
8805 (modify-phases %standard-phases
8806 (add-after 'unpack 'fix-build
8807 (lambda _
8808 (substitute* "cl-postgres.asd"
8809 (("\\) \"usocket\"")
8810 " :ecl) \"usocket\""))
8811 #t)))))))
8812
47a6cde0 8813(define-public sbcl-dbi
dba8f523
PN
8814 ;; Master includes a breaking change which other packages depend on since
8815 ;; Quicklisp decided to follow it:
8816 ;; https://github.com/fukamachi/cl-dbi/commit/31c46869722f77fd5292a81b5b101f1347d7fce1
8817 (let ((commit "31c46869722f77fd5292a81b5b101f1347d7fce1"))
8818 (package
8819 (name "sbcl-dbi")
8820 (version (git-version "0.9.4" "1" commit))
8821 (source
8822 (origin
8823 (method git-fetch)
8824 (uri (git-reference
8825 (url "https://github.com/fukamachi/cl-dbi")
8826 (commit commit)))
8827 (file-name (git-file-name name version))
8828 (sha256
8829 (base32 "0r3n4rw12qqxad0cryym2ibm4ddl49gbq4ra227afibsr43nw5k3"))))
8830 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
8831 (native-inputs
8832 `(("rove" ,sbcl-rove)
8833 ("trivial-types" ,sbcl-trivial-types)))
dba8f523
PN
8834 (inputs
8835 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
2ff8b5ba
GLV
8836 ("cl-mysql" ,sbcl-cl-mysql)
8837 ("cl-sqlite" ,sbcl-cl-sqlite)
dba8f523 8838 ("closer-mop" ,sbcl-closer-mop)
2ff8b5ba
GLV
8839 ("postmodern" ,sbcl-postmodern)
8840 ("split-sequence" ,sbcl-split-sequence)
8841 ("trivial-garbage" ,sbcl-trivial-garbage)))
dba8f523 8842 (arguments
3f8bbf7c 8843 `(#:asd-systems '("dbi"
2ff8b5ba
GLV
8844 "dbd-mysql"
8845 "dbd-postgres"
8846 "dbd-sqlite3")))
dba8f523
PN
8847 (synopsis "Database independent interface for Common Lisp")
8848 (description
8849 "@code{dbi} is a Common Lisp library providing a database independent
47a6cde0 8850interface for MySQL, PostgreSQL and SQLite.")
dba8f523
PN
8851 (home-page "https://github.com/fukamachi/cl-dbi")
8852 (license license:llgpl))))
47a6cde0
GLV
8853
8854(define-public cl-dbi
8855 (sbcl-package->cl-source-package sbcl-dbi))
903d0e81 8856
e7cbcf5a
GLV
8857(define-public ecl-dbi
8858 (sbcl-package->ecl-package sbcl-dbi))
8859
1aa7ad1f
GLV
8860(define-public sbcl-uffi
8861 (package
8862 (name "sbcl-uffi")
8863 (version "2.1.2")
8864 (source
8865 (origin
8866 (method git-fetch)
8867 (uri (git-reference
8868 (url "http://git.kpe.io/uffi.git")
8869 (commit (string-append "v" version))))
8870 (file-name (git-file-name name version))
8871 (sha256
8872 (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
8873 (build-system asdf-build-system/sbcl)
8874 (arguments
8875 `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions
3f8bbf7c 8876 #:asd-files '("uffi.asd")
1aa7ad1f
GLV
8877 #:phases
8878 (modify-phases %standard-phases
8879 (add-after 'unpack 'fix-permissions
8880 (lambda _
8881 (make-file-writable "doc/html.tar.gz")
8882 #t)))))
8883 (synopsis "Universal foreign function library for Common Lisp")
8884 (description
8885 "UFFI provides a universal foreign function interface (FFI)
8886 for Common Lisp.")
8887 (home-page "http://quickdocs.org/uffi/")
8888 (license license:llgpl)))
8889
8890(define-public cl-uffi
8891 (package
8892 (inherit (sbcl-package->cl-source-package sbcl-uffi))
8893 (arguments
8894 `(#:phases
8895 ;; asdf-build-system/source has its own phases and does not inherit
8896 ;; from asdf-build-system/sbcl phases.
8897 (modify-phases %standard-phases/source
3b392074
GLV
8898 ;; Already done in SBCL package.
8899 (delete 'reset-gzip-timestamps))))))
5ae56f68
GLV
8900
8901(define-public sbcl-clsql
8902 (package
8903 (name "sbcl-clsql")
8904 (version "6.7.0")
8905 (source
8906 (origin
8907 (method git-fetch)
8908 (uri (git-reference
8909 (url "http://git.kpe.io/clsql.git")
8910 (commit (string-append "v" version))))
8911 (file-name (git-file-name name version))
8912 (sha256
8913 (base32 "1v1k3s5bsy3lgd9gk459bzpb1r0kdjda25s29samxw4gsgf1fqvp"))
8914 (snippet
8915 '(begin
8916 ;; Remove precompiled libraries.
8917 (delete-file "db-mysql/clsql_mysql.dll")
8918 (delete-file "uffi/clsql_uffi.dll")
8919 (delete-file "uffi/clsql_uffi.lib")
8920 #t))))
8921 (build-system asdf-build-system/sbcl)
8922 (native-inputs
2ff8b5ba 8923 `(("rt" ,sbcl-rt)))
5ae56f68 8924 (inputs
2ff8b5ba
GLV
8925 `(("cffi" ,sbcl-cffi)
8926 ("md5" ,sbcl-md5)
8927 ("mysql" ,mysql)
5ae56f68 8928 ("postgresql" ,postgresql)
2ff8b5ba 8929 ("postmodern" ,sbcl-postmodern)
5ae56f68 8930 ("sqlite" ,sqlite)
2ff8b5ba 8931 ("uffi" ,sbcl-uffi)
5ae56f68 8932 ("zlib" ,zlib)))
5ae56f68 8933 (arguments
135bc7e3 8934 `(#:asd-files '("clsql.asd"
2ff8b5ba
GLV
8935 "clsql-uffi.asd"
8936 "clsql-sqlite3.asd"
8937 "clsql-postgresql.asd"
8938 "clsql-postgresql-socket3.asd"
8939 "clsql-mysql.asd")
8940 #:asd-systems '("clsql"
8941 "clsql-sqlite3"
135bc7e3 8942 "clsql-postgresql"
2ff8b5ba
GLV
8943 "clsql-postgresql-socket3"
8944 "clsql-mysql")
8945 #:phases
8946 (modify-phases %standard-phases
5ae56f68
GLV
8947 (add-after 'unpack 'fix-permissions
8948 (lambda _
8949 (make-file-writable "doc/html.tar.gz")
2ff8b5ba 8950 #t))
135bc7e3
GLV
8951 (add-after 'unpack 'fix-build
8952 (lambda _
8953 (substitute* "clsql-uffi.asd"
8954 (("\\(:version uffi \"2.0\"\\)")
8955 "uffi"))
8956 (substitute* "db-postgresql/postgresql-api.lisp"
8957 (("\\(data :cstring\\)")
8958 "(data :string)"))
8959 #t))
2ff8b5ba
GLV
8960 (add-after 'unpack 'fix-paths
8961 (lambda* (#:key inputs outputs #:allow-other-keys)
8962 (substitute* "db-sqlite3/sqlite3-loader.lisp"
8963 (("libsqlite3")
8964 (string-append (assoc-ref inputs "sqlite")
8965 "/lib/libsqlite3")))
8966 (substitute* "db-postgresql/postgresql-loader.lisp"
8967 (("libpq")
8968 (string-append (assoc-ref inputs "postgresql")
8969 "/lib/libpq")))
8970 (let ((lib (string-append "#p\""
8971 (assoc-ref outputs "out")
8972 "/lib/\"")))
8973 (substitute* "clsql-mysql.asd"
8974 (("#p\"/usr/lib/clsql/clsql_mysql\\.so\"")
8975 lib))
8976 (substitute* "db-mysql/mysql-loader.lisp"
8977 (("libmysqlclient" all)
8978 (string-append (assoc-ref inputs "mysql") "/lib/" all))
8979 (("clsql-mysql-system::\\*library-file-dir\\*")
8980 lib)))
8981 #t))
8982 (add-before 'build 'build-helper-library
8983 (lambda* (#:key inputs outputs #:allow-other-keys)
8984 (let* ((mysql (assoc-ref inputs "mysql"))
8985 (inc-dir (string-append mysql "/include/mysql"))
8986 (lib-dir (string-append mysql "/lib"))
8987 (shared-lib-dir (string-append (assoc-ref outputs "out")
8988 "/lib"))
8989 (shared-lib (string-append shared-lib-dir
8990 "/clsql_mysql.so")))
8991 (mkdir-p shared-lib-dir)
8992 (invoke "gcc" "-fPIC" "-shared"
8993 "-I" inc-dir
8994 "db-mysql/clsql_mysql.c"
8995 "-Wl,-soname=clsql_mysql"
8996 "-L" lib-dir "-lmysqlclient" "-lz"
8997 "-o" shared-lib)
8998 #t)))
8999 (add-after 'unpack 'fix-tests
9000 (lambda _
9001 (substitute* "clsql.asd"
9002 (("clsql-tests :force t")
9003 "clsql-tests"))
9004 #t)))))
9005 (synopsis "Common Lisp SQL Interface library")
9006 (description
9007 "@code{clsql} is a Common Lisp interface to SQL RDBMS based on the
9008Xanalys CommonSQL interface for Lispworks. It provides low-level database
9009interfaces as well as a functional and an object oriented interface.")
9010 (home-page "http://clsql.kpe.io/")
9011 (license license:llgpl)))
079ee3b5 9012
2ff8b5ba 9013(define-public cl-clsql
079ee3b5 9014 (package
2ff8b5ba
GLV
9015 (inherit (sbcl-package->cl-source-package sbcl-clsql))
9016 (native-inputs
9017 `(("rt" ,cl-rt)))
079ee3b5
GLV
9018 (inputs
9019 `(("mysql" ,mysql)
2ff8b5ba
GLV
9020 ("postgresql" ,postgresql)
9021 ("sqlite" ,sqlite)
079ee3b5 9022 ("zlib" ,zlib)))
2ff8b5ba
GLV
9023 (propagated-inputs
9024 `(("cffi" ,cl-cffi)
9025 ("md5" ,cl-md5)
9026 ("postmodern" ,cl-postmodern)
9027 ("uffi" ,cl-uffi)))
079ee3b5 9028 (arguments
2ff8b5ba
GLV
9029 `(#:phases
9030 ;; asdf-build-system/source has its own phases and does not inherit
9031 ;; from asdf-build-system/sbcl phases.
9032 (modify-phases %standard-phases/source
9033 (add-after 'unpack 'fix-permissions
9034 (lambda _
9035 (make-file-writable "doc/html.tar.gz")
9036 #t)))))))
6dfc981a 9037
bdd3b1b2
GLV
9038(define-public ecl-clsql
9039 (let ((pkg (sbcl-package->ecl-package sbcl-clsql)))
9040 (package
9041 (inherit pkg)
9042 (inputs
9043 (alist-delete "uffi" (package-inputs pkg)))
9044 (arguments
9045 (substitute-keyword-arguments (package-arguments pkg)
9046 ((#:asd-files asd-files '())
9047 `(cons "clsql-cffi.asd" ,asd-files)))))))
9048
6dfc981a
PN
9049(define-public sbcl-sycamore
9050 (let ((commit "fd2820fec165ad514493426dea209728f64e6d18"))
9051 (package
9052 (name "sbcl-sycamore")
9053 (version "0.0.20120604")
9054 (source
9055 (origin
9056 (method git-fetch)
9057 (uri (git-reference
9058 (url "https://github.com/ndantam/sycamore/")
9059 (commit commit)))
9060 (file-name (git-file-name name version))
9061 (sha256
9062 (base32 "00bv1aj89q5vldmq92zp2364jq312zjq2mbd3iyz1s2b4widzhl7"))))
9063 (build-system asdf-build-system/sbcl)
6dfc981a
PN
9064 (inputs
9065 `(("alexandria" ,sbcl-alexandria)
9066 ("cl-ppcre" ,sbcl-cl-ppcre)))
9067 (synopsis "Purely functional data structure library in Common Lisp")
9068 (description
9069 "Sycamore is a fast, purely functional data structure library in Common Lisp.
9070If features:
9071
9072@itemize
9073@item Fast, purely functional weight-balanced binary trees.
9074@item Leaf nodes are simple-vectors, greatly reducing tree height.
9075@item Interfaces for tree Sets and Maps (dictionaries).
9076@item Ropes.
9077@item Purely functional pairing heaps.
9078@item Purely functional amortized queue.
9079@end itemize\n")
9080 (home-page "http://ndantam.github.io/sycamore/")
9081 (license license:bsd-3))))
9082
9083(define-public cl-sycamore
9084 (sbcl-package->cl-source-package sbcl-sycamore))
eb5341c2 9085
12df8b7b
GLV
9086(define-public ecl-sycamore
9087 (sbcl-package->ecl-package sbcl-sycamore))
9088
eb5341c2
PN
9089(define-public sbcl-trivial-package-local-nicknames
9090 (package
9091 (name "sbcl-trivial-package-local-nicknames")
9092 (version "0.2")
9093 (home-page "https://github.com/phoe/trivial-package-local-nicknames")
9094 (source
9095 (origin
9096 (method git-fetch)
9097 (uri (git-reference
9098 (url home-page)
9099 (commit "16b7ad4c2b120f50da65154191f468ea5598460e")))
9100 (file-name (git-file-name name version))
9101 (sha256
9102 (base32 "18qc27xkjzdcqrilpk3pm7djldwq5rm3ggd5h9cr8hqcd54i2fqg"))))
9103 (build-system asdf-build-system/sbcl)
9104 (synopsis "Common Lisp compatibility library for package local nicknames")
9105 (description
9106 "This library is a portable compatibility layer around package local nicknames (PLN).
9107This was done so there is a portability library for the PLN API not included
9108in DEFPACKAGE.")
9109 (license license:unlicense)))
9110
9111(define-public cl-trivial-package-local-nicknames
9112 (sbcl-package->cl-source-package sbcl-trivial-package-local-nicknames))
2fa04968 9113
12df8b7b
GLV
9114(define-public ecl-trivial-package-local-nicknames
9115 (sbcl-package->ecl-package sbcl-trivial-package-local-nicknames))
9116
2fa04968
PN
9117(define-public sbcl-enchant
9118 (let ((commit "6af162a7bf10541cbcfcfa6513894900329713fa"))
9119 (package
9120 (name "sbcl-enchant")
9121 (version (git-version "0.0.0" "1" commit))
9122 (home-page "https://github.com/tlikonen/cl-enchant")
9123 (source
9124 (origin
9125 (method git-fetch)
9126 (uri (git-reference
9127 (url home-page)
9128 (commit commit)))
9129 (file-name (git-file-name name version))
9130 (sha256
9131 (base32 "19yh5ihirzi1d8xqy1cjqipzd6ly3245cfxa5s9xx496rryz0s01"))))
9132 (build-system asdf-build-system/sbcl)
9133 (inputs
9134 `(("enchant" ,enchant)
9135 ("cffi" ,sbcl-cffi)))
9136 (arguments
9137 `(#:phases
9138 (modify-phases %standard-phases
9139 (add-after 'unpack 'fix-paths
9140 (lambda* (#:key inputs #:allow-other-keys)
9141 (substitute* "load-enchant.lisp"
9142 (("libenchant")
9143 (string-append
9144 (assoc-ref inputs "enchant") "/lib/libenchant-2"))))))))
9145 (synopsis "Common Lisp interface for the Enchant spell-checker library")
9146 (description
9147 "Enchant is a Common Lisp interface for the Enchant spell-checker
9148library. The Enchant library is a generic spell-checker library which uses
9149other spell-checkers transparently as back-end. The library supports the
9150multiple checkers, including Aspell and Hunspell.")
9151 (license license:public-domain))))
9152
9153(define-public cl-enchant
9154 (sbcl-package->cl-source-package sbcl-enchant))
df95189d 9155
e7cbcf5a
GLV
9156(define-public ecl-enchant
9157 (sbcl-package->ecl-package sbcl-enchant))
9158
df95189d
PN
9159(define-public sbcl-cl-change-case
9160 (let ((commit "5ceff2a5f8bd845b6cb510c6364176b27a238fd3"))
9161 (package
9162 (name "sbcl-cl-change-case")
9163 (version (git-version "0.1.0" "1" commit))
9164 (home-page "https://github.com/rudolfochrist/cl-change-case")
9165 (source
9166 (origin
9167 (method git-fetch)
9168 (uri (git-reference
9169 (url home-page)
9170 (commit commit)))
9171 (file-name (git-file-name name version))
9172 (sha256
9173 (base32 "1afyglglk9z3yg8gylcl301bl2r8vq3sllyznzj9s5xi5gs6qyf2"))))
9174 (build-system asdf-build-system/sbcl)
9175 (inputs
9176 `(("cl-ppcre" ,sbcl-cl-ppcre)
9177 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
9178 (native-inputs
9179 `(("fiveam" ,sbcl-fiveam)))
9180 (arguments
9181 '(;; FIXME: Test pass but phase fails with 'Component
9182 ;; "cl-change-case-test" not found, required by'.
9183 #:tests? #f
9184 #:test-asd-file "cl-change-case-test.asd"))
9185 (synopsis "Convert Common Lisp strings between camelCase, PascalCase and more")
9186 (description
9187 "@code{cl-change-case} is library to convert strings between camelCase,
9188PascalCase, snake_case, param-case, CONSTANT_CASE and more.")
9189 (license license:llgpl))))
9190
9191(define-public cl-change-case
9192 (sbcl-package->cl-source-package sbcl-cl-change-case))
53c05faf 9193
e7cbcf5a
GLV
9194(define-public ecl-cl-change-case
9195 (sbcl-package->ecl-package sbcl-cl-change-case))
9196
53c05faf
PN
9197(define-public sbcl-moptilities
9198 (let ((commit "a436f16b357c96b82397ec018ea469574c10dd41"))
9199 (package
9200 (name "sbcl-moptilities")
9201 (version (git-version "0.3.13" "1" commit))
9202 (home-page "https://github.com/gwkkwg/moptilities/")
9203 (source
9204 (origin
9205 (method git-fetch)
9206 (uri (git-reference
9207 (url home-page)
9208 (commit commit)))
9209 (file-name (git-file-name name version))
9210 (sha256
9211 (base32 "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc"))))
9212 (build-system asdf-build-system/sbcl)
9213 (inputs
9214 `(("closer-mop" ,sbcl-closer-mop)))
9215 (native-inputs
9216 `(("lift" ,sbcl-lift)))
466bf553
GLV
9217 (arguments
9218 `(#:phases
9219 (modify-phases %standard-phases
9220 (add-after 'unpack 'fix-tests
9221 (lambda _
9222 (substitute* "lift-standard.config"
9223 ((":relative-to lift-test")
9224 ":relative-to moptilities-test"))
9225 #t)))))
53c05faf
PN
9226 (synopsis "Compatibility layer for Common Lisp MOP implementation differences")
9227 (description
9228 "MOP utilities provide a common interface between Lisps and make the
9229MOP easier to use.")
9230 (license license:expat))))
9231
9232(define-public cl-moptilities
9233 (sbcl-package->cl-source-package sbcl-moptilities))
8cf6d150
PN
9234
9235(define-public sbcl-osicat
9236 (let ((commit "de0c18a367eedc857e1902a7319828af072a0d97"))
9237 (package
9238 (name "sbcl-osicat")
9239 (version (git-version "0.7.0" "1" commit))
9240 (home-page "http://www.common-lisp.net/project/osicat/")
9241 (source
9242 (origin
9243 (method git-fetch)
9244 (uri (git-reference
9245 (url "https://github.com/osicat/osicat")
9246 (commit commit)))
9247 (file-name (git-file-name name version))
9248 (sha256
9249 (base32 "15viw5pi5sa7qq9b4n2rr3dj2jkqr180rh9z1lh8w3rgl42i2adc"))))
9250 (build-system asdf-build-system/sbcl)
8cf6d150
PN
9251 (inputs
9252 `(("alexandria" ,sbcl-alexandria)
9253 ("cffi" ,sbcl-cffi)
9254 ("trivial-features" ,sbcl-trivial-features)))
9255 (native-inputs
2ff8b5ba 9256 `(("rt" ,sbcl-rt)))
8cf6d150
PN
9257 (synopsis "Operating system interface for Common Lisp")
9258 (description
9259 "Osicat is a lightweight operating system interface for Common Lisp on
9260Unix-platforms. It is not a POSIX-style API, but rather a simple lispy
9261accompaniment to the standard ANSI facilities.")
9262 (license license:expat))))
9263
9264(define-public cl-osicat
9265 (sbcl-package->cl-source-package sbcl-osicat))
b2eae0e1 9266
e7cbcf5a
GLV
9267(define-public ecl-osicat
9268 (sbcl-package->ecl-package sbcl-osicat))
9269
152d50d9
KCB
9270(define-public sbcl-clx-xembed
9271 (let ((commit "a5c4b844d31ee68ffa58c933cc1cdddde6990743")
9272 (revision "1"))
9273 (package
9274 (name "sbcl-clx-xembed")
9275 (version (git-version "0.1" revision commit))
9276 (home-page "https://github.com/laynor/clx-xembed")
9277 (source
9278 (origin
9279 (method git-fetch)
9280 (uri (git-reference
b0e7b699 9281 (url "https://github.com/laynor/clx-xembed")
152d50d9
KCB
9282 (commit commit)))
9283 (file-name (git-file-name name version))
9284 (sha256
9285 (base32 "1abx4v36ycmfjdwpjk4hh8058ya8whwia7ds9vd96q2qsrs57f12"))))
9286 (build-system asdf-build-system/sbcl)
9287 (arguments
2ff8b5ba 9288 `(#:asd-systems '("xembed")))
152d50d9
KCB
9289 (inputs
9290 `(("sbcl-clx" ,sbcl-clx)))
9291 (synopsis "CL(x) xembed protocol implementation ")
9292 (description "CL(x) xembed protocol implementation")
9293 ;; MIT License
9294 (license license:expat))))
9295
9296(define-public cl-clx-xembed
9297 (sbcl-package->cl-source-package sbcl-clx-xembed))
9298
9299(define-public ecl-clx-xembed
9300 (sbcl-package->ecl-package sbcl-clx-xembed))
9301
b2eae0e1
KCB
9302(define-public sbcl-quantile-estimator
9303 (package
9304 (name "sbcl-quantile-estimator")
9305 (version "0.0.1")
9306 (source
9307 (origin
9308 (method git-fetch)
9309 (uri (git-reference
9310 (url "https://github.com/deadtrickster/quantile-estimator.cl")
9311 (commit "84d0ea405d793f5e808c68c4ddaf25417b0ff8e5")))
9312 (file-name (git-file-name name version))
9313 (sha256
9314 (base32
9315 "0rlswkf0siaabsvvch3dgxmg45fw5w8pd9b7ri2w7a298aya52z9"))))
9316 (build-system asdf-build-system/sbcl)
9317 (arguments
e765d9c9 9318 '(#:asd-files '("quantile-estimator.asd")))
b2eae0e1
KCB
9319 (inputs
9320 `(("alexandria" ,sbcl-alexandria)))
9321 (home-page "https://github.com/deadtrickster/quantile-estimator.cl")
9322 (synopsis
9323 "Effective computation of biased quantiles over data streams")
9324 (description
9325 "Common Lisp implementation of Graham Cormode and S.
9326Muthukrishnan's Effective Computation of Biased Quantiles over Data
9327Streams in ICDE’05.")
9328 (license license:expat)))
9329
9330(define-public cl-quantile-estimator
9331 (sbcl-package->cl-source-package sbcl-quantile-estimator))
9332
9333(define-public ecl-quantile-estimator
9334 (sbcl-package->ecl-package sbcl-quantile-estimator))
4c7c3077
KCB
9335
9336(define-public sbcl-prometheus
9337 (package
9338 (name "sbcl-prometheus")
9339 (version "0.4.1")
9340 (source
9341 (origin
9342 (method git-fetch)
9343 (uri (git-reference
b0e7b699 9344 (url "https://github.com/deadtrickster/prometheus.cl")
4c7c3077
KCB
9345 (commit "7352b92296996ff383503e19bdd3bcea30409a15")))
9346 (file-name (git-file-name name version))
9347 (sha256
9348 (base32
9349 "0fzczls2kfgdx18pja4lqxjrz72i583185d8nq0pb3s331hhzh0z"))))
9350 (build-system asdf-build-system/sbcl)
9351 (inputs
9352 `(("alexandria" ,sbcl-alexandria)
9353 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2ff8b5ba
GLV
9354 ("cffi" ,sbcl-cffi)
9355 ("cl-fad" ,sbcl-cl-fad)
4c7c3077 9356 ("cl-ppcre" ,sbcl-cl-ppcre)
2ff8b5ba
GLV
9357 ("drakma" ,sbcl-drakma)
9358 ("hunchentoot" ,sbcl-hunchentoot)
4c7c3077 9359 ("local-time" ,sbcl-local-time)
2ff8b5ba
GLV
9360 ("quantile-estimator" ,sbcl-quantile-estimator)
9361 ("salza2" ,sbcl-salza2)
9362 ("split-sequence" ,sbcl-split-sequence)
9363 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9364 (arguments
9365 '(#:asd-files '("prometheus.asd"
9366 "prometheus.collectors.sbcl.asd"
9367 "prometheus.collectors.process.asd"
9368 "prometheus.formats.text.asd"
9369 "prometheus.exposers.hunchentoot.asd"
9370 "prometheus.pushgateway.asd")
9371 #:asd-systems '("prometheus"
9372 "prometheus.collectors.sbcl"
9373 "prometheus.collectors.process"
9374 "prometheus.formats.text"
9375 "prometheus.exposers.hunchentoot"
9376 "prometheus.pushgateway")))
4c7c3077
KCB
9377 (home-page "https://github.com/deadtrickster/prometheus.cl")
9378 (synopsis "Prometheus.io Common Lisp client")
9379 (description "Prometheus.io Common Lisp client.")
9380 (license license:expat)))
9381
9382(define-public cl-prometheus
9383 (sbcl-package->cl-source-package sbcl-prometheus))
9384
9385(define-public ecl-prometheus
9386 (sbcl-package->ecl-package sbcl-prometheus))
4e21f5bc 9387
59dda970
KCB
9388(define-public sbcl-uuid
9389 (let ((commit "e7d6680c3138385c0708f7aaf0c96622eeb140e8"))
9390 (package
9391 (name "sbcl-uuid")
9392 (version (git-version "2012.12.26" "1" commit))
9393 (source
9394 (origin
9395 (method git-fetch)
9396 (uri (git-reference
b0e7b699 9397 (url "https://github.com/dardoria/uuid")
59dda970
KCB
9398 (commit commit)))
9399 (file-name (git-file-name name version))
9400 (sha256
9401 (base32
9402 "0jnyp2kibcf5cwi60l6grjrj8wws9chasjvsw7xzwyym2lyid46f"))))
9403 (build-system asdf-build-system/sbcl)
9404 (inputs
9405 `(("ironclad" ,sbcl-ironclad)
9406 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
9407 (home-page "https://github.com/dardoria/uuid")
9408 (synopsis
9409 "Common Lisp implementation of UUIDs according to RFC4122")
9410 (description
9411 "Common Lisp implementation of UUIDs according to RFC4122.")
9412 (license license:llgpl))))
9413
9414(define-public cl-uuid
9415 (sbcl-package->cl-source-package sbcl-uuid))
9416
9417(define-public ecl-uuid
9418 (sbcl-package->ecl-package sbcl-uuid))
adf70454
KCB
9419
9420(define-public sbcl-dissect
9421 (let ((commit "cffd38479f0e64e805f167bbdb240b783ecc8d45"))
9422 (package
9423 (name "sbcl-dissect")
9424 (version (git-version "1.0.0" "1" commit))
9425 (source
9426 (origin
9427 (method git-fetch)
9428 (uri (git-reference
b0e7b699 9429 (url "https://github.com/Shinmera/dissect")
adf70454
KCB
9430 (commit commit)))
9431 (file-name (git-file-name name version))
9432 (sha256
9433 (base32
9434 "0rmsjkgjl90gl6ssvgd60hb0d5diyhsiyypvw9hbc0ripvbmk5r5"))))
9435 (build-system asdf-build-system/sbcl)
9436 (inputs
9437 `(("cl-ppcre" ,sbcl-cl-ppcre)))
9438 (home-page "https://shinmera.github.io/dissect/")
9439 (synopsis
9440 "Introspection library for the call stack and restarts")
9441 (description
9442 "Dissect is a small Common Lisp library for introspecting the call stack
9443and active restarts.")
9444 (license license:zlib))))
9445
9446(define-public cl-dissect
9447 (sbcl-package->cl-source-package sbcl-dissect))
9448
9449(define-public ecl-dissect
9450 (sbcl-package->ecl-package sbcl-dissect))
38d738e9 9451
38d738e9
KCB
9452(define-public sbcl-rove
9453 (package
9454 (name "sbcl-rove")
9455 (version "0.9.6")
9456 (source
9457 (origin
9458 (method git-fetch)
9459 (uri (git-reference
b0e7b699 9460 (url "https://github.com/fukamachi/rove")
38d738e9
KCB
9461 (commit "f3695db08203bf26f3b861dc22ac0f4257d3ec21")))
9462 (file-name (git-file-name name version))
9463 (sha256
9464 (base32
9465 "07ala4l2fncxf540fzxj3h5mhi9i4wqllhj0rqk8m2ljl5zbz89q"))))
9466 (build-system asdf-build-system/sbcl)
9467 (inputs
9468 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9469 ("dissect" ,sbcl-dissect)
9470 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
9471 (home-page "https://github.com/fukamachi/rove")
9472 (synopsis
9473 "Yet another common lisp testing library")
9474 (description
9475 "Rove is a unit testing framework for Common Lisp applications.
9476This is intended to be a successor of Prove.")
9477 (license license:bsd-3)))
9478
9479(define-public cl-rove
9480 (sbcl-package->cl-source-package sbcl-rove))
9481
9482(define-public ecl-rove
9483 (sbcl-package->ecl-package sbcl-rove))
aae3df18
KCB
9484
9485(define-public sbcl-exponential-backoff
9486 (let ((commit "8d9e8444d8b3184a524c12ce3449f91613ab714f"))
9487 (package
9488 (name "sbcl-exponential-backoff")
9489 (version (git-version "0" "1" commit))
9490 (source
9491 (origin
9492 (method git-fetch)
9493 (uri (git-reference
b0e7b699 9494 (url "https://github.com/death/exponential-backoff")
aae3df18
KCB
9495 (commit commit)))
9496 (file-name (git-file-name name version))
9497 (sha256
9498 (base32
9499 "1389hm9hxv85s0125ja4js1bvh8ay4dsy9q1gaynjv27ynik6gmv"))))
9500 (build-system asdf-build-system/sbcl)
9501 (home-page "https://github.com/death/exponential-backoff")
9502 (synopsis "Exponential backoff algorithm in Common Lisp")
9503 (description
9504 "An implementation of the exponential backoff algorithm in Common Lisp.
9505Inspired by the implementation found in Chromium. Read the header file to
9506learn about each of the parameters.")
9507 (license license:expat))))
9508
9509(define-public cl-exponential-backoff
9510 (sbcl-package->cl-source-package sbcl-exponential-backoff))
9511
9512(define-public ecl-exponential-backoff
9513 (sbcl-package->ecl-package sbcl-exponential-backoff))
3e736218
KCB
9514
9515(define-public sbcl-sxql
9516 (let ((commit "5aa8b739492c5829e8623432b5d46482263990e8"))
9517 (package
9518 (name "sbcl-sxql")
9519 (version (git-version "0.1.0" "1" commit))
9520 (source
9521 (origin
9522 (method git-fetch)
9523 (uri (git-reference
b0e7b699 9524 (url "https://github.com/fukamachi/sxql")
3e736218
KCB
9525 (commit commit)))
9526 (file-name (git-file-name name version))
9527 (sha256
9528 (base32
9529 "0k25p6w2ld9cn8q8s20lda6yjfyp4q89219sviayfgixnj27avnj"))))
9530 (build-system asdf-build-system/sbcl)
9531 (arguments
9532 `(#:test-asd-file "sxql-test.asd"))
9533 (inputs
9534 `(("alexandria" ,sbcl-alexandria)
2ff8b5ba 9535 ("cl-syntax" ,sbcl-cl-syntax)
3e736218
KCB
9536 ("iterate" ,sbcl-iterate)
9537 ("optima" ,sbcl-optima)
9538 ("split-sequence" ,sbcl-split-sequence)
9539 ("trivial-types" ,sbcl-trivial-types)))
9540 (native-inputs
2ff8b5ba 9541 `(("prove" ,sbcl-prove)))
3e736218
KCB
9542 (home-page "https://github.com/fukamachi/sxql")
9543 (synopsis "SQL generator for Common Lisp")
9544 (description "SQL generator for Common Lisp.")
9545 (license license:bsd-3))))
9546
9547(define-public cl-sxql
9548 (sbcl-package->cl-source-package sbcl-sxql))
9549
9550(define-public ecl-sxql
9551 (sbcl-package->ecl-package sbcl-sxql))
1f9999df
KCB
9552
9553(define-public sbcl-1am
9554 (let ((commit "8b1da94eca4613fd8a20bdf63f0e609e379b0ba5"))
9555 (package
9556 (name "sbcl-1am")
9557 (version (git-version "0.0" "1" commit))
9558 (source
9559 (origin
9560 (method git-fetch)
9561 (uri (git-reference
b0e7b699 9562 (url "https://github.com/lmj/1am")
1f9999df
KCB
9563 (commit commit)))
9564 (file-name (git-file-name name version))
9565 (sha256
9566 (base32
9567 "05ss4nz1jb9kb796295482b62w5cj29msfj8zis33sp2rw2vmv2g"))))
9568 (build-system asdf-build-system/sbcl)
9569 (arguments
2ff8b5ba 9570 `(#:asd-systems '("1am")))
1f9999df
KCB
9571 (home-page "https://github.com/lmj/1am")
9572 (synopsis "Minimal testing framework for Common Lisp")
9573 (description "A minimal testing framework for Common Lisp.")
9574 (license license:expat))))
9575
9576(define-public cl-1am
9577 (sbcl-package->cl-source-package sbcl-1am))
9578
9579(define-public ecl-1am
9580 (sbcl-package->ecl-package sbcl-1am))
d7c60681
GLV
9581
9582(define-public sbcl-cl-ascii-table
9583 (let ((commit "d9f5e774a56fad1b416e4dadb8f8a5b0e84094e2")
9584 (revision "1"))
9585 (package
9586 (name "sbcl-cl-ascii-table")
9587 (version (git-version "0.0.0" revision commit))
9588 (source
9589 (origin
9590 (method git-fetch)
9591 (uri (git-reference
b0e7b699 9592 (url "https://github.com/telephil/cl-ascii-table")
d7c60681
GLV
9593 (commit commit)))
9594 (file-name (git-file-name name version))
9595 (sha256
9596 (base32 "125fdif9sgl7k0ngjhxv0wjas2q27d075025hvj2rx1b1x948z4s"))))
9597 (build-system asdf-build-system/sbcl)
9598 (synopsis "Library to make ascii-art tables")
9599 (description
9600 "This is a Common Lisp library to present tabular data in ascii-art
9601tables.")
9602 (home-page "https://github.com/telephil/cl-ascii-table")
9603 (license license:expat))))
9604
9605(define-public cl-ascii-table
9606 (sbcl-package->cl-source-package sbcl-cl-ascii-table))
9607
9608(define-public ecl-cl-ascii-table
9609 (sbcl-package->ecl-package sbcl-cl-ascii-table))
64174aff
KCB
9610
9611(define-public sbcl-cl-rdkafka
9612 (package
9613 (name "sbcl-cl-rdkafka")
9614 (version "1.0.2")
9615 (source
9616 (origin
9617 (method git-fetch)
9618 (uri (git-reference
b0e7b699 9619 (url "https://github.com/SahilKang/cl-rdkafka")
64174aff
KCB
9620 (commit (string-append "v" version))))
9621 (file-name (git-file-name name version))
9622 (sha256
9623 (base32
9624 "1qcgfd4h7syilzmrmd4z2vknbvawda3q3ykw7xm8n381syry4g82"))))
9625 (build-system asdf-build-system/sbcl)
9626 (arguments
9627 `(#:tests? #f ; Attempts to connect to locally running Kafka
9628 #:phases
9629 (modify-phases %standard-phases
9630 (add-after 'unpack 'fix-paths
9631 (lambda* (#:key inputs #:allow-other-keys)
9632 (substitute* "src/low-level/librdkafka-bindings.lisp"
9633 (("librdkafka" all)
9634 (string-append (assoc-ref inputs "librdkafka") "/lib/"
f596b476 9635 all))))))))
64174aff
KCB
9636 (inputs
9637 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9638 ("cffi" ,sbcl-cffi)
64174aff
KCB
9639 ("librdkafka" ,librdkafka)
9640 ("lparallel" ,sbcl-lparallel)
9641 ("trivial-garbage" ,sbcl-trivial-garbage)))
9642 (home-page "https://github.com/SahilKang/cl-rdkafka")
9643 (synopsis "Common Lisp client library for Apache Kafka")
9644 (description "A Common Lisp client library for Apache Kafka.")
9645 (license license:gpl3)))
9646
9647(define-public cl-rdkafka
9648 (sbcl-package->cl-source-package sbcl-cl-rdkafka))
04dd8018 9649
e7cbcf5a
GLV
9650(define-public ecl-cl-rdkafka
9651 (sbcl-package->ecl-package sbcl-cl-rdkafka))
9652
04dd8018
PN
9653(define-public sbcl-acclimation
9654 (let ((commit "4d51150902568fcd59335f4cc4cfa022df6116a5"))
9655 (package
9656 (name "sbcl-acclimation")
9657 (version (git-version "0.0.0" "1" commit))
9658 (source
9659 (origin
9660 (method git-fetch)
9661 (uri (git-reference
9662 (url "https://github.com/robert-strandh/Acclimation")
9663 (commit commit)))
9664 (file-name (git-file-name name version))
9665 (sha256
9666 (base32
9667 "1aw7rarjl8ai57h0jxnp9hr3dka7qrs55mmbl1p6rhd6xj8mp9wq"))))
9668 (build-system asdf-build-system/sbcl)
9669 (home-page "https://github.com/robert-strandh/Acclimation")
9670 (synopsis "Internationalization library for Common Lisp")
9671 (description "This project is meant to provide tools for
9672internationalizing Common Lisp programs.
9673
9674One important aspect of internationalization is of course the language used in
9675error messages, documentation strings, etc. But with this project we provide
9676tools for all other aspects of internationalization as well, including dates,
9677weight, temperature, names of physical quantitites, etc.")
9678 (license license:bsd-2))))
9679
9680(define-public cl-acclimation
9681 (sbcl-package->cl-source-package sbcl-acclimation))
ba1727b0 9682
e7cbcf5a
GLV
9683(define-public ecl-acclimation
9684 (sbcl-package->ecl-package sbcl-acclimation))
9685
2ff8b5ba 9686(define-public sbcl-clump
ba1727b0
PN
9687 (let ((commit "1ea4dbac1cb86713acff9ae58727dd187d21048a"))
9688 (package
2ff8b5ba 9689 (name "sbcl-clump")
ba1727b0
PN
9690 (version (git-version "0.0.0" "1" commit))
9691 (source
9692 (origin
9693 (method git-fetch)
9694 (uri (git-reference
9695 (url "https://github.com/robert-strandh/Clump")
9696 (commit commit)))
9697 (file-name (git-file-name name version))
9698 (sha256
9699 (base32
9700 "1639msyagsswj85gc0wd90jgh8588j3qg5q70by9s2brf2q6w4lh"))))
ba1727b0
PN
9701 (inputs
9702 `(("acclimation" ,sbcl-acclimation)))
9703 (build-system asdf-build-system/sbcl)
9704 (home-page "https://github.com/robert-strandh/Clump")
2ff8b5ba 9705 (synopsis "Collection of tree implementations for Common Lisp")
ba1727b0
PN
9706 (description "The purpose of this library is to provide a collection of
9707implementations of trees.
9708
9709In contrast to existing libraries such as cl-containers, it does not impose a
9710particular use for the trees. Instead, it aims for a stratified design,
9711allowing client code to choose between different levels of abstraction.
9712
9713As a consequence of this policy, low-level interfaces are provided where
9714the concrete representation is exposed, but also high level interfaces
9715where the trees can be used as search trees or as trees that represent
9716sequences of objects.")
9717 (license license:bsd-2))))
106354ea 9718
409fcee9
PN
9719(define-public cl-clump
9720 (sbcl-package->cl-source-package sbcl-clump))
19a1a98f 9721
e7cbcf5a
GLV
9722(define-public ecl-clump
9723 (sbcl-package->ecl-package sbcl-clump))
9724
2ff8b5ba 9725(define-public sbcl-cluffer
19a1a98f
PN
9726 (let ((commit "4aad29c276a58a593064e79972ee4d77cae0af4a"))
9727 (package
2ff8b5ba 9728 (name "sbcl-cluffer")
19a1a98f
PN
9729 (version (git-version "0.0.0" "1" commit))
9730 (source
9731 (origin
9732 (method git-fetch)
9733 (uri (git-reference
9734 (url "https://github.com/robert-strandh/cluffer")
9735 (commit commit)))
9736 (file-name (git-file-name name version))
9737 (sha256
9738 (base32
9739 "1bcg13g7qb3dr8z50aihdjqa6miz5ivlc9wsj2csgv1km1mak2kj"))))
19a1a98f 9740 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
9741 (inputs
9742 `(("acclimation" ,sbcl-acclimation)
9743 ("clump" ,sbcl-clump)))
19a1a98f
PN
9744 (home-page "https://github.com/robert-strandh/cluffer")
9745 (synopsis "Common Lisp library providing a protocol for text-editor buffers")
9746 (description "Cluffer is a library for representing the buffer of a text
9747editor. As such, it defines a set of CLOS protocols for client code to
9748interact with the buffer contents in various ways, and it supplies different
9749implementations of those protocols for different purposes.")
9750 (license license:bsd-2))))
a4a24f66 9751
89c98c06
PN
9752(define-public cl-cluffer
9753 (sbcl-package->cl-source-package sbcl-cluffer))
8f1ab4fb 9754
e7cbcf5a
GLV
9755(define-public ecl-cluffer
9756 (sbcl-package->ecl-package sbcl-cluffer))
9757
8f1ab4fb
GLV
9758(define-public sbcl-cl-libsvm-format
9759 (let ((commit "3300f84fd8d9f5beafc114f543f9d83417c742fb")
9760 (revision "0"))
9761 (package
9762 (name "sbcl-cl-libsvm-format")
9763 (version (git-version "0.1.0" revision commit))
9764 (source
9765 (origin
9766 (method git-fetch)
9767 (uri (git-reference
b0e7b699 9768 (url "https://github.com/masatoi/cl-libsvm-format")
8f1ab4fb
GLV
9769 (commit commit)))
9770 (file-name (git-file-name name version))
9771 (sha256
9772 (base32
9773 "0284aj84xszhkhlivaigf9qj855fxad3mzmv3zfr0qzb5k0nzwrg"))))
9774 (build-system asdf-build-system/sbcl)
9775 (native-inputs
2ff8b5ba 9776 `(("prove" ,sbcl-prove)))
8f1ab4fb
GLV
9777 (inputs
9778 `(("alexandria" ,sbcl-alexandria)))
9779 (synopsis "LibSVM data format reader for Common Lisp")
9780 (description
9781 "This Common Lisp library provides a fast reader for data in LibSVM
9782format.")
9783 (home-page "https://github.com/masatoi/cl-libsvm-format")
9784 (license license:expat))))
9785
9786(define-public cl-libsvm-format
9787 (sbcl-package->cl-source-package sbcl-cl-libsvm-format))
9788
9789(define-public ecl-cl-libsvm-format
9790 (sbcl-package->ecl-package sbcl-cl-libsvm-format))
9791
9792(define-public sbcl-cl-online-learning
9793 (let ((commit "fc7a34f4f161cd1c7dd747d2ed8f698947781423")
9794 (revision "0"))
9795 (package
9796 (name "sbcl-cl-online-learning")
9797 (version (git-version "0.5" revision commit))
9798 (source
9799 (origin
9800 (method git-fetch)
9801 (uri (git-reference
b0e7b699 9802 (url "https://github.com/masatoi/cl-online-learning")
8f1ab4fb
GLV
9803 (commit commit)))
9804 (file-name (git-file-name name version))
9805 (sha256
9806 (base32
9807 "14x95rlg80ay5hv645ki57pqvy12v28hz4k1w0f6bsfi2rmpxchq"))))
9808 (build-system asdf-build-system/sbcl)
9809 (native-inputs
2ff8b5ba 9810 `(("prove" ,sbcl-prove)))
8f1ab4fb
GLV
9811 (inputs
9812 `(("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9813 ("cl-store" ,sbcl-cl-store)))
9814 (arguments
9815 `(;; FIXME: Tests pass but then the check phase crashes
9816 #:tests? #f))
9817 (synopsis "Online Machine Learning for Common Lisp")
9818 (description
9819 "This library contains a collection of machine learning algorithms for
9820online linear classification written in Common Lisp.")
9821 (home-page "https://github.com/masatoi/cl-online-learning")
9822 (license license:expat))))
9823
9824(define-public cl-online-learning
9825 (sbcl-package->cl-source-package sbcl-cl-online-learning))
9826
9827(define-public ecl-cl-online-learning
9828 (sbcl-package->ecl-package sbcl-cl-online-learning))
9829
9830(define-public sbcl-cl-random-forest
4e7d5e32
GLV
9831 (let ((commit "fedb36ce99bb6f4d7e3a7dd6d8b058f331308f91")
9832 (revision "1"))
8f1ab4fb
GLV
9833 (package
9834 (name "sbcl-cl-random-forest")
9835 (version (git-version "0.1" revision commit))
9836 (source
9837 (origin
9838 (method git-fetch)
9839 (uri (git-reference
b0e7b699 9840 (url "https://github.com/masatoi/cl-random-forest")
8f1ab4fb
GLV
9841 (commit commit)))
9842 (file-name (git-file-name name version))
9843 (sha256
9844 (base32
4e7d5e32 9845 "0wqh4dxy5hrvm14jgyfypwhdw35f24rsksid4blz5a6l2z16rlmq"))))
8f1ab4fb
GLV
9846 (build-system asdf-build-system/sbcl)
9847 (native-inputs
9848 `(("prove" ,sbcl-prove)
8f1ab4fb
GLV
9849 ("trivial-garbage" ,sbcl-trivial-garbage)))
9850 (inputs
9851 `(("alexandria" ,sbcl-alexandria)
9852 ("cl-libsvm-format" ,sbcl-cl-libsvm-format)
9853 ("cl-online-learning" ,sbcl-cl-online-learning)
9854 ("lparallel" ,sbcl-lparallel)))
9855 (arguments
9856 `(#:tests? #f)) ; The tests download data from the Internet
9857 (synopsis "Random Forest and Global Refinement for Common Lisp")
9858 (description
9859 "CL-random-forest is an implementation of Random Forest for multiclass
9860classification and univariate regression written in Common Lisp. It also
9861includes an implementation of Global Refinement of Random Forest.")
9862 (home-page "https://github.com/masatoi/cl-random-forest")
9863 (license license:expat))))
9864
9865(define-public cl-random-forest
9866 (sbcl-package->cl-source-package sbcl-cl-random-forest))
9867
9868(define-public ecl-cl-random-forest
9869 (sbcl-package->ecl-package sbcl-cl-random-forest))
5a2997e5
GLV
9870
9871(define-public sbcl-bordeaux-fft
9872 (let ((commit "4a1f5600cae59bdabcb32de4ee2d7d73a9450d6e")
9873 (revision "0"))
9874 (package
9875 (name "sbcl-bordeaux-fft")
9876 (version (git-version "1.0.1" revision commit))
9877 (source
9878 (origin
9879 (method git-fetch)
9880 (uri (git-reference
b0e7b699 9881 (url "https://github.com/ahefner/bordeaux-fft")
5a2997e5
GLV
9882 (commit commit)))
9883 (file-name (git-file-name name version))
9884 (sha256
9885 (base32 "0j584w6kq2k6r8lp2i14f9605rxhp3r15s33xs08iz1pndn6iwqf"))))
9886 (build-system asdf-build-system/sbcl)
9887 (home-page "http://vintage-digital.com/hefner/software/bordeaux-fft/")
9888 (synopsis "Fast Fourier Transform for Common Lisp")
9889 (description
9890 "The Bordeaux-FFT library provides a reasonably efficient implementation
9891of the Fast Fourier Transform and its inverse for complex-valued inputs, in
9892portable Common Lisp.")
9893 (license license:gpl2+))))
9894
9895(define-public cl-bordeaux-fft
9896 (sbcl-package->cl-source-package sbcl-bordeaux-fft))
9897
9898(define-public ecl-bordeaux-fft
9899 (sbcl-package->ecl-package sbcl-bordeaux-fft))
c7ce30cd
GLV
9900
9901(define-public sbcl-napa-fft3
9902 (let ((commit "f2d9614c7167da327c9ceebefb04ff6eae2d2236")
9903 (revision "0"))
9904 (package
9905 (name "sbcl-napa-fft3")
9906 (version (git-version "0.0.1" revision commit))
9907 (source
9908 (origin
9909 (method git-fetch)
9910 (uri (git-reference
b0e7b699 9911 (url "https://github.com/pkhuong/Napa-FFT3")
c7ce30cd
GLV
9912 (commit commit)))
9913 (file-name (git-file-name name version))
9914 (sha256
9915 (base32 "1hxjf599xgwm28gbryy7q96j9ys6hfszmv0qxpr5698hxnhknscp"))))
9916 (build-system asdf-build-system/sbcl)
9917 (home-page "https://github.com/pkhuong/Napa-FFT3")
9918 (synopsis "Fast Fourier Transform routines in Common Lisp")
9919 (description
9920 "Napa-FFT3 provides Discrete Fourier Transform (DFT) routines, but also
9921buildings blocks to express common operations that involve DFTs: filtering,
9922convolutions, etc.")
9923 (license license:bsd-3))))
9924
9925(define-public cl-napa-fft3
9926 (sbcl-package->cl-source-package sbcl-napa-fft3))
2020a056
GLV
9927
9928(define-public sbcl-cl-tga
9929 (let ((commit "4dc2f7b8a259b9360862306640a07a23d4afaacc")
9930 (revision "0"))
9931 (package
9932 (name "sbcl-cl-tga")
9933 (version (git-version "0.0.0" revision commit))
9934 (source
9935 (origin
9936 (method git-fetch)
9937 (uri (git-reference
9938 (url "https://github.com/fisxoj/cl-tga")
9939 (commit commit)))
9940 (file-name (git-file-name name version))
9941 (sha256
9942 (base32 "03k3npmn0xd3fd2m7vwxph82av2xrfb150imqrinlzqmzvz1v1br"))))
9943 (build-system asdf-build-system/sbcl)
9944 (home-page "https://github.com/fisxoj/cl-tga")
9945 (synopsis "TGA file loader for Common Lisp")
9946 (description
9947 "Cl-tga was written to facilitate loading @emph{.tga} files into OpenGL
9948programs. It's a very simple library, and, at the moment, only supports
9949non-RLE encoded forms of the files.")
9950 (license license:expat))))
9951
9952(define-public cl-tga
9953 (sbcl-package->cl-source-package sbcl-cl-tga))
9954
9955(define-public ecl-cl-tga
9956 (sbcl-package->ecl-package sbcl-cl-tga))
31c67a85
GLV
9957
9958(define-public sbcl-com.gigamonkeys.binary-data
9959 (let ((commit "22e908976d7f3e2318b7168909f911b4a00963ee")
9960 (revision "0"))
9961 (package
9962 (name "sbcl-com.gigamonkeys.binary-data")
9963 (version (git-version "0.0.0" revision commit))
9964 (source
9965 (origin
9966 (method git-fetch)
9967 (uri (git-reference
9968 (url "https://github.com/gigamonkey/monkeylib-binary-data")
9969 (commit commit)))
9970 (file-name (git-file-name name version))
9971 (sha256
9972 (base32 "072v417vmcnvmyh8ddq9vmwwrizm7zwz9dpzi14qy9nsw8q649zw"))))
9973 (build-system asdf-build-system/sbcl)
9974 (inputs
9975 `(("alexandria" ,sbcl-alexandria)))
9976 (home-page "https://github.com/gigamonkey/monkeylib-binary-data")
9977 (synopsis "Common Lisp library for reading and writing binary data")
9978 (description
9979 "This a Common Lisp library for reading and writing binary data. It is
9980based on code from chapter 24 of the book @emph{Practical Common Lisp}.")
9981 (license license:bsd-3))))
9982
9983(define-public cl-com.gigamonkeys.binary-data
9984 (sbcl-package->cl-source-package sbcl-com.gigamonkeys.binary-data))
9985
9986(define-public ecl-com.gigamonkeys.binary-data
9987 (sbcl-package->ecl-package sbcl-com.gigamonkeys.binary-data))
556daf64
GLV
9988
9989(define-public sbcl-deflate
9990 (package
9991 (name "sbcl-deflate")
9992 (version "1.0.3")
9993 (source
9994 (origin
9995 (method git-fetch)
9996 (uri (git-reference
9997 (url "https://github.com/pmai/Deflate")
9998 (commit (string-append "release-" version))))
9999 (file-name (git-file-name name version))
10000 (sha256
10001 (base32 "1jpdjnxh6cw2d8hk70r2sxn92is52s9b855irvwkdd777fdciids"))))
10002 (build-system asdf-build-system/sbcl)
10003 (home-page "https://github.com/pmai/Deflate")
10004 (synopsis "Native deflate decompression for Common Lisp")
10005 (description
10006 "This library is an implementation of Deflate (RFC 1951) decompression,
10007with optional support for ZLIB-style (RFC 1950) and gzip-style (RFC 1952)
10008wrappers of deflate streams. It currently does not handle compression.")
10009 (license license:expat)))
10010
10011(define-public cl-deflate
10012 (sbcl-package->cl-source-package sbcl-deflate))
10013
10014(define-public ecl-deflate
10015 (sbcl-package->ecl-package sbcl-deflate))
7387c090
GLV
10016
10017(define-public sbcl-skippy
10018 (let ((commit "e456210202ca702c792292c5060a264d45e47090")
10019 (revision "0"))
10020 (package
10021 (name "sbcl-skippy")
10022 (version (git-version "1.3.12" revision commit))
10023 (source
10024 (origin
10025 (method git-fetch)
10026 (uri (git-reference
10027 (url "https://github.com/xach/skippy")
10028 (commit commit)))
10029 (file-name (git-file-name name version))
10030 (sha256
10031 (base32 "1sxbn5nh24qpx9w64x8mhp259cxcl1x8p126wk3b91ijjsj7l5vj"))))
10032 (build-system asdf-build-system/sbcl)
10033 (home-page "https://xach.com/lisp/skippy/")
10034 (synopsis "Common Lisp library for GIF images")
10035 (description
10036 "Skippy is a Common Lisp library to read and write GIF image files.")
10037 (license license:bsd-2))))
10038
10039(define-public cl-skippy
10040 (sbcl-package->cl-source-package sbcl-skippy))
10041
10042(define-public ecl-skippy
10043 (sbcl-package->ecl-package sbcl-skippy))
ec2c73b8
GLV
10044
10045(define-public sbcl-cl-freetype2
10046 (let ((commit "96058da730b4812df916c1f4ee18c99b3b15a3de")
10047 (revision "0"))
10048 (package
10049 (name "sbcl-cl-freetype2")
10050 (version (git-version "1.1" revision commit))
10051 (source
10052 (origin
10053 (method git-fetch)
10054 (uri (git-reference
10055 (url "https://github.com/rpav/cl-freetype2")
10056 (commit commit)))
10057 (file-name (git-file-name name version))
10058 (sha256
10059 (base32 "0f8darhairgxnb5bzqcny7nh7ss3471bdzix5rzcyiwdbr5kymjl"))))
10060 (build-system asdf-build-system/sbcl)
10061 (native-inputs
10062 `(("fiveam" ,sbcl-fiveam)))
10063 (inputs
10064 `(("alexandria" ,sbcl-alexandria)
10065 ("cffi" ,sbcl-cffi)
ec2c73b8
GLV
10066 ("freetype" ,freetype)
10067 ("trivial-garbage" ,sbcl-trivial-garbage)))
10068 (arguments
10069 `(#:phases
10070 (modify-phases %standard-phases
10071 (add-after 'unpack 'fix-paths
10072 (lambda* (#:key inputs #:allow-other-keys)
10073 (substitute* "src/ffi/ft2-lib.lisp"
10074 (("\"libfreetype\"")
10075 (string-append "\"" (assoc-ref inputs "freetype")
10076 "/lib/libfreetype\"")))
10077 (substitute* "src/ffi/grovel/grovel-freetype2.lisp"
10078 (("-I/usr/include/freetype")
10079 (string-append "-I" (assoc-ref inputs "freetype")
10080 "/include/freetype")))
10081 #t)))))
10082 (home-page "https://github.com/rpav/cl-freetype2")
10083 (synopsis "Common Lisp bindings for Freetype 2")
10084 (description
10085 "This is a general Freetype 2 wrapper for Common Lisp using CFFI. It's
10086geared toward both using Freetype directly by providing a simplified API, as
10087well as providing access to the underlying C structures and functions for use
10088with other libraries which may also use Freetype.")
10089 (license license:bsd-3))))
10090
10091(define-public cl-freetype2
10092 (sbcl-package->cl-source-package sbcl-cl-freetype2))
10093
10094(define-public ecl-cl-freetype2
10095 (sbcl-package->ecl-package sbcl-cl-freetype2))
fc748ff0
GLV
10096
10097(define-public sbcl-opticl-core
10098 (let ((commit "b7cd13d26df6b824b216fbc360dc27bfadf04999")
10099 (revision "0"))
10100 (package
10101 (name "sbcl-opticl-core")
10102 (version (git-version "0.0.0" revision commit))
10103 (source
10104 (origin
10105 (method git-fetch)
10106 (uri (git-reference
10107 (url "https://github.com/slyrus/opticl-core")
10108 (commit commit)))
10109 (file-name (git-file-name name version))
10110 (sha256
10111 (base32 "0458bllabcdjghfrqx6aki49c9qmvfmkk8jl75cfpi7q0i12kh95"))))
10112 (build-system asdf-build-system/sbcl)
10113 (inputs
10114 `(("alexandria" ,sbcl-alexandria)))
10115 (home-page "https://github.com/slyrus/opticl-core")
10116 (synopsis "Core classes and pixel access macros for Opticl")
10117 (description
10118 "This Common Lisp library contains the core classes and pixel access
10119macros for the Opticl image processing library.")
10120 (license license:bsd-2))))
10121
10122(define-public cl-opticl-core
10123 (sbcl-package->cl-source-package sbcl-opticl-core))
10124
10125(define-public ecl-opticl-core
10126 (sbcl-package->ecl-package sbcl-opticl-core))
1c1b0532
GLV
10127
10128(define-public sbcl-retrospectiff
10129 (let ((commit "c2a69d77d5010f8cdd9045b3e36a08a73da5d321")
10130 (revision "0"))
10131 (package
10132 (name "sbcl-retrospectiff")
10133 (version (git-version "0.2" revision commit))
10134 (source
10135 (origin
10136 (method git-fetch)
10137 (uri (git-reference
10138 (url "https://github.com/slyrus/retrospectiff")
10139 (commit commit)))
10140 (file-name (git-file-name name version))
10141 (sha256
10142 (base32 "0qsn9hpd8j2kp43dk05j8dczz9zppdff5rrclbp45n3ksk9inw8i"))))
10143 (build-system asdf-build-system/sbcl)
10144 (native-inputs
10145 `(("fiveam" ,sbcl-fiveam)))
10146 (inputs
10147 `(("cl-jpeg" ,sbcl-cl-jpeg)
10148 ("com.gigamonkeys.binary-data" ,sbcl-com.gigamonkeys.binary-data)
10149 ("deflate" ,sbcl-deflate)
10150 ("flexi-streams" ,sbcl-flexi-streams)
10151 ("ieee-floats" ,sbcl-ieee-floats)
10152 ("opticl-core" ,sbcl-opticl-core)))
10153 (home-page "https://github.com/slyrus/retrospectiff")
10154 (synopsis "Common Lisp library for TIFF images")
10155 (description
10156 "Retrospectiff is a common lisp library for reading and writing images
10157in the TIFF (Tagged Image File Format) format.")
10158 (license license:bsd-2))))
10159
2ff8b5ba
GLV
10160(define-public cl-retrospectif
10161 (sbcl-package->cl-source-package sbcl-retrospectiff))
b0e7bc35 10162
2ff8b5ba
GLV
10163(define-public ecl-retrospectiff
10164 (sbcl-package->ecl-package sbcl-retrospectiff))
b736e9ba 10165
2ff8b5ba
GLV
10166(define-public sbcl-mmap
10167 (let ((commit "ba2e98c67e25f0fb8ff838238561120a23903ce7")
b736e9ba
GLV
10168 (revision "0"))
10169 (package
2ff8b5ba
GLV
10170 (name "sbcl-mmap")
10171 (version (git-version "1.0.0" revision commit))
b736e9ba
GLV
10172 (source
10173 (origin
10174 (method git-fetch)
10175 (uri (git-reference
2ff8b5ba 10176 (url "https://github.com/Shinmera/mmap")
b736e9ba
GLV
10177 (commit commit)))
10178 (file-name (git-file-name name version))
10179 (sha256
2ff8b5ba 10180 (base32 "0qd0xp20i1pcfn12kkapv9pirb6hd4ns7kz4zf1mmjwykpsln96q"))))
b736e9ba
GLV
10181 (build-system asdf-build-system/sbcl)
10182 (native-inputs
b736e9ba 10183 `(("alexandria" ,sbcl-alexandria)
2ff8b5ba
GLV
10184 ("cffi" ,sbcl-cffi)
10185 ("parachute" ,sbcl-parachute)
10186 ("trivial-features" ,sbcl-trivial-features)))
10187 (inputs
10188 `(("cffi" ,sbcl-cffi)
10189 ("documentation-utils" ,sbcl-documentation-utils)))
10190 (home-page "https://shinmera.github.io/mmap/")
10191 (synopsis "File memory mapping for Common Lisp")
b736e9ba 10192 (description
2ff8b5ba
GLV
10193 "This is a utility library providing access to the @emph{mmap} family of
10194functions in a portable way. It allows you to directly map a file into the
10195address space of your process without having to manually read it into memory
10196sequentially. Typically this is much more efficient for files that are larger
10197than a few Kb.")
10198 (license license:zlib))))
b736e9ba 10199
2ff8b5ba
GLV
10200(define-public cl-mmap
10201 (sbcl-package->cl-source-package sbcl-mmap))
d0a6906d 10202
2ff8b5ba
GLV
10203(define-public ecl-mmap
10204 (sbcl-package->ecl-package sbcl-mmap))
10205
10206(define-public sbcl-3bz
10207 (let ((commit "d6119083b5e0b0a6dd3abc2877936c51f3f3deed")
d0a6906d
GLV
10208 (revision "0"))
10209 (package
2ff8b5ba
GLV
10210 (name "sbcl-3bz")
10211 (version (git-version "0.0.0" revision commit))
d0a6906d
GLV
10212 (source
10213 (origin
10214 (method git-fetch)
10215 (uri (git-reference
2ff8b5ba 10216 (url "https://github.com/3b/3bz")
d0a6906d
GLV
10217 (commit commit)))
10218 (file-name (git-file-name name version))
10219 (sha256
2ff8b5ba 10220 (base32 "0fyxzyf2b6sc0w8d9g4nlva861565z6f3xszj0lw29x526dd9rhj"))))
d0a6906d
GLV
10221 (build-system asdf-build-system/sbcl)
10222 (inputs
10223 `(("alexandria" ,sbcl-alexandria)
2ff8b5ba
GLV
10224 ("babel" ,sbcl-babel)
10225 ("cffi" ,sbcl-cffi)
10226 ("mmap" ,sbcl-mmap)
10227 ("nibbles" ,sbcl-nibbles)
10228 ("trivial-features" ,sbcl-trivial-features)))
10229 (arguments
10230 ;; FIXME: Without the following line, the build fails (see issue 41437).
10231 `(#:asd-systems '("3bz")))
10232 (home-page "https://github.com/3b/3bz")
10233 (synopsis "Deflate decompression for Common Lisp")
d0a6906d 10234 (description
2ff8b5ba
GLV
10235 "3bz is an implementation of Deflate decompression (RFC 1951) optionally
10236with zlib (RFC 1950) or gzip (RFC 1952) wrappers, with support for reading from
10237foreign pointers (for use with mmap and similar, etc), and from CL octet
10238vectors and streams.")
10239 (license license:expat))))
1a1b584b 10240
2ff8b5ba
GLV
10241(define-public cl-3bz
10242 (sbcl-package->cl-source-package sbcl-3bz))
efa88f90 10243
2ff8b5ba
GLV
10244(define-public ecl-3bz
10245 (sbcl-package->ecl-package sbcl-3bz))
9757de5d 10246
2ff8b5ba 10247(define-public sbcl-zpb-exif
9757de5d 10248 (package
2ff8b5ba
GLV
10249 (name "sbcl-zpb-exif")
10250 (version "1.2.4")
10251 (source
10252 (origin
10253 (method git-fetch)
10254 (uri (git-reference
10255 (url "https://github.com/xach/zpb-exif")
10256 (commit (string-append "release-" version))))
10257 (file-name (git-file-name name version))
10258 (sha256
10259 (base32 "15s227jhby55cisz14xafb0p1ws2jmrg2rrbbd00lrb97im84hy6"))))
10260 (build-system asdf-build-system/sbcl)
10261 (home-page "https://xach.com/lisp/zpb-exif/")
10262 (synopsis "EXIF information extractor for Common Lisp")
10263 (description
10264 "This is a Common Lisp library to extract EXIF information from image
10265files.")
10266 (license license:bsd-2)))
000ee6e5 10267
2ff8b5ba
GLV
10268(define-public cl-zpb-exif
10269 (sbcl-package->cl-source-package sbcl-zpb-exif))
d92e2649 10270
2ff8b5ba
GLV
10271(define-public ecl-zpb-exif
10272 (sbcl-package->ecl-package sbcl-zpb-exif))
c93bd9f8 10273
2ff8b5ba 10274(define-public sbcl-pngload
c93bd9f8 10275 (package
2ff8b5ba
GLV
10276 (name "sbcl-pngload")
10277 (version "2.0.0")
10278 (source
10279 (origin
10280 (method git-fetch)
10281 (uri (git-reference
10282 (url "https://github.com/bufferswap/pngload")
10283 (commit version)))
10284 (file-name (git-file-name name version))
10285 (sha256
10286 (base32 "1ix8dd0fxlf8xm0bszh1s7sx83hn0vqq8b8c9gkrd5m310w8mpvh"))))
10287 (build-system asdf-build-system/sbcl)
c93bd9f8 10288 (inputs
2ff8b5ba
GLV
10289 `(("3bz" ,sbcl-3bz)
10290 ("alexandria" ,sbcl-alexandria)
10291 ("cffi" ,sbcl-cffi)
10292 ("mmap" ,sbcl-mmap)
10293 ("parse-float" ,sbcl-parse-float)
10294 ("static-vectors" ,sbcl-static-vectors)
10295 ("swap-bytes" ,sbcl-swap-bytes)
10296 ("zpb-exif" ,sbcl-zpb-exif)))
c93bd9f8 10297 (arguments
2ff8b5ba
GLV
10298 ;; Test suite disabled because of a dependency cycle.
10299 ;; pngload tests depend on opticl which depends on pngload.
10300 '(#:tests? #f))
10301 (home-page "https://github.com/bufferswap/pngload")
10302 (synopsis "PNG image decoder for Common Lisp")
10303 (description
10304 "This is a Common Lisp library to load images in the PNG image format,
10305both from files on disk, or streams in memory.")
10306 (license license:expat)))
92da537c 10307
2ff8b5ba
GLV
10308(define-public cl-pngload
10309 (sbcl-package->cl-source-package sbcl-pngload))
5d2abf9f 10310
2ff8b5ba
GLV
10311(define-public ecl-pngload
10312 (sbcl-package->ecl-package sbcl-pngload))
e8875462 10313
2ff8b5ba
GLV
10314(define-public sbcl-opticl
10315 (let ((commit "e8684416eca2e78e82a7b436d436ef2ea24c019d")
10316 (revision "0"))
10317 (package
10318 (name "sbcl-opticl")
10319 (version (git-version "0.0.0" revision commit))
10320 (source
10321 (origin
10322 (method git-fetch)
10323 (uri (git-reference
10324 (url "https://github.com/slyrus/opticl")
10325 (commit commit)))
10326 (file-name (git-file-name name version))
10327 (sha256
10328 (base32 "03rirnnhhisjbimlmpi725h1d3x0cfv00r57988am873dyzawmm1"))))
10329 (build-system asdf-build-system/sbcl)
10330 (native-inputs
10331 `(("fiveam" ,sbcl-fiveam)))
10332 (inputs
10333 `(("alexandria" ,sbcl-alexandria)
10334 ("cl-jpeg" ,sbcl-cl-jpeg)
10335 ("cl-tga" ,sbcl-cl-tga)
10336 ("png-read" ,sbcl-png-read)
10337 ("pngload" ,sbcl-pngload)
10338 ("retrospectiff" ,sbcl-retrospectiff)
10339 ("skippy" ,sbcl-skippy)
10340 ("zpng" ,sbcl-zpng)))
3f8bbf7c
GLV
10341 (arguments
10342 '(#:asd-files '("opticl.asd")))
2ff8b5ba
GLV
10343 (home-page "https://github.com/slyrus/opticl")
10344 (synopsis "Image processing library for Common Lisp")
10345 (description
10346 "Opticl is a Common Lisp library for representing, processing, loading,
10347and saving 2-dimensional pixel-based images.")
10348 (license license:bsd-2))))
8e0e7f35 10349
2ff8b5ba
GLV
10350(define-public cl-opticl
10351 (sbcl-package->cl-source-package sbcl-opticl))
8afd2d10 10352
e7cbcf5a
GLV
10353(define-public ecl-opticl
10354 (sbcl-package->ecl-package sbcl-opticl))
10355
8afd2d10 10356(define-public sbcl-mcclim
2ff8b5ba
GLV
10357 (let ((commit "27b4d7a667c9b3faa74cabcb57706b888314fff7")
10358 (revision "0"))
0f935e95 10359 (package
2ff8b5ba
GLV
10360 (name "sbcl-mcclim")
10361 (version (git-version "0.9.7" revision commit))
10362 (source
10363 (origin
10364 (method git-fetch)
10365 (uri (git-reference
10366 (url "https://github.com/mcclim/mcclim")
10367 (commit commit)))
10368 (file-name (git-file-name name version))
10369 (sha256
10370 (base32 "0jijfgkwas6xnpp5wiii6slcx9pgsalngacb8zm29x6pamx2193h"))))
10371 (build-system asdf-build-system/sbcl)
0f935e95 10372 (native-inputs
2ff8b5ba 10373 `(("fiveam" ,sbcl-fiveam)
0f935e95
GLV
10374 ("pkg-config" ,pkg-config)))
10375 (inputs
2ff8b5ba
GLV
10376 `(("alexandria" ,sbcl-alexandria)
10377 ("babel" ,sbcl-babel)
10378 ("bordeaux-threads" ,sbcl-bordeaux-threads)
10379 ("cl-freetype2" ,sbcl-cl-freetype2)
10380 ("cl-pdf" ,sbcl-cl-pdf)
10381 ("cffi" ,sbcl-cffi)
10382 ("cl-unicode" ,sbcl-cl-unicode)
10383 ("cl-vectors" ,sbcl-cl-vectors)
10384 ("closer-mop" ,sbcl-closer-mop)
10385 ("clx" ,sbcl-clx)
10386 ("flexi-streams" ,sbcl-flexi-streams)
10387 ("flexichain" ,sbcl-flexichain)
10388 ("font-dejavu" ,font-dejavu)
0f935e95
GLV
10389 ("fontconfig" ,fontconfig)
10390 ("freetype" ,freetype)
10391 ("harfbuzz" ,harfbuzz)
2ff8b5ba
GLV
10392 ("log4cl" ,sbcl-log4cl)
10393 ("opticl" ,sbcl-opticl)
10394 ("spatial-trees" ,sbcl-spatial-trees)
10395 ("swank" ,sbcl-slime-swank)
10396 ("trivial-features" ,sbcl-trivial-features)
10397 ("trivial-garbage" ,sbcl-trivial-garbage)
10398 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
10399 ("zpb-ttf" ,sbcl-zpb-ttf)))
10400 (arguments
3f8bbf7c 10401 '(#:asd-systems '("mcclim"
2ff8b5ba
GLV
10402 "clim-examples")
10403 #:phases
10404 (modify-phases %standard-phases
10405 (add-after 'unpack 'fix-paths
10406 (lambda* (#:key inputs #:allow-other-keys)
10407 ;; mcclim-truetype uses DejaVu as default font and
10408 ;; sets the path at build time.
10409 (substitute* "Extensions/fonts/fontconfig.lisp"
10410 (("/usr/share/fonts/truetype/dejavu/")
10411 (string-append (assoc-ref inputs "font-dejavu")
10412 "/share/fonts/truetype/")))
10413 (substitute* "Extensions/fontconfig/src/functions.lisp"
10414 (("libfontconfig\\.so")
10415 (string-append (assoc-ref inputs "fontconfig")
10416 "/lib/libfontconfig.so")))
10417 (substitute* "Extensions/harfbuzz/src/functions.lisp"
10418 (("libharfbuzz\\.so")
10419 (string-append (assoc-ref inputs "harfbuzz")
10420 "/lib/libharfbuzz.so")))
10421 #t))
10422 (add-after 'unpack 'fix-build
10423 (lambda _
10424 ;; The cffi-grovel system does not get loaded automatically,
10425 ;; so we load it explicitly.
10426 (substitute* "Extensions/fontconfig/mcclim-fontconfig.asd"
10427 (("\\(asdf:defsystem #:mcclim-fontconfig" all)
10428 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10429 (substitute* "Extensions/harfbuzz/mcclim-harfbuzz.asd"
10430 (("\\(asdf:defsystem #:mcclim-harfbuzz" all)
10431 (string-append "(asdf:load-system :cffi-grovel)\n" all)))
10432 #t)))))
10433 (home-page "https://common-lisp.net/project/mcclim/")
10434 (synopsis "Common Lisp GUI toolkit")
10435 (description
10436 "McCLIM is an implementation of the @emph{Common Lisp Interface Manager
10437specification}, a toolkit for writing GUIs in Common Lisp.")
10438 (license license:lgpl2.1+))))
300b683f 10439
2ff8b5ba
GLV
10440(define-public cl-mcclim
10441 (sbcl-package->cl-source-package sbcl-mcclim))
4daa1218 10442
e7cbcf5a
GLV
10443(define-public ecl-mcclim
10444 (sbcl-package->ecl-package sbcl-mcclim))
10445
de681bdb
AK
10446(define-public sbcl-cl-inflector
10447 (let ((commit "f1ab16919ccce3bd82a0042677d9616dde2034fe")
10448 (revision "1"))
10449 (package
10450 (name "sbcl-cl-inflector")
10451 (version (git-version "0.2" revision commit))
10452 (source
10453 (origin
10454 (method git-fetch)
10455 (uri (git-reference
10456 (url "https://github.com/AccelerationNet/cl-inflector")
10457 (commit commit)))
10458 (file-name (git-file-name name version))
10459 (sha256
10460 (base32 "1xwwlhik1la4fp984qnx2dqq24v012qv4x0y49sngfpwg7n0ya7y"))))
10461 (build-system asdf-build-system/sbcl)
10462 (native-inputs
10463 `(("lisp-unit2" ,sbcl-lisp-unit2)))
10464 (inputs
10465 `(("alexandria" ,sbcl-alexandria)
10466 ("cl-ppcre" ,sbcl-cl-ppcre)))
10467 (home-page "https://github.com/AccelerationNet/cl-inflector")
10468 (synopsis "Library to pluralize/singularize English and Portuguese words")
10469 (description
10470 "This is a common lisp library to easily pluralize and singularize
10471English and Portuguese words. This is a port of the ruby ActiveSupport
10472Inflector module.")
10473 (license license:expat))))
10474
10475(define-public cl-inflector
10476 (sbcl-package->cl-source-package sbcl-cl-inflector))
10477
10478(define-public ecl-cl-inflector
10479 (sbcl-package->ecl-package sbcl-cl-inflector))
a05edef2
AK
10480
10481(define-public sbcl-qbase64
10482 (package
10483 (name "sbcl-qbase64")
10484 (version "0.3.0")
10485 (source
10486 (origin
10487 (method git-fetch)
10488 (uri (git-reference
10489 (url "https://github.com/chaitanyagupta/qbase64")
10490 (commit version)))
10491 (file-name (git-file-name name version))
10492 (sha256
10493 (base32 "1dir0s70ca3hagxv9x15zq4p4ajgl7jrcgqsza2n2y7iqbxh0dwi"))))
10494 (build-system asdf-build-system/sbcl)
10495 (inputs
10496 `(("metabang-bind" ,sbcl-metabang-bind)
10497 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
10498 (native-inputs
10499 `(("fiveam" ,sbcl-fiveam)))
10500 (home-page "https://github.com/chaitanyagupta/qbase64")
10501 (synopsis "Base64 encoder and decoder for Common Lisp")
10502 (description "@code{qbase64} provides a fast and flexible base64 encoder
10503and decoder for Common Lisp.")
10504 (license license:bsd-3)))
10505
10506(define-public cl-qbase64
10507 (sbcl-package->cl-source-package sbcl-qbase64))
10508
10509(define-public ecl-qbase64
10510 (sbcl-package->ecl-package sbcl-qbase64))
635e8b07 10511
ebabcf23
PN
10512(define-public sbcl-lw-compat
10513 ;; No release since 2013.
10514 (let ((commit "aabfe28c6c1a4949f9d7b3cb30319367c9fd1c0d"))
10515 (package
10516 (name "sbcl-lw-compat")
10517 (version (git-version "1.0.0" "1" commit))
10518 (source
10519 (origin
10520 (method git-fetch)
10521 (uri (git-reference
10522 (url "https://github.com/pcostanza/lw-compat/")
10523 (commit commit)))
10524 (file-name (git-file-name name version))
10525 (sha256
10526 (base32 "131rq5k2mlv9bfhmafiv6nfsivl4cxx13d9wr06v5jrqnckh4aav"))))
10527 (build-system asdf-build-system/sbcl)
10528 (home-page "https://github.com/pcostanza/lw-compat/")
10529 (synopsis "LispWorks utilities ported to other Common Lisp implementations")
10530 (description "This package contains a few utility functions from the
10531LispWorks library that are used in software such as ContextL.")
10532 (license license:expat))))
10533
10534(define-public cl-lw-compat
10535 (sbcl-package->cl-source-package sbcl-lw-compat))
10536
10537(define-public ecl-lw-compat
10538 (sbcl-package->ecl-package sbcl-lw-compat))
10539
94585fff
PN
10540(define-public sbcl-contextl
10541 ;; No release since 2013.
10542 (let ((commit "5d18a71a85824f6c25a9f35a21052f967b8b6bb9"))
10543 (package
10544 (name "sbcl-contextl")
10545 (version (git-version "1.0.0" "1" commit))
10546 (source
10547 (origin
10548 (method git-fetch)
10549 (uri (git-reference
10550 (url "https://github.com/pcostanza/contextl/")
10551 (commit commit)))
10552 (file-name (git-file-name name version))
10553 (sha256
10554 (base32 "0gk1izx6l6g48nypmnm9r6mzjx0jixqjj2kc6klf8a88rr5xd226"))))
10555 (build-system asdf-build-system/sbcl)
10556 (inputs
10557 `(("closer-mop" ,sbcl-closer-mop)
10558 ("lw-compat" ,sbcl-lw-compat)))
10559 (home-page "https://github.com/pcostanza/contextl")
10560 (synopsis "Context-oriented programming for Common Lisp")
10561 (description "ContextL is a CLOS extension for Context-Oriented
10562Programming (COP).
10563
10564Find overview of ContextL's features in an overview paper:
10565@url{http://www.p-cos.net/documents/contextl-soa.pdf}. See also this general
10566overview article about COP which also contains some ContextL examples:
10567@url{http://www.jot.fm/issues/issue_2008_03/article4/}.")
10568 (license license:expat))))
10569
10570(define-public cl-contextl
10571 (sbcl-package->cl-source-package sbcl-contextl))
10572
10573(define-public ecl-contextl
10574 (sbcl-package->ecl-package sbcl-contextl))
10575
635e8b07
PN
10576(define-public sbcl-hu.dwim.common-lisp
10577 (package
10578 (name "sbcl-hu.dwim.common-lisp")
10579 (version "2015-07-09")
10580 (source
10581 (origin
10582 (method url-fetch)
10583 (uri (string-append
10584 "http://beta.quicklisp.org/archive/hu.dwim.common-lisp/"
10585 version "/hu.dwim.common-lisp-"
10586 (string-replace-substring version "-" "")
10587 "-darcs.tgz"))
10588 (sha256
10589 (base32 "13cxrvh55rw080mvfir7s7k735l9rcfh3khxp97qfwd5rz0gadb9"))))
10590 (build-system asdf-build-system/sbcl)
10591 (native-inputs
10592 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10593 (home-page "http://dwim.hu/")
10594 (synopsis "Redefine some standard Common Lisp names")
10595 (description "This library is a redefinition of the standard Common Lisp
10596package that includes a number of renames and shadows. ")
10597 (license license:public-domain)))
10598
10599(define-public cl-hu.dwim.common-lisp
10600 (sbcl-package->cl-source-package sbcl-hu.dwim.common-lisp))
10601
10602(define-public ecl-hu.dwim.common-lisp
10603 (sbcl-package->ecl-package sbcl-hu.dwim.common-lisp))
89a3fec5
PN
10604
10605(define-public sbcl-hu.dwim.common
10606 (package
10607 (name "sbcl-hu.dwim.common")
10608 (version "2015-07-09")
10609 (source
10610 (origin
10611 (method url-fetch)
10612 (uri (string-append
10613 "http://beta.quicklisp.org/archive/hu.dwim.common/"
10614 version "/hu.dwim.common-"
10615 (string-replace-substring version "-" "")
10616 "-darcs.tgz"))
10617 (sha256
10618 (base32 "12l1rr6w9m99w0b5gc6hv58ainjfhbc588kz6vwshn4gqsxyzbhp"))))
10619 (build-system asdf-build-system/sbcl)
10620 (native-inputs
10621 `(("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10622 (inputs
10623 `(("alexandria" ,sbcl-alexandria)
10624 ("anaphora" ,sbcl-anaphora)
10625 ("closer-mop" ,sbcl-closer-mop)
10626 ("hu.dwim.common-lisp" ,sbcl-hu.dwim.common-lisp)
10627 ("iterate" ,sbcl-iterate)
10628 ("metabang-bind" ,sbcl-metabang-bind)))
10629 (home-page "http://dwim.hu/")
10630 (synopsis "Common Lisp library shared by other hu.dwim systems")
9e7b2658
PN
10631 (description "This package contains a support library for other
10632hu.dwim systems.")
89a3fec5
PN
10633 (license license:public-domain)))
10634
10635(define-public cl-hu.dwim.common
10636 (sbcl-package->cl-source-package sbcl-hu.dwim.common))
10637
10638(define-public ecl-hu.dwim.common
10639 (sbcl-package->ecl-package sbcl-hu.dwim.common))
ec3c3aa7
PN
10640
10641(define-public sbcl-hu.dwim.defclass-star
10642 (package
10643 (name "sbcl-hu.dwim.defclass-star")
10644 (version "2015-07-09")
10645 (source
10646 (origin
10647 (method url-fetch)
10648 (uri (string-append
10649 "http://beta.quicklisp.org/archive/hu.dwim.defclass-star/"
10650 version "/hu.dwim.defclass-star-"
10651 (string-replace-substring version "-" "")
10652 "-darcs.tgz"))
10653 (sha256
10654 (base32 "032982lyp0hm0ssxlyh572whi2hr4j1nqkyqlllaj373v0dbs3vs"))))
10655 (build-system asdf-build-system/sbcl)
10656 (native-inputs
10657 `(;; These 2 inputs are only needed tests which are disabled, see below.
10658 ;; ("hu.dwim.common" ,sbcl-hu.dwim.common)
10659 ;; Need cl- package for the :hu.dwim.stefil+hu.dwim.def+swank system.
10660 ;; ("hu.dwim.stefil" ,cl-hu.dwim.stefil)
10661 ("hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
10662 (arguments
10663 `(#:test-asd-file "hu.dwim.defclass-star.test.asd"
10664 ;; Tests require a circular dependency: hu.dwim.stefil -> hu.dwim.def
10665 ;; -> hu.dwim.util -> hu.dwim.defclass-star.
10666 #:tests? #f))
10667 (home-page "http://dwim.hu/?_x=dfxn&_f=mRIMfonK")
10668 (synopsis "Simplify definitions with defclass* and friends in Common Lisp")
10669 (description "@code{defclass-star} provides defclass* and defcondition* to
10670simplify class and condition declarations. Features include:
10671
10672@itemize
10673@item Automatically export all or select slots at compile time.
7230f6d5 10674@item Define the @code{:initarg} and @code{:accessor} automatically.
ec3c3aa7
PN
10675@item Specify a name transformer for both the @code{:initarg} and
10676@code{:accessor}, etc.
10677@item Specify the @code{:initform} as second slot value.
10678@end itemize
10679
10680See
10681@url{https://common-lisp.net/project/defclass-star/configuration.lisp.html}
10682for an example.")
10683 (license license:public-domain)))
10684
10685(define-public cl-hu.dwim.defclass-star
10686 (sbcl-package->cl-source-package sbcl-hu.dwim.defclass-star))
10687
10688(define-public ecl-hu.dwim.defclass-star
10689 (sbcl-package->ecl-package sbcl-hu.dwim.defclass-star))
ca7eada9
AK
10690
10691(define-public sbcl-livesupport
10692 (let ((commit "71e6e412df9f3759ad8378fabb203913d82e228a")
10693 (revision "1"))
10694 (package
10695 (name "sbcl-livesupport")
10696 (version (git-version "0.0.0" revision commit))
10697 (source
10698 (origin
10699 (method git-fetch)
10700 (uri (git-reference
10701 (url "https://github.com/cbaggers/livesupport")
10702 (commit commit)))
10703 (file-name (git-file-name name version))
10704 (sha256
10705 (base32 "1rvnl0mncylbx63608pz5llss7y92j7z3ydambk9mcnjg2mjaapg"))))
10706 (build-system asdf-build-system/sbcl)
10707 (home-page "https://github.com/cbaggers/livesupport")
10708 (synopsis "Some helpers that make livecoding a little easier")
10709 (description "This package provides a macro commonly used in livecoding to
10710enable continuing when errors are raised. Simply wrap around a chunk of code
10711and it provides a restart called @code{continue} which ignores the error and
10712carrys on from the end of the body.")
10713 (license license:bsd-2))))
10714
10715(define-public cl-livesupport
10716 (sbcl-package->cl-source-package sbcl-livesupport))
10717
10718(define-public ecl-livesupport
10719 (sbcl-package->ecl-package sbcl-livesupport))
bfa78462
PN
10720
10721(define-public sbcl-envy
10722 (let ((commit "956321b2852d58ba71c6fe621f5c2924178e9f88")
10723 (revision "1"))
10724 (package
10725 (name "sbcl-envy")
10726 (version (git-version "0.1" revision commit))
10727 (home-page "https://github.com/fukamachi/envy")
10728 (source
10729 (origin
10730 (method git-fetch)
10731 (uri (git-reference
10732 (url home-page)
10733 (commit commit)))
10734 (file-name (git-file-name name version))
10735 (sha256
10736 (base32 "17iwrfxcdinjbb2h6l09qf40s7xkbhrpmnljlwpjy8l8rll8h3vg"))))
10737 (build-system asdf-build-system/sbcl)
10738 ;; (native-inputs ; Only for tests.
10739 ;; `(("prove" ,sbcl-prove)
10740 ;; ("osicat" ,sbcl-osicat)))
10741 (arguments
10742 '(#:phases
10743 (modify-phases %standard-phases
10744 (add-after 'unpack 'fix-tests
10745 (lambda _
10746 (substitute* "envy-test.asd"
10747 (("cl-test-more") "prove"))
10748 #t)))
10749 ;; Tests fail with
10750 ;; Component ENVY-ASD::ENVY-TEST not found, required by #<SYSTEM "envy">
10751 ;; like xsubseq. Why?
10752 #:tests? #f))
10753 (synopsis "Common Lisp configuration switcher inspired by Perl's Config::ENV.")
10754 (description "Envy is a configuration manager for various applications.
10755Envy uses an environment variable to determine a configuration to use. This
10756can separate configuration system from an implementation.")
10757 (license license:bsd-2))))
10758
10759(define-public cl-envy
10760 (sbcl-package->cl-source-package sbcl-envy))
10761
10762(define-public ecl-envy
10763 (sbcl-package->ecl-package sbcl-envy))
f5e31b1d 10764
2ff8b5ba 10765(define-public sbcl-mito
f5e31b1d
PN
10766 (let ((commit "d3b9e375ef364a65692da2185085a08c969ac88a")
10767 (revision "1"))
10768 (package
2ff8b5ba 10769 (name "sbcl-mito")
f5e31b1d
PN
10770 (version (git-version "0.1" revision commit))
10771 (home-page "https://github.com/fukamachi/mito")
10772 (source
10773 (origin
10774 (method git-fetch)
10775 (uri (git-reference
10776 (url home-page)
10777 (commit commit)))
10778 (file-name (git-file-name name version))
10779 (sha256
10780 (base32 "08mncgzjnbbsf1a6am3l73iw4lyfvz5ldjg5g84awfaxml4p73mb"))))
10781 (build-system asdf-build-system/sbcl)
2ff8b5ba
GLV
10782 (native-inputs
10783 `(("prove" ,sbcl-prove)))
f5e31b1d 10784 (inputs
2ff8b5ba 10785 `(("alexandria" ,sbcl-alexandria)
f5e31b1d 10786 ("cl-ppcre" ,sbcl-cl-ppcre)
2ff8b5ba 10787 ("cl-reexport" ,sbcl-cl-reexport)
f5e31b1d 10788 ("closer-mop" ,sbcl-closer-mop)
2ff8b5ba 10789 ("dbi" ,sbcl-dbi)
f5e31b1d 10790 ("dissect" ,sbcl-dissect)
2ff8b5ba 10791 ("esrap" ,sbcl-esrap)
f5e31b1d 10792 ("local-time" ,sbcl-local-time)
2ff8b5ba
GLV
10793 ("optima" ,sbcl-optima)
10794 ("sxql" ,sbcl-sxql)
10795 ("uuid" ,sbcl-uuid)))
10796 (arguments
e765d9c9 10797 '(#:phases
f5e31b1d
PN
10798 (modify-phases %standard-phases
10799 (add-after 'unpack 'remove-non-functional-tests
10800 (lambda _
10801 (substitute* "mito-test.asd"
f5e31b1d
PN
10802 (("\\(:test-file \"db/mysql\"\\)") "")
10803 (("\\(:test-file \"db/postgres\"\\)") "")
10804 (("\\(:test-file \"dao\"\\)") "")
10805 ;; TODO: migration/sqlite3 should work, re-enable once
10806 ;; upstream has fixed it:
10807 ;; https://github.com/fukamachi/mito/issues/70
10808 (("\\(:test-file \"migration/sqlite3\"\\)") "")
10809 (("\\(:test-file \"migration/mysql\"\\)") "")
10810 (("\\(:test-file \"migration/postgres\"\\)") "")
10811 (("\\(:test-file \"postgres-types\"\\)") "")
10812 (("\\(:test-file \"mixin\"\\)") ""))
10813 #t)))
10814 ;; TODO: While all enabled tests pass, the phase fails with:
10815 ;; Component MITO-ASD::MITO-TEST not found, required by #<SYSTEM "mito">
2ff8b5ba
GLV
10816 #:tests? #f))
10817 (synopsis "ORM for Common Lisp with migrations and relationships support")
10818 (description "Mito is yet another object relational mapper, and it aims
10819to be a successor of Integral.
10820
10821@itemize
10822@item Support MySQL, PostgreSQL and SQLite3.
10823@item Add id (serial/uuid primary key), created_at and updated_at by default
10824like Ruby's ActiveRecord.
10825@item Migrations.
10826@item Database schema versioning.
10827@end itemize\n")
10828 (license license:llgpl))))
f5e31b1d
PN
10829
10830(define-public cl-mito
10831 (sbcl-package->cl-source-package sbcl-mito))
0bca68d9 10832
12df8b7b
GLV
10833(define-public ecl-mito
10834 (sbcl-package->ecl-package sbcl-mito))
10835
0bca68d9
PN
10836(define-public sbcl-kebab
10837 (let ((commit "e7f77644c4e46131e7b8039d191d35fe6211f31b")
10838 (revision "1"))
10839 (package
10840 (name "sbcl-kebab")
10841 (version (git-version "0.1" revision commit))
10842 (home-page "https://github.com/pocket7878/kebab")
10843 (source
10844 (origin
10845 (method git-fetch)
10846 (uri (git-reference
10847 (url home-page)
10848 (commit commit)))
10849 (file-name (git-file-name name version))
10850 (sha256
10851 (base32 "0j5haabnvj0vz0rx9mwyfsb3qzpga9nickbjw8xs6vypkdzlqv1b"))))
10852 (build-system asdf-build-system/sbcl)
10853 (inputs
10854 `(("cl-ppcre" ,sbcl-cl-ppcre)
10855 ("alexandria" ,sbcl-alexandria)
10856 ("cl-interpol" ,sbcl-cl-interpol)
10857 ("split-sequence" ,sbcl-split-sequence)))
10858 (native-inputs
2ff8b5ba 10859 `(("prove" ,sbcl-prove)))
0bca68d9
PN
10860 (arguments
10861 ;; Tests passes but the phase fails with
10862 ;; Component KEBAB-ASD::KEBAB-TEST not found, required by #<SYSTEM "kebab">.
10863 `(#:tests? #f))
10864 (synopsis "Common Lisp case converter")
10865 (description "This Common Lisp library converts strings, symbols and
10866keywords between any of the following typographical cases: PascalCase,
10867camelCase, snake_case, kebab-case (lisp-case).")
10868 (license license:llgpl))))
10869
10870(define-public cl-kebab
10871 (sbcl-package->cl-source-package sbcl-kebab))
10872
10873(define-public ecl-kebab
10874 (sbcl-package->ecl-package sbcl-kebab))
69006b0c
PN
10875
10876(define-public sbcl-datafly
10877 (let ((commit "adece27fcbc4b5ea39ad1a105048b6b7166e3b0d")
10878 (revision "1"))
10879 (package
10880 (name "sbcl-datafly")
10881 (version (git-version "0.1" revision commit))
10882 (home-page "https://github.com/fukamachi/datafly")
10883 (source
10884 (origin
10885 (method git-fetch)
10886 (uri (git-reference
10887 (url home-page)
10888 (commit commit)))
10889 (file-name (git-file-name name version))
10890 (sha256
10891 (base32 "16b78kzmglp2a4nxlxxl7rpf5zaibsgagn0p3c56fsxvx0c4hszv"))))
10892 (build-system asdf-build-system/sbcl)
10893 (inputs
10894 `(("alexandria" ,sbcl-alexandria)
10895 ("iterate" ,sbcl-iterate)
10896 ("optima" ,sbcl-optima)
10897 ("trivial-types" ,sbcl-trivial-types)
10898 ("closer-mop" ,sbcl-closer-mop)
2ff8b5ba 10899 ("cl-syntax" ,sbcl-cl-syntax)
69006b0c
PN
10900 ("sxql" ,sbcl-sxql)
10901 ("dbi" ,sbcl-dbi)
10902 ("babel" ,sbcl-babel)
10903 ("local-time" ,sbcl-local-time)
10904 ("function-cache" ,sbcl-function-cache)
10905 ("jonathan" ,sbcl-jonathan)
10906 ("kebab" ,sbcl-kebab)
10907 ("log4cl" ,sbcl-log4cl)))
10908 (native-inputs
2ff8b5ba 10909 `(("prove" ,sbcl-prove)))
69006b0c
PN
10910 (arguments
10911 ;; TODO: Tests fail with
10912 ;; While evaluating the form starting at line 22, column 0
10913 ;; of #P"/tmp/guix-build-sbcl-datafly-0.1-1.adece27.drv-0/source/t/datafly.lisp":
10914 ;; Unhandled SQLITE:SQLITE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
10915 ;; {10009F8083}>:
10916 ;; Error when binding parameter 1 to value NIL.
10917 ;; Code RANGE: column index out of range.
10918 `(#:tests? #f))
10919 (synopsis "Lightweight database library for Common Lisp")
10920 (description "Datafly is a lightweight database library for Common Lisp.")
10921 (license license:bsd-3))))
10922
10923(define-public cl-datafly
10924 (sbcl-package->cl-source-package sbcl-datafly))
10925
10926(define-public ecl-datafly
10927 (sbcl-package->ecl-package sbcl-datafly))
56aeb1a4
PN
10928
10929(define-public sbcl-do-urlencode
10930 (let ((commit "199846441dad5dfac5478b8dee4b4e20d107af6a")
10931 (revision "1"))
10932 (package
10933 (name "sbcl-do-urlencode")
10934 (version (git-version "0.0.0" revision commit))
10935 (home-page "https://github.com/drdo/do-urlencode")
10936 (source
10937 (origin
10938 (method git-fetch)
10939 (uri (git-reference
10940 (url home-page)
10941 (commit commit)))
10942 (file-name (git-file-name name version))
10943 (sha256
10944 (base32 "0k2i3d4k9cpci235mwfm0c5a4yqfkijr716bjv7cdlpzx88lazm9"))))
10945 (build-system asdf-build-system/sbcl)
10946 (inputs
10947 `(("alexandria" ,sbcl-alexandria)
10948 ("babel" ,sbcl-babel)))
10949 (synopsis "Percent Encoding (aka URL Encoding) Common Lisp library")
10950 (description "This library provides trivial percent encoding and
10951decoding functions for URLs.")
10952 (license license:isc))))
10953
10954(define-public cl-do-urlencode
10955 (sbcl-package->cl-source-package sbcl-do-urlencode))
10956
10957(define-public ecl-do-urlencode
10958 (sbcl-package->ecl-package sbcl-do-urlencode))
d2c9f349
PN
10959
10960(define-public sbcl-cl-emb
10961 (let ((commit "fd8652174d048d4525a81f38cdf42f4fa519f840")
10962 (revision "1"))
10963 (package
10964 (name "sbcl-cl-emb")
10965 (version (git-version "0.4.3" revision commit))
10966 (home-page "https://common-lisp.net/project/cl-emb/")
10967 (source
10968 (origin
10969 (method git-fetch)
10970 (uri (git-reference
10971 (url "https://github.com/38a938c2/cl-emb")
10972 (commit commit)))
10973 (file-name (git-file-name name version))
10974 (sha256
10975 (base32 "1xcm31n7afh5316lwz8iqbjx7kn5lw0l11arg8mhdmkx42aj4gkk"))))
10976 (build-system asdf-build-system/sbcl)
10977 (inputs
10978 `(("cl-ppcre" ,sbcl-cl-ppcre)))
10979 (synopsis "Templating system for Common Lisp")
10980 (description "A mixture of features from eRuby and HTML::Template. You
10981could name it \"Yet Another LSP\" (LispServer Pages) but it's a bit more than
10982that and not limited to a certain server or text format.")
10983 (license license:llgpl))))
10984
10985(define-public cl-emb
10986 (sbcl-package->cl-source-package sbcl-cl-emb))
10987
10988(define-public ecl-cl-emb
10989 (sbcl-package->ecl-package sbcl-cl-emb))
bc1f552b
PN
10990
10991(define-public sbcl-cl-project
10992 (let ((commit "151107014e534fc4666222d57fec2cc8549c8814")
10993 (revision "1"))
10994 (package
10995 (name "sbcl-cl-project")
10996 (version (git-version "0.3.1" revision commit))
10997 (home-page "https://github.com/fukamachi/cl-project")
10998 (source
10999 (origin
11000 (method git-fetch)
11001 (uri (git-reference
11002 (url home-page)
11003 (commit commit)))
11004 (file-name (git-file-name name version))
11005 (sha256
11006 (base32 "1rmh6s1ncv8s2yrr14ja9wisgg745sq6xibqwb341ikdicxdp26y"))))
11007 (build-system asdf-build-system/sbcl)
11008 (inputs
11009 `(("cl-emb" ,sbcl-cl-emb)
11010 ("cl-ppcre" ,sbcl-cl-ppcre)
11011 ("local-time" ,sbcl-local-time)
11012 ("prove" ,sbcl-prove)))
11013 (arguments
11014 ;; Tests depend on caveman, which in turns depends on cl-project.
3f8bbf7c
GLV
11015 '(#:tests? #f
11016 #:asd-files '("cl-project.asd")))
bc1f552b
PN
11017 (synopsis "Generate a skeleton for modern Common Lisp projects")
11018 (description "This library provides a modern project skeleton generator.
11019In contract with other generators, CL-Project generates one package per file
11020and encourages unit testing by generating a system for unit testing, so you
11021can begin writing unit tests as soon as the project is generated.")
11022 (license license:llgpl))))
11023
11024(define-public cl-project
11025 (sbcl-package->cl-source-package sbcl-cl-project))
11026
11027(define-public ecl-cl-project
11028 (sbcl-package->ecl-package sbcl-cl-project))
f5ca844f
PN
11029
11030(define-public sbcl-caveman
11031 (let ((commit "faa5f7e3b364fd7e7096af9a7bb06728b8d80441") ; No release since 2012
11032 (revision "1"))
11033 (package
11034 (name "sbcl-caveman")
11035 (version (git-version "2.4.0" revision commit))
11036 (home-page "http://8arrow.org/caveman/")
11037 (source
11038 (origin
11039 (method git-fetch)
11040 (uri (git-reference
11041 (url "https://github.com/fukamachi/caveman/")
11042 (commit commit)))
11043 (file-name (git-file-name name version))
11044 (sha256
11045 (base32 "0kh0gx05pczk8f7r9qdi4zn1p3d0a2prps27k7jpgvc1dxkl8qhq"))))
11046 (build-system asdf-build-system/sbcl)
11047 (inputs
11048 `(("ningle" ,cl-ningle)
2ff8b5ba 11049 ("lack" ,sbcl-lack)
f5ca844f
PN
11050 ("cl-project" ,sbcl-cl-project)
11051 ("dbi" ,sbcl-dbi)
2ff8b5ba 11052 ("cl-syntax" ,sbcl-cl-syntax)
f5ca844f
PN
11053 ("myway" ,sbcl-myway)
11054 ("quri" ,sbcl-quri)))
11055 (native-inputs
11056 `(("usocket" ,sbcl-usocket)
11057 ("dexador" ,sbcl-dexador)))
11058 (arguments
2ff8b5ba
GLV
11059 `(#:asd-files '("caveman2.asd")
11060 #:asd-systems '("caveman2")
f5ca844f
PN
11061 #:phases
11062 (modify-phases %standard-phases
11063 (add-after 'unpack 'remove-v1
11064 (lambda _
11065 (delete-file-recursively "v1")
11066 (for-each delete-file
11067 '("README.v1.markdown" "caveman.asd" "caveman-test.asd")))))
11068 ;; TODO: Tests fail with:
d27afcc6 11069 ;; writing /gnu/store/...-sbcl-caveman-2.4.0-1.faa5f7e/share/common-lisp/sbcl-source/caveman2/v2/t/tmp/myapp573/tests/myapp573.lisp
f5ca844f
PN
11070 ;; While evaluating the form starting at line 38, column 0
11071 ;; of #P"/tmp/guix-build-sbcl-caveman-2.4.0-1.faa5f7e.drv-0/source/v2/t/caveman.lisp":
11072 ;; Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING
11073 ;; {10009F8083}>:
11074 ;; Component "myapp573" not found
11075 #:tests? #f))
11076 (synopsis "Lightweight web application framework in Common Lisp")
11077 (description "Caveman is intended to be a collection of common parts for
11078web applications. Caveman2 has three design goals:
11079
11080@itemize
11081@item Be extensible.
11082@item Be practical.
11083@item Don't force anything.
11084@end itemize\n")
11085 (license license:llgpl))))
11086
11087(define-public cl-caveman
11088 (package
11089 (inherit
11090 (sbcl-package->cl-source-package sbcl-caveman))
11091 (propagated-inputs
11092 `(("ningle" ,cl-ningle)))))
11093
11094(define-public ecl-caveman
11095 (sbcl-package->ecl-package sbcl-caveman))
582d0108
A
11096
11097(define-public sbcl-lambda-fiddle
11098 (let ((commit "d16bba55acf6065b412f64ab8fdff679a4a32b1e") ;; no tagged branch
11099 (revision "1"))
11100 (package
11101 (name "sbcl-lambda-fiddle")
11102 (version (git-version "1.0.0" revision commit))
11103 (source
11104 (origin
11105 (method git-fetch)
11106 (uri (git-reference
11107 (url "https://github.com/Shinmera/lambda-fiddle")
11108 (commit commit)))
11109 (file-name (git-file-name name version))
11110 (sha256
11111 (base32 "1zarj1pqjqmk95kdx1axkgpwy2wq3canczk7f9z5hvaw5an6gand"))))
11112 (build-system asdf-build-system/sbcl)
11113 (home-page "https://github.com/Shinmera/lambda-fiddle")
11114 (synopsis "Collection of utilities to process lambda-lists")
11115 (description "This collection of utilities is useful in contexts where
11116you want a macro that uses lambda-lists in some fashion but need more precise
11117processing.")
11118 (license license:zlib))))
11119
11120(define-public cl-lambda-fiddle
11121 (sbcl-package->cl-source-package sbcl-lambda-fiddle))
11122
11123(define-public ecl-lambda-fiddle
11124 (sbcl-package->ecl-package sbcl-lambda-fiddle))
7722c367
A
11125
11126(define-public sbcl-xmls
11127 (let ((commit "18546f0850b1338e03997ffd1696add1cb1800d1") ;; no tagged branch
11128 (revision "1"))
11129 (package
11130 (name "sbcl-xmls")
11131 (version (git-version "3.0.2" revision commit))
11132 (source
11133 (origin
11134 (method git-fetch)
11135 (uri (git-reference
11136 (url "https://github.com/rpgoldman/xmls")
11137 (commit commit)))
11138 (file-name (git-file-name name version))
11139 (sha256
11140 (base32 "1lmvfml2ldbb1wkhm25jqqk2bhwsz52hhcgljbnzj1xr8xhc3anp"))))
11141 (native-inputs
11142 `(("fiveam" ,sbcl-fiveam)))
11143 (build-system asdf-build-system/sbcl)
11144 (home-page "https://github.com/rpgoldman/xmls")
11145 (synopsis "Non-validating XML parser for Common Lisp")
11146 (description "Xmls is a self-contained, easily embedded parser that
11147recognizes a useful subset of the XML spec. It provides a simple mapping from
11148XML to Lisp structures or s-expressions and back.")
11149 (license license:bsd-2))))
11150
11151(define-public cl-xmls
11152 (sbcl-package->cl-source-package sbcl-xmls))
11153
11154(define-public ecl-xmls
11155 (sbcl-package->ecl-package sbcl-xmls))
5a723527
GLV
11156
11157(define-public sbcl-geco
11158 (package
11159 (name "sbcl-geco")
11160 (version "2.01a")
11161 (source
11162 (origin
11163 (method url-fetch)
11164 (uri (string-append "https://common-lisp.net/project/geco/download/"
11165 "geco-" version ".tar.gz"))
11166 (sha256
c94367ea
GLV
11167 (base32 "0kk0bzr1019cfmf2b1jl1rk9shv3gx5z1znifxllg9mb98yqsgw0"))
11168 (patches (search-patches "sbcl-geco-fix-organism-class.patch"))))
5a723527
GLV
11169 (build-system asdf-build-system/sbcl)
11170 (home-page "https://common-lisp.net/project/geco/")
11171 (synopsis "Genetic algorithm toolkit for Common Lisp")
11172 (description
11173 "GECO (Genetic Evolution through Combination of Objects) is an extensible,
11174object-oriented framework for prototyping genetic algorithms in Common Lisp.")
11175 (license license:lgpl2.1+)))
11176
11177(define-public cl-geco
11178 (sbcl-package->cl-source-package sbcl-geco))
11179
11180(define-public ecl-geco
11181 (sbcl-package->ecl-package sbcl-geco))
50ff091d
PN
11182
11183(define-public sbcl-html-entities
11184 (let ((commit "4af018048e891f41d77e7d680ed3aeb639e1eedb"))
11185 (package
11186 (name "sbcl-html-entities")
11187 (version (git-version "0.02" "1" commit))
11188 (source
11189 (origin
11190 (method git-fetch)
11191 (uri (git-reference
11192 (url "https://github.com/BnMcGn/html-entities/")
11193 (commit commit)))
11194 (file-name (git-file-name name version))
11195 (sha256
11196 (base32 "1b2yl6lf6vis17y4n5s505p7ica96bdafcl6vydy1hg50fy33nfr"))))
11197 (build-system asdf-build-system/sbcl)
11198 (inputs
11199 `(("ppcre" ,sbcl-cl-ppcre)))
11200 (native-inputs
11201 `(("fiveam" ,sbcl-fiveam)))
11202 (home-page "https://github.com/BnMcGn/html-entities/")
11203 (synopsis "Encode and decode entities in HTML with Common Lisp")
11204 (description "Html-entities is a Common Lisp library that lets you
11205encode and decode entities in HTML.")
11206 (license license:expat))))
11207
11208(define-public cl-html-entities
11209 (sbcl-package->cl-source-package sbcl-html-entities))
11210
11211(define-public ecl-html-entities
11212 (sbcl-package->ecl-package sbcl-html-entities))
2631fc13
PN
11213
11214(define-public sbcl-quicksearch
11215 (let ((commit "fb02ecf7c876ec580ab18c7d2c8c7814c06af599"))
11216 (package
11217 (name "sbcl-quicksearch")
11218 (version (git-version "0.01.04" "1" commit))
11219 (source
11220 (origin
11221 (method git-fetch)
11222 (uri (git-reference
11223 (url "https://github.com/tkych/quicksearch/")
11224 (commit commit)))
11225 (file-name (git-file-name name version))
11226 (sha256
11227 (base32 "16k19zjkhh7r64vjq371k5jwjs7cdfjz83flh561n4h4v1z89fps"))))
11228 (build-system asdf-build-system/sbcl)
11229 (inputs
11230 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11231 ("iterate" ,sbcl-iterate)
11232 ("alexandria" ,sbcl-alexandria)
11233 ("anaphora" ,sbcl-anaphora)
11234 ("ppcre" ,sbcl-cl-ppcre)
11235 ("drakma" ,sbcl-drakma)
11236 ("html-entities" ,sbcl-html-entities)
11237 ("yason" ,sbcl-yason)
11238 ("flexi-streams" ,sbcl-flexi-streams)
11239 ("do-urlencode" ,sbcl-do-urlencode)))
11240 (home-page "https://github.com/tkych/quicksearch/")
11241 (synopsis "Search Engine Interface for Common Lisp packages")
11242 (description "Quicksearch is a search-engine-interface for Common Lisp.
11243The goal of Quicksearch is to find the Common Lisp library quickly. For
11244example, if you will find the library about json, just type @code{(qs:?
11245'json)} at REPL.
11246
11247The function @code{quicksearch} searches for Common Lisp projects in
11248Quicklisp, Cliki, GitHub and BitBucket, then outputs results in REPL. The
11249function @code{?} is abbreviation wrapper for @code{quicksearch}.")
11250 (license license:expat))))
11251
11252(define-public cl-quicksearch
11253 (sbcl-package->cl-source-package sbcl-quicksearch))
11254
11255(define-public ecl-quicksearch
11256 (sbcl-package->ecl-package sbcl-quicksearch))
f66fbb7a
PN
11257
11258(define-public sbcl-agutil
11259 (let ((commit "df188d754d472da9faa1601a48f1f37bb7b34d68"))
11260 (package
11261 (name "sbcl-agutil")
11262 (version (git-version "0.0.1" "1" commit))
11263 (source
11264 (origin
11265 (method git-fetch)
11266 (uri (git-reference
11267 (url "https://github.com/alex-gutev/agutil/")
11268 (commit commit)))
11269 (file-name (git-file-name name version))
11270 (sha256
11271 (base32 "1xpnyzksk2xld64b6lw6rw0gn5zxlb77jwna59sd4yl7kxhxlfpf"))))
11272 (build-system asdf-build-system/sbcl)
11273 (inputs
11274 `(("alexandria" ,sbcl-alexandria)
11275 ("trivia" ,sbcl-trivia)))
11276 (home-page "https://github.com/alex-gutev/agutil/")
11277 (synopsis "Collection of Common Lisp utilities")
11278 (description "A collection of Common Lisp utility functions and macros
11279mostly not found in other utility packages.")
11280 (license license:expat))))
11281
11282(define-public cl-agutil
11283 (sbcl-package->cl-source-package sbcl-agutil))
11284
11285(define-public ecl-agutil
11286 (sbcl-package->ecl-package sbcl-agutil))
e60bbd9a
PN
11287
11288(define-public sbcl-custom-hash-table
11289 (let ((commit "f26983133940f5edf826ebbc8077acc04816ddfa"))
11290 (package
11291 (name "sbcl-custom-hash-table")
11292 (version (git-version "0.3" "1" commit))
11293 (source
11294 (origin
11295 (method git-fetch)
11296 (uri (git-reference
11297 (url "https://github.com/metawilm/cl-custom-hash-table")
11298 (commit commit)))
11299 (file-name (git-file-name name version))
11300 (sha256
11301 (base32 "1k4mvrpbqqds2fwjxp1bxmrfmr8ch4dkwhnkbw559knbqshvrlj5"))))
11302 (build-system asdf-build-system/sbcl)
11303 (arguments
a9a0d348
MB
11304 '(#:asd-files '("cl-custom-hash-table.asd")
11305 #:asd-systems '("cl-custom-hash-table")))
e60bbd9a
PN
11306 (home-page "https://github.com/metawilm/cl-custom-hash-table")
11307 (synopsis "Custom hash tables for Common Lisp")
11308 (description "This library allows creation of hash tables with arbitrary
11309@code{test}/@code{hash} functions, in addition to the @code{test} functions
11310allowed by the standard (@code{EQ}, @code{EQL}, @code{EQUAL} and
11311@code{EQUALP}), even in implementations that don't support this functionality
11312directly.")
11313 (license license:expat))))
11314
11315(define-public cl-custom-hash-table
11316 (sbcl-package->cl-source-package sbcl-custom-hash-table))
11317
11318(define-public ecl-custom-hash-table
11319 (sbcl-package->ecl-package sbcl-custom-hash-table))
e744328a
PN
11320
11321(define-public sbcl-collectors
11322 (let ((commit "13acef25d8422d1d82e067b1861e513587c166ee"))
11323 (package
11324 (name "sbcl-collectors")
11325 (version (git-version "0.1" "1" commit))
11326 (source
11327 (origin
11328 (method git-fetch)
11329 (uri (git-reference
11330 (url "https://github.com/AccelerationNet/collectors")
11331 (commit commit)))
11332 (file-name (git-file-name name version))
11333 (sha256
11334 (base32 "1si68n1j6rpns8jw6ksqjpb937pdl30v7xza8rld7j5vh0jhy2yi"))))
11335 (build-system asdf-build-system/sbcl)
11336 (inputs
11337 `(("alexandria" ,sbcl-alexandria)
11338 ("closer-mop" ,sbcl-closer-mop)
11339 ("symbol-munger" ,sbcl-symbol-munger)))
11340 (native-inputs
11341 `(("lisp-unit2" ,sbcl-lisp-unit2)))
11342 (home-page "https://github.com/AccelerationNet/collectors/")
11343 (synopsis "Common lisp library providing collector macros")
11344 (description "A small collection of common lisp macros to make
11345collecting values easier.")
11346 (license license:bsd-3))))
11347
11348(define-public cl-collectors
11349 (sbcl-package->cl-source-package sbcl-collectors))
11350
11351(define-public ecl-collectors
11352 (sbcl-package->ecl-package sbcl-collectors))
6b886891 11353
a7489847
PN
11354(define-public sbcl-cl-environments
11355 (let ((commit "0b22154c5afefef23d1eba9a4fae11d73580ef41")) ; No version in 2 years.
9f78a37f 11356 (package
a7489847 11357 (name "sbcl-cl-environments")
9f78a37f
PN
11358 (version (git-version "0.2.3" "1" commit))
11359 (source
11360 (origin
11361 (method git-fetch)
11362 (uri (git-reference
11363 (url "https://github.com/alex-gutev/cl-environments")
11364 (commit commit)))
11365 (file-name (git-file-name name version))
11366 (sha256
11367 (base32
a7489847
PN
11368 "18r3wfarr7lgn78m6c66r0r9aazirv07gy7xgvqkl9pmrz1bc47m"))))
11369 (build-system asdf-build-system/sbcl)
9f78a37f
PN
11370 (propagated-inputs
11371 `(("alexandria" ,cl-alexandria)
11372 ("anaphora" ,cl-anaphora)
11373 ("collectors" ,cl-collectors)
11374 ("optima" ,cl-optima)))
11375 (native-inputs
a9a0d348 11376 `(("prove" ,sbcl-prove)))
9f78a37f
PN
11377 (home-page "https://github.com/alex-gutev/cl-environments")
11378 (synopsis "Implements the Common Lisp standard environment access API")
11379 (description "This library provides a uniform API, as specified in Common
6b886891
PN
11380Lisp the Language 2, for accessing information about variable and function
11381bindings from implementation-defined lexical environment objects. All major
11382Common Lisp implementations are supported, even those which don't support the
11383CLTL2 environment access API.")
9f78a37f 11384 (license license:expat))))
e22b88b6 11385
a7489847
PN
11386(define-public cl-environments
11387 (sbcl-package->cl-source-package sbcl-cl-environments))
11388
11389(define-public ecl-environments
11390 (sbcl-package->ecl-package sbcl-cl-environments))
11391
e22b88b6
PN
11392(define-public sbcl-static-dispatch
11393 (package
11394 (name "sbcl-static-dispatch")
11395 (version "0.3")
11396 (source
11397 (origin
11398 (method git-fetch)
11399 (uri (git-reference
11400 (url "https://github.com/alex-gutev/static-dispatch")
11401 (commit (string-append "v" version))))
11402 (file-name (git-file-name name version))
11403 (sha256
11404 (base32 "1wp5yz8liqqic3yifqf33qhccd755pd7ycvsq1j4i7k3f1wm18i0"))))
11405 (build-system asdf-build-system/sbcl)
11406 (inputs
11407 `(("agutil" ,sbcl-agutil)
11408 ("alexandria" ,sbcl-alexandria)
11409 ("anaphora" ,sbcl-anaphora)
11410 ("arrows" ,sbcl-arrows)
11411 ("closer-mop" ,sbcl-closer-mop)
11412 ("iterate" ,sbcl-iterate)
11413 ("trivia" ,sbcl-trivia)))
11414 (propagated-inputs
a7489847
PN
11415 ;; FIXME: `sbcl-cl-environments' input fails with
11416 ;;
11417 ;; compiling #<CL-SOURCE-FILE "collectors" "collectors">
11418 ;; Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
11419 ;; {1008238213}>:
11420 ;; Error opening #P"/.../cl-environments/src/common/package-tmp5GEXGEG5.fasl":
11421 ;; Permission denied
e22b88b6
PN
11422 `(("cl-environments" ,cl-environments)))
11423 (native-inputs
a9a0d348 11424 `(("prove" ,sbcl-prove)))
e22b88b6
PN
11425 (arguments
11426 `(#:phases
11427 (modify-phases %standard-phases
11428 ;; Use `arrows' instead of cl-arrows which is abandoned and unlicensed.
11429 ;; https://github.com/nightfly19/cl-arrows/issues/5
11430 (add-after 'unpack 'use-arrows-instead-of-cl-arrows
11431 (lambda _
11432 (for-each
11433 (lambda (file)
11434 (substitute* file
11435 ((":cl-arrows") ":arrows")))
11436 '("static-dispatch.asd"
11437 "src/package.lisp"
11438 "test/methods.lisp"
11439 "test/test.lisp")))))))
11440 (home-page "https://github.com/alex-gutev/static-dispatch")
11441 (synopsis "Static generic function dispatch for Common Lisp")
11442 (description "Static dispatch is a Common Lisp library, inspired by
11443@code{inlined-generic-function}, which allows standard Common Lisp generic
11444function dispatch to be performed statically (at compile time) rather than
11445dynamically (runtime). This is similar to what is known as \"overloading\" in
11446languages such as C++ and Java.
11447
11448The purpose of static dispatch is to provide an optimization in cases where
11449the usual dynamic dispatch is too slow, and the dynamic features of generic
11450functions, such as adding/removing methods at runtime are not required. An
11451example of such a case is a generic equality comparison function. Currently
11452generic functions are considered far too slow to implement generic arithmetic
11453and comparison operations when used heavily in numeric code.")
11454 (license license:expat)))
11455
11456(define-public cl-static-dispatch
11457 (sbcl-package->cl-source-package sbcl-static-dispatch))
11458
11459(define-public ecl-static-dispatch
11460 (sbcl-package->ecl-package sbcl-static-dispatch))
7a34169f 11461
85821dcd
PN
11462(define-public sbcl-generic-cl
11463 ;; Latest commit includes a necessary fix for our Guix build.
11464 (let ((commit "8e5a81487ee3c13fe5ffdc8bdda161d476639535"))
11465 (package
11466 (name "sbcl-generic-cl")
11467 (version (git-version "0.7.1" "1" commit))
11468 (source
11469 (origin
11470 (method git-fetch)
11471 (uri (git-reference
11472 (url "https://github.com/alex-gutev/generic-cl")
11473 (commit commit)))
11474 (file-name (git-file-name name version))
11475 (sha256
11476 (base32
11477 "11w0g79s4wmc78vmfng437rmsgnp5qn246zcyr540fp5nw0ad6ix"))))
11478 (build-system asdf-build-system/sbcl)
11479 (inputs
11480 `(("agutil" ,sbcl-agutil)
11481 ("alexandria" ,sbcl-alexandria)
11482 ("anaphora" ,sbcl-anaphora)
11483 ("arrows" ,sbcl-arrows)
11484 ("cl-custom-hash-table" ,sbcl-custom-hash-table)
11485 ("trivia" ,sbcl-trivia)))
11486 (propagated-inputs
11487 ;; FIXME: Same error as for `sbcl-static-dispatch'.
11488 `(("static-dispatch" ,cl-static-dispatch)))
11489 (native-inputs
11490 `(("prove" ,sbcl-prove)))
11491 (arguments
11492 ;; Tests fail because SBCL head size is not high enough.
11493 ;; https://github.com/alex-gutev/generic-cl/issues/6
11494 `(#:tests? #f))
11495 (home-page "https://alex-gutev.github.io/generic-cl/")
11496 (synopsis "Generic function interface to standard Common Lisp functions")
11497 (description "@code{generic-cl} provides a generic function wrapper over
11498various functions in the Common Lisp standard, such as equality predicates and
11499sequence operations. The goal of this wrapper is to provide a standard
11500interface to common operations, such as testing for the equality of two
11501objects, which is extensible to user-defined types.")
11502 (license license:expat))))
11503
11504(define-public cl-generic-cl
11505 (sbcl-package->cl-source-package sbcl-generic-cl))
11506
11507(define-public ecl-generic-cl
11508 (sbcl-package->ecl-package sbcl-generic-cl))
11509
7a34169f
AK
11510(define-public sbcl-defpackage-plus
11511 (let ((revision "0")
11512 (commit "5492e27e0bdb7b75fa5177ea4388519dc7a75f11"))
11513 (package
11514 (name "sbcl-defpackage-plus")
11515 (version (git-version "1.0" revision commit))
11516 (source
11517 (origin
11518 (method git-fetch)
11519 (uri (git-reference
11520 (url "https://github.com/rpav/defpackage-plus")
11521 (commit commit)))
11522 (file-name (git-file-name name version))
11523 (sha256
11524 (base32 "0lzljvf343xb6mlh6lni2i27hpm5qd376522mk6hr2pa20vd6rdq"))))
11525 (build-system asdf-build-system/sbcl)
11526 (inputs
11527 `(("alexandria" ,sbcl-alexandria)))
11528 (home-page "https://github.com/rpav/defpackage-plus")
11529 (synopsis "Extensible @code{DEFPACKAGE} variant with version support")
11530 (description
11531 "@code{DEFPACKAGE-PLUS} is an extensible @code{DEFPACKAGE} variant with
11532predictable cross-platform behavior and some utilities useful for versioning.")
11533 (license license:bsd-2))))
11534
11535(define-public cl-defpackage-plus
11536 (sbcl-package->cl-source-package sbcl-defpackage-plus))
11537
11538(define-public ecl-defpackage-plus
11539 (sbcl-package->ecl-package sbcl-defpackage-plus))
0fac1f25
AK
11540
11541(define-public sbcl-deploy
11542 ;; tagged branch is outdated
11543 (let ((revision "1")
11544 (commit "59fd49719ef651a8fc11750bcfb337f132cff75f"))
11545 (package
11546 (name "sbcl-deploy")
11547 (version (git-version "1.0.0" revision commit))
11548 (source
11549 (origin
11550 (method git-fetch)
11551 (uri (git-reference
11552 (url "https://github.com/Shinmera/deploy")
11553 (commit commit)))
11554 (file-name (git-file-name name version))
11555 (sha256
11556 (base32 "1vl2116z4kw2pd3qd3n6mmg8g0mnwxr9dgddk86g7j1bis1z8k9a"))))
11557 (build-system asdf-build-system/sbcl)
11558 (inputs
11559 `(("cffi" ,sbcl-cffi)
11560 ("documentation-utils" ,sbcl-documentation-utils)))
11561 (arguments
11562 '(#:asd-files '("deploy.asd")))
11563 (home-page "https://shinmera.github.io/deploy/")
11564 (synopsis "Deployment tools for standalone Common Lisp application")
11565 (description
11566 "This is a system to help you easily and quickly deploy standalone
11567common lisp applications as binaries. Specifically it is geared towards
11568applications with foreign library dependencies that run some kind of GUI.")
11569 (license license:artistic2.0))))
11570
11571(define-public cl-deploy
11572 (sbcl-package->cl-source-package sbcl-deploy))
11573
11574(define-public ecl-deploy
11575 (sbcl-package->ecl-package sbcl-deploy))
84811414
AK
11576
11577(define-public sbcl-deeds
11578 ;; taged branch is outdated
11579 (let ((revision "1")
11580 (commit "f5df54eac79b58a34030e0eb8acf3952c788410d"))
11581 (package
11582 (name "sbcl-deeds")
11583 (version (git-version "1.1.1" revision commit))
11584 (source
11585 (origin
11586 (method git-fetch)
11587 (uri (git-reference
11588 (url "https://github.com/Shinmera/deeds")
11589 (commit commit)))
11590 (file-name (git-file-name name version))
11591 (sha256
11592 (base32 "062cnb2dwli6pw3zvv46jfxyxdzcbzwsck5pa6nw03qf1j1hyg3k"))))
11593 (build-system asdf-build-system/sbcl)
11594 (inputs
11595 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11596 ("closer-mop" ,sbcl-closer-mop)
11597 ("form-fiddle" ,sbcl-form-fiddle)
11598 ("lambda-fiddle" ,sbcl-lambda-fiddle)))
11599 (home-page "https://github.com/Shinmera/deeds")
11600 (synopsis "Extensible Event Delivery System")
11601 (description
11602 "@code{deeds} allows for efficient event delivery to multiple handlers
11603with a complex event filtering system.")
11604 (license license:zlib))))
11605
11606(define-public cl-deeds
11607 (sbcl-package->cl-source-package sbcl-deeds))
11608
11609(define-public ecl-deeds
11610 (sbcl-package->ecl-package sbcl-deeds))
e3d5a206
AK
11611
11612(define-public sbcl-make-hash
11613 ;; no tagged branch
11614 (let ((revision "1")
11615 (commit "ae0909cd8e697520a1085fac6f54ac2b448ebd21"))
11616 (package
11617 (name "sbcl-make-hash")
11618 (version (git-version "1.0.2" revision commit))
11619 (source
11620 (origin
11621 (method git-fetch)
11622 (uri (git-reference
11623 (url "https://github.com/genovese/make-hash")
11624 (commit commit)))
11625 (file-name (git-file-name name version))
11626 (sha256
11627 (base32 "1qa4mcmb3pv44py0j129dd8hjx09c2akpnds53b69151mgwv5qz8"))))
11628 (build-system asdf-build-system/sbcl)
11629 (home-page "https://github.com/genovese/make-hash")
11630 (synopsis "Common Lisp package for flexible hash table creation")
11631 (description
11632 "This is a Common Lisp package for hash table creation with flexible,
11633extensible initializers.")
11634 (license license:bsd-3))))
11635
11636(define-public cl-make-hash
11637 (sbcl-package->cl-source-package sbcl-make-hash))
11638
11639(define-public ecl-make-hash
11640 (sbcl-package->ecl-package sbcl-make-hash))
6e043dfc
AK
11641
11642(define-public sbcl-claw-support
11643 (package
11644 (name "sbcl-claw-support")
11645 (version "1.0.0")
11646 (source
11647 (origin
11648 (method git-fetch)
11649 (uri (git-reference
11650 (url "https://github.com/borodust/claw-support")
11651 (commit "9a15c8bed04585f45e6a461bcda1b475144dbd0b")))
11652 (file-name (git-file-name name version))
11653 (sha256
11654 (base32 "1my2ka7h72ipx5n3b465g6kjkasrhsvhqlijwcg6dhlzs5yygl23"))))
11655 (build-system asdf-build-system/sbcl)
11656 (home-page "https://github.com/borodust/claw-support")
11657 (synopsis "Support routines for claw")
11658 (description
11659 "This packages provide support routines for the @code{claw} common-lisp
11660package.")
11661 (license license:expat)))
11662
11663(define-public cl-claw-support
11664 (sbcl-package->cl-source-package sbcl-claw-support))
11665
11666(define-public ecl-claw-support
11667 (sbcl-package->ecl-package sbcl-claw-support))
dec194bf
GLV
11668
11669(define-public sbcl-array-operations
11670 (let ((commit "75cbc3b1adb2e3ce2109489753d0f290b071e81b")
11671 (revision "0"))
11672 (package
11673 (name "sbcl-array-operations")
11674 (version (git-version "0.0.0" revision commit))
11675 (source
11676 (origin
11677 (method git-fetch)
11678 (uri (git-reference
11679 (url "https://github.com/bendudson/array-operations")
11680 (commit commit)))
11681 (file-name (git-file-name "array-operations" version))
11682 (sha256
11683 (base32 "0ip49hhq32w80qsc7jmspyda5r2rsszvw0mk2r3341cld78sz9ya"))))
11684 (build-system asdf-build-system/sbcl)
11685 (native-inputs
11686 `(("alexandria" ,sbcl-alexandria)
11687 ("clunit2" ,sbcl-clunit2)))
11688 (inputs
11689 `(("let-plus" ,sbcl-let-plus)))
11690 (synopsis "Simple array operations library for Common Lisp")
11691 (description
11692 "This library is a collection of functions and macros for manipulating
11693Common Lisp arrays and performing numerical calculations with them.")
11694 (home-page "https://github.com/bendudson/array-operations")
11695 (license license:expat))))
11696
11697(define-public cl-array-operations
11698 (sbcl-package->cl-source-package sbcl-array-operations))
11699
11700(define-public ecl-array-operations
11701 (sbcl-package->ecl-package sbcl-array-operations))
0809e4a4
GLV
11702
11703(define-public sbcl-clml
11704 (let ((commit "95505b54c8c7b4b27f500c3be97fa5732f4b51a8")
11705 (revision "0"))
11706 (package
11707 (name "sbcl-clml")
11708 (version (git-version "0.0.0" revision commit))
11709 (source
11710 (origin
11711 (method git-fetch)
11712 (uri (git-reference
11713 (url "https://github.com/mmaul/clml")
11714 (commit commit)))
11715 (file-name (git-file-name "clml" version))
11716 (sha256
11717 (base32 "006pii59nmpc61n7p7h8ha5vjg6x0dya327i58z0rnvxs249h345"))
11718 ;; TODO: Remove this when the patch has been merged upstream.
11719 (patches (search-patches "sbcl-clml-fix-types.patch"))))
11720 (build-system asdf-build-system/sbcl)
11721 (inputs
11722 `(("alexandia" ,sbcl-alexandria)
11723 ("array-operations" ,sbcl-array-operations)
11724 ("cl-fad" ,sbcl-cl-fad)
11725 ("cl-ppcre" ,sbcl-cl-ppcre)
11726 ("drakma" ,sbcl-drakma)
11727 ("introspect-environment" ,sbcl-introspect-environment)
11728 ("iterate" ,sbcl-iterate)
11729 ("lparallel" ,sbcl-lparallel)
11730 ("parse-number" ,sbcl-parse-number)
11731 ("split-sequence" ,sbcl-split-sequence)
11732 ("trivial-garbage" ,sbcl-trivial-garbage)))
11733 (synopsis "Common Lisp machine learning library")
11734 (description
11735 "CLML (Common Lisp Machine Learning) is a high performance and large
11736scale statistical machine learning package")
11737 (home-page "https://mmaul.github.io/clml/")
11738 (license license:llgpl))))
11739
11740(define-public cl-clml
11741 (sbcl-package->cl-source-package sbcl-clml))