gnu: emacs-modus-vivendi-theme: Update to 0.8.1.
[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>
6;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
7;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
92afa57b 8;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
88f06fd0
PN
9;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
10;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
11;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
12;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
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>
88f06fd0
PN
22;;;
23;;; This file is part of GNU Guix.
24;;;
25;;; GNU Guix is free software; you can redistribute it and/or modify it
26;;; under the terms of the GNU General Public License as published by
27;;; the Free Software Foundation; either version 3 of the License, or (at
28;;; your option) any later version.
29;;;
30;;; GNU Guix is distributed in the hope that it will be useful, but
31;;; WITHOUT ANY WARRANTY; without even the implied warranty of
32;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33;;; GNU General Public License for more details.
34;;;
35;;; You should have received a copy of the GNU General Public License
36;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
37
38;;; This file only contains Common Lisp libraries.
39;;; Common Lisp compilers and tooling go to lisp.scm.
40;;; Common Lisp applications should go to the most appropriate file,
41;;; e.g. StumpWM is in wm.scm.
42
43(define-module (gnu packages lisp-xyz)
44 #:use-module (gnu packages)
45 #:use-module ((guix licenses) #:prefix license:)
46 #:use-module (guix packages)
47 #:use-module (guix download)
48 #:use-module (guix git-download)
49 #:use-module (guix hg-download)
50 #:use-module (guix utils)
51 #:use-module (guix build-system asdf)
52 #:use-module (guix build-system trivial)
53 #:use-module (gnu packages c)
54 #:use-module (gnu packages compression)
8a6c0f55 55 #:use-module (gnu packages databases)
2fa04968 56 #:use-module (gnu packages enchant)
88f06fd0
PN
57 #:use-module (gnu packages glib)
58 #:use-module (gnu packages gtk)
d3a2df68 59 #:use-module (gnu packages imagemagick)
37b48dc1 60 #:use-module (gnu packages libevent)
88f06fd0
PN
61 #:use-module (gnu packages libffi)
62 #:use-module (gnu packages lisp)
064dbb71 63 #:use-module (gnu packages maths)
a3f6c410 64 #:use-module (gnu packages networking)
88f06fd0
PN
65 #:use-module (gnu packages pkg-config)
66 #:use-module (gnu packages python)
67 #:use-module (gnu packages python-xyz)
68 #:use-module (gnu packages sqlite)
d3a2df68 69 #:use-module (gnu packages tcl)
88f06fd0
PN
70 #:use-module (gnu packages tls)
71 #:use-module (gnu packages webkit)
72 #:use-module (gnu packages xdisorg)
73 #:use-module (ice-9 match)
74 #:use-module (srfi srfi-19))
75
76(define-public sbcl-alexandria
77 (let ((revision "1")
78 (commit "3b849bc0116ea70f215ee6b2fbf354e862aaa9dd"))
79 (package
80 (name "sbcl-alexandria")
81 (version (git-version "1.0.0" revision commit))
82 (source
83 (origin
84 (method git-fetch)
85 (uri (git-reference
86 (url "https://gitlab.common-lisp.net/alexandria/alexandria.git")
87 (commit commit)))
88 (sha256
89 (base32
90 "04amwvx2vl691f0plcfbqqwxgib9zimih7jrn5zl7mbwvrxy022b"))
91 (file-name (git-file-name name version))))
92 (build-system asdf-build-system/sbcl)
93 (native-inputs
94 `(("rt" ,sbcl-rt)))
95 (synopsis "Collection of portable utilities for Common Lisp")
96 (description
97 "Alexandria is a collection of portable utilities. It does not contain
98conceptual extensions to Common Lisp. It is conservative in scope, and
99portable between implementations.")
100 (home-page "https://common-lisp.net/project/alexandria/")
101 (license license:public-domain))))
102
103(define-public cl-alexandria
104 (sbcl-package->cl-source-package sbcl-alexandria))
105
106(define-public ecl-alexandria
107 (sbcl-package->ecl-package sbcl-alexandria))
108
109(define-public sbcl-net.didierverna.asdf-flv
110 (package
111 (name "sbcl-net.didierverna.asdf-flv")
112 (version "2.1")
113 (source
114 (origin
115 (method git-fetch)
116 (uri (git-reference
117 (url "https://github.com/didierverna/asdf-flv")
118 (commit (string-append "version-" version))))
119 (file-name (git-file-name "asdf-flv" version))
120 (sha256
121 (base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj"))))
122 (build-system asdf-build-system/sbcl)
123 (synopsis "Common Lisp ASDF extension to provide support for file-local variables")
124 (description "ASDF-FLV provides support for file-local variables through
125ASDF. A file-local variable behaves like @code{*PACKAGE*} and
126@code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
127dynamic binding is created before processing the file, so that any
128modification to the variable becomes essentially file-local.
129
130In order to make one or several variables file-local, use the macros
131@code{SET-FILE-LOCAL-VARIABLE(S)}.")
132 (home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv")
133 (license (license:non-copyleft
134 "https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"
135 "GNU All-Permissive License"))))
136
137(define-public cl-net.didierverna.asdf-flv
138 (sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv))
139
140(define-public ecl-net.didierverna.asdf-flv
141 (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
142
143(define-public sbcl-fiveam
144 (package
145 (name "sbcl-fiveam")
146 (version "1.4.1")
147 (source
148 (origin
149 (method git-fetch)
150 (uri (git-reference
151 (url "https://github.com/sionescu/fiveam.git")
152 (commit (string-append "v" version))))
153 (file-name (git-file-name "fiveam" version))
154 (sha256
155 (base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli"))))
156 (inputs
157 `(("alexandria" ,sbcl-alexandria)
158 ("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv)
159 ("trivial-backtrace" ,sbcl-trivial-backtrace)))
160 (build-system asdf-build-system/sbcl)
161 (synopsis "Common Lisp testing framework")
162 (description "FiveAM is a simple (as far as writing and running tests
163goes) regression testing framework. It has been designed with Common Lisp's
164interactive development model in mind.")
165 (home-page "https://common-lisp.net/project/fiveam/")
166 (license license:bsd-3)))
167
168(define-public cl-fiveam
169 (sbcl-package->cl-source-package sbcl-fiveam))
170
171(define-public ecl-fiveam
172 (sbcl-package->ecl-package sbcl-fiveam))
173
174(define-public sbcl-bordeaux-threads
5a647850
GLV
175 (package
176 (name "sbcl-bordeaux-threads")
177 (version "0.8.7")
178 (source (origin
179 (method git-fetch)
180 (uri (git-reference
181 (url "https://github.com/sionescu/bordeaux-threads.git")
182 (commit (string-append "v" version))))
183 (sha256
184 (base32 "1whpfmyxp2fsw6viqj45fqgsifgr534c575bfh5vaqw5m84b6alp"))
185 (file-name
186 (git-file-name "bordeaux-threads" version))))
187 (inputs `(("alexandria" ,sbcl-alexandria)))
188 (native-inputs `(("fiveam" ,sbcl-fiveam)))
189 (build-system asdf-build-system/sbcl)
190 (synopsis "Portable shared-state concurrency library for Common Lisp")
191 (description "BORDEAUX-THREADS is a proposed standard for a minimal
88f06fd0
PN
192MP/Threading interface. It is similar to the CLIM-SYS threading and lock
193support.")
5a647850
GLV
194 (home-page "https://common-lisp.net/project/bordeaux-threads/")
195 (license license:x11)))
88f06fd0
PN
196
197(define-public cl-bordeaux-threads
198 (sbcl-package->cl-source-package sbcl-bordeaux-threads))
199
200(define-public ecl-bordeaux-threads
201 (sbcl-package->ecl-package sbcl-bordeaux-threads))
202
203(define-public sbcl-trivial-gray-streams
204 (let ((revision "1")
205 (commit "0483ade330508b4b2edeabdb47d16ec9437ee1cb"))
206 (package
207 (name "sbcl-trivial-gray-streams")
208 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
209 (source
210 (origin
211 (method git-fetch)
212 (uri
213 (git-reference
214 (url "https://github.com/trivial-gray-streams/trivial-gray-streams.git")
215 (commit commit)))
216 (sha256
217 (base32 "0m3rpf2x0zmdk3nf1qfa01j6a55vj7gkwhyw78qslcgbjlgh8p4d"))
218 (file-name
219 (string-append "trivial-gray-streams-" version "-checkout"))))
220 (build-system asdf-build-system/sbcl)
221 (synopsis "Compatibility layer for Gray streams implementations")
222 (description "Gray streams is an interface proposed for inclusion with
223ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
224popular CL implementations implement it. This package provides an extremely
225thin compatibility layer for gray streams.")
0eecc9eb 226 (home-page "https://www.cliki.net/trivial-gray-streams")
88f06fd0
PN
227 (license license:x11))))
228
229(define-public cl-trivial-gray-streams
230 (sbcl-package->cl-source-package sbcl-trivial-gray-streams))
231
232(define-public ecl-trivial-gray-streams
233 (sbcl-package->ecl-package sbcl-trivial-gray-streams))
234
235(define-public sbcl-fiasco
236 (let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
237 (revision "1"))
238 (package
239 (name "sbcl-fiasco")
240 (version (git-version "0.0.1" revision commit))
241 (source
242 (origin
243 (method git-fetch)
244 (uri (git-reference
245 (url "https://github.com/joaotavora/fiasco.git")
246 (commit commit)))
247 (file-name (git-file-name "fiasco" version))
248 (sha256
249 (base32
250 "1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
251 (build-system asdf-build-system/sbcl)
252 (inputs
253 `(("alexandria" ,sbcl-alexandria)
254 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
255 (synopsis "Simple and powerful test framework for Common Lisp")
256 (description "A Common Lisp test framework that treasures your failures,
257logical continuation of Stefil. It focuses on interactive debugging.")
258 (home-page "https://github.com/joaotavora/fiasco")
259 ;; LICENCE specifies this is public-domain unless the legislation
260 ;; doesn't allow or recognize it. In that case it falls back to a
261 ;; permissive licence.
262 (license (list license:public-domain
263 (license:x11-style "file://LICENCE"))))))
264
265(define-public cl-fiasco
266 (sbcl-package->cl-source-package sbcl-fiasco))
267
268(define-public ecl-fiasco
269 (sbcl-package->ecl-package sbcl-fiasco))
270
271(define-public sbcl-flexi-streams
272 (package
273 (name "sbcl-flexi-streams")
6b0604fd 274 (version "1.0.18")
88f06fd0
PN
275 (source
276 (origin
277 (method git-fetch)
278 (uri (git-reference
279 (url "https://github.com/edicl/flexi-streams.git")
280 (commit (string-append "v" version))))
281 (file-name (git-file-name "flexi-streams" version))
282 (sha256
6b0604fd 283 (base32 "0bjv7fd2acknidc5dyi3h85pn10krxv5jyxs1xg8jya2rlfv7f1j"))))
88f06fd0
PN
284 (build-system asdf-build-system/sbcl)
285 (arguments
286 `(#:phases
287 (modify-phases %standard-phases
288 (add-after 'unpack 'make-git-checkout-writable
289 (lambda _
290 (for-each make-file-writable (find-files "."))
291 #t)))))
292 (inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
293 (synopsis "Implementation of virtual bivalent streams for Common Lisp")
294 (description "Flexi-streams is an implementation of \"virtual\" bivalent
295streams that can be layered atop real binary or bivalent streams and that can
296be used to read and write character data in various single- or multi-octet
297encodings which can be changed on the fly. It also supplies in-memory binary
298streams which are similar to string streams.")
299 (home-page "http://weitz.de/flexi-streams/")
300 (license license:bsd-3)))
301
302(define-public cl-flexi-streams
303 (sbcl-package->cl-source-package sbcl-flexi-streams))
304
305(define-public ecl-flexi-streams
306 (sbcl-package->ecl-package sbcl-flexi-streams))
307
308(define-public sbcl-cl-ppcre
309 (package
310 (name "sbcl-cl-ppcre")
6c874425 311 (version "2.1.1")
88f06fd0
PN
312 (source
313 (origin
314 (method git-fetch)
315 (uri (git-reference
316 (url "https://github.com/edicl/cl-ppcre.git")
317 (commit (string-append "v" version))))
318 (file-name (git-file-name "cl-ppcre" version))
319 (sha256
6c874425 320 (base32 "0dwvr29diqzcg5n6jvbk2rnd90i05l7n828hhw99khmqd0kz7xsi"))))
88f06fd0
PN
321 (build-system asdf-build-system/sbcl)
322 (native-inputs `(("flexi-streams" ,sbcl-flexi-streams)))
323 (synopsis "Portable regular expression library for Common Lisp")
324 (description "CL-PPCRE is a portable regular expression library for Common
325Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
326compatible with ANSI-compliant Common Lisp implementations.")
327 (home-page "http://weitz.de/cl-ppcre/")
328 (license license:bsd-2)))
329
330(define-public cl-ppcre
331 (sbcl-package->cl-source-package sbcl-cl-ppcre))
332
333(define-public ecl-cl-ppcre
334 (sbcl-package->ecl-package sbcl-cl-ppcre))
335
336(define sbcl-cl-unicode-base
6fdfef66
GLV
337 (package
338 (name "sbcl-cl-unicode-base")
339 (version "0.1.6")
340 (source (origin
341 (method git-fetch)
342 (uri (git-reference
343 (url "https://github.com/edicl/cl-unicode.git")
344 (commit (string-append "v" version))))
345 (file-name (git-file-name name version))
346 (sha256
347 (base32
348 "0ykx2s9lqfl74p1px0ik3l2izd1fc9jd1b4ra68s5x34rvjy0hza"))))
349 (build-system asdf-build-system/sbcl)
350 (arguments
351 '(#:asd-file "cl-unicode.asd"
352 #:asd-system-name "cl-unicode/base"))
353 (inputs
354 `(("cl-ppcre" ,sbcl-cl-ppcre)))
355 (home-page "http://weitz.de/cl-unicode/")
356 (synopsis "Portable Unicode library for Common Lisp")
357 (description "CL-UNICODE is a portable Unicode library Common Lisp, which
88f06fd0
PN
358is compatible with perl. It is pretty fast, thread-safe, and compatible with
359ANSI-compliant Common Lisp implementations.")
6fdfef66 360 (license license:bsd-2)))
88f06fd0
PN
361
362(define-public sbcl-cl-unicode
363 (package
364 (inherit sbcl-cl-unicode-base)
365 (name "sbcl-cl-unicode")
366 (inputs
367 `(("cl-unicode/base" ,sbcl-cl-unicode-base)
368 ,@(package-inputs sbcl-cl-unicode-base)))
369 (native-inputs
370 `(("flexi-streams" ,sbcl-flexi-streams)))
371 (arguments '())))
372
373(define-public ecl-cl-unicode
374 (sbcl-package->ecl-package sbcl-cl-unicode))
375
376(define-public cl-unicode
377 (sbcl-package->cl-source-package sbcl-cl-unicode))
378
92afa57b
RW
379(define-public sbcl-zpb-ttf
380 (package
381 (name "sbcl-zpb-ttf")
382 (version "1.0.3")
383 (source
384 (origin
385 (method git-fetch)
386 (uri (git-reference
387 (url "https://github.com/xach/zpb-ttf.git")
388 (commit (string-append "release-" version))))
389 (file-name (git-file-name name version))
390 (sha256
391 (base32
392 "1wh66vjijzqlydnrihynpwp6796917xwrh0i9li93c17kyxa74ih"))))
393 (build-system asdf-build-system/sbcl)
394 (home-page "https://github.com/xach/zpb-ttf")
395 (synopsis "TrueType font file access for Common Lisp")
396 (description
397 "ZPB-TTF is a TrueType font file parser that provides an interface for
398reading typographic metrics, glyph outlines, and other information from the
399file.")
400 (license license:bsd-2)))
401
402(define-public ecl-zpb-ttf
403 (sbcl-package->ecl-package sbcl-zpb-ttf))
404
405(define-public cl-zpb-ttf
406 (sbcl-package->cl-source-package sbcl-zpb-ttf))
407
64997728
RW
408(define-public sbcl-cl-aa
409 (package
410 (name "sbcl-cl-aa")
411 (version "0.1.5")
412 (source
413 (origin
414 (method url-fetch)
415 (uri (string-append "http://projects.tuxee.net/cl-vectors/"
416 "files/cl-vectors-" version ".tar.gz"))
417 (sha256
418 (base32
419 "04lhwi0kq8pkwhgd885pk80m1cp9sfvjjn5zj70s1dnckibhdmqh"))))
420 (build-system asdf-build-system/sbcl)
421 (arguments '(#:asd-file "cl-aa.asd"))
422 (home-page "http://projects.tuxee.net/cl-vectors/")
423 (synopsis "Polygon rasterizer")
424 (description
425 "This is a Common Lisp library implementing the AA polygon rasterization
426algorithm from the @url{http://antigrain.com, Antigrain} project.")
427 (license license:expat)))
428
429(define-public ecl-cl-aa
430 (sbcl-package->ecl-package sbcl-cl-aa))
431
432(define-public cl-aa
433 (sbcl-package->cl-source-package sbcl-cl-aa))
434
b571dfdb
RW
435(define-public sbcl-cl-paths
436 (package
437 (inherit sbcl-cl-aa)
438 (name "sbcl-cl-paths")
439 (arguments '(#:asd-file "cl-paths.asd"))
440 (synopsis "Facilities to create and manipulate vectorial paths")
441 (description
442 "This package provides facilities to create and manipulate vectorial
443paths.")))
444
445(define-public ecl-cl-paths
446 (sbcl-package->ecl-package sbcl-cl-paths))
447
448(define-public cl-paths
449 (sbcl-package->cl-source-package sbcl-cl-paths))
450
0dbd7c3c
RW
451(define-public sbcl-cl-paths-ttf
452 (package
453 (inherit sbcl-cl-aa)
454 (name "sbcl-cl-paths-ttf")
455 (arguments '(#:asd-file "cl-paths-ttf.asd"))
456 (inputs
457 `(("cl-paths" ,sbcl-cl-paths)
458 ("zpb-ttf" ,sbcl-zpb-ttf)))
459 (synopsis "Facilities to create and manipulate vectorial paths")
460 (description
461 "This package provides facilities to create and manipulate vectorial
462paths.")))
463
464(define-public ecl-cl-paths-ttf
465 (sbcl-package->ecl-package sbcl-cl-paths-ttf))
466
467(define-public cl-paths-ttf
468 (sbcl-package->cl-source-package sbcl-cl-paths-ttf))
469
94c621bd
RW
470(define-public sbcl-cl-vectors
471 (package
472 (inherit sbcl-cl-aa)
473 (name "sbcl-cl-vectors")
474 (arguments '(#:asd-file "cl-vectors.asd"))
475 (inputs
476 `(("cl-aa" ,sbcl-cl-aa)
477 ("cl-paths" ,sbcl-cl-paths)))
478 (synopsis "Create, transform and render anti-aliased vectorial paths")
479 (description
480 "This is a pure Common Lisp library to create, transform and render
481anti-aliased vectorial paths.")))
482
483(define-public ecl-cl-vectors
484 (sbcl-package->ecl-package sbcl-cl-vectors))
485
486(define-public cl-vectors
487 (sbcl-package->cl-source-package sbcl-cl-vectors))
488
7c62d384
RW
489(define-public sbcl-spatial-trees
490 ;; There have been no releases.
491 (let ((commit "81fdad0a0bf109c80a53cc96eca2e093823400ba")
492 (revision "1"))
493 (package
494 (name "sbcl-spatial-trees")
495 (version (git-version "0" revision commit))
496 (source
497 (origin
498 (method git-fetch)
499 (uri (git-reference
500 (url "https://github.com/rpav/spatial-trees.git")
501 (commit commit)))
502 (file-name (git-file-name name version))
503 (sha256
504 (base32
505 "11rhc6h501dwcik2igkszz7b9n515cr99m5pjh4r2qfwgiri6ysa"))))
506 (build-system asdf-build-system/sbcl)
507 (arguments
508 '(#:tests? #f ; spatial-trees.test requires spatial-trees.nns
509 #:asd-file "spatial-trees.asd"
510 #:test-asd-file "spatial-trees.test.asd"))
511 (native-inputs
512 `(("fiveam" ,sbcl-fiveam)))
513 (home-page "https://github.com/rpav/spatial-trees")
514 (synopsis "Dynamic index data structures for spatially-extended data")
515 (description
516 "Spatial-trees is a set of dynamic index data structures for
517spatially-extended data.")
518 (license license:bsd-3))))
519
520(define-public ecl-spatial-trees
521 (sbcl-package->ecl-package sbcl-spatial-trees))
522
523(define-public cl-spatial-trees
524 (sbcl-package->cl-source-package sbcl-spatial-trees))
525
5dfde3f5
RW
526(define-public sbcl-flexichain
527 ;; There are no releases.
528 (let ((commit "13d2a6c505ed0abfcd4c4ec7d7145059b06855d6")
529 (revision "1"))
530 (package
531 (name "sbcl-flexichain")
532 (version "1.5.1")
533 (source
534 (origin
535 (method git-fetch)
536 (uri (git-reference
537 (url "https://github.com/robert-strandh/Flexichain.git")
538 (commit commit)))
539 (file-name (git-file-name name version))
540 (sha256
541 (base32
542 "0pfyvhsfbjd2sjb30grfs52r51a428xglv7bwydvpg2lc117qimg"))))
543 (build-system asdf-build-system/sbcl)
544 (home-page "https://github.com/robert-strandh/Flexichain.git")
545 (synopsis "Dynamically add elements to or remove them from sequences")
546 (description
547 "This package provides an implementation of the flexichain protocol,
548allowing client code to dynamically add elements to, and delete elements from
549a sequence (or chain) of such elements.")
550 (license license:lgpl2.1+))))
551
552(define-public ecl-flexichain
553 (sbcl-package->ecl-package sbcl-flexichain))
554
555(define-public cl-flexichain
556 (sbcl-package->cl-source-package sbcl-flexichain))
557
e088a010
RW
558(define-public sbcl-cl-pdf
559 ;; There are no releases
560 (let ((commit "752e337e6d6fc206f09d091a982e7f8e5c404e4e")
561 (revision "1"))
562 (package
563 (name "sbcl-cl-pdf")
564 (version (git-version "0" revision commit))
565 (source
566 (origin
567 (method git-fetch)
568 (uri (git-reference
569 (url "https://github.com/mbattyani/cl-pdf.git")
570 (commit commit)))
571 (file-name (git-file-name name version))
572 (sha256
573 (base32
574 "1cg3k3m3r11ipb8j008y8ipynj97l3xjlpi2knqc9ndmx4r3kb1r"))))
575 (build-system asdf-build-system/sbcl)
576 (inputs
577 `(("iterate" ,sbcl-iterate)
578 ("zpb-ttf" ,sbcl-zpb-ttf)))
579 (home-page "https://github.com/mbattyani/cl-pdf")
580 (synopsis "Common Lisp library for generating PDF files")
581 (description
582 "CL-PDF is a cross-platform Common Lisp library for generating PDF
583files.")
584 (license license:bsd-2))))
585
586(define-public ecl-cl-pdf
587 (sbcl-package->ecl-package sbcl-cl-pdf))
588
589(define-public cl-pdf
590 (sbcl-package->cl-source-package sbcl-cl-pdf))
591
88f06fd0
PN
592(define-public sbcl-clx
593 (package
594 (name "sbcl-clx")
595 (version "0.7.5")
596 (source
597 (origin
598 (method git-fetch)
599 (uri
600 (git-reference
601 (url "https://github.com/sharplispers/clx.git")
602 (commit version)))
603 (sha256
604 (base32
605 "1vi67z9hpj5rr4xcmfbfwzmlcc0ah7hzhrmfid6lqdkva238v2wf"))
606 (file-name (string-append "clx-" version))))
607 (build-system asdf-build-system/sbcl)
608 (native-inputs
609 `(("fiasco" ,sbcl-fiasco)))
f0db7779 610 (home-page "https://www.cliki.net/portable-clx")
88f06fd0
PN
611 (synopsis "X11 client library for Common Lisp")
612 (description "CLX is an X11 client library for Common Lisp. The code was
613originally taken from a CMUCL distribution, was modified somewhat in order to
614make it compile and run under SBCL, then a selection of patches were added
615from other CLXes around the net.")
616 (license license:x11)))
617
618(define-public cl-clx
619 (sbcl-package->cl-source-package sbcl-clx))
620
621(define-public ecl-clx
622 (sbcl-package->ecl-package sbcl-clx))
623
1fbd1b4c
OP
624(define-public sbcl-clx-truetype
625 (let ((commit "c6e10a918d46632324d5863a8ed067a83fc26de8")
626 (revision "1"))
627 (package
628 (name "sbcl-clx-truetype")
629 (version (git-version "0.0.1" revision commit))
630 (source
631 (origin
632 (method git-fetch)
633 (uri (git-reference
634 (url "https://github.com/l04m33/clx-truetype")
635 (commit commit)))
636 (file-name (git-file-name name version))
637 (sha256
638 (base32
639 "079hyp92cjkdfn6bhkxsrwnibiqbz4y4af6nl31lzw6nm91j5j37"))
640 (modules '((guix build utils)))
641 (snippet
642 '(begin
643 (substitute* "package.lisp"
644 ((":export") ":export\n :+font-cache-filename+"))
645 #t))))
646 (build-system asdf-build-system/sbcl)
647 (inputs
648 `(("clx" ,sbcl-clx)
649 ("zpb-ttf" ,sbcl-zpb-ttf)
650 ("cl-vectors" ,sbcl-cl-vectors)
651 ("cl-paths-ttf" ,sbcl-cl-paths-ttf)
652 ("cl-fad" ,sbcl-cl-fad)
653 ("cl-store" ,sbcl-cl-store)
654 ("trivial-features" ,sbcl-trivial-features)))
655 (home-page "https://github.com/l04m33/clx-truetype")
656 (synopsis "Antialiased TrueType font rendering using CLX and XRender")
657 (description "CLX-TrueType is pure common lisp solution for
658antialiased TrueType font rendering using CLX and XRender extension.")
659 (license license:expat))))
660
88f06fd0
PN
661(define-public sbcl-cl-ppcre-unicode
662 (package (inherit sbcl-cl-ppcre)
663 (name "sbcl-cl-ppcre-unicode")
664 (arguments
665 `(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
666 #:asd-file "cl-ppcre-unicode.asd"))
667 (inputs
668 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
669 ("sbcl-cl-unicode" ,sbcl-cl-unicode)))))
670
54dc3ba2
GLV
671(define-public ecl-cl-ppcre-unicode
672 (sbcl-package->ecl-package sbcl-cl-ppcre-unicode))
673
88f06fd0
PN
674;; The slynk that users expect to install includes all of slynk's contrib
675;; modules. Therefore, we build the base module and all contribs first; then
676;; we expose the union of these as `sbcl-slynk'. The following variable
677;; describes the base module.
678(define sbcl-slynk-boot0
679 (let ((revision "2")
680 (commit "cbf84c36c4eca8b032e3fd16177a7bc02df3ec4c"))
681 (package
682 (name "sbcl-slynk-boot0")
683 (version (string-append "1.0.0-beta-" revision "." (string-take commit 7)))
684 (source
685 (origin
686 (method git-fetch)
687 (uri
688 (git-reference
689 (url "https://github.com/joaotavora/sly.git")
690 (commit commit)))
691 (sha256
692 (base32 "13dyhsravn591p7g6is01mp2ynzjnnj7pwgi57r6xqmd4611y9vh"))
693 (file-name (string-append "slynk-" version "-checkout"))
694 (modules '((guix build utils)
695 (ice-9 ftw)))
696 (snippet
697 '(begin
698 ;; Move the contribs into the main source directory for easier
699 ;; access
700 (substitute* "slynk/slynk.asd"
701 (("\\.\\./contrib")
702 "contrib")
703 (("\\(defsystem :slynk/util")
704 "(defsystem :slynk/util :depends-on (:slynk)")
705 ((":depends-on \\(:slynk :slynk/util\\)")
706 ":depends-on (:slynk :slynk-util)"))
707 (substitute* "contrib/slynk-trace-dialog.lisp"
708 (("\\(slynk::reset-inspector\\)") ; Causes problems on load
709 "nil"))
710 (substitute* "contrib/slynk-profiler.lisp"
711 (("slynk:to-line")
712 "slynk-pprint-to-line"))
713 (substitute* "contrib/slynk-fancy-inspector.lisp"
714 (("slynk/util") "slynk-util")
715 ((":compile-toplevel :load-toplevel") ""))
716 (rename-file "contrib" "slynk/contrib")
717 ;; Move slynk's contents into the base directory for easier
718 ;; access
719 (for-each (lambda (file)
720 (unless (string-prefix? "." file)
721 (rename-file (string-append "slynk/" file)
722 (string-append "./" (basename file)))))
723 (scandir "slynk"))
724 #t))))
725 (build-system asdf-build-system/sbcl)
726 (arguments
727 `(#:tests? #f ; No test suite
728 #:asd-system-name "slynk"))
729 (synopsis "Common Lisp IDE for Emacs")
730 (description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
731It also features a completely redesigned REPL based on Emacs's own
732full-featured comint.el, live code annotations, and a consistent interactive
733button interface. Everything can be copied to the REPL. One can create
734multiple inspectors with independent history.")
735 (home-page "https://github.com/joaotavora/sly")
736 (license license:public-domain)
737 (properties `((cl-source-variant . ,(delay cl-slynk)))))))
738
739(define-public cl-slynk
740 (package
741 (inherit (sbcl-package->cl-source-package sbcl-slynk-boot0))
742 (name "cl-slynk")))
743
744(define ecl-slynk-boot0
745 (sbcl-package->ecl-package sbcl-slynk-boot0))
746
747(define sbcl-slynk-arglists
748 (package
749 (inherit sbcl-slynk-boot0)
750 (name "sbcl-slynk-arglists")
751 (inputs `(("slynk" ,sbcl-slynk-boot0)))
752 (arguments
753 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
754 ((#:asd-file _ "") "slynk.asd")
755 ((#:asd-system-name _ #f) "slynk/arglists")))))
756
757(define ecl-slynk-arglists
758 (sbcl-package->ecl-package sbcl-slynk-arglists))
759
760(define sbcl-slynk-util
761 (package
762 (inherit sbcl-slynk-boot0)
763 (name "sbcl-slynk-util")
764 (inputs `(("slynk" ,sbcl-slynk-boot0)))
765 (arguments
766 (substitute-keyword-arguments (package-arguments sbcl-slynk-boot0)
767 ((#:asd-file _ "") "slynk.asd")
768 ((#:asd-system-name _ #f) "slynk/util")))))
769
770(define ecl-slynk-util
771 (sbcl-package->ecl-package sbcl-slynk-util))
772
773(define sbcl-slynk-fancy-inspector
774 (package
775 (inherit sbcl-slynk-arglists)
776 (name "sbcl-slynk-fancy-inspector")
777 (inputs `(("slynk-util" ,sbcl-slynk-util)
778 ,@(package-inputs sbcl-slynk-arglists)))
779 (arguments
780 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
781 ((#:asd-system-name _ #f) "slynk/fancy-inspector")))))
782
783(define ecl-slynk-fancy-inspector
784 (sbcl-package->ecl-package sbcl-slynk-fancy-inspector))
785
786(define sbcl-slynk-package-fu
787 (package
788 (inherit sbcl-slynk-arglists)
789 (name "sbcl-slynk-package-fu")
790 (arguments
791 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
792 ((#:asd-system-name _ #f) "slynk/package-fu")))))
793
794(define ecl-slynk-package-fu
795 (sbcl-package->ecl-package sbcl-slynk-package-fu))
796
797(define sbcl-slynk-mrepl
798 (package
799 (inherit sbcl-slynk-fancy-inspector)
800 (name "sbcl-slynk-mrepl")
801 (arguments
802 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
803 ((#:asd-system-name _ #f) "slynk/mrepl")))))
804
805(define ecl-slynk-mrepl
806 (sbcl-package->ecl-package sbcl-slynk-mrepl))
807
808(define sbcl-slynk-trace-dialog
809 (package
810 (inherit sbcl-slynk-arglists)
811 (name "sbcl-slynk-trace-dialog")
812 (arguments
813 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
814 ((#:asd-system-name _ #f) "slynk/trace-dialog")))))
815
816(define ecl-slynk-trace-dialog
817 (sbcl-package->ecl-package sbcl-slynk-trace-dialog))
818
819(define sbcl-slynk-profiler
820 (package
821 (inherit sbcl-slynk-arglists)
822 (name "sbcl-slynk-profiler")
823 (arguments
824 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
825 ((#:asd-system-name _ #f) "slynk/profiler")))))
826
827(define ecl-slynk-profiler
828 (sbcl-package->ecl-package sbcl-slynk-profiler))
829
830(define sbcl-slynk-stickers
831 (package
832 (inherit sbcl-slynk-arglists)
833 (name "sbcl-slynk-stickers")
834 (arguments
835 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
836 ((#:asd-system-name _ #f) "slynk/stickers")))))
837
838(define ecl-slynk-stickers
839 (sbcl-package->ecl-package sbcl-slynk-stickers))
840
841(define sbcl-slynk-indentation
842 (package
843 (inherit sbcl-slynk-arglists)
844 (name "sbcl-slynk-indentation")
845 (arguments
846 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
847 ((#:asd-system-name _ #f) "slynk/indentation")))))
848
849(define ecl-slynk-indentation
850 (sbcl-package->ecl-package sbcl-slynk-indentation))
851
852(define sbcl-slynk-retro
853 (package
854 (inherit sbcl-slynk-arglists)
855 (name "sbcl-slynk-retro")
856 (arguments
857 (substitute-keyword-arguments (package-arguments sbcl-slynk-arglists)
858 ((#:asd-system-name _ #f) "slynk/retro")))))
859
860(define ecl-slynk-retro
861 (sbcl-package->ecl-package sbcl-slynk-retro))
862
863(define slynk-systems
864 '("slynk"
865 "slynk-util"
866 "slynk-arglists"
867 "slynk-fancy-inspector"
868 "slynk-package-fu"
869 "slynk-mrepl"
870 "slynk-profiler"
871 "slynk-trace-dialog"
872 "slynk-stickers"
873 "slynk-indentation"
874 "slynk-retro"))
875
876(define-public sbcl-slynk
877 (package
878 (inherit sbcl-slynk-boot0)
879 (name "sbcl-slynk")
880 (inputs
881 `(("slynk" ,sbcl-slynk-boot0)
882 ("slynk-util" ,sbcl-slynk-util)
883 ("slynk-arglists" ,sbcl-slynk-arglists)
884 ("slynk-fancy-inspector" ,sbcl-slynk-fancy-inspector)
885 ("slynk-package-fu" ,sbcl-slynk-package-fu)
886 ("slynk-mrepl" ,sbcl-slynk-mrepl)
887 ("slynk-profiler" ,sbcl-slynk-profiler)
888 ("slynk-trace-dialog" ,sbcl-slynk-trace-dialog)
889 ("slynk-stickers" ,sbcl-slynk-stickers)
890 ("slynk-indentation" ,sbcl-slynk-indentation)
891 ("slynk-retro" ,sbcl-slynk-retro)))
892 (native-inputs `(("sbcl" ,sbcl)))
893 (build-system trivial-build-system)
894 (source #f)
895 (outputs '("out" "image"))
896 (arguments
897 `(#:modules ((guix build union)
898 (guix build utils)
899 (guix build lisp-utils))
900 #:builder
901 (begin
902 (use-modules (ice-9 match)
903 (srfi srfi-1)
904 (guix build union)
905 (guix build lisp-utils))
906
907 (union-build
908 (assoc-ref %outputs "out")
909 (filter-map
910 (match-lambda
911 ((name . path)
912 (if (string-prefix? "slynk" name) path #f)))
913 %build-inputs))
914
915 (prepend-to-source-registry
916 (string-append (assoc-ref %outputs "out") "//"))
917
918 (parameterize ((%lisp-type "sbcl")
919 (%lisp (string-append (assoc-ref %build-inputs "sbcl")
920 "/bin/sbcl")))
921 (build-image (string-append
922 (assoc-ref %outputs "image")
923 "/bin/slynk")
924 %outputs
925 #:dependencies ',slynk-systems))
926 #t)))))
927
928(define-public ecl-slynk
929 (package
930 (inherit sbcl-slynk)
931 (name "ecl-slynk")
932 (inputs
933 (map (match-lambda
934 ((name pkg . _)
935 (list name (sbcl-package->ecl-package pkg))))
936 (package-inputs sbcl-slynk)))
937 (native-inputs '())
938 (outputs '("out"))
939 (arguments
940 '(#:modules ((guix build union))
941 #:builder
942 (begin
943 (use-modules (ice-9 match)
944 (guix build union))
945 (match %build-inputs
946 (((names . paths) ...)
947 (union-build (assoc-ref %outputs "out")
948 paths)
949 #t)))))))
950
951(define-public sbcl-parse-js
952 (let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
953 (revision "1"))
954 (package
955 (name "sbcl-parse-js")
956 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
957 (source
958 (origin
959 (method git-fetch)
960 (uri (git-reference
961 (url "http://marijn.haverbeke.nl/git/parse-js")
962 (commit commit)))
963 (file-name (string-append name "-" commit "-checkout"))
964 (sha256
965 (base32
966 "1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
967 (build-system asdf-build-system/sbcl)
9ca4c654 968 (home-page "https://marijnhaverbeke.nl/parse-js/")
88f06fd0
PN
969 (synopsis "Parse JavaScript")
970 (description "Parse-js is a Common Lisp package for parsing
971JavaScript (ECMAScript 3). It has basic support for ECMAScript 5.")
972 (license license:zlib))))
973
974(define-public cl-parse-js
975 (sbcl-package->cl-source-package sbcl-parse-js))
976
977(define-public sbcl-parse-number
978 (package
979 (name "sbcl-parse-number")
980 (version "1.7")
981 (source
982 (origin
983 (method git-fetch)
984 (uri (git-reference
985 (url "https://github.com/sharplispers/parse-number/")
986 (commit (string-append "v" version))))
987 (file-name (git-file-name name version))
988 (sha256
989 (base32
990 "0sk06ib1bhqv9y39vwnnw44vmbc4b0kvqm37xxmkxd4dwchq82d7"))))
991 (build-system asdf-build-system/sbcl)
fed4ff33 992 (home-page "https://www.cliki.net/PARSE-NUMBER")
88f06fd0
PN
993 (synopsis "Parse numbers")
994 (description "@code{parse-number} is a library of functions for parsing
995strings into one of the standard Common Lisp number types without using the
996reader. @code{parse-number} accepts an arbitrary string and attempts to parse
997the string into one of the standard Common Lisp number types, if possible, or
998else @code{parse-number} signals an error of type @code{invalid-number}.")
999 (license license:bsd-3)))
1000
1001(define-public cl-parse-number
1002 (sbcl-package->cl-source-package sbcl-parse-number))
1003
1004(define-public sbcl-iterate
1005 (package
1006 (name "sbcl-iterate")
f36ec871 1007 (version "1.5")
88f06fd0
PN
1008 (source
1009 (origin
1010 (method url-fetch)
f36ec871
GLV
1011 (uri (string-append "https://common-lisp.net/project/iterate/releases/"
1012 "iterate-" version ".tar.gz"))
88f06fd0
PN
1013 (sha256
1014 (base32
f36ec871 1015 "1lqsbhrkfl0yif46aymvb7l3nb9wdcmj4jyw485blj32jb4famzn"))))
88f06fd0
PN
1016 (build-system asdf-build-system/sbcl)
1017 (native-inputs
1018 `(("rt" ,sbcl-rt)))
1019 (home-page "https://common-lisp.net/project/iterate/")
1020 (synopsis "Iteration construct for Common Lisp")
1021 (description "@code{iterate} is an iteration construct for Common Lisp.
1022It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
1023
1024@itemize
1025@item it is extensible,
1026@item it helps editors like Emacs indent iterate forms by having a more
1027 lisp-like syntax, and
1028@item it isn't part of the ANSI standard for Common Lisp.
1029@end itemize\n")
1030 (license license:expat)))
1031
1032(define-public cl-iterate
1033 (sbcl-package->cl-source-package sbcl-iterate))
1034
1035(define-public ecl-iterate
1036 (sbcl-package->ecl-package sbcl-iterate))
1037
1038(define-public sbcl-cl-uglify-js
1039 ;; There have been many bug fixes since the 2010 release.
1040 (let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
1041 (revision "1"))
1042 (package
1043 (name "sbcl-cl-uglify-js")
1044 (version (string-append "0.1-" revision "." (string-take commit 9)))
1045 (source
1046 (origin
1047 (method git-fetch)
1048 (uri (git-reference
1049 (url "https://github.com/mishoo/cl-uglify-js.git")
1050 (commit commit)))
1051 (file-name (git-file-name name version))
1052 (sha256
1053 (base32
1054 "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
1055 (build-system asdf-build-system/sbcl)
1056 (inputs
1057 `(("sbcl-parse-js" ,sbcl-parse-js)
1058 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
1059 ("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
1060 ("sbcl-parse-number" ,sbcl-parse-number)
1061 ("sbcl-iterate" ,sbcl-iterate)))
1062 (home-page "https://github.com/mishoo/cl-uglify-js")
1063 (synopsis "JavaScript compressor library for Common Lisp")
1064 (description "This is a Common Lisp version of UglifyJS, a JavaScript
1065compressor. It works on data produced by @code{parse-js} to generate a
1066@dfn{minified} version of the code. Currently it can:
1067
1068@itemize
1069@item reduce variable names (usually to single letters)
1070@item join consecutive @code{var} statements
1071@item resolve simple binary expressions
1072@item group most consecutive statements using the @code{sequence} operator (comma)
1073@item remove unnecessary blocks
1074@item convert @code{IF} expressions in various ways that result in smaller code
1075@item remove some unreachable code
1076@end itemize\n")
1077 (license license:zlib))))
1078
1079(define-public cl-uglify-js
1080 (sbcl-package->cl-source-package sbcl-cl-uglify-js))
1081
ba42da24
PN
1082(define-public uglify-js
1083 (package
1084 (inherit sbcl-cl-uglify-js)
1085 (name "uglify-js")
1086 (build-system trivial-build-system)
1087 (arguments
1088 `(#:modules ((guix build utils))
1089 #:builder
1090 (let* ((bin (string-append (assoc-ref %outputs "out") "/bin/"))
1091 (script (string-append bin "uglify-js")))
1092 (use-modules (guix build utils))
1093 (mkdir-p bin)
1094 (with-output-to-file script
1095 (lambda _
1096 (format #t "#!~a/bin/sbcl --script
1097 (require :asdf)
1098 (push (truename \"~a/lib/sbcl\") asdf:*central-registry*)"
1099 (assoc-ref %build-inputs "sbcl")
1100 (assoc-ref %build-inputs "sbcl-cl-uglify-js"))
1101 ;; FIXME: cannot use progn here because otherwise it fails to
1102 ;; find cl-uglify-js.
1103 (for-each
1104 write
1105 '(;; Quiet, please!
1106 (let ((*standard-output* (make-broadcast-stream))
1107 (*error-output* (make-broadcast-stream)))
1108 (asdf:load-system :cl-uglify-js))
1109 (let ((file (cadr *posix-argv*)))
1110 (if file
1111 (format t "~a"
1112 (cl-uglify-js:ast-gen-code
1113 (cl-uglify-js:ast-mangle
1114 (cl-uglify-js:ast-squeeze
1115 (with-open-file (in file)
1116 (parse-js:parse-js in))))
1117 :beautify nil))
1118 (progn
1119 (format *error-output*
1120 "Please provide a JavaScript file.~%")
1121 (sb-ext:exit :code 1))))))))
1122 (chmod script #o755)
1123 #t)))
1124 (inputs
1125 `(("sbcl" ,sbcl)
1126 ("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
1127 (synopsis "JavaScript compressor")))
1128
88f06fd0
PN
1129(define-public sbcl-cl-strings
1130 (let ((revision "1")
1131 (commit "c5c5cbafbf3e6181d03c354d66e41a4f063f00ae"))
1132 (package
1133 (name "sbcl-cl-strings")
1134 (version (git-version "0.0.0" revision commit))
1135 (source
1136 (origin
1137 (method git-fetch)
1138 (uri (git-reference
1139 (url "https://github.com/diogoalexandrefranco/cl-strings")
1140 (commit commit)))
1141 (sha256
1142 (base32
1143 "00754mfaqallj480lwd346nkfb6ra8pa8xcxcylf4baqn604zlmv"))
1144 (file-name (string-append "cl-strings-" version "-checkout"))))
1145 (build-system asdf-build-system/sbcl)
1146 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
1147 (description
1148 "@command{cl-strings} is a small, portable, dependency-free set of
1149utilities that make it even easier to manipulate text in Common Lisp. It has
1150100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
1151 (home-page "https://github.com/diogoalexandrefranco/cl-strings")
1152 (license license:expat))))
1153
1154(define-public cl-strings
1155 (sbcl-package->cl-source-package sbcl-cl-strings))
1156
1157(define-public ecl-cl-strings
1158 (sbcl-package->ecl-package sbcl-cl-strings))
1159
1160(define-public sbcl-trivial-features
1161 (package
1162 (name "sbcl-trivial-features")
1163 (version "0.8")
1164 (source
1165 (origin
1166 (method git-fetch)
1167 (uri (git-reference
1168 (url "https://github.com/trivial-features/trivial-features.git")
1169 (commit (string-append "v" version))))
1170 (file-name (git-file-name "trivial-features" version))
1171 (sha256
1172 (base32 "0ccv7dqyrk55xga78i5vzlic7mdwp28in3g1a8fqhlk6626scsq9"))))
1173 (build-system asdf-build-system/sbcl)
1174 (arguments '(#:tests? #f))
aec92d0b 1175 (home-page "https://cliki.net/trivial-features")
88f06fd0
PN
1176 (synopsis "Ensures consistency of @code{*FEATURES*} in Common Lisp")
1177 (description "Trivial-features ensures that @code{*FEATURES*} is
1178consistent across multiple Common Lisp implementations.")
1179 (license license:expat)))
1180
1181(define-public cl-trivial-features
1182 (sbcl-package->cl-source-package sbcl-trivial-features))
1183
1184(define-public ecl-trivial-features
1185 (sbcl-package->ecl-package sbcl-trivial-features))
1186
1187(define-public sbcl-hu.dwim.asdf
1188 (package
1189 (name "sbcl-hu.dwim.asdf")
1190 (version "20190521")
1191 (source
1192 (origin
1193 (method url-fetch)
1194 (uri (string-append "http://beta.quicklisp.org/archive/hu.dwim.asdf/"
1195 "2019-05-21/hu.dwim.asdf-" version "-darcs.tgz"))
1196 (sha256
1197 (base32
1198 "0rsbv71vyszy8w35yjwb5h6zcmknjq223hkzir79y72qdsc6sabn"))))
1199 (build-system asdf-build-system/sbcl)
1200 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.asdf")
1201 (synopsis "Extensions to ASDF")
1202 (description "Various ASDF extensions such as attached test and
1203documentation system, explicit development support, etc.")
1204 (license license:public-domain)))
1205
1206(define-public cl-hu.dwim.asdf
1207 (sbcl-package->cl-source-package sbcl-hu.dwim.asdf))
1208
1209(define-public ecl-hu.dwim.asdf
1210 (sbcl-package->ecl-package sbcl-hu.dwim.asdf))
1211
1212(define-public sbcl-hu.dwim.stefil
1213 (let ((commit "ab6d1aa8995878a1b66d745dfd0ba021090bbcf9"))
1214 (package
1215 (name "sbcl-hu.dwim.stefil")
1216 (version (git-version "0.0.0" "1" commit))
1217 (source
1218 (origin
1219 (method git-fetch)
1220 (uri
1221 (git-reference
1222 (url "https://gitlab.common-lisp.net/xcvb/hu.dwim.stefil.git")
1223 (commit commit)))
1224 (sha256
1225 (base32 "1d8yccw65zj3zh46cbi3x6nmn1dwdb76s9d0av035077mvyirqqp"))
1226 (file-name (git-file-name "hu.dwim.stefil" version))))
1227 (build-system asdf-build-system/sbcl)
1228 (native-inputs
1229 `(("asdf:cl-hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
1230 (inputs
1231 `(("sbcl-alexandria" ,sbcl-alexandria)))
1232 (home-page "https://hub.darcs.net/hu.dwim/hu.dwim.stefil")
1233 (synopsis "Simple test framework")
1234 (description "Stefil is a simple test framework for Common Lisp,
1235with a focus on interactive development.")
1236 (license license:public-domain))))
1237
1238(define-public cl-hu.dwim.stefil
1239 (sbcl-package->cl-source-package sbcl-hu.dwim.stefil))
1240
1241(define-public ecl-hu.dwim.stefil
1242 (sbcl-package->ecl-package sbcl-hu.dwim.stefil))
1243
1244(define-public sbcl-babel
1245 (package
1246 (name "sbcl-babel")
1247 (version "0.5.0")
1248 (source
1249 (origin
1250 (method git-fetch)
1251 (uri (git-reference
1252 (url "https://github.com/cl-babel/babel.git")
1253 (commit (string-append "v" version))))
1254 (file-name (git-file-name "babel" version))
1255 (sha256
1256 (base32 "139a8rn2gnhj082n8jg01gc8fyr63hkj57hgrnmb3d1r327yc77f"))))
1257 (build-system asdf-build-system/sbcl)
1258 (native-inputs
1259 `(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
1260 (inputs
1261 `(("sbcl-alexandria" ,sbcl-alexandria)
1262 ("sbcl-trivial-features" ,sbcl-trivial-features)))
1263 (home-page "https://common-lisp.net/project/babel/")
1264 (synopsis "Charset encoding and decoding library")
1265 (description "Babel is a charset encoding and decoding library, not unlike
1266GNU libiconv, but completely written in Common Lisp.")
1267 (license license:expat)))
1268
1269(define-public cl-babel
1270 (sbcl-package->cl-source-package sbcl-babel))
1271
1272(define-public ecl-babel
1273 (sbcl-package->ecl-package sbcl-babel))
1274
1275(define-public sbcl-cl-yacc
1276 (package
1277 (name "sbcl-cl-yacc")
1278 (version "0.3")
1279 (source
1280 (origin
1281 (method git-fetch)
1282 (uri (git-reference
1283 (url "https://github.com/jech/cl-yacc")
1284 (commit (string-append "cl-yacc-" version))))
1285 (sha256
1286 (base32
1287 "16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
1288 (file-name (string-append "cl-yacc-" version "-checkout"))))
1289 (build-system asdf-build-system/sbcl)
1290 (arguments
1291 `(#:asd-file "yacc.asd"
1292 #:asd-system-name "yacc"))
1293 (synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
1294 (description
1295 "CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
1296to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
1297
1298CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
1299by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
1300to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
1301 (home-page "https://www.irif.fr/~jch//software/cl-yacc/")
1302 (license license:expat)))
1303
1304(define-public cl-yacc
1305 (sbcl-package->cl-source-package sbcl-cl-yacc))
1306
1307(define-public ecl-cl-yacc
1308 (sbcl-package->ecl-package sbcl-cl-yacc))
1309
1310(define-public sbcl-jpl-util
1311 (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
1312 (package
1313 (name "sbcl-jpl-util")
1314 (version "20151005")
1315 (source
1316 (origin
1317 (method git-fetch)
1318 (uri (git-reference
1319 ;; Quicklisp uses this fork.
1320 (url "https://github.com/hawkir/cl-jpl-util")
1321 (commit commit)))
1322 (file-name
1323 (git-file-name "jpl-util" version))
1324 (sha256
1325 (base32
1326 "0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
1327 (build-system asdf-build-system/sbcl)
1328 (synopsis "Collection of Common Lisp utility functions and macros")
1329 (description
1330 "@command{cl-jpl-util} is a collection of Common Lisp utility functions
1331and macros, primarily for software projects written in CL by the author.")
1332 (home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
1333 (license license:isc))))
1334
1335(define-public cl-jpl-util
1336 (sbcl-package->cl-source-package sbcl-jpl-util))
1337
1338(define-public ecl-jpl-util
1339 (sbcl-package->ecl-package sbcl-jpl-util))
1340
1341(define-public sbcl-jpl-queues
1342 (package
1343 (name "sbcl-jpl-queues")
1344 (version "0.1")
1345 (source
1346 (origin
1347 (method url-fetch)
1348 (uri (string-append
1349 "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
1350 version
1351 ".tar.gz"))
1352 (sha256
1353 (base32
1354 "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
1355 (build-system asdf-build-system/sbcl)
1356 (inputs
1357 `(("jpl-util" ,sbcl-jpl-util)
1358 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1359 (arguments
1360 ;; Tests seem to be broken.
1361 `(#:tests? #f))
1362 (synopsis "Common Lisp library implementing a few different kinds of queues")
1363 (description
1364 "A Common Lisp library implementing a few different kinds of queues:
1365
1366@itemize
1367@item Bounded and unbounded FIFO queues.
1368@item Lossy bounded FIFO queues that drop elements when full.
1369@item Unbounded random-order queues that use less memory than unbounded FIFO queues.
1370@end itemize
1371
1372Additionally, a synchronization wrapper is provided to make any queue
1373conforming to the @command{jpl-queues} API thread-safe for lightweight
1374multithreading applications. (See Calispel for a more sophisticated CL
1375multithreaded message-passing library with timeouts and alternation among
1376several blockable channels.)")
1377 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1378 (license license:isc)))
1379
1380(define-public cl-jpl-queues
1381 (sbcl-package->cl-source-package sbcl-jpl-queues))
1382
1383(define-public ecl-jpl-queues
1384 (sbcl-package->ecl-package sbcl-jpl-queues))
1385
1386(define-public sbcl-eos
1387 (let ((commit "b0faca83781ead9a588661e37bd47f90362ccd94"))
1388 (package
1389 (name "sbcl-eos")
1390 (version (git-version "0.0.0" "1" commit))
1391 (source
1392 (origin
1393 (method git-fetch)
1394 (uri (git-reference
1395 (url "https://github.com/adlai/Eos")
1396 (commit commit)))
1397 (sha256
1398 (base32
1399 "1bq8cfg087iyxmxi1mwgx5cfgy3b8ydrf81xljcis8qbgb2vszph"))
1400 (file-name (git-file-name "eos" version))))
1401 (build-system asdf-build-system/sbcl)
1402 (synopsis "Unit Testing for Common Lisp")
1403 (description
1404 "Eos was a unit testing library for Common Lisp.
1405It began as a fork of FiveAM; however, FiveAM development has continued, while
1406that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
1407 (home-page "https://github.com/adlai/Eos")
1408 (license license:expat))))
1409
1410(define-public cl-eos
1411 (sbcl-package->cl-source-package sbcl-eos))
1412
1413(define-public ecl-eos
1414 (sbcl-package->ecl-package sbcl-eos))
1415
1416(define-public sbcl-esrap
1417 (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
1418 (package
1419 (name "sbcl-esrap")
1420 (version (git-version "0.0.0" "1" commit))
1421 (source
1422 (origin
1423 (method git-fetch)
1424 (uri (git-reference
1425 (url "https://github.com/nikodemus/esrap")
1426 (commit commit)))
1427 (sha256
1428 (base32
1429 "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
1430 (file-name (git-file-name "esrap" version))))
1431 (build-system asdf-build-system/sbcl)
1432 (native-inputs
1433 `(("eos" ,sbcl-eos))) ;For testing only.
1434 (inputs
1435 `(("alexandria" ,sbcl-alexandria)))
1436 (synopsis "Common Lisp packrat parser")
1437 (description
1438 "A packrat parser for Common Lisp.
1439In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
1440
1441@itemize
1442@item dynamic redefinition of nonterminals
1443@item inline grammars
1444@item semantic predicates
1445@item introspective facilities (describing grammars, tracing, setting breaks)
1446@end itemize\n")
1447 (home-page "https://nikodemus.github.io/esrap/")
1448 (license license:expat))))
1449
1450(define-public cl-esrap
1451 (sbcl-package->cl-source-package sbcl-esrap))
1452
1453(define-public ecl-esrap
1454 (sbcl-package->ecl-package sbcl-esrap))
1455
1456(define-public sbcl-split-sequence
1457 (package
1458 (name "sbcl-split-sequence")
92da0588 1459 (version "2.0.0")
88f06fd0
PN
1460 (source
1461 (origin
1462 (method git-fetch)
1463 (uri (git-reference
1464 (url "https://github.com/sharplispers/split-sequence")
1465 (commit (string-append "v" version))))
1466 (sha256
1467 (base32
92da0588 1468 "0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
88f06fd0
PN
1469 (file-name (git-file-name "split-sequence" version))))
1470 (build-system asdf-build-system/sbcl)
92da0588
GLV
1471 (native-inputs
1472 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
1473 (synopsis "Member of the Common Lisp Utilities family of programs")
1474 (description
1475 "Splits sequence into a list of subsequences delimited by objects
1476satisfying the test.")
1477 (home-page "https://cliki.net/split-sequence")
1478 (license license:expat)))
1479
1480(define-public cl-split-sequence
1481 (sbcl-package->cl-source-package sbcl-split-sequence))
1482
1483(define-public ecl-split-sequence
1484 (sbcl-package->ecl-package sbcl-split-sequence))
1485
1486(define-public sbcl-html-encode
1487 (package
1488 (name "sbcl-html-encode")
1489 (version "1.2")
1490 (source
1491 (origin
1492 (method url-fetch)
1493 (uri (string-append
1494 "http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
1495 version ".tgz"))
1496 (sha256
1497 (base32
1498 "06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
1499 (file-name (string-append "colorize" version "-checkout"))))
1500 (build-system asdf-build-system/sbcl)
1501 (synopsis "Common Lisp library for encoding text in various web-savvy encodings")
1502 (description
1503 "A library for encoding text in various web-savvy encodings.")
1504 (home-page "http://quickdocs.org/html-encode/")
1505 (license license:expat)))
1506
1507(define-public cl-html-encode
1508 (sbcl-package->cl-source-package sbcl-html-encode))
1509
1510(define-public ecl-html-encode
1511 (sbcl-package->ecl-package sbcl-html-encode))
1512
1513(define-public sbcl-colorize
1514 (let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
1515 (package
1516 (name "sbcl-colorize")
1517 (version (git-version "0.0.0" "1" commit))
1518 (source
1519 (origin
1520 (method git-fetch)
1521 (uri (git-reference
1522 (url "https://github.com/kingcons/colorize")
1523 (commit commit)))
1524 (sha256
1525 (base32
1526 "1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
1527 (file-name (git-file-name "colorize" version))))
1528 (build-system asdf-build-system/sbcl)
1529 (inputs
1530 `(("alexandria" ,sbcl-alexandria)
1531 ("split-sequence" ,sbcl-split-sequence)
1532 ("html-encode" ,sbcl-html-encode)))
1533 (synopsis "Common Lisp for syntax highlighting")
1534 (description
1535 "@command{colorize} is a Lisp library for syntax highlighting
1536supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1537C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
1538 (home-page "https://github.com/kingcons/colorize")
1539 ;; TODO: Missing license?
1540 (license license:expat))))
1541
1542(define-public cl-colorize
1543 (sbcl-package->cl-source-package sbcl-colorize))
1544
1545(define-public ecl-colorize
1546 (sbcl-package->ecl-package sbcl-colorize))
1547
1548(define-public sbcl-3bmd
1549 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1550 (package
1551 (name "sbcl-3bmd")
1552 (version (git-version "0.0.0" "1" commit))
1553 (source
1554 (origin
1555 (method git-fetch)
1556 (uri (git-reference
1557 (url "https://github.com/3b/3bmd")
1558 (commit commit)))
1559 (sha256
1560 (base32
1561 "1rgv3gi7wf963ikmmpk132wgn0icddf226gq3bmcnk1fr3v9gf2f"))
1562 (file-name (git-file-name "3bmd" version))))
1563 (build-system asdf-build-system/sbcl)
1564 (arguments
1565 ;; FIXME: We need to specify the name because the build-system thinks
1566 ;; "3" is a version marker.
1567 `(#:asd-system-name "3bmd"))
1568 (inputs
1569 `(("esrap" ,sbcl-esrap)
1570 ("split-sequence" ,sbcl-split-sequence)))
1571 (synopsis "Markdown processor in Command Lisp using esrap parser")
1572 (description
1573 "Common Lisp Markdown -> HTML converter, using @command{esrap} for
1574parsing, and grammar based on @command{peg-markdown}.")
1575 (home-page "https://github.com/3b/3bmd")
1576 (license license:expat))))
1577
1578(define-public cl-3bmd
1579 (sbcl-package->cl-source-package sbcl-3bmd))
1580
1581(define-public ecl-3bmd
1582 (sbcl-package->ecl-package sbcl-3bmd))
1583
1584(define-public sbcl-3bmd-ext-code-blocks
1585 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1586 (package
1587 (inherit sbcl-3bmd)
1588 (name "sbcl-3bmd-ext-code-blocks")
1589 (arguments
1590 `(#:asd-system-name "3bmd-ext-code-blocks"
1591 #:asd-file "3bmd-ext-code-blocks.asd"))
1592 (inputs
1593 `(("3bmd" ,sbcl-3bmd)
1594 ("colorize" ,sbcl-colorize)))
1595 (synopsis "3bmd extension which adds support for GitHub-style fenced
1596code blocks")
1597 (description
1598 "3bmd extension which adds support for GitHub-style fenced code blocks,
1599with @command{colorize} support."))))
1600
1601(define-public cl-3bmd-ext-code-blocks
1602 (sbcl-package->cl-source-package sbcl-3bmd-ext-code-blocks))
1603
1604(define-public ecl-3bmd-ext-code-blocks
1605 (sbcl-package->ecl-package sbcl-3bmd-ext-code-blocks))
1606
1607(define-public sbcl-cl-fad
1608 (package
1609 (name "sbcl-cl-fad")
f0d9eaca 1610 (version "0.7.6")
88f06fd0
PN
1611 (source
1612 (origin
1613 (method git-fetch)
1614 (uri (git-reference
1615 (url "https://github.com/edicl/cl-fad/")
1616 (commit (string-append "v" version))))
1617 (sha256
1618 (base32
f0d9eaca 1619 "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa"))
88f06fd0
PN
1620 (file-name (string-append "cl-fad" version "-checkout"))))
1621 (build-system asdf-build-system/sbcl)
1622 (inputs
1623 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
1624 (synopsis "Portable pathname library for Common Lisp")
1625 (description
1626 "CL-FAD (for \"Files and Directories\") is a thin layer atop Common
1627Lisp's standard pathname functions. It is intended to provide some
1628unification between current CL implementations on Windows, OS X, Linux, and
1629Unix. Most of the code was written by Peter Seibel for his book Practical
1630Common Lisp.")
1631 (home-page "https://edicl.github.io/cl-fad/")
1632 (license license:bsd-2)))
1633
1634(define-public cl-fad
1635 (sbcl-package->cl-source-package sbcl-cl-fad))
1636
1637(define-public ecl-cl-fad
1638 (sbcl-package->ecl-package sbcl-cl-fad))
1639
1640(define-public sbcl-rt
e81b0719
GLV
1641 (let ((commit "a6a7503a0b47953bc7579c90f02a6dba1f6e4c5a")
1642 (revision "1"))
1643 (package
1644 (name "sbcl-rt")
1645 (version (git-version "1990.12.19" revision commit))
1646 (source
1647 (origin
1648 (method git-fetch)
1649 (uri (git-reference
1650 (url "http://git.kpe.io/rt.git")
1651 (commit commit)))
1652 (file-name (git-file-name name version))
1653 (sha256
1654 (base32 "13si2rrxaagbr0bkvg6sqicxxpyshabx6ad6byc9n2ik5ysna69b"))))
1655 (build-system asdf-build-system/sbcl)
1656 (synopsis "MIT Regression Tester")
1657 (description
1658 "RT provides a framework for writing regression test suites.")
1659 (home-page "https://www.cliki.net/rt")
1660 (license license:expat))))
88f06fd0
PN
1661
1662(define-public cl-rt
1663 (sbcl-package->cl-source-package sbcl-rt))
1664
1665(define-public ecl-rt
1666 (sbcl-package->ecl-package sbcl-rt))
1667
1668(define-public sbcl-nibbles
1669 (package
1670 (name "sbcl-nibbles")
1671 (version "0.14")
1672 (source
1673 (origin
1674 (method git-fetch)
1675 (uri (git-reference
1676 (url "https://github.com/sharplispers/nibbles/")
1677 (commit (string-append "v" version))))
1678 (sha256
1679 (base32
1680 "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
1681 (file-name (git-file-name "nibbles" version))))
1682 (build-system asdf-build-system/sbcl)
1683 (native-inputs
1684 ;; Tests only.
1685 `(("rt" ,sbcl-rt)))
1686 (synopsis "Common Lisp library for accessing octet-addressed blocks of data")
1687 (description
1688 "When dealing with network protocols and file formats, it's common to
1689have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1690flavors. Common Lisp sort of supports this by specifying :element-type for
1691streams, but that facility is underspecified and there's nothing similar for
1692read/write from octet vectors. What most people wind up doing is rolling their
1693own small facility for their particular needs and calling it a day.
1694
1695This library attempts to be comprehensive and centralize such
1696facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1697vectors in signed or unsigned flavors are provided; these functions are also
1698SETFable. Since it's sometimes desirable to read/write directly from streams,
1699functions for doing so are also provided. On some implementations,
1700reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1701also be supported.")
1702 (home-page "https://github.com/sharplispers/nibbles")
1703 (license license:bsd-3)))
1704
1705(define-public cl-nibbles
1706 (sbcl-package->cl-source-package sbcl-nibbles))
1707
1708(define-public ecl-nibbles
1709 (sbcl-package->ecl-package sbcl-nibbles))
1710
1711(define-public sbcl-ironclad
1712 (package
1713 (name "sbcl-ironclad")
acaeaa0a 1714 (version "0.49")
88f06fd0
PN
1715 (source
1716 (origin
1717 (method git-fetch)
1718 (uri (git-reference
1719 (url "https://github.com/sharplispers/ironclad/")
1720 (commit (string-append "v" version))))
1721 (sha256
acaeaa0a 1722 (base32 "0kbzqg2aasrhjwy3nrzy2ddy809n1j045w4qkyc3r2syqd203d4q"))
88f06fd0
PN
1723 (file-name (git-file-name name version))))
1724 (build-system asdf-build-system/sbcl)
1725 (native-inputs
1726 ;; Tests only.
1727 `(("rt" ,sbcl-rt)))
1728 (inputs
1729 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
acaeaa0a
GLV
1730 ("flexi-streams" ,sbcl-flexi-streams)
1731 ("trivial-garbage" ,sbcl-trivial-garbage)))
88f06fd0
PN
1732 (synopsis "Cryptographic toolkit written in Common Lisp")
1733 (description
1734 "Ironclad is a cryptography library written entirely in Common Lisp.
1735It includes support for several popular ciphers, digests, MACs and public key
1736cryptography algorithms. For several implementations that support Gray
1737streams, support is included for convenient stream wrappers.")
1738 (home-page "https://github.com/sharplispers/ironclad")
1739 (license license:bsd-3)))
1740
1741(define-public cl-ironclad
1742 (sbcl-package->cl-source-package sbcl-ironclad))
1743
1744(define-public ecl-ironclad
1745 (sbcl-package->ecl-package sbcl-ironclad))
1746
1747(define-public sbcl-named-readtables
1748 (let ((commit "4dfb89fa1af6b305b6492b8af042f5190c11e9fc")
1749 (revision "1"))
1750 (package
1751 (name "sbcl-named-readtables")
1752 (version (string-append "0.9-" revision "." (string-take commit 7)))
1753 (source
1754 (origin
1755 (method git-fetch)
1756 (uri (git-reference
1757 (url "https://github.com/melisgl/named-readtables.git")
1758 (commit commit)))
1759 (sha256
1760 (base32 "083kgh5462iqbb4px6kq8s7sggvpvkm36hx4qi9rnaw53b6ilqkk"))
1761 (file-name (git-file-name "named-readtables" version))))
1762 (build-system asdf-build-system/sbcl)
1763 (arguments
1764 ;; Tests seem to be broken.
1765 `(#:tests? #f))
1766 (home-page "https://github.com/melisgl/named-readtables/")
1767 (synopsis "Library that creates a namespace for named readtables")
1768 (description "Named readtables is a library that creates a namespace for
1769named readtables, which is akin to package namespacing in Common Lisp.")
1770 (license license:bsd-3))))
1771
1772(define-public cl-named-readtables
1773 (sbcl-package->cl-source-package sbcl-named-readtables))
1774
1775(define-public ecl-named-readtables
1776 (sbcl-package->ecl-package sbcl-named-readtables))
1777
1778(define-public sbcl-pythonic-string-reader
1779 (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
1780 (package
1781 (name "sbcl-pythonic-string-reader")
1782 (version (git-version "0.0.0" "1" commit))
1783 (source
1784 (origin
1785 (method git-fetch)
1786 (uri (git-reference
1787 (url "https://github.com/smithzvk/pythonic-string-reader/")
1788 (commit commit)))
1789 (sha256
1790 (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
1791 (file-name (git-file-name "pythonic-string-reader" version))))
1792 (build-system asdf-build-system/sbcl)
1793 (inputs
1794 `(("named-readtables" ,sbcl-named-readtables)))
1795 (home-page "https://github.com/smithzvk/pythonic-string-reader")
1796 (synopsis "Read table modification inspired by Python's three quote strings")
1797 (description "This piece of code sets up some reader macros that make it
1798simpler to input string literals which contain backslashes and double quotes
1799This is very useful for writing complicated docstrings and, as it turns out,
1800writing code that contains string literals that contain code themselves.")
1801 (license license:bsd-3))))
1802
1803(define-public cl-pythonic-string-reader
1804 (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
1805
1806(define-public ecl-pythonic-string-reader
1807 (sbcl-package->ecl-package sbcl-pythonic-string-reader))
1808
1809;; SLIME does not have a ASDF system definition to build all of Swank. As a
1810;; result, the asdf-build-system/sbcl will produce an almost empty package.
1811;; Some work was done to fix this at
1812;; https://github.com/sionescu/slime/tree/swank-asdf but it was never merged
1813;; and is now lagging behind. Building SBCL fasls might not be worth the
1814;; hassle, so let's just ship the source then.
1815(define-public cl-slime-swank
1816 (package
1817 (name "cl-slime-swank")
1818 (version "2.24")
1819 (source
1820 (origin
1821 (file-name (string-append name "-" version ".tar.gz"))
1822 (method git-fetch)
1823 (uri (git-reference
1824 (url "https://github.com/slime/slime/")
1825 (commit (string-append "v" version))))
1826 (sha256
1827 (base32
1828 "0js24x42m7b5iymb4rxz501dff19vav5pywnzv50b673rbkaaqvh"))))
1829 (build-system asdf-build-system/source)
1830 (home-page "https://github.com/slime/slime")
1831 (synopsis "Common Lisp Swank server")
1832 (description
1833 "This is only useful if you want to start a Swank server in a Lisp
1834processes that doesn't run under Emacs. Lisp processes created by
1835@command{M-x slime} automatically start the server.")
1836 (license (list license:gpl2+ license:public-domain))))
1837
1838(define-public sbcl-slime-swank
1839 (deprecated-package "sbcl-slime-swank" cl-slime-swank))
1840
1841(define-public sbcl-mgl-pax
1842 (let ((commit "818448418d6b9de74620f606f5b23033c6082769"))
1843 (package
1844 (name "sbcl-mgl-pax")
1845 (version (git-version "0.0.0" "1" commit))
1846 (source
1847 (origin
1848 (method git-fetch)
1849 (uri (git-reference
1850 (url "https://github.com/melisgl/mgl-pax")
1851 (commit commit)))
1852 (sha256
1853 (base32
1854 "1p97zfkh130bdxqqxwaw2j9psv58751wakx7czbfpq410lg7dd7i"))
1855 (file-name (git-file-name "mgl-pax" version))))
1856 (build-system asdf-build-system/sbcl)
1857 (inputs
1858 `(("3bmd" ,sbcl-3bmd)
1859 ("3bmd-ext-code-blocks" ,sbcl-3bmd-ext-code-blocks)
1860 ("babel" ,sbcl-babel)
1861 ("cl-fad" ,sbcl-cl-fad)
1862 ("ironclad" ,sbcl-ironclad)
1863 ("named-readtables" ,sbcl-named-readtables)
7e23dcc7
GLV
1864 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)))
1865 (propagated-inputs
1866 ;; Packages having mgl-pax as input complain that it can't find
1867 ;; swank if we put it in inputs, so let's put it in propageted-inputs.
1868 `(("swank" ,cl-slime-swank)))
88f06fd0
PN
1869 (synopsis "Exploratory programming environment and documentation generator")
1870 (description
1871 "PAX provides an extremely poor man's Explorable Programming
1872environment. Narrative primarily lives in so called sections that mix markdown
1873docstrings with references to functions, variables, etc, all of which should
1874probably have their own docstrings.
1875
1876The primary focus is on making code easily explorable by using SLIME's
1877@command{M-.} (@command{slime-edit-definition}). See how to enable some
1878fanciness in Emacs Integration. Generating documentation from sections and all
1879the referenced items in Markdown or HTML format is also implemented.
1880
1881With the simplistic tools provided, one may accomplish similar effects as with
1882Literate Programming, but documentation is generated from code, not vice versa
1883and there is no support for chunking yet. Code is first, code must look
1884pretty, documentation is code.")
1885 (home-page "http://quotenil.com/")
1886 (license license:expat))))
1887
1888(define-public cl-mgl-pax
1889 (sbcl-package->cl-source-package sbcl-mgl-pax))
1890
1891(define-public ecl-mgl-pax
1892 (sbcl-package->ecl-package sbcl-mgl-pax))
1893
1894(define-public sbcl-lisp-unit
1895 (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
1896 (package
1897 (name "sbcl-lisp-unit")
1898 (version (git-version "0.0.0" "1" commit))
1899 (source
1900 (origin
1901 (method git-fetch)
1902 (uri (git-reference
1903 (url "https://github.com/OdonataResearchLLC/lisp-unit")
1904 (commit commit)))
1905 (sha256
1906 (base32
1907 "0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
1908 (file-name (git-file-name "lisp-unit" version))))
1909 (build-system asdf-build-system/sbcl)
1910 (synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
1911 (description
1912 "@command{lisp-unit} is a Common Lisp library that supports unit
1913testing. It is an extension of the library written by Chris Riesbeck.")
1914 (home-page "https://github.com/OdonataResearchLLC/lisp-unit")
1915 (license license:expat))))
1916
1917(define-public cl-lisp-unit
1918 (sbcl-package->cl-source-package sbcl-lisp-unit))
1919
1920(define-public ecl-lisp-unit
1921 (sbcl-package->ecl-package sbcl-lisp-unit))
1922
1923(define-public sbcl-anaphora
1924 (package
1925 (name "sbcl-anaphora")
1926 (version "0.9.6")
1927 (source
1928 (origin
1929 (method git-fetch)
1930 (uri (git-reference
1931 (url "https://github.com/tokenrove/anaphora")
1932 (commit version)))
1933 (sha256
1934 (base32
1935 "19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
1936 (file-name (git-file-name "anaphora" version))))
1937 (build-system asdf-build-system/sbcl)
1938 (native-inputs
1939 `(("rt" ,sbcl-rt)))
1940 (synopsis "The anaphoric macro collection from Hell")
1941 (description
1942 "Anaphora is the anaphoric macro collection from Hell: it includes many
1943new fiends in addition to old friends like @command{aif} and
1944@command{awhen}.")
1945 (home-page "https://github.com/tokenrove/anaphora")
1946 (license license:public-domain)))
1947
1948(define-public cl-anaphora
1949 (sbcl-package->cl-source-package sbcl-anaphora))
1950
1951(define-public ecl-anaphora
1952 (sbcl-package->ecl-package sbcl-anaphora))
1953
1954(define-public sbcl-lift
1955 (let ((commit "7d49a66c62759535624037826891152223d4206c"))
1956 (package
1957 (name "sbcl-lift")
1958 (version (git-version "1.7.1" "1" commit))
1959 (source
1960 (origin
1961 (method git-fetch)
1962 (uri (git-reference
1963 (url "https://github.com/gwkkwg/lift")
1964 (commit commit)))
1965 (sha256
1966 (base32
1967 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp"))
1968 (file-name (git-file-name "lift" version))
1969 (modules '((guix build utils)))
1970 (snippet
1971 ;; Don't keep the bundled website
1972 `(begin
1973 (delete-file-recursively "website")
1974 #t))))
1975 (build-system asdf-build-system/sbcl)
1976 (arguments
1977 ;; The tests require a debugger, but we run with the debugger disabled.
1978 '(#:tests? #f))
1979 (synopsis "LIsp Framework for Testing")
1980 (description
1981 "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
1982Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1983testcases are organized into hierarchical testsuites each of which can have
1984its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1985supports randomized testing, benchmarking, profiling, and reporting.")
1986 (home-page "https://github.com/gwkkwg/lift")
1987 (license license:expat))))
1988
1989(define-public cl-lift
1990 (sbcl-package->cl-source-package sbcl-lift))
1991
1992(define-public ecl-lift
1993 (sbcl-package->ecl-package sbcl-lift))
1994
1995(define-public sbcl-let-plus
1996 (let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
1997 (package
1998 (name "sbcl-let-plus")
1999 (version (git-version "0.0.0" "1" commit))
2000 (source
2001 (origin
2002 (method git-fetch)
2003 (uri (git-reference
2004 (url "https://github.com/sharplispers/let-plus")
2005 (commit commit)))
2006 (sha256
2007 (base32
2008 "0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
2009 (file-name (git-file-name "let-plus" version))))
2010 (build-system asdf-build-system/sbcl)
2011 (inputs
2012 `(("alexandria" ,sbcl-alexandria)
2013 ("anaphora" ,sbcl-anaphora)))
2014 (native-inputs
2015 `(("lift" ,sbcl-lift)))
2016 (synopsis "Destructuring extension of let*")
2017 (description
2018 "This library implements the let+ macro, which is a dectructuring
2019extension of let*. It features:
2020
2021@itemize
2022@item Clean, consistent syntax and small implementation (less than 300 LOC,
2023not counting tests)
2024@item Placeholder macros allow editor hints and syntax highlighting
2025@item @command{&ign} for ignored values (in forms where that makes sense)
2026@item Very easy to extend
2027@end itemize\n")
2028 (home-page "https://github.com/sharplispers/let-plus")
2029 (license license:boost1.0))))
2030
2031(define-public cl-let-plus
2032 (sbcl-package->cl-source-package sbcl-let-plus))
2033
2034(define-public ecl-let-plus
2035 (sbcl-package->ecl-package sbcl-let-plus))
2036
2037(define-public sbcl-cl-colors
2038 (let ((commit "827410584553f5c717eec6182343b7605f707f75"))
2039 (package
2040 (name "sbcl-cl-colors")
2041 (version (git-version "0.0.0" "1" commit))
2042 (source
2043 (origin
2044 (method git-fetch)
2045 (uri (git-reference
2046 (url "https://github.com/tpapp/cl-colors")
2047 (commit commit)))
2048 (sha256
2049 (base32
2050 "0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
2051 (file-name (git-file-name "cl-colors" version))))
2052 (build-system asdf-build-system/sbcl)
2053 (inputs
2054 `(("alexandria" ,sbcl-alexandria)
2055 ("let-plus" ,sbcl-let-plus)))
2056 (synopsis "Simple color library for Common Lisp")
2057 (description
2058 "This is a very simple color library for Common Lisp, providing
2059
2060@itemize
2061@item Types for representing colors in HSV and RGB spaces.
2062@item Simple conversion functions between the above types (and also
2063hexadecimal representation for RGB).
2064@item Some predefined colors (currently X11 color names – of course the
2065library does not depend on X11).Because color in your terminal is nice.
2066@end itemize
2067
2068This library is no longer supported by its author.")
2069 (home-page "https://github.com/tpapp/cl-colors")
2070 (license license:boost1.0))))
2071
2072(define-public cl-colors
2073 (sbcl-package->cl-source-package sbcl-cl-colors))
2074
2075(define-public ecl-cl-colors
2076 (sbcl-package->ecl-package sbcl-cl-colors))
2077
2078(define-public sbcl-cl-ansi-text
2079 (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
2080 (package
2081 (name "sbcl-cl-ansi-text")
2082 (version (git-version "1.0.0" "1" commit))
2083 (source
2084 (origin
2085 (method git-fetch)
2086 (uri (git-reference
2087 (url "https://github.com/pnathan/cl-ansi-text")
2088 (commit commit)))
2089 (sha256
2090 (base32
2091 "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
2092 (file-name (git-file-name "cl-ansi-text" version))))
2093 (build-system asdf-build-system/sbcl)
2094 (inputs
2095 `(("alexandria" ,sbcl-alexandria)
2096 ("cl-colors" ,sbcl-cl-colors)))
2097 (native-inputs
2098 `(("fiveam" ,sbcl-fiveam)))
2099 (synopsis "ANSI terminal color implementation for Common Lisp")
2100 (description
2101 "@command{cl-ansi-text} provides utilities which enable printing to an
2102ANSI terminal with colored text. It provides the macro @command{with-color}
2103which causes everything printed in the body to be displayed with the provided
2104color. It further provides functions which will print the argument with the
2105named color.")
2106 (home-page "https://github.com/pnathan/cl-ansi-text")
2107 (license license:llgpl))))
2108
2109(define-public cl-ansi-text
2110 (sbcl-package->cl-source-package sbcl-cl-ansi-text))
2111
2112(define-public ecl-cl-ansi-text
2113 (sbcl-package->ecl-package sbcl-cl-ansi-text))
2114
2115(define-public sbcl-prove-asdf
2116 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
2117 (package
2118 (name "sbcl-prove-asdf")
2119 (version (git-version "1.0.0" "1" commit))
2120 (source
2121 (origin
2122 (method git-fetch)
2123 (uri (git-reference
2124 (url "https://github.com/fukamachi/prove")
2125 (commit commit)))
2126 (sha256
2127 (base32
2128 "07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
2129 (file-name (git-file-name "prove" version))))
2130 (build-system asdf-build-system/sbcl)
2131 (arguments
2132 `(#:asd-file "prove-asdf.asd"))
2133 (synopsis "Test requirement for the Common Lisp 'prove' library")
2134 (description
2135 "Test requirement for the Common Lisp @command{prove} library.")
2136 (home-page "https://github.com/fukamachi/prove")
2137 (license license:expat))))
2138
2139(define-public cl-prove-asdf
2140 (sbcl-package->cl-source-package sbcl-prove-asdf))
2141
2142(define-public ecl-prove-asdf
2143 (sbcl-package->ecl-package sbcl-prove-asdf))
2144
2145(define-public sbcl-prove
2146 (package
2147 (inherit sbcl-prove-asdf)
2148 (name "sbcl-prove")
2149 (inputs
2150 `(("alexandria" ,sbcl-alexandria)
2151 ("cl-ppcre" ,sbcl-cl-ppcre)
2152 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
2153 (native-inputs
2154 `(("prove-asdf" ,sbcl-prove-asdf)))
2155 (arguments
2156 `(#:asd-file "prove.asd"))
2157 (synopsis "Yet another unit testing framework for Common Lisp")
2158 (description
2159 "This project was originally called @command{cl-test-more}.
2160@command{prove} is yet another unit testing framework for Common Lisp. The
2161advantages of @command{prove} are:
2162
2163@itemize
2164@item Various simple functions for testing and informative error messages
2165@item ASDF integration
2166@item Extensible test reporters
2167@item Colorizes the report if it's available (note for SLIME)
2168@item Reports test durations
2169@end itemize\n")))
2170
2171(define-public cl-prove
2172 (sbcl-package->cl-source-package sbcl-prove))
2173
2174(define-public ecl-prove
2175 (sbcl-package->ecl-package sbcl-prove))
2176
2177(define-public sbcl-proc-parse
2178 (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
2179 (package
2180 (name "sbcl-proc-parse")
2181 (version (git-version "0.0.0" "1" commit))
2182 (source
2183 (origin
2184 (method git-fetch)
2185 (uri (git-reference
2186 (url "https://github.com/fukamachi/proc-parse")
2187 (commit commit)))
2188 (sha256
2189 (base32
2190 "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
2191 (file-name (git-file-name "proc-parse" version))))
2192 (build-system asdf-build-system/sbcl)
2193 (inputs
2194 `(("alexandria" ,sbcl-alexandria)
2195 ("babel" ,sbcl-babel)))
2196 (native-inputs
2197 `(("prove" ,sbcl-prove)
2198 ("prove-asdf" ,sbcl-prove-asdf)))
2199 (arguments
2200 ;; TODO: Tests don't find "proc-parse-test", why?
2201 `(#:tests? #f))
2202 (synopsis "Procedural vector parser")
2203 (description
2204 "This is a string/octets parser library for Common Lisp with speed and
2205readability in mind. Unlike other libraries, the code is not a
2206pattern-matching-like, but a char-by-char procedural parser.")
2207 (home-page "https://github.com/fukamachi/proc-parse")
2208 (license license:bsd-2))))
2209
2210(define-public cl-proc-parse
2211 (sbcl-package->cl-source-package sbcl-proc-parse))
2212
2213(define-public ecl-proc-parse
2214 (sbcl-package->ecl-package sbcl-proc-parse))
2215
2216(define-public sbcl-parse-float
2217 (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
2218 (package
2219 (name "sbcl-parse-float")
2220 (version (git-version "0.0.0" "1" commit))
2221 (source
2222 (origin
2223 (method git-fetch)
2224 (uri (git-reference
2225 (url "https://github.com/soemraws/parse-float")
2226 (commit commit)))
2227 (sha256
2228 (base32
2229 "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
2230 (file-name (git-file-name "proc-parse" version))))
2231 (build-system asdf-build-system/sbcl)
2232 (inputs
2233 `(("alexandria" ,sbcl-alexandria)
2234 ("babel" ,sbcl-babel)))
2235 (native-inputs
2236 `(("prove" ,sbcl-prove)
2237 ("prove-asdf" ,sbcl-prove-asdf)))
2238 (arguments
2239 ;; TODO: Tests don't find "proc-parse-test", why?
2240 `(#:tests? #f))
2241 (synopsis "Parse a floating point value from a string in Common Lisp")
2242 (description
2243 "This package exports the following function to parse floating-point
2244values from a string in Common Lisp.")
2245 (home-page "https://github.com/soemraws/parse-float")
2246 (license license:public-domain))))
2247
2248(define-public cl-parse-float
2249 (sbcl-package->cl-source-package sbcl-parse-float))
2250
2251(define-public ecl-parse-float
2252 (sbcl-package->ecl-package sbcl-parse-float))
2253
2254(define-public sbcl-ascii-strings
2255 (let ((revision "1")
2256 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
2257 (package
2258 (name "sbcl-ascii-strings")
2259 (version (string-append "0-" revision "." (string-take changeset 7)))
2260 (source
2261 (origin
2262 (method hg-fetch)
2263 (uri (hg-reference
2264 (url "https://bitbucket.org/vityok/cl-string-match/")
2265 (changeset changeset)))
2266 (sha256
2267 (base32
2268 "01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
2269 (file-name (git-file-name "cl-string-match" version))))
2270 (build-system asdf-build-system/sbcl)
2271 (inputs
2272 `(("alexandria" ,sbcl-alexandria)
2273 ("babel" ,sbcl-babel)))
2274 (arguments
2275 `(#:asd-file "ascii-strings.asd"))
2276 (synopsis "Operations on ASCII strings")
2277 (description
2278 "Operations on ASCII strings. Essentially this can be any kind of
2279single-byte encoded strings.")
2280 (home-page "https://bitbucket.org/vityok/cl-string-match/")
2281 (license license:bsd-3))))
2282
2283(define-public cl-ascii-strings
2284 (sbcl-package->cl-source-package sbcl-ascii-strings))
2285
2286(define-public ecl-ascii-strings
2287 (sbcl-package->ecl-package sbcl-ascii-strings))
2288
2289(define-public sbcl-simple-scanf
2290 (package
2291 (inherit sbcl-ascii-strings)
2292 (name "sbcl-simple-scanf")
2293 (inputs
2294 `(("alexandria" ,sbcl-alexandria)
2295 ("iterate" ,sbcl-iterate)
2296 ("proc-parse" ,sbcl-proc-parse)
2297 ("parse-float" ,sbcl-parse-float)))
2298 (arguments
2299 `(#:asd-file "simple-scanf.asd"))
2300 (synopsis "Simple scanf-like functionality implementation")
2301 (description
2302 "A simple scanf-like functionality implementation.")))
2303
2304(define-public cl-simple-scanf
2305 (sbcl-package->cl-source-package sbcl-simple-scanf))
2306
2307(define-public ecl-simple-scanf
2308 (sbcl-package->ecl-package sbcl-simple-scanf))
2309
2310(define-public sbcl-cl-string-match
2311 (package
2312 (inherit sbcl-ascii-strings)
2313 (name "sbcl-cl-string-match")
2314 (inputs
2315 `(("alexandria" ,sbcl-alexandria)
2316 ("ascii-strings" ,sbcl-ascii-strings)
2317 ("yacc" ,sbcl-cl-yacc)
2318 ("jpl-util" ,sbcl-jpl-util)
2319 ("jpl-queues" ,sbcl-jpl-queues)
2320 ("mgl-pax" ,sbcl-mgl-pax)
2321 ("iterate" ,sbcl-iterate)))
2322 ;; TODO: Tests are not evaluated properly.
2323 (native-inputs
2324 ;; For testing:
2325 `(("lisp-unit" ,sbcl-lisp-unit)
2326 ("simple-scanf" ,sbcl-simple-scanf)))
2327 (arguments
2328 `(#:tests? #f
2329 #:asd-file "cl-string-match.asd"))
2330 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
2331 (description
2332 "@command{cl-strings} is a small, portable, dependency-free set of
2333utilities that make it even easier to manipulate text in Common Lisp. It has
2334100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")))
2335
2336(define-public cl-string-match
2337 (sbcl-package->cl-source-package sbcl-cl-string-match))
2338
2339(define-public ecl-cl-string-match
2340 (sbcl-package->ecl-package sbcl-cl-string-match))
2341
2342(define-public sbcl-ptester
d9d8e3c2
GLV
2343 (let ((commit "fe69fde54f4bce00ce577feb918796c293fc7253")
2344 (revision "1"))
2345 (package
2346 (name "sbcl-ptester")
2347 (version (git-version "2.1.3" revision commit))
2348 (source
2349 (origin
2350 (method git-fetch)
2351 (uri (git-reference
2352 (url "http://git.kpe.io/ptester.git")
2353 (commit commit)))
2354 (file-name (git-file-name name version))
2355 (sha256
2356 (base32 "1l0lfl7cdnr2qf4zh38hi4llxg22c49zkm639bdkmvlkzwj3ndwf"))))
2357 (build-system asdf-build-system/sbcl)
2358 (home-page "http://quickdocs.org/ptester/")
2359 (synopsis "Portable test harness package")
2360 (description
2361 "@command{ptester} is a portable testing framework based on Franz's
88f06fd0 2362tester module.")
d9d8e3c2 2363 (license license:llgpl))))
88f06fd0
PN
2364
2365(define-public cl-ptester
2366 (sbcl-package->cl-source-package sbcl-ptester))
2367
2368(define-public ecl-ptester
2369 (sbcl-package->ecl-package sbcl-ptester))
2370
2371(define-public sbcl-puri
ff6cf9fa
GLV
2372 (let ((commit "ef5afb9e5286c8e952d4344f019c1a636a717b97")
2373 (revision "1"))
2374 (package
2375 (name "sbcl-puri")
2376 (version (git-version "1.5.7" revision commit))
2377 (source
2378 (origin
2379 (method git-fetch)
2380 (uri (git-reference
2381 (url "http://git.kpe.io/puri.git")
2382 (commit commit)))
2383 (file-name (git-file-name name version))
2384 (sha256
2385 (base32 "1vm25pdl92laj72p5vyd538kf3cjy2655z6bdc99h20ana2p231s"))))
2386 (build-system asdf-build-system/sbcl)
2387 (native-inputs
2388 `(("ptester" ,sbcl-ptester)))
2389 (home-page "http://quickdocs.org/puri/")
2390 (synopsis "Portable URI Library")
2391 (description
2392 "This is a portable Universal Resource Identifier library for Common
2393Lisp programs. It parses URI according to the RFC 2396 specification.")
2394 (license license:llgpl))))
88f06fd0
PN
2395
2396(define-public cl-puri
2397 (sbcl-package->cl-source-package sbcl-puri))
2398
2399(define-public ecl-puri
2400 (sbcl-package->ecl-package sbcl-puri))
2401
2402(define-public sbcl-queues
2403 (let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
2404 (package
2405 (name "sbcl-queues")
2406 (version (git-version "0.0.0" "1" commit))
2407 (source
2408 (origin
2409 (method git-fetch)
2410 (uri (git-reference
2411 (url "https://github.com/oconnore/queues")
2412 (commit commit)))
2413 (file-name (git-file-name "queues" version))
2414 (sha256
2415 (base32
2416 "0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
2417 (build-system asdf-build-system/sbcl)
2418 (home-page "https://github.com/oconnore/queues")
2419 (synopsis "Common Lisp queue library")
2420 (description
2421 "This is a simple queue library for Common Lisp with features such as
2422non-consing thread safe queues and fibonacci priority queues.")
2423 (license license:expat))))
2424
2425(define-public cl-queues
2426 (sbcl-package->cl-source-package sbcl-queues))
2427
2428(define-public ecl-queues
2429 (sbcl-package->ecl-package sbcl-queues))
2430
2431(define-public sbcl-queues.simple-queue
2432 (package
2433 (inherit sbcl-queues)
2434 (name "sbcl-queues.simple-queue")
2435 (inputs
2436 `(("sbcl-queues" ,sbcl-queues)))
2437 (arguments
2438 `(#:asd-file "queues.simple-queue.asd"))
2439 (synopsis "Simple queue implementation")
2440 (description
2441 "This is a simple queue library for Common Lisp with features such as
2442non-consing thread safe queues and fibonacci priority queues.")
2443 (license license:expat)))
2444
2445(define-public cl-queues.simple-queue
2446 (sbcl-package->cl-source-package sbcl-queues.simple-queue))
2447
2448(define-public ecl-queues.simple-queue
2449 (sbcl-package->ecl-package sbcl-queues.simple-queue))
2450
2451(define-public sbcl-queues.simple-cqueue
2452 (package
2453 (inherit sbcl-queues)
2454 (name "sbcl-queues.simple-cqueue")
2455 (inputs
2456 `(("sbcl-queues" ,sbcl-queues)
2457 ("sbcl-queues.simple-queue" ,sbcl-queues.simple-queue)
2458 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2459 (arguments
2460 `(#:asd-file "queues.simple-cqueue.asd"))
2461 (synopsis "Thread safe queue implementation")
2462 (description
2463 "This is a simple queue library for Common Lisp with features such as
2464non-consing thread safe queues and fibonacci priority queues.")
2465 (license license:expat)))
2466
2467(define-public cl-queues.simple-cqueue
2468 (sbcl-package->cl-source-package sbcl-queues.simple-cqueue))
2469
2470(define-public ecl-queues.simple-cqueue
2471 (sbcl-package->ecl-package sbcl-queues.simple-cqueue))
2472
2473(define-public sbcl-queues.priority-queue
2474 (package
2475 (inherit sbcl-queues)
2476 (name "sbcl-queues.priority-queue")
2477 (inputs
2478 `(("sbcl-queues" ,sbcl-queues)))
2479 (arguments
2480 `(#:asd-file "queues.priority-queue.asd"))
2481 (synopsis "Priority queue (Fibonacci) implementation")
2482 (description
2483 "This is a simple queue library for Common Lisp with features such as
2484non-consing thread safe queues and fibonacci priority queues.")
2485 (license license:expat)))
2486
2487(define-public cl-queues.priority-queue
2488 (sbcl-package->cl-source-package sbcl-queues.priority-queue))
2489
2490(define-public ecl-queues.priority-queue
2491 (sbcl-package->ecl-package sbcl-queues.priority-queue))
2492
2493(define-public sbcl-queues.priority-cqueue
2494 (package
2495 (inherit sbcl-queues)
2496 (name "sbcl-queues.priority-cqueue")
2497 (inputs
2498 `(("sbcl-queues" ,sbcl-queues)
2499 ("sbcl-queues.priority-queue" ,sbcl-queues.priority-queue)
2500 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2501 (arguments
2502 `(#:asd-file "queues.priority-cqueue.asd"))
2503 (synopsis "Thread safe fibonacci priority queue implementation")
2504 (description
2505 "This is a simple queue library for Common Lisp with features such as
2506non-consing thread safe queues and fibonacci priority queues.")
2507 (license license:expat)))
2508
2509(define-public cl-queues.priority-cqueue
2510 (sbcl-package->cl-source-package sbcl-queues.priority-cqueue))
2511
2512(define-public ecl-queues.priority-cqueue
2513 (sbcl-package->ecl-package sbcl-queues.priority-cqueue))
2514
2515(define sbcl-cffi-bootstrap
2516 (package
2517 (name "sbcl-cffi-bootstrap")
237d58c3 2518 (version "0.21.0")
88f06fd0
PN
2519 (source
2520 (origin
2521 (method git-fetch)
2522 (uri (git-reference
2523 (url "https://github.com/cffi/cffi.git")
2524 (commit (string-append "v" version))))
2525 (file-name (git-file-name "cffi-bootstrap" version))
2526 (sha256
237d58c3 2527 (base32 "1qalargz9bhp850qv60ffwpdqi4xirzar4l3g6qcg8yc6xqf2cjk"))))
88f06fd0
PN
2528 (build-system asdf-build-system/sbcl)
2529 (inputs
2530 `(("libffi" ,libffi)
2531 ("alexandria" ,sbcl-alexandria)
2532 ("babel" ,sbcl-babel)
2533 ("trivial-features" ,sbcl-trivial-features)))
2534 (native-inputs
2535 `(("pkg-config" ,pkg-config)))
2536 (arguments
2537 '(#:phases
2538 (modify-phases %standard-phases
2539 (add-after 'unpack 'fix-paths
2540 (lambda* (#:key inputs #:allow-other-keys)
2541 (substitute* "libffi/libffi.lisp"
2542 (("libffi.so.6" all) (string-append
2543 (assoc-ref inputs "libffi")
2544 "/lib/" all)))
2545 (substitute* "toolchain/c-toolchain.lisp"
2546 (("\"cc\"") (format #f "~S" (which "gcc")))))))
2547 #:asd-system-name "cffi"
2548 #:tests? #f))
2549 (home-page "https://common-lisp.net/project/cffi/")
2550 (synopsis "Common Foreign Function Interface for Common Lisp")
2551 (description "The Common Foreign Function Interface (CFFI)
2552purports to be a portable foreign function interface for Common Lisp.
2553The CFFI library is composed of a Lisp-implementation-specific backend
2554in the CFFI-SYS package, and a portable frontend in the CFFI
2555package.")
2556 (license license:expat)))
2557
2558(define-public sbcl-cffi-toolchain
2559 (package
2560 (inherit sbcl-cffi-bootstrap)
2561 (name "sbcl-cffi-toolchain")
2562 (inputs
2563 `(("libffi" ,libffi)
2564 ("sbcl-cffi" ,sbcl-cffi-bootstrap)))
2565 (arguments
2566 (substitute-keyword-arguments (package-arguments sbcl-cffi-bootstrap)
2567 ((#:asd-system-name _) #f)
2568 ((#:tests? _) #t)))))
2569
2570(define-public sbcl-cffi-libffi
2571 (package
2572 (inherit sbcl-cffi-toolchain)
2573 (name "sbcl-cffi-libffi")
2574 (inputs
2575 `(("cffi" ,sbcl-cffi-bootstrap)
2576 ("cffi-grovel" ,sbcl-cffi-grovel)
2577 ("trivial-features" ,sbcl-trivial-features)
2578 ("libffi" ,libffi)))))
2579
2580(define-public sbcl-cffi-grovel
2581 (package
2582 (inherit sbcl-cffi-toolchain)
2583 (name "sbcl-cffi-grovel")
2584 (inputs
2585 `(("libffi" ,libffi)
2586 ("cffi" ,sbcl-cffi-bootstrap)
2587 ("cffi-toolchain" ,sbcl-cffi-toolchain)
2588 ("alexandria" ,sbcl-alexandria)))
2589 (arguments
2590 (substitute-keyword-arguments (package-arguments sbcl-cffi-toolchain)
2591 ((#:phases phases)
2592 `(modify-phases ,phases
2593 (add-after 'build 'install-headers
2594 (lambda* (#:key outputs #:allow-other-keys)
2595 (install-file "grovel/common.h"
2596 (string-append
2597 (assoc-ref outputs "out")
2598 "/include/grovel"))))))))))
2599
2600(define-public sbcl-cffi
2601 (package
2602 (inherit sbcl-cffi-toolchain)
2603 (name "sbcl-cffi")
2604 (inputs (package-inputs sbcl-cffi-bootstrap))
2605 (native-inputs
2606 `(("cffi-grovel" ,sbcl-cffi-grovel)
2607 ("cffi-libffi" ,sbcl-cffi-libffi)
2608 ("rt" ,sbcl-rt)
2609 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2610 ,@(package-native-inputs sbcl-cffi-bootstrap)))))
2611
2612(define-public cl-cffi
2613 (sbcl-package->cl-source-package sbcl-cffi))
2614
25cefc87
GLV
2615(define-public sbcl-cffi-uffi-compat
2616 (package
2617 (inherit sbcl-cffi-toolchain)
2618 (name "sbcl-cffi-uffi-compat")
2619 (native-inputs
2620 `(,@(package-inputs sbcl-cffi-bootstrap))) ; For fix-paths phase
2621 (inputs
2622 `(("cffi" ,sbcl-cffi)))
2623 (synopsis "UFFI Compatibility Layer for CFFI")))
2624
2625(define-public cl-cffi-uffi-compat
2626 (sbcl-package->cl-source-package sbcl-cffi-uffi-compat))
2627
88f06fd0
PN
2628(define-public sbcl-cl-sqlite
2629 (let ((commit "c738e66d4266ef63a1debc4ef4a1b871a068c112"))
2630 (package
2631 (name "sbcl-cl-sqlite")
2632 (version (git-version "0.2" "1" commit))
2633 (source
2634 (origin
2635 (method git-fetch)
2636 (uri (git-reference
2637 (url "https://github.com/dmitryvk/cl-sqlite")
2638 (commit commit)))
2639 (file-name (git-file-name "cl-sqlite" version))
2640 (sha256
2641 (base32
2642 "1ng45k1hdb84sqjryrfx93g66bsbybmpy301wd0fdybnc5jzr36q"))))
2643 (build-system asdf-build-system/sbcl)
2644 (inputs
2645 `(("iterate" ,sbcl-iterate)
2646 ("cffi" ,sbcl-cffi)
2647 ("sqlite" ,sqlite)))
2648 (native-inputs
2649 `(("fiveam" ,sbcl-fiveam)
2650 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2651 (arguments
2652 `(#:tests? #f ; Upstream seems to have issues with tests: https://github.com/dmitryvk/cl-sqlite/issues/7
2653 #:asd-file "sqlite.asd"
2654 #:asd-system-name "sqlite"
2655 #:phases
2656 (modify-phases %standard-phases
2657 (add-after 'unpack 'fix-paths
2658 (lambda* (#:key inputs #:allow-other-keys)
2659 (substitute* "sqlite-ffi.lisp"
2660 (("libsqlite3" all) (string-append
2661 (assoc-ref inputs "sqlite")"/lib/" all))))))))
2662 (home-page "https://common-lisp.net/project/cl-sqlite/")
2663 (synopsis "Common Lisp binding for SQLite")
2664 (description
2665 "The @command{cl-sqlite} package is an interface to the SQLite embedded
2666relational database engine.")
2667 (license license:public-domain))))
2668
2669(define-public cl-sqlite
2670 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2671
2672(define-public sbcl-parenscript
a84b7a4a
PN
2673 ;; Source archives are overwritten on every release, we use the Git repo instead.
2674 (let ((commit "7a1ac46353cecd144fc91915ba9f122aafcf4766"))
88f06fd0
PN
2675 (package
2676 (name "sbcl-parenscript")
a84b7a4a 2677 (version (git-version "2.7.1" "1" commit))
88f06fd0
PN
2678 (source
2679 (origin
2680 (method git-fetch)
2681 (uri (git-reference
2682 (url "https://gitlab.common-lisp.net/parenscript/parenscript")
2683 (commit commit)))
2684 (file-name (git-file-name "parenscript" version))
2685 (sha256
2686 (base32
a84b7a4a 2687 "0c22lqarrpbq82dg1sb3y6mp6w2faczp34ymzhnmff88yfq1xzsf"))))
88f06fd0
PN
2688 (build-system asdf-build-system/sbcl)
2689 (inputs
2690 `(("cl-ppcre" ,sbcl-cl-ppcre)
2691 ("anaphora" ,sbcl-anaphora)
2692 ("named-readtables" ,sbcl-named-readtables)))
2693 (home-page "https://common-lisp.net/project/parenscript/")
2694 (synopsis "Translator from a subset of Common Lisp to JavaScript")
2695 (description
2696 "Parenscript is a translator from an extended subset of Common Lisp to
2697JavaScript. Parenscript code can run almost identically on both the
2698browser (as JavaScript) and server (as Common Lisp).
2699
2700Parenscript code is treated the same way as Common Lisp code, making the full
2701power of Lisp macros available for JavaScript. This provides a web
2702development environment that is unmatched in its ability to reduce code
2703duplication and provide advanced meta-programming facilities to web
2704developers.
2705
2706At the same time, Parenscript is different from almost all other \"language
2707X\" to JavaScript translators in that it imposes almost no overhead:
2708
2709@itemize
2710@item No run-time dependencies: Any piece of Parenscript code is runnable
2711as-is. There are no JavaScript files to include.
2712@item Native types: Parenscript works entirely with native JavaScript data
2713types. There are no new types introduced, and object prototypes are not
2714touched.
2715@item Native calling convention: Any JavaScript code can be called without the
2716need for bindings. Likewise, Parenscript can be used to make efficient,
2717self-contained JavaScript libraries.
2718@item Readable code: Parenscript generates concise, formatted, idiomatic
2719JavaScript code. Identifier names are preserved. This enables seamless
2720debugging in tools like Firebug.
2721@item Efficiency: Parenscript introduces minimal overhead for advanced Common
2722Lisp features. The generated code is almost as fast as hand-written
2723JavaScript.
2724@end itemize\n")
2725 (license license:bsd-3))))
2726
2727(define-public cl-parenscript
2728 (sbcl-package->cl-source-package sbcl-parenscript))
2729
2730(define-public ecl-parenscript
2731 (sbcl-package->ecl-package sbcl-parenscript))
2732
2733(define-public sbcl-cl-json
2734 (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
2735 (package
2736 (name "sbcl-cl-json")
2737 (version (git-version "0.5" "1" commit))
2738 (source
2739 (origin
2740 (method git-fetch)
2741 (uri (git-reference
2742 (url "https://github.com/hankhero/cl-json")
2743 (commit commit)))
2744 (file-name (git-file-name "cl-json" version))
2745 (sha256
2746 (base32
2747 "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
2748 (build-system asdf-build-system/sbcl)
2749 (native-inputs
2750 `(("fiveam" ,sbcl-fiveam)))
2751 (home-page "https://github.com/hankhero/cl-json")
2752 (synopsis "JSON encoder and decoder for Common-Lisp")
2753 (description
2754 "@command{cl-json} provides an encoder of Lisp objects to JSON format
2755and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2756and the decoder are highly customizable; at the same time, the default
2757settings ensure a very simple mode of operation, similar to that provided by
2758@command{yason} or @command{st-json}.")
2759 (license license:expat))))
2760
2761(define-public cl-json
2762 (sbcl-package->cl-source-package sbcl-cl-json))
2763
2764(define-public ecl-cl-json
2765 (sbcl-package->ecl-package sbcl-cl-json))
2766
2767(define-public sbcl-unix-opts
2768 (package
2769 (name "sbcl-unix-opts")
2770 (version "0.1.7")
2771 (source
2772 (origin
2773 (method git-fetch)
2774 (uri (git-reference
2775 (url "https://github.com/libre-man/unix-opts")
2776 (commit version)))
2777 (file-name (git-file-name "unix-opts" version))
2778 (sha256
2779 (base32
2780 "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
2781 (build-system asdf-build-system/sbcl)
2782 (home-page "https://github.com/hankhero/cl-json")
2783 (synopsis "Unix-style command line options parser")
2784 (description
2785 "This is a minimalistic parser of command line options. The main
2786advantage of the library is the ability to concisely define command line
2787options once and then use this definition for parsing and extraction of
2788command line arguments, as well as printing description of command line
2789options (you get --help for free). This way you don't need to repeat
102fc7bc
VC
2790yourself. Also, @command{unix-opts} doesn't depend on anything and
2791precisely controls the behavior of the parser via Common Lisp restarts.")
88f06fd0
PN
2792 (license license:expat)))
2793
2794(define-public cl-unix-opts
2795 (sbcl-package->cl-source-package sbcl-unix-opts))
2796
2797(define-public ecl-unix-opts
2798 (sbcl-package->ecl-package sbcl-unix-opts))
2799
2800(define-public sbcl-trivial-garbage
2801 (package
2802 (name "sbcl-trivial-garbage")
2803 (version "0.21")
2804 (source
2805 (origin
2806 (method git-fetch)
2807 (uri (git-reference
2808 (url "https://github.com/trivial-garbage/trivial-garbage.git")
2809 (commit (string-append "v" version))))
2810 (file-name (git-file-name "trivial-garbage" version))
2811 (sha256
2812 (base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
2813 (build-system asdf-build-system/sbcl)
2814 (native-inputs
2815 `(("rt" ,sbcl-rt)))
2816 (home-page "https://common-lisp.net/project/trivial-garbage/")
2817 (synopsis "Portable GC-related APIs for Common Lisp")
2818 (description "@command{trivial-garbage} provides a portable API to
2819finalizers, weak hash-tables and weak pointers on all major implementations of
2820the Common Lisp programming language.")
2821 (license license:public-domain)))
2822
2823(define-public cl-trivial-garbage
2824 (sbcl-package->cl-source-package sbcl-trivial-garbage))
2825
2826(define-public ecl-trivial-garbage
2827 (sbcl-package->ecl-package sbcl-trivial-garbage))
2828
2829(define-public sbcl-closer-mop
2830 (let ((commit "fac29ce90e3a46e1fc6cf182190e193526fa9dbc"))
2831 (package
2832 (name "sbcl-closer-mop")
2833 (version (git-version "1.0.0" "1" commit))
2834 (source
2835 (origin
2836 (method git-fetch)
2837 (uri (git-reference
2838 (url "https://github.com/pcostanza/closer-mop")
2839 (commit commit)))
2840 (sha256
2841 (base32 "0hvh77y869h8fg9di5snyg85fxq6fdh9gj1igmx1g6j6j5x915dl"))
2842 (file-name (git-file-name "closer-mop" version ))))
2843 (build-system asdf-build-system/sbcl)
2844 (home-page "https://github.com/pcostanza/closer-mop")
2845 (synopsis "Rectifies absent or incorrect CLOS MOP features")
2846 (description "Closer to MOP is a compatibility layer that rectifies many
2847of the absent or incorrect CLOS MOP features across a broad range of Common
2848Lisp implementations.")
2849 (license license:expat))))
2850
2851(define-public cl-closer-mop
2852 (sbcl-package->cl-source-package sbcl-closer-mop))
2853
2854(define-public ecl-closer-mop
2855 (sbcl-package->ecl-package sbcl-closer-mop))
2856
2857(define sbcl-cl-cffi-gtk-boot0
2858 (let ((commit "29443c5aaca975709df8025c4649366d882033cb"))
2859 (package
2860 (name "sbcl-cl-cffi-gtk-boot0")
2861 (version (git-version "0.11.2" "1" commit))
2862 (source
2863 (origin
2864 (method git-fetch)
2865 (uri (git-reference
2866 (url "https://github.com/Ferada/cl-cffi-gtk/")
2867 (commit commit)))
2868 (file-name (git-file-name "cl-cffi-gtk" version))
2869 (sha256
2870 (base32
2871 "0f6s92sf8xyzh1yksqx8bsy1sv0zmy0c13j3b8bavaba5hlxpxah"))))
2872 (build-system asdf-build-system/sbcl)
2873 (inputs
2874 `(("iterate" ,sbcl-iterate)
2875 ("cffi" ,sbcl-cffi)
2876 ("trivial-features" ,sbcl-trivial-features)))
2877 (home-page "https://github.com/Ferada/cl-cffi-gtk/")
2878 (synopsis "Common Lisp binding for GTK+3")
2879 (description
2880 "@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
2881is a library for creating graphical user interfaces.")
2882 (license license:lgpl3))))
2883
2884(define-public sbcl-cl-cffi-gtk-glib
2885 (package
2886 (inherit sbcl-cl-cffi-gtk-boot0)
2887 (name "sbcl-cl-cffi-gtk-glib")
2888 (inputs
2889 `(("glib" ,glib)
2890 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2891 (arguments
2892 `(#:asd-file "glib/cl-cffi-gtk-glib.asd"
2893 #:phases
2894 (modify-phases %standard-phases
2895 (add-after 'unpack 'fix-paths
2896 (lambda* (#:key inputs #:allow-other-keys)
2897 (substitute* "glib/glib.init.lisp"
2898 (("libglib|libgthread" all) (string-append
2899 (assoc-ref inputs "glib") "/lib/" all))))))))))
2900
2901(define-public sbcl-cl-cffi-gtk-gobject
2902 (package
2903 (inherit sbcl-cl-cffi-gtk-boot0)
2904 (name "sbcl-cl-cffi-gtk-gobject")
2905 (inputs
2906 `(("glib" ,glib)
2907 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2908 ("trivial-garbage" ,sbcl-trivial-garbage)
2909 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2910 ("closer-mop" ,sbcl-closer-mop)
2911 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2912 (arguments
2913 `(#:asd-file "gobject/cl-cffi-gtk-gobject.asd"
2914 #:phases
2915 (modify-phases %standard-phases
2916 (add-after 'unpack 'fix-paths
2917 (lambda* (#:key inputs #:allow-other-keys)
2918 (substitute* "gobject/gobject.init.lisp"
2919 (("libgobject" all) (string-append
eac71f54
PN
2920 (assoc-ref inputs "glib") "/lib/" all)))))
2921 (add-after 'install 'link-source
2922 ;; Since source is particularly heavy (16MiB+), let's reuse it
2923 ;; across the different components of cl-ffi-gtk.
2924 (lambda* (#:key inputs outputs #:allow-other-keys)
2925 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2926 "/share/common-lisp/sbcl-source/"
2927 "cl-cffi-gtk-glib"))
2928 (out-source (string-append (assoc-ref outputs "out")
2929 "/share/common-lisp/sbcl-source/"
2930 "cl-cffi-gtk-gobject")))
2931 (delete-file-recursively out-source)
2932 (symlink glib-source out-source)
2933 #t))))))))
88f06fd0
PN
2934
2935(define-public sbcl-cl-cffi-gtk-gio
2936 (package
2937 (inherit sbcl-cl-cffi-gtk-boot0)
2938 (name "sbcl-cl-cffi-gtk-gio")
2939 (inputs
2940 `(("glib" ,glib)
2941 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2942 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2943 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2944 (arguments
2945 `(#:asd-file "gio/cl-cffi-gtk-gio.asd"
2946 #:phases
2947 (modify-phases %standard-phases
2948 (add-after 'unpack 'fix-paths
2949 (lambda* (#:key inputs #:allow-other-keys)
2950 (substitute* "gio/gio.init.lisp"
2951 (("libgio" all)
2952 (string-append
6a7f3668
PN
2953 (assoc-ref inputs "glib") "/lib/" all)))))
2954 (add-after 'install 'link-source
2955 ;; Since source is particularly heavy (16MiB+), let's reuse it
2956 ;; across the different components of cl-ffi-gtk.
2957 (lambda* (#:key inputs outputs #:allow-other-keys)
2958 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2959 "/share/common-lisp/sbcl-source/"
2960 "cl-cffi-gtk-glib"))
2961 (out-source (string-append (assoc-ref outputs "out")
2962 "/share/common-lisp/sbcl-source/"
2963 "cl-cffi-gtk-gio")))
2964 (delete-file-recursively out-source)
2965 (symlink glib-source out-source)
2966 #t))))))))
88f06fd0
PN
2967
2968(define-public sbcl-cl-cffi-gtk-cairo
2969 (package
2970 (inherit sbcl-cl-cffi-gtk-boot0)
2971 (name "sbcl-cl-cffi-gtk-cairo")
2972 (inputs
2973 `(("cairo" ,cairo)
2974 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2975 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2976 (arguments
2977 `(#:asd-file "cairo/cl-cffi-gtk-cairo.asd"
2978 #:phases
2979 (modify-phases %standard-phases
2980 (add-after 'unpack 'fix-paths
2981 (lambda* (#:key inputs #:allow-other-keys)
2982 (substitute* "cairo/cairo.init.lisp"
2983 (("libcairo" all)
2984 (string-append
8f46a9d6
PN
2985 (assoc-ref inputs "cairo") "/lib/" all)))))
2986 (add-after 'install 'link-source
2987 ;; Since source is particularly heavy (16MiB+), let's reuse it
2988 ;; across the different components of cl-ffi-gtk.
2989 (lambda* (#:key inputs outputs #:allow-other-keys)
2990 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2991 "/share/common-lisp/sbcl-source/"
2992 "cl-cffi-gtk-glib"))
2993 (out-source (string-append (assoc-ref outputs "out")
2994 "/share/common-lisp/sbcl-source/"
2995 "cl-cffi-gtk-cairo")))
2996 (delete-file-recursively out-source)
2997 (symlink glib-source out-source)
2998 #t))))))))
88f06fd0
PN
2999
3000(define-public sbcl-cl-cffi-gtk-pango
3001 (package
3002 (inherit sbcl-cl-cffi-gtk-boot0)
3003 (name "sbcl-cl-cffi-gtk-pango")
3004 (inputs
3005 `(("pango" ,pango)
3006 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
3007 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3008 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
3009 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3010 (arguments
3011 `(#:asd-file "pango/cl-cffi-gtk-pango.asd"
3012 #:phases
3013 (modify-phases %standard-phases
3014 (add-after 'unpack 'fix-paths
3015 (lambda* (#:key inputs #:allow-other-keys)
3016 (substitute* "pango/pango.init.lisp"
3017 (("libpango" all)
3018 (string-append
d27f033f
PN
3019 (assoc-ref inputs "pango") "/lib/" all)))))
3020 (add-after 'install 'link-source
3021 ;; Since source is particularly heavy (16MiB+), let's reuse it
3022 ;; across the different components of cl-ffi-gtk.
3023 (lambda* (#:key inputs outputs #:allow-other-keys)
3024 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3025 "/share/common-lisp/sbcl-source/"
3026 "cl-cffi-gtk-glib"))
3027 (out-source (string-append (assoc-ref outputs "out")
3028 "/share/common-lisp/sbcl-source/"
3029 "cl-cffi-gtk-pango")))
3030 (delete-file-recursively out-source)
3031 (symlink glib-source out-source)
3032 #t))))))))
88f06fd0
PN
3033
3034(define-public sbcl-cl-cffi-gtk-gdk-pixbuf
3035 (package
3036 (inherit sbcl-cl-cffi-gtk-boot0)
3037 (name "sbcl-cl-cffi-gtk-gdk-pixbuf")
3038 (inputs
3039 `(("gdk-pixbuf" ,gdk-pixbuf)
3040 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2666a336 3041 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
88f06fd0
PN
3042 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3043 (arguments
3044 `(#:asd-file "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
3045 #:phases
3046 (modify-phases %standard-phases
3047 (add-after 'unpack 'fix-paths
3048 (lambda* (#:key inputs #:allow-other-keys)
3049 (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
3050 (("libgdk_pixbuf" all)
3051 (string-append
2666a336
PN
3052 (assoc-ref inputs "gdk-pixbuf") "/lib/" all)))))
3053 (add-after 'install 'link-source
3054 ;; Since source is particularly heavy (16MiB+), let's reuse it
3055 ;; across the different components of cl-ffi-gtk.
3056 (lambda* (#:key inputs outputs #:allow-other-keys)
3057 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3058 "/share/common-lisp/sbcl-source/"
3059 "cl-cffi-gtk-glib"))
3060 (out-source (string-append (assoc-ref outputs "out")
3061 "/share/common-lisp/sbcl-source/"
3062 "cl-cffi-gtk-gdk-pixbuf")))
3063 (delete-file-recursively out-source)
3064 (symlink glib-source out-source)
3065 #t))))))))
88f06fd0
PN
3066
3067(define-public sbcl-cl-cffi-gtk-gdk
3068 (package
3069 (inherit sbcl-cl-cffi-gtk-boot0)
3070 (name "sbcl-cl-cffi-gtk-gdk")
3071 (inputs
3072 `(("gtk" ,gtk+)
80d8c00c 3073 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
88f06fd0
PN
3074 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3075 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
3076 ("cl-cffi-gtk-gdk-pixbuf" ,sbcl-cl-cffi-gtk-gdk-pixbuf)
3077 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
3078 ("cl-cffi-gtk-pango" ,sbcl-cl-cffi-gtk-pango)
3079 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3080 (arguments
3081 `(#:asd-file "gdk/cl-cffi-gtk-gdk.asd"
3082 #:phases
3083 (modify-phases %standard-phases
3084 (add-after 'unpack 'fix-paths
3085 (lambda* (#:key inputs #:allow-other-keys)
3086 (substitute* "gdk/gdk.init.lisp"
3087 (("libgdk" all)
3088 (string-append
3089 (assoc-ref inputs "gtk") "/lib/" all)))
3090 (substitute* "gdk/gdk.package.lisp"
3091 (("libgtk" all)
3092 (string-append
80d8c00c
PN
3093 (assoc-ref inputs "gtk") "/lib/" all)))))
3094 (add-after 'install 'link-source
3095 ;; Since source is particularly heavy (16MiB+), let's reuse it
3096 ;; across the different components of cl-ffi-gtk.
3097 (lambda* (#:key inputs outputs #:allow-other-keys)
3098 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3099 "/share/common-lisp/sbcl-source/"
3100 "cl-cffi-gtk-glib"))
3101 (out-source (string-append (assoc-ref outputs "out")
3102 "/share/common-lisp/sbcl-source/"
3103 "cl-cffi-gtk-gdk")))
3104 (delete-file-recursively out-source)
3105 (symlink glib-source out-source)
3106 #t))))))))
88f06fd0
PN
3107
3108(define-public sbcl-cl-cffi-gtk
3109 (package
3110 (inherit sbcl-cl-cffi-gtk-boot0)
3111 (name "sbcl-cl-cffi-gtk")
3112 (inputs
3113 `(("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
3114 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3115 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
3116 ("cl-cffi-gtk-gdk" ,sbcl-cl-cffi-gtk-gdk)
3117 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3118 (native-inputs
3119 `(("fiveam" ,sbcl-fiveam)))
3120 (arguments
3121 `(#:asd-file "gtk/cl-cffi-gtk.asd"
3122 #:test-asd-file "test/cl-cffi-gtk-test.asd"
3123 ;; TODO: Tests fail with memory fault.
3124 ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
143eaa82
PN
3125 #:tests? #f
3126 #:phases
3127 (modify-phases %standard-phases
3128 (add-after 'install 'link-source
3129 ;; Since source is particularly heavy (16MiB+), let's reuse it
3130 ;; across the different components of cl-ffi-gtk.
3131 (lambda* (#:key inputs outputs #:allow-other-keys)
3132 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3133 "/share/common-lisp/sbcl-source/"
3134 "cl-cffi-gtk-glib"))
3135 (out-source (string-append (assoc-ref outputs "out")
3136 "/share/common-lisp/sbcl-source/"
3137 "cl-cffi-gtk")))
3138 (delete-file-recursively out-source)
3139 (symlink glib-source out-source)
3140 #t))))))))
88f06fd0
PN
3141
3142(define-public cl-cffi-gtk
3143 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
3144
3145(define-public sbcl-cl-webkit
95d9c1d7 3146 (let ((commit "d97115ca601838dfa60ea7afbb88641d7a526dba"))
88f06fd0
PN
3147 (package
3148 (name "sbcl-cl-webkit")
95d9c1d7 3149 (version (git-version "2.4" "2" commit))
88f06fd0
PN
3150 (source
3151 (origin
3152 (method git-fetch)
3153 (uri (git-reference
94aab844 3154 (url "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
3155 (commit commit)))
3156 (file-name (git-file-name "cl-webkit" version))
3157 (sha256
3158 (base32
95d9c1d7 3159 "0sdb2l2h5xv5c1m2mfq31i9yl6zjf512fvwwzlvk9nvisyhc4xi3"))))
88f06fd0
PN
3160 (build-system asdf-build-system/sbcl)
3161 (inputs
3162 `(("cffi" ,sbcl-cffi)
3163 ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
3164 ("webkitgtk" ,webkitgtk)))
3165 (arguments
3166 `(#:asd-file "webkit2/cl-webkit2.asd"
3167 #:asd-system-name "cl-webkit2"
3168 #:phases
3169 (modify-phases %standard-phases
3170 (add-after 'unpack 'fix-paths
3171 (lambda* (#:key inputs #:allow-other-keys)
3172 (substitute* "webkit2/webkit2.init.lisp"
3173 (("libwebkit2gtk" all)
3174 (string-append
3175 (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
94aab844 3176 (home-page "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
3177 (synopsis "Binding to WebKitGTK+ for Common Lisp")
3178 (description
3179 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
3180currently targeting WebKit version 2. The WebKitGTK+ library adds web
3181browsing capabilities to an application, leveraging the full power of the
3182WebKit browsing engine.")
3183 (license license:expat))))
3184
3185(define-public cl-webkit
3186 (sbcl-package->cl-source-package sbcl-cl-webkit))
3187
3188(define-public sbcl-lparallel
3189 (package
3190 (name "sbcl-lparallel")
3191 (version "2.8.4")
3192 (source
3193 (origin
3194 (method git-fetch)
3195 (uri (git-reference
3196 (url "https://github.com/lmj/lparallel/")
3197 (commit (string-append "lparallel-" version))))
3198 (file-name (git-file-name "lparallel" version))
3199 (sha256
3200 (base32
3201 "0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
3202 (build-system asdf-build-system/sbcl)
3203 (inputs
3204 `(("alexandria" ,sbcl-alexandria)
3205 ("bordeaux-threads" ,sbcl-bordeaux-threads)
3206 ("trivial-garbage" ,sbcl-trivial-garbage)))
3207 (home-page "https://lparallel.org/")
3208 (synopsis "Parallelism for Common Lisp")
3209 (description
3210 "@command{lparallel} is a library for parallel programming in Common
3211Lisp, featuring:
3212
3213@itemize
3214@item a simple model of task submission with receiving queue,
3215@item constructs for expressing fine-grained parallelism,
3216@item asynchronous condition handling across thread boundaries,
3217@item parallel versions of map, reduce, sort, remove, and many others,
3218@item promises, futures, and delayed evaluation constructs,
3219@item computation trees for parallelizing interconnected tasks,
3220@item bounded and unbounded FIFO queues,
3221@item high and low priority tasks,
3222@item task killing by category,
3223@item integrated timeouts.
3224@end itemize\n")
3225 (license license:expat)))
3226
3227(define-public cl-lparallel
3228 (sbcl-package->cl-source-package sbcl-lparallel))
3229
3230(define-public ecl-lparallel
3231 (sbcl-package->ecl-package sbcl-lparallel))
3232
3233(define-public sbcl-cl-markup
3234 (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
3235 (package
3236 (name "sbcl-cl-markup")
3237 (version (git-version "0.1" "1" commit))
3238 (source
3239 (origin
3240 (method git-fetch)
3241 (uri (git-reference
3242 (url "https://github.com/arielnetworks/cl-markup/")
3243 (commit commit)))
3244 (file-name (git-file-name "cl-markup" version))
3245 (sha256
3246 (base32
3247 "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
3248 (build-system asdf-build-system/sbcl)
3249 (home-page "https://github.com/arielnetworks/cl-markup/")
3250 (synopsis "Markup generation library for Common Lisp")
3251 (description
3252 "A modern markup generation library for Common Lisp that features:
3253
3254@itemize
3255@item Fast (even faster through compiling the code)
3256@item Safety
3257@item Support for multiple document types (markup, xml, html, html5, xhtml)
3258@item Output with doctype
3259@item Direct output to stream
3260@end itemize\n")
3261 (license license:lgpl3+))))
3262
3263(define-public cl-markup
3264 (sbcl-package->cl-source-package sbcl-cl-markup))
3265
3266(define-public ecl-cl-markup
3267 (sbcl-package->ecl-package sbcl-cl-markup))
3268
3269(define-public sbcl-cl-css
3270 (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
3271 (package
3272 (name "sbcl-cl-css")
3273 (version (git-version "0.1" "1" commit))
3274 (source
3275 (origin
3276 (method git-fetch)
3277 (uri (git-reference
3278 (url "https://github.com/inaimathi/cl-css/")
3279 (commit commit)))
3280 (file-name (git-file-name "cl-css" version))
3281 (sha256
3282 (base32
3283 "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
3284 (build-system asdf-build-system/sbcl)
3285 (home-page "https://github.com/inaimathi/cl-css/")
3286 (synopsis "Non-validating, inline CSS generator for Common Lisp")
3287 (description
3288 "This is a dead-simple, non validating, inline CSS generator for Common
3289Lisp. Its goals are axiomatic syntax, simple implementation to support
3290portability, and boilerplate reduction in CSS.")
3291 (license license:expat))))
3292
3293(define-public cl-css
3294 (sbcl-package->cl-source-package sbcl-cl-css))
3295
3296(define-public ecl-cl-css
3297 (sbcl-package->ecl-package sbcl-cl-css))
3298
3299(define-public sbcl-portable-threads
3300 (let ((commit "c0e61a1faeb0583c80fd3f20b16cc4c555226920"))
3301 (package
3302 (name "sbcl-portable-threads")
3303 (version (git-version "2.3" "1" commit))
3304 (source
3305 (origin
3306 (method git-fetch)
3307 (uri (git-reference
3308 (url "https://github.com/binghe/portable-threads/")
3309 (commit commit)))
3310 (file-name (git-file-name "portable-threads" version))
3311 (sha256
3312 (base32
3313 "03fmxyarc0xf4kavwkfa0a2spkyfrz6hbgbi9y4q7ny5aykdyfaq"))))
3314 (build-system asdf-build-system/sbcl)
3315 (arguments
3316 `(;; Tests seem broken.
3317 #:tests? #f))
3318 (home-page "https://github.com/binghe/portable-threads")
3319 (synopsis "Portable threads (and scheduled and periodic functions) API for Common Lisp")
3320 (description
3321 "Portable Threads (and Scheduled and Periodic Functions) API for Common
3322Lisp (from GBBopen project).")
3323 (license license:asl2.0))))
3324
3325(define-public cl-portable-threads
3326 (sbcl-package->cl-source-package sbcl-portable-threads))
3327
3328(define-public ecl-portable-threada
3329 (sbcl-package->ecl-package sbcl-portable-threads))
3330
b23e6f5d 3331(define sbcl-usocket-boot0
88f06fd0
PN
3332 ;; usocket's test rely on usocket-server which depends on usocket itself.
3333 ;; We break this cyclic dependency with -boot0 that packages usocket.
b23e6f5d
GLV
3334 (package
3335 (name "sbcl-usocket-boot0")
3336 (version "0.8.3")
3337 (source
3338 (origin
3339 (method git-fetch)
3340 (uri (git-reference
3341 (url "https://github.com/usocket/usocket/")
3342 (commit (string-append "v" version))))
3343 (file-name (git-file-name "usocket" version))
3344 (sha256
3345 (base32
3346 "0x746wr2324l6bn7skqzgkzcbj5kd0zp2ck0c8rldrw0rzabg826"))))
3347 (build-system asdf-build-system/sbcl)
3348 (inputs
3349 `(("split-sequence" ,sbcl-split-sequence)))
3350 (arguments
3351 `(#:tests? #f
3352 #:asd-system-name "usocket"))
3353 (home-page "https://common-lisp.net/project/usocket/")
3354 (synopsis "Universal socket library for Common Lisp (server side)")
3355 (description
3356 "This library strives to provide a portable TCP/IP and UDP/IP socket
88f06fd0
PN
3357interface for as many Common Lisp implementations as possible, while keeping
3358the abstraction and portability layer as thin as possible.")
b23e6f5d 3359 (license license:expat)))
88f06fd0
PN
3360
3361(define-public sbcl-usocket-server
3362 (package
3363 (inherit sbcl-usocket-boot0)
3364 (name "sbcl-usocket-server")
3365 (inputs
b23e6f5d
GLV
3366 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
3367 ("usocket" ,sbcl-usocket-boot0)))
88f06fd0
PN
3368 (arguments
3369 '(#:asd-system-name "usocket-server"))
3370 (synopsis "Universal socket library for Common Lisp (server side)")))
3371
3372(define-public cl-usocket-server
3373 (sbcl-package->cl-source-package sbcl-usocket-server))
3374
3375(define-public ecl-socket-server
3376 (sbcl-package->ecl-package sbcl-usocket-server))
3377
3378(define-public sbcl-usocket
3379 (package
3380 (inherit sbcl-usocket-boot0)
3381 (name "sbcl-usocket")
3382 (arguments
3383 ;; FIXME: Tests need network access?
3384 `(#:tests? #f))
3385 (native-inputs
3386 ;; Testing only.
3387 `(("usocket-server" ,sbcl-usocket-server)
3388 ("rt" ,sbcl-rt)))))
3389
3390(define-public cl-usocket
3391 (sbcl-package->cl-source-package sbcl-usocket))
3392
b23e6f5d 3393(define-public ecl-usocket
88f06fd0
PN
3394 (sbcl-package->ecl-package sbcl-usocket))
3395
3396(define-public sbcl-s-xml
3397 (package
3398 (name "sbcl-s-xml")
3399 (version "3")
3400 (source
3401 (origin
3402 (method url-fetch)
3403 (uri "https://common-lisp.net/project/s-xml/s-xml.tgz")
3404 (sha256
3405 (base32
3406 "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
3407 (build-system asdf-build-system/sbcl)
3408 (home-page "https://common-lisp.net/project/s-xml/")
3409 (synopsis "Simple XML parser implemented in Common Lisp")
3410 (description
3411 "S-XML is a simple XML parser implemented in Common Lisp. This XML
3412parser implementation has the following features:
3413
3414@itemize
3415@item It works (handling many common XML usages).
3416@item It is very small (the core is about 700 lines of code, including
3417comments and whitespace).
3418@item It has a core API that is simple, efficient and pure functional, much
3419like that from SSAX (see also http://ssax.sourceforge.net).
3420@item It supports different DOM models: an XSML-based one, an LXML-based one
3421and a classic xml-element struct based one.
3422@item It is reasonably time and space efficient (internally avoiding garbage
3423generatation as much as possible).
3424@item It does support CDATA.
3425@item It should support the same character sets as your Common Lisp
3426implementation.
3427@item It does support XML name spaces.
3428@end itemize
3429
3430This XML parser implementation has the following limitations:
3431
3432@itemize
3433@item It does not support any special tags (like processing instructions).
3434@item It is not validating, even skips DTD's all together.
3435@end itemize\n")
3436 (license license:lgpl3+)))
3437
3438(define-public cl-s-xml
3439 (sbcl-package->cl-source-package sbcl-s-xml))
3440
3441(define-public ecl-s-xml
3442 (sbcl-package->ecl-package sbcl-s-xml))
3443
3444(define-public sbcl-s-xml-rpc
3445 (package
3446 (name "sbcl-s-xml-rpc")
3447 (version "7")
3448 (source
3449 (origin
3450 (method url-fetch)
3451 (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz")
3452 (sha256
3453 (base32
3454 "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11"))))
3455 (build-system asdf-build-system/sbcl)
3456 (inputs
3457 `(("s-xml" ,sbcl-s-xml)))
3458 (home-page "https://common-lisp.net/project/s-xml-rpc/")
3459 (synopsis "Implementation of XML-RPC in Common Lisp for both client and server")
3460 (description
3461 "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both
3462client and server.")
3463 (license license:lgpl3+)))
3464
3465(define-public cl-s-xml-rpc
3466 (sbcl-package->cl-source-package sbcl-s-xml-rpc))
3467
3468(define-public ecl-s-xml-rpc
3469 (sbcl-package->ecl-package sbcl-s-xml-rpc))
3470
3471(define-public sbcl-trivial-clipboard
3472 (let ((commit "5af3415d1484e6d69a1b5c178f24680d9fd01796"))
3473 (package
3474 (name "sbcl-trivial-clipboard")
3475 (version (git-version "0.0.0.0" "2" commit))
3476 (source
3477 (origin
3478 (method git-fetch)
3479 (uri (git-reference
3480 (url "https://github.com/snmsts/trivial-clipboard")
3481 (commit commit)))
3482 (file-name (git-file-name "trivial-clipboard" version))
3483 (sha256
3484 (base32
3485 "1gb515z5yq6h5548pb1fwhmb0hhq1ssyb78pvxh4alq799xipxs9"))))
3486 (build-system asdf-build-system/sbcl)
3487 (inputs
3488 `(("xclip" ,xclip)))
3489 (native-inputs
3490 `(("fiveam" ,sbcl-fiveam)))
3491 (arguments
3492 `(#:phases
3493 (modify-phases %standard-phases
3494 (add-after 'unpack 'fix-paths
3495 (lambda* (#:key inputs #:allow-other-keys)
3496 (substitute* "src/text.lisp"
3497 (("\\(executable-find \"xclip\"\\)")
3498 (string-append "(executable-find \""
3499 (assoc-ref inputs "xclip")
3500 "/bin/xclip\")"))))))))
3501 (home-page "https://github.com/snmsts/trivial-clipboard")
3502 (synopsis "Access system clipboard in Common Lisp")
3503 (description
3504 "@command{trivial-clipboard} gives access to the system clipboard.")
3505 (license license:expat))))
3506
3507(define-public cl-trivial-clipboard
3508 (sbcl-package->cl-source-package sbcl-trivial-clipboard))
3509
3510(define-public ecl-trivial-clipboard
3511 (sbcl-package->ecl-package sbcl-trivial-clipboard))
3512
3513(define-public sbcl-trivial-backtrace
3514 (let ((commit "ca81c011b86424a381a7563cea3b924f24e6fbeb")
3515 (revision "1"))
3516 (package
3517 (name "sbcl-trivial-backtrace")
3518 (version (git-version "0.0.0" revision commit))
3519 (source
3520 (origin
3521 (method git-fetch)
3522 (uri (git-reference
3523 (url "https://github.com/gwkkwg/trivial-backtrace.git")
3524 (commit commit)))
3525 (file-name (git-file-name "trivial-backtrace" version))
3526 (sha256
3527 (base32 "10p41p43skj6cimdg8skjy7372s8v2xpkg8djjy0l8rm45i654k1"))))
3528 (build-system asdf-build-system/sbcl)
3529 (inputs
3530 `(("sbcl-lift" ,sbcl-lift)))
8dc2af3b
GLV
3531 (arguments
3532 `(#:phases
3533 (modify-phases %standard-phases
3534 (add-after 'check 'delete-test-results
3535 (lambda* (#:key outputs #:allow-other-keys)
3536 (let ((test-results (string-append (assoc-ref outputs "out")
3537 "/share/common-lisp/"
3538 (%lisp-type) "-source"
3539 "/trivial-backtrace"
3540 "/test-results")))
3541 (when (file-exists? test-results)
3542 (delete-file-recursively test-results)))
3543 #t)))))
88f06fd0
PN
3544 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3545 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3546 (description
3547 "On of the many things that didn't quite get into the Common Lisp
3548standard was how to get a Lisp to output its call stack when something has
3549gone wrong. As such, each Lisp has developed its own notion of what to
3550display, how to display it, and what sort of arguments can be used to
3551customize it. @code{trivial-backtrace} is a simple solution to generating a
3552backtrace portably.")
3553 (license license:expat))))
3554
3555(define-public cl-trivial-backtrace
3556 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3557
3558(define-public sbcl-rfc2388
3559 (let ((commit "591bcf7e77f2c222c43953a80f8c297751dc0c4e")
3560 (revision "1"))
3561 (package
3562 (name "sbcl-rfc2388")
3563 (version (git-version "0.0.0" revision commit))
3564 (source
3565 (origin
3566 (method git-fetch)
3567 (uri (git-reference
3568 (url "https://github.com/jdz/rfc2388.git")
3569 (commit commit)))
3570 (file-name (git-file-name "rfc2388" version))
3571 (sha256
3572 (base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
3573 (build-system asdf-build-system/sbcl)
3574 (home-page "https://github.com/jdz/rfc2388/")
3575 (synopsis "An implementation of RFC 2388 in Common Lisp")
3576 (description
3577 "This package contains an implementation of RFC 2388, which is used to
3578process form data posted with HTTP POST method using enctype
3579\"multipart/form-data\".")
3580 (license license:bsd-2))))
3581
3582(define-public cl-rfc2388
3583 (sbcl-package->cl-source-package sbcl-rfc2388))
3584
3585(define-public sbcl-md5
3586 (package
3587 (name "sbcl-md5")
3588 (version "2.0.4")
3589 (source
3590 (origin
3591 (method url-fetch)
3592 (uri (string-append
3593 "https://github.com/pmai/md5/archive/release-" version ".tar.gz"))
3594 (sha256
3595 (base32 "19yl9n0pjdz5gw4qi711lka97xcd9f81ylg434hk7jwn9f2s6w11"))))
3596 (build-system asdf-build-system/sbcl)
3597 (home-page "https://github.com/pmai/md5")
3598 (synopsis
3599 "Common Lisp implementation of the MD5 Message-Digest Algorithm (RFC 1321)")
3600 (description
3601 "This package implements The MD5 Message-Digest Algorithm, as defined in
3602RFC 1321 by R. Rivest, published April 1992.")
3603 (license license:public-domain)))
3604
3605(define-public cl-md5
3606 (sbcl-package->cl-source-package sbcl-md5))
3607
3608(define-public sbcl-cl+ssl
3609 (let ((commit "141ae91416bc40f1618dc07e48429b84388aa599")
3610 (revision "1"))
3611 (package
3612 (name "sbcl-cl+ssl")
3613 (version (git-version "0.0.0" revision commit))
3614 (source
3615 (origin
3616 (method git-fetch)
3617 (uri (git-reference
3618 (url "https://github.com/cl-plus-ssl/cl-plus-ssl.git")
3619 (commit commit)))
3620 (file-name (git-file-name "cl+ssl" version))
3621 (sha256
3622 (base32 "1s0hg1h9sf8q89v0yrxmzg5f5sng29rgx3n21r9h9yql8351myan"))))
3623 (build-system asdf-build-system/sbcl)
3624 (arguments
3625 '(#:phases
3626 (modify-phases %standard-phases
3627 (add-after 'unpack 'fix-paths
3628 (lambda* (#:key inputs #:allow-other-keys)
3629 (substitute* "src/reload.lisp"
3630 (("libssl.so" all)
3631 (string-append
3632 (assoc-ref inputs "openssl") "/lib/" all))))))))
3633 (inputs
3634 `(("openssl" ,openssl)
3635 ("sbcl-cffi" ,sbcl-cffi)
3636 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3637 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3638 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)
3639 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)
3640 ("sbcl-alexandria" ,sbcl-alexandria)
3641 ("sbcl-trivial-features" ,sbcl-trivial-features)))
113c9b97 3642 (home-page "https://common-lisp.net/project/cl-plus-ssl/")
88f06fd0
PN
3643 (synopsis "Common Lisp bindings to OpenSSL")
3644 (description
3645 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3646code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3647Development into CL+SSL was done by David Lichteblau.")
3648 (license license:expat))))
3649
3650(define-public cl-cl+ssl
3651 (sbcl-package->cl-source-package sbcl-cl+ssl))
3652
3653(define-public sbcl-kmrcl
3654 (let ((version "1.109.0")
3655 (commit "5260068b2eb735af6796740c2db4955afac21636")
3656 (revision "1"))
3657 (package
3658 (name "sbcl-kmrcl")
3659 (version (git-version version revision commit))
3660 (source
3661 (origin
3662 (method git-fetch)
3663 (uri (git-reference
3664 (url "http://git.kpe.io/kmrcl.git/")
3665 (commit commit)))
3666 (file-name (git-file-name name version))
3667 (sha256
3668 (base32 "1va7xjgzfv674bpsli674i7zj3f7wg5kxic41kz18r6hh4n52dfv"))))
3669 (build-system asdf-build-system/sbcl)
3670 (arguments
3671 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed in a
3672 ;; nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
3673 '(#:tests? #f))
3674 (inputs
3675 `(("sbcl-rt" ,sbcl-rt)))
3676 (home-page "http://files.kpe.io/kmrcl/")
3677 (synopsis "General utilities for Common Lisp programs")
3678 (description
3679 "KMRCL is a collection of utilities used by a number of Kevin
3680Rosenberg's CL packages.")
3681 (license license:llgpl))))
3682
3683(define-public cl-kmrcl
3684 (sbcl-package->cl-source-package sbcl-kmrcl))
3685
3686(define-public sbcl-cl-base64
3687 (let ((version "3.3.3"))
3688 (package
3689 (name "sbcl-cl-base64")
3690 (version version)
3691 (source
3692 (origin
3693 (method git-fetch)
3694 (uri (git-reference
3695 (url "http://git.kpe.io/cl-base64.git")
3696 (commit (string-append "v" version))))
3697 (file-name (git-file-name "cl-base64" version))
3698 (sha256
3699 (base32 "1dw6j7n6gsd2qa0p0rbsjxj00acxx3i9ca1qkgl0liy8lpnwkypl"))))
3700 (build-system asdf-build-system/sbcl)
3701 (arguments
3702 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed
3703 ;; in a nested call to ASDF/OPERATE:OPERATE unless identically
3704 ;; to toplevel
3705 '(#:tests? #f))
3706 (inputs
3707 `(("sbcl-ptester" ,sbcl-ptester)
3708 ("sbcl-kmrcl" ,sbcl-kmrcl)))
3709 (home-page "http://files.kpe.io/cl-base64/")
3710 (synopsis
3711 "Common Lisp package to encode and decode base64 with URI support")
3712 (description
3713 "This package provides highly optimized base64 encoding and decoding.
3714Besides conversion to and from strings, integer conversions are supported.
3715Encoding with Uniform Resource Identifiers is supported by using a modified
3716encoding table that uses only URI-compatible characters.")
3717 (license license:bsd-3))))
3718
3719(define-public cl-base64
3720 (sbcl-package->cl-source-package sbcl-cl-base64))
3721
3722(define-public sbcl-chunga
3723 (package
3724 (name "sbcl-chunga")
3725 (version "1.1.7")
3726 (source
3727 (origin
3728 (method git-fetch)
3729 (uri (git-reference
3730 (url "https://github.com/edicl/chunga.git")
3731 (commit (string-append "v" version))))
3732 (file-name (git-file-name name version))
3733 (sha256
3734 (base32 "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd"))))
3735 (build-system asdf-build-system/sbcl)
3736 (inputs
3737 `(("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3738 (home-page "https://edicl.github.io/chunga/")
3739 (synopsis "Portable chunked streams for Common Lisp")
3740 (description
3741 "Chunga implements streams capable of chunked encoding on demand as
3742defined in RFC 2616.")
3743 (license license:bsd-2)))
3744
3745(define-public cl-chunga
3746 (sbcl-package->cl-source-package sbcl-chunga))
3747
3748(define-public sbcl-cl-who
3749 (let ((version "1.1.4")
3750 (commit "2c08caa4bafba720409af9171feeba3f32e86d32")
3751 (revision "1"))
3752 (package
3753 (name "sbcl-cl-who")
3754 (version (git-version version revision commit))
3755 (source
3756 (origin
3757 (method git-fetch)
3758 (uri (git-reference
3759 (url "https://github.com/edicl/cl-who.git")
3760 (commit commit)))
3761 (file-name (git-file-name name version))
3762 (sha256
3763 (base32
3764 "0yjb6sr3yazm288m318kqvj9xk8rm9n1lpimgf65ymqv0i5agxsb"))))
3765 (build-system asdf-build-system/sbcl)
3766 (native-inputs
3767 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3768 (home-page "https://edicl.github.io/cl-who/")
3769 (synopsis "Yet another Lisp markup language")
3770 (description
3771 "There are plenty of Lisp Markup Languages out there - every Lisp
3772programmer seems to write at least one during his career - and CL-WHO (where
3773WHO means \"with-html-output\" for want of a better acronym) is probably just
3774as good or bad as the next one.")
3775 (license license:bsd-2))))
3776
3777(define-public cl-cl-who
3778 (sbcl-package->cl-source-package sbcl-cl-who))
3779
3780(define-public sbcl-chipz
3781 (let ((version "0.8")
3782 (commit "75dfbc660a5a28161c57f115adf74c8a926bfc4d")
3783 (revision "1"))
3784 (package
3785 (name "sbcl-chipz")
3786 (version (git-version version revision commit))
3787 (source
3788 (origin
3789 (method git-fetch)
3790 (uri (git-reference
3791 (url "https://github.com/froydnj/chipz.git")
3792 (commit commit)))
3793 (file-name (git-file-name name version))
3794 (sha256
3795 (base32
3796 "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"))))
3797 (build-system asdf-build-system/sbcl)
3798 (native-inputs
3799 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3800 (home-page "http://method-combination.net/lisp/chipz/")
3801 (synopsis
3802 "Common Lisp library for decompressing deflate, zlib, gzip, and bzip2
3803data")
3804 (description
3805 "DEFLATE data, defined in RFC1951, forms the core of popular
3806compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3807Chipz also provides for decompressing data in those formats as well. BZIP2 is
3808the format used by the popular compression tool bzip2.")
3809 ;; The author describes it as "MIT-like"
3810 (license license:expat))))
3811
3812(define-public cl-chipz
3813 (sbcl-package->cl-source-package sbcl-chipz))
3814
3815(define-public sbcl-drakma
a2b6b973
GLV
3816 (package
3817 (name "sbcl-drakma")
3818 (version "2.0.7")
3819 (source
3820 (origin
3821 (method git-fetch)
3822 (uri (git-reference
3823 (url "https://github.com/edicl/drakma.git")
3824 (commit (string-append "v" version))))
3825 (file-name (git-file-name name version))
3826 (sha256
3827 (base32
3828 "1441idnyif9xzx3ln1p3fg36k2v9h4wasjqrzc8y52j61420qpci"))))
3829 (build-system asdf-build-system/sbcl)
3830 (inputs
3831 `(("sbcl-puri" ,sbcl-puri)
3832 ("sbcl-cl-base64" ,sbcl-cl-base64)
3833 ("sbcl-chunga" ,sbcl-chunga)
3834 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3835 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3836 ("sbcl-chipz" ,sbcl-chipz)
3837 ("sbcl-usocket" ,sbcl-usocket)
3838 ("sbcl-cl+ssl" ,sbcl-cl+ssl)))
3839 (native-inputs
3840 `(("sbcl-fiveam" ,sbcl-fiveam)))
3841 (home-page "https://edicl.github.io/drakma/")
3842 (synopsis "HTTP client written in Common Lisp")
3843 (description
3844 "Drakma is a full-featured HTTP client implemented in Common Lisp. It
88f06fd0
PN
3845knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3846sockets, SSL, continuable uploads, file uploads, cookies, and more.")
a2b6b973 3847 (license license:bsd-2)))
88f06fd0
PN
3848
3849(define-public cl-drakma
3850 (sbcl-package->cl-source-package sbcl-drakma))
3851
10ac723b
GLV
3852(define-public ecl-drakma
3853 (sbcl-package->ecl-package sbcl-drakma))
3854
88f06fd0
PN
3855(define-public sbcl-hunchentoot
3856 (package
3857 (name "sbcl-hunchentoot")
3858 (version "1.2.38")
3859 (source
3860 (origin
3861 (method git-fetch)
3862 (uri (git-reference
3863 (url "https://github.com/edicl/hunchentoot.git")
3864 (commit (string-append "v" version))))
3865 (file-name (git-file-name "hunchentoot" version))
3866 (sha256
3867 (base32 "1anpcad7w045m4rsjs1f3xdhjwx5cppq1h0vlb3q7dz81fi3i6yq"))))
3868 (build-system asdf-build-system/sbcl)
3869 (native-inputs
3870 `(("sbcl-cl-who" ,sbcl-cl-who)
3871 ("sbcl-drakma" ,sbcl-drakma)))
3872 (inputs
3873 `(("sbcl-chunga" ,sbcl-chunga)
3874 ("sbcl-cl-base64" ,sbcl-cl-base64)
3875 ("sbcl-cl-fad" ,sbcl-cl-fad)
3876 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3877 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3878 ("sbcl-cl+ssl" ,sbcl-cl+ssl)
3879 ("sbcl-md5" ,sbcl-md5)
3880 ("sbcl-rfc2388" ,sbcl-rfc2388)
3881 ("sbcl-trivial-backtrace" ,sbcl-trivial-backtrace)
3882 ("sbcl-usocket" ,sbcl-usocket)))
3883 (home-page "https://edicl.github.io/hunchentoot/")
3884 (synopsis "Web server written in Common Lisp")
3885 (description
3886 "Hunchentoot is a web server written in Common Lisp and at the same
3887time a toolkit for building dynamic websites. As a stand-alone web server,
3888Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3889connections (keep-alive), and SSL.")
3890 (license license:bsd-2)))
3891
3892(define-public cl-hunchentoot
3893 (sbcl-package->cl-source-package sbcl-hunchentoot))
3894
3895(define-public sbcl-trivial-types
3896 (package
3897 (name "sbcl-trivial-types")
3898 (version "0.0.1")
3899 (source
3900 (origin
3901 (method git-fetch)
3902 (uri (git-reference
3903 (url "https://github.com/m2ym/trivial-types.git")
3904 (commit "ee869f2b7504d8aa9a74403641a5b42b16f47d88")))
3905 (file-name (git-file-name name version))
3906 (sha256
3907 (base32 "1s4cp9bdlbn8447q7w7f1wkgwrbvfzp20mgs307l5pxvdslin341"))))
3908 (build-system asdf-build-system/sbcl)
3909 (home-page "https://github.com/m2ym/trivial-types")
3910 (synopsis "Trivial type definitions for Common Lisp")
3911 (description
3912 "TRIVIAL-TYPES provides missing but important type definitions such as
3913PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
3914 (license license:llgpl)))
3915
3916(define-public cl-trivial-types
3917 (sbcl-package->cl-source-package sbcl-trivial-types))
3918
3919(define-public sbcl-cl-syntax
3920 (package
3921 (name "sbcl-cl-syntax")
3922 (version "0.0.3")
3923 (source
3924 (origin
3925 (method git-fetch)
3926 (uri (git-reference
3927 (url "https://github.com/m2ym/cl-syntax.git")
3928 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3929 (file-name (git-file-name "cl-syntax" version))
3930 (sha256
3931 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3932 (build-system asdf-build-system/sbcl)
3933 (arguments
3934 '(#:asd-file "cl-syntax.asd"
3935 #:asd-system-name "cl-syntax"))
3936 (inputs `(("sbcl-trivial-types" ,sbcl-trivial-types)
3937 ("sbcl-named-readtables" ,sbcl-named-readtables)))
3938 (home-page "https://github.com/m2ym/cl-syntax")
3939 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3940 (description
3941 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3942 (license license:llgpl)))
3943
3944(define-public cl-syntax
3945 (sbcl-package->cl-source-package sbcl-cl-syntax))
3946
3947(define-public sbcl-cl-annot
3948 (let ((commit "c99e69c15d935eabc671b483349a406e0da9518d")
3949 (revision "1"))
3950 (package
3951 (name "sbcl-cl-annot")
3952 (version (git-version "0.0.0" revision commit))
3953 (source
3954 (origin
3955 (method git-fetch)
3956 (uri (git-reference
3957 (url "https://github.com/m2ym/cl-annot.git")
3958 (commit commit)))
3959 (file-name (git-file-name name version))
3960 (sha256
3961 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3962 (build-system asdf-build-system/sbcl)
3963 (arguments
3964 '(#:asd-file "cl-annot.asd"
3965 #:asd-system-name "cl-annot"))
3966 (inputs
3967 `(("sbcl-alexandria" ,sbcl-alexandria)))
3968 (home-page "https://github.com/m2ym/cl-annot")
3969 (synopsis "Python-like Annotation Syntax for Common Lisp.")
3970 (description
3971 "@code{cl-annot} is an general annotation library for Common Lisp.")
3972 (license license:llgpl))))
3973
3974(define-public cl-annot
3975 (sbcl-package->cl-source-package sbcl-cl-annot))
3976
3977(define-public sbcl-cl-syntax-annot
3978 (package
3979 (name "sbcl-cl-syntax-annot")
3980 (version "0.0.3")
3981 (source
3982 (origin
3983 (method git-fetch)
3984 (uri (git-reference
3985 (url "https://github.com/m2ym/cl-syntax.git")
3986 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3987 (file-name (git-file-name name version))
3988 (sha256
3989 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3990 (build-system asdf-build-system/sbcl)
3991 (arguments
3992 '(#:asd-file "cl-syntax-annot.asd"
3993 #:asd-system-name "cl-syntax-annot"))
3994 (inputs
3995 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3996 ("sbcl-cl-annot" ,sbcl-cl-annot)))
3997 (home-page "https://github.com/m2ym/cl-syntax")
3998 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3999 (description
4000 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and
4001SLIME.")
4002 (license license:llgpl)))
4003
4004(define-public cl-syntax-annot
4005 (sbcl-package->cl-source-package sbcl-cl-syntax-annot))
4006
4007(define-public sbcl-cl-utilities
4008 (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b")
4009 (revision "1"))
4010 (package
4011 (name "sbcl-cl-utilities")
4012 (version (git-version "0.0.0" revision commit))
4013 (source
4014 (origin
4015 (method url-fetch)
4016 (uri
4017 (string-append
4018 "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/"
4019 "archive/" commit "/cl-utilities-" commit ".tar.gz"))
4020 (sha256
4021 (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2"))))
4022 (build-system asdf-build-system/sbcl)
4023 (arguments
4024 '(#:asd-file "cl-utilities.asd"
4025 #:asd-system-name "cl-utilities"
4026 #:phases
4027 (modify-phases %standard-phases
4028 (add-after 'unpack 'fix-paths
4029 (lambda* (#:key inputs #:allow-other-keys)
4030 (substitute* "rotate-byte.lisp"
4031 (("in-package :cl-utilities)" all)
4032 "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
4033 (home-page "http://common-lisp.net/project/cl-utilities")
4034 (synopsis "A collection of semi-standard utilities")
4035 (description
4036 "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
4037is a collection of Common Lisp Utilities, things that everybody writes since
4038they're not part of the official standard. There are some very useful things
4039there; the only problems are that they aren't implemented as well as you'd
4040like (some aren't implemented at all) and they aren't conveniently packaged
4041and maintained. It takes quite a bit of work to carefully implement utilities
4042for common use, commented and documented, with error checking placed
4043everywhere some dumb user might make a mistake.")
4044 (license license:public-domain))))
4045
4046(define-public cl-utilities
4047 (sbcl-package->cl-source-package sbcl-cl-utilities))
4048
4049(define-public sbcl-map-set
4050 (let ((commit "7b4b545b68b8")
4051 (revision "1"))
4052 (package
4053 (name "sbcl-map-set")
4054 (version (git-version "0.0.0" revision commit))
4055 (source
4056 (origin
4057 (method url-fetch)
4058 (uri (string-append
4059 "https://bitbucket.org/tarballs_are_good/map-set/get/"
4060 commit ".tar.gz"))
4061 (sha256
4062 (base32 "1sx5j5qdsy5fklspfammwb16kjrhkggdavm922a9q86jm5l0b239"))))
4063 (build-system asdf-build-system/sbcl)
4064 (home-page "https://bitbucket.org/tarballs_are_good/map-set")
4065 (synopsis "Set-like data structure")
4066 (description
4067 "Implementation of a set-like data structure with constant time
4068addition, removal, and random selection.")
4069 (license license:bsd-3))))
4070
4071(define-public cl-map-set
4072 (sbcl-package->cl-source-package sbcl-map-set))
4073
4074(define-public sbcl-quri
4075 (let ((commit "76b75103f21ead092c9f715512fa82441ef61185")
4076 (revision "1"))
4077 (package
4078 (name "sbcl-quri")
4079 (version (git-version "0.1.0" revision commit))
4080 (source
4081 (origin
4082 (method git-fetch)
4083 (uri (git-reference
4084 (url "https://github.com/fukamachi/quri.git")
4085 (commit commit)))
4086 (file-name (git-file-name name version))
4087 (sha256
4088 (base32 "1ccbxsgzdibmzq33mmbmmz9vwl6l03xh6nbpsh1hkdvdcl7q0a60"))))
4089 (build-system asdf-build-system/sbcl)
4090 (arguments
4091 ;; Tests fail with: Component QURI-ASD::QURI-TEST not found,
4092 ;; required by #<SYSTEM "quri">. Why?
4093 '(#:tests? #f))
4094 (native-inputs `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4095 ("sbcl-prove" ,sbcl-prove)))
4096 (inputs `(("sbcl-babel" ,sbcl-babel)
4097 ("sbcl-split-sequence" ,sbcl-split-sequence)
4098 ("sbcl-cl-utilities" ,sbcl-cl-utilities)
4099 ("sbcl-alexandria" ,sbcl-alexandria)))
4100 (home-page "https://github.com/fukamachi/quri")
4101 (synopsis "Yet another URI library for Common Lisp")
4102 (description
4103 "QURI (pronounced \"Q-ree\") is yet another URI library for Common
4104Lisp. It is intended to be a replacement of PURI.")
4105 (license license:bsd-3))))
4106
4107(define-public cl-quri
4108 (sbcl-package->cl-source-package sbcl-quri))
4109
4110(define-public sbcl-myway
4111 (let ((commit "286230082a11f879c18b93f17ca571c5f676bfb7")
4112 (revision "1"))
4113 (package
4114 (name "sbcl-myway")
4115 (version (git-version "0.1.0" revision commit))
4116 (source
4117 (origin
4118 (method git-fetch)
4119 (uri (git-reference
4120 (url "https://github.com/fukamachi/myway.git")
4121 (commit commit)))
4122 (file-name (git-file-name "myway" version))
4123 (sha256
4124 (base32 "0briia9bk3lbr0frnx39d1qg6i38dm4j6z9w3yga3d40k6df4a90"))))
4125 (build-system asdf-build-system/sbcl)
4126 (arguments
4127 ;; Tests fail with: Component MYWAY-ASD::MYWAY-TEST not found, required
4128 ;; by #<SYSTEM "myway">. Why?
4129 '(#:tests? #f))
4130 (native-inputs
4131 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4132 ("sbcl-prove" ,sbcl-prove)))
4133 (inputs
4134 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
4135 ("sbcl-quri" ,sbcl-quri)
4136 ("sbcl-map-set" ,sbcl-map-set)))
4137 (home-page "https://github.com/fukamachi/myway")
4138 (synopsis "Sinatra-compatible URL routing library for Common Lisp")
4139 (description "My Way is a Sinatra-compatible URL routing library.")
4140 (license license:llgpl))))
4141
4142(define-public cl-myway
4143 (sbcl-package->cl-source-package sbcl-myway))
4144
4145(define-public sbcl-xsubseq
4146 (let ((commit "5ce430b3da5cda3a73b9cf5cee4df2843034422b")
4147 (revision "1"))
4148 (package
4149 (name "sbcl-xsubseq")
4150 (version (git-version "0.0.1" revision commit))
4151 (source
4152 (origin
4153 (method git-fetch)
4154 (uri (git-reference
4155 (url "https://github.com/fukamachi/xsubseq")
4156 (commit commit)))
4157 (file-name (git-file-name name version))
4158 (sha256
4159 (base32 "1xz79q0p2mclf3sqjiwf6izdpb6xrsr350bv4mlmdlm6rg5r99px"))))
4160 (build-system asdf-build-system/sbcl)
4161 (arguments
4162 ;; Tests fail with: Component XSUBSEQ-ASD::XSUBSEQ-TEST not found,
4163 ;; required by #<SYSTEM "xsubseq">. Why?
4164 '(#:tests? #f))
4165 (native-inputs
4166 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4167 ("sbcl-prove" ,sbcl-prove)))
4168 (home-page "https://github.com/fukamachi/xsubseq")
4169 (synopsis "Efficient way to use \"subseq\"s in Common Lisp")
4170 (description
4171 "XSubseq provides functions to be able to handle \"subseq\"s more
4172effieiently.")
4173 (license license:bsd-2))))
4174
4175(define-public cl-xsubseq
4176 (sbcl-package->cl-source-package sbcl-xsubseq))
4177
4178(define-public sbcl-smart-buffer
4179 (let ((commit "09b9a9a0b3abaa37abe9a730f5aac2643dca4e62")
4180 (revision "1"))
4181 (package
4182 (name "sbcl-smart-buffer")
4183 (version (git-version "0.0.1" revision commit))
4184 (source
4185 (origin
4186 (method git-fetch)
4187 (uri (git-reference
4188 (url "https://github.com/fukamachi/smart-buffer")
4189 (commit commit)))
4190 (file-name (git-file-name name version))
4191 (sha256
4192 (base32 "0qz1zzxx0wm5ff7gpgsq550a59p0qj594zfmm2rglj97dahj54l7"))))
4193 (build-system asdf-build-system/sbcl)
4194 (arguments
4195 ;; Tests fail with: Component SMART-BUFFER-ASD::SMART-BUFFER-TEST not
4196 ;; found, required by #<SYSTEM "smart-buffer">. Why?
4197 `(#:tests? #f))
4198 (native-inputs
4199 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4200 ("sbcl-prove" ,sbcl-prove)))
4201 (inputs
4202 `(("sbcl-xsubseq" ,sbcl-xsubseq)
4203 ("sbcl-flexi-streams" ,sbcl-flexi-streams)))
4204 (home-page "https://github.com/fukamachi/smart-buffer")
4205 (synopsis "Smart octets buffer")
4206 (description
4207 "Smart-buffer provides an output buffer which changes the destination
4208depending on content size.")
4209 (license license:bsd-3))))
4210
4211(define-public cl-smart-buffer
4212 (sbcl-package->cl-source-package sbcl-smart-buffer))
4213
4214(define-public sbcl-fast-http
4215 (let ((commit "f9e7597191bae380503e20724fd493a24d024935")
4216 (revision "1"))
4217 (package
4218 (name "sbcl-fast-http")
4219 (version (git-version "0.2.0" revision commit))
4220 (source
4221 (origin
4222 (method git-fetch)
4223 (uri (git-reference
4224 (url "https://github.com/fukamachi/fast-http")
4225 (commit commit)))
4226 (file-name (git-file-name name version))
4227 (sha256
4228 (base32 "0qdmwv2zm0sizxdb8nnclgwl0nfjcbjaimbakavikijw7lr9b4jp"))))
4229 (build-system asdf-build-system/sbcl)
4230 (arguments
4231 ;; Tests fail with: Component FAST-HTTP-ASD::FAST-HTTP-TEST not found,
4232 ;; required by #<SYSTEM "fast-http">. Why?
4233 `(#:tests? #f))
4234 (native-inputs
4235 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4236 ("sbcl-prove" ,sbcl-prove)))
4237 (inputs
4238 `(("sbcl-alexandria" ,sbcl-alexandria)
4239 ("sbcl-proc-parse" ,sbcl-proc-parse)
4240 ("sbcl-xsubseq" ,sbcl-xsubseq)
4241 ("sbcl-smart-buffer" ,sbcl-smart-buffer)
4242 ("sbcl-cl-utilities" ,sbcl-cl-utilities)))
4243 (home-page "https://github.com/fukamachi/fast-http")
4244 (synopsis "HTTP request/response parser for Common Lisp")
4245 (description
4246 "@code{fast-http} is a HTTP request/response protocol parser for Common
4247Lisp.")
4248 ;; Author specified the MIT license
4249 (license license:expat))))
4250
4251(define-public cl-fast-http
4252 (sbcl-package->cl-source-package sbcl-fast-http))
4253
4254(define-public sbcl-static-vectors
ba55cbda
GLV
4255 (package
4256 (name "sbcl-static-vectors")
4257 (version "1.8.4")
4258 (source
4259 (origin
88f06fd0
PN
4260 (method git-fetch)
4261 (uri (git-reference
4262 (url "https://github.com/sionescu/static-vectors.git")
ba55cbda 4263 (commit (string-append "v" version))))
88f06fd0
PN
4264 (file-name (git-file-name name version))
4265 (sha256
ba55cbda
GLV
4266 (base32 "0qvf9z6bhwhm8n45fjwkm7j8dcb58szfvndky65cyn4lpdval7m1"))))
4267 (native-inputs
4268 `(("sbcl-fiveam" ,sbcl-fiveam)))
4269 (inputs
4270 `(("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
4271 ("sbcl-cffi" ,sbcl-cffi)))
4272 (build-system asdf-build-system/sbcl)
6b40dbff 4273 (home-page "https://github.com/sionescu/static-vectors")
ba55cbda
GLV
4274 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
4275 (description
4276 "With @code{static-vectors}, you can create vectors allocated in static
88f06fd0 4277memory.")
ba55cbda 4278 (license license:expat)))
88f06fd0
PN
4279
4280(define-public cl-static-vectors
4281 (sbcl-package->cl-source-package sbcl-static-vectors))
4282
f6a6f085
GLV
4283(define-public ecl-static-vectors
4284 (sbcl-package->ecl-package sbcl-static-vectors))
4285
88f06fd0
PN
4286(define-public sbcl-marshal
4287 (let ((commit "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec")
4288 (revision "1"))
4289 (package
4290 (name "sbcl-marshal")
4291 (version (git-version "1.3.0" revision commit))
4292 (source
4293 (origin
4294 (method git-fetch)
4295 (uri (git-reference
4296 (url "https://github.com/wlbr/cl-marshal.git")
4297 (commit commit)))
4298 (file-name (git-file-name name version))
4299 (sha256
4300 (base32 "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh"))))
4301 (build-system asdf-build-system/sbcl)
4302 (home-page "https://github.com/wlbr/cl-marshal")
4303 (synopsis "Simple (de)serialization of Lisp datastructures")
4304 (description
4305 "Simple and fast marshalling of Lisp datastructures. Convert any object
4306into a string representation, put it on a stream an revive it from there.
4307Only minimal changes required to make your CLOS objects serializable.")
4308 (license license:expat))))
4309
4310(define-public cl-marshal
4311 (sbcl-package->cl-source-package sbcl-marshal))
4312
4313(define-public sbcl-checkl
4314 (let ((commit "80328800d047fef9b6e32dfe6bdc98396aee3cc9")
4315 (revision "1"))
4316 (package
4317 (name "sbcl-checkl")
4318 (version (git-version "0.0.0" revision commit))
4319 (source
4320 (origin
4321 (method git-fetch)
4322 (uri (git-reference
4323 (url "https://github.com/rpav/CheckL.git")
4324 (commit commit)))
4325 (file-name (git-file-name name version))
4326 (sha256
4327 (base32 "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx"))))
4328 (build-system asdf-build-system/sbcl)
4329 (arguments
4330 ;; Error while trying to load definition for system checkl-test from
4331 ;; pathname [...]/checkl-test.asd: The function CHECKL:DEFINE-TEST-OP
4332 ;; is undefined.
4333 '(#:tests? #f))
4334 (native-inputs
4335 `(("sbcl-fiveam" ,sbcl-fiveam)))
4336 (inputs
4337 `(("sbcl-marshal" ,sbcl-marshal)))
4338 (home-page "https://github.com/rpav/CheckL/")
4339 (synopsis "Dynamic testing for Common Lisp")
4340 (description
4341 "CheckL lets you write tests dynamically, it checks resulting values
4342against the last run.")
4343 ;; The author specifies both LLGPL and "BSD", but the "BSD" license
4344 ;; isn't specified anywhere, so I don't know which kind. LLGPL is the
4345 ;; stronger of the two and so I think only listing this should suffice.
4346 (license license:llgpl))))
4347
4348(define-public cl-checkl
4349 (sbcl-package->cl-source-package sbcl-checkl))
4350
4351(define-public sbcl-fast-io
4352 (let ((commit "dc3a71db7e9b756a88781ae9c342fe9d4bbab51c")
4353 (revision "1"))
4354 (package
4355 (name "sbcl-fast-io")
4356 (version (git-version "1.0.0" revision commit))
4357 (source
4358 (origin
4359 (method git-fetch)
4360 (uri (git-reference
4361 (url "https://github.com/rpav/fast-io.git")
4362 (commit commit)))
4363 (file-name (git-file-name name version))
4364 (sha256
4365 (base32 "1jsp6xvi26ln6fdy5j5zi05xvan8jsqdhisv552dy6xg6ws8i1yq"))))
4366 (build-system asdf-build-system/sbcl)
4367 (arguments
4368 ;; Error while trying to load definition for system fast-io-test from
4369 ;; pathname [...]/fast-io-test.asd: The function CHECKL:DEFINE-TEST-OP
4370 ;; is undefined.
4371 '(#:tests? #f))
4372 (native-inputs
4373 `(("sbcl-fiveam" ,sbcl-fiveam)
4374 ("sbcl-checkl" ,sbcl-checkl)))
4375 (inputs
4376 `(("sbcl-alexandria" ,sbcl-alexandria)
4377 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
4378 ("sbcl-static-vectors" ,sbcl-static-vectors)))
4379 (home-page "https://github.com/rpav/fast-io")
4380 (synopsis "Fast octet-vector/stream I/O for Common Lisp")
4381 (description
4382 "Fast-io is about improving performance to octet-vectors and octet
4383streams (though primarily the former, while wrapping the latter).")
4384 ;; Author specifies this as NewBSD which is an alias
4385 (license license:bsd-3))))
4386
4387(define-public cl-fast-io
4388 (sbcl-package->cl-source-package sbcl-fast-io))
4389
4390(define-public sbcl-jonathan
4391 (let ((commit "1f448b4f7ac8265e56e1c02b32ce383e65316300")
4392 (revision "1"))
4393 (package
4394 (name "sbcl-jonathan")
4395 (version (git-version "0.1.0" revision commit))
4396 (source
4397 (origin
4398 (method git-fetch)
4399 (uri (git-reference
4400 (url "https://github.com/Rudolph-Miller/jonathan.git")
4401 (commit commit)))
4402 (file-name (git-file-name name version))
4403 (sha256
4404 (base32 "14x4iwz3mbag5jzzzr4sb6ai0m9r4q4kyypbq32jmsk2dx1hi807"))))
4405 (build-system asdf-build-system/sbcl)
4406 (arguments
4407 ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found,
4408 ;; required by #<SYSTEM "jonathan">. Why?
4409 `(#:tests? #f))
4410 (native-inputs
4411 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4412 ("sbcl-prove" ,sbcl-prove)))
4413 (inputs
4414 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4415 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4416 ("sbcl-fast-io" ,sbcl-fast-io)
4417 ("sbcl-proc-parse" ,sbcl-proc-parse)
4418 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
46a5d07e 4419 (home-page "https://rudolph-miller.github.io/jonathan/overview.html")
88f06fd0
PN
4420 (synopsis "JSON encoder and decoder")
4421 (description
4422 "High performance JSON encoder and decoder. Currently support: SBCL,
4423CCL.")
4424 ;; Author specifies the MIT license
4425 (license license:expat))))
4426
4427(define-public cl-jonathan
4428 (sbcl-package->cl-source-package sbcl-jonathan))
4429
4430(define-public sbcl-http-body
4431 (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
4432 (revision "1"))
4433 (package
4434 (name "sbcl-http-body")
4435 (version (git-version "0.1.0" revision commit))
4436 (source
4437 (origin
4438 (method git-fetch)
4439 (uri (git-reference
4440 (url "https://github.com/fukamachi/http-body")
4441 (commit commit)))
4442 (file-name (git-file-name name version))
4443 (sha256
4444 (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
4445 (build-system asdf-build-system/sbcl)
4446 (arguments
4447 ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
4448 ;; found, required by #<SYSTEM "http-body">. Why?
4449 `(#:tests? #f))
4450 (native-inputs
4451 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4452 ("sbcl-prove" ,sbcl-prove)))
4453 (inputs
4454 `(("sbcl-fast-http" ,sbcl-fast-http)
4455 ("sbcl-jonathan" ,sbcl-jonathan)
4456 ("sbcl-quri" ,sbcl-quri)))
4457 (home-page "https://github.com/fukamachi/http-body")
4458 (synopsis "HTTP POST data parser")
4459 (description
4460 "HTTP-Body parses HTTP POST data and returns POST parameters. It
4461supports application/x-www-form-urlencoded, application/json, and
4462multipart/form-data.")
4463 (license license:bsd-2))))
4464
4465(define-public cl-http-body
4466 (sbcl-package->cl-source-package sbcl-http-body))
4467
4468(define-public sbcl-circular-streams
4469 (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df")
4470 (revision "1"))
4471 (package
4472 (name "sbcl-circular-streams")
4473 (version (git-version "0.1.0" revision commit))
4474 (source
4475 (origin
4476 (method git-fetch)
4477 (uri (git-reference
4478 (url "https://github.com/fukamachi/circular-streams")
4479 (commit commit)))
4480 (file-name (git-file-name name version))
4481 (sha256
4482 (base32 "1wpw6d5cciyqcf92f7mvihak52pd5s47kk4qq6f0r2z2as68p5rs"))))
4483 (build-system asdf-build-system/sbcl)
4484 (arguments
4485 ;; The tests depend on cl-test-more which is now prove. Prove
4486 ;; tests aren't working for some reason.
4487 `(#:tests? #f))
4488 (inputs
4489 `(("sbcl-fast-io" ,sbcl-fast-io)
4490 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
4491 (home-page "https://github.com/fukamachi/circular-streams")
4492 (synopsis "Circularly readable streams for Common Lisp")
4493 (description
4494 "Circular-Streams allows you to read streams circularly by wrapping real
4495streams. Once you reach end-of-file of a stream, it's file position will be
4496reset to 0 and you're able to read it again.")
4497 (license license:llgpl))))
4498
4499(define-public cl-circular-streams
4500 (sbcl-package->cl-source-package sbcl-circular-streams))
4501
4502(define-public sbcl-lack-request
4503 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4504 (revision "1"))
4505 (package
4506 (name "sbcl-lack-request")
4507 (version (git-version "0.1.0" revision commit))
4508 (source
4509 (origin
4510 (method git-fetch)
4511 (uri (git-reference
4512 (url "https://github.com/fukamachi/lack.git")
4513 (commit commit)))
4514 (file-name (git-file-name "lack-request" version))
4515 (sha256
4516 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4517 (build-system asdf-build-system/sbcl)
4518 (arguments
4519 '(#:asd-file "lack-request.asd"
4520 #:asd-system-name "lack-request"
4521 #:test-asd-file "t-lack-request.asd"
4522 ;; XXX: Component :CLACK-TEST not found
4523 #:tests? #f))
4524 (native-inputs
4525 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4526 ("sbcl-prove" ,sbcl-prove)))
4527 (inputs
4528 `(("sbcl-quri" ,sbcl-quri)
4529 ("sbcl-http-body" ,sbcl-http-body)
4530 ("sbcl-circular-streams" ,sbcl-circular-streams)))
4531 (home-page "https://github.com/fukamachi/lack")
4532 (synopsis "Lack, the core of Clack")
4533 (description
4534 "Lack is a Common Lisp library which allows web applications to be
4535constructed of modular components. It was originally a part of Clack, however
4536it's going to be rewritten as an individual project since Clack v2 with
4537performance and simplicity in mind.")
4538 (license license:llgpl))))
4539
4540(define-public cl-lack-request
4541 (sbcl-package->cl-source-package sbcl-lack-request))
4542
4543(define-public sbcl-local-time
4544 (let ((commit "beac054eef428552b63d4ae7820c32ffef9a3015")
4545 (revision "1"))
4546 (package
4547 (name "sbcl-local-time")
4548 (version (git-version "1.0.6" revision commit))
4549 (source
4550 (origin
4551 (method git-fetch)
4552 (uri (git-reference
4553 (url "https://github.com/dlowe-net/local-time.git")
4554 (commit commit)))
4555 (file-name (git-file-name name version))
4556 (sha256
4557 (base32 "0xhkmgxh41dg2wwlsp0h2l41jp144xn4gpxhh0lna6kh0560w2cc"))))
4558 (build-system asdf-build-system/sbcl)
4559 (arguments
4560 ;; TODO: Component :STEFIL not found, required by #<SYSTEM
4561 ;; "local-time/test">
4562 '(#:tests? #f))
4563 (native-inputs
4564 `(("stefil" ,sbcl-hu.dwim.stefil)))
4565 (inputs
4566 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4567 (home-page "https://common-lisp.net/project/local-time/")
4568 (synopsis "Time manipulation library for Common Lisp")
4569 (description
4570 "The LOCAL-TIME library is a Common Lisp library for the manipulation of
4571dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4572Long Painful History of Time\".")
4573 (license license:expat))))
4574
4575(define-public cl-local-time
4576 (sbcl-package->cl-source-package sbcl-local-time))
4577
4578(define-public sbcl-lack-response
4579 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4580 (revision "1"))
4581 (package
4582 (name "sbcl-lack-response")
4583 (version (git-version "0.1.0" revision commit))
4584 (source
4585 (origin
4586 (method git-fetch)
4587 (uri (git-reference
4588 (url "https://github.com/fukamachi/lack.git")
4589 (commit commit)))
4590 (file-name (git-file-name name version))
4591 (sha256
4592 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4593 (build-system asdf-build-system/sbcl)
4594 (arguments
4595 '(#:asd-file "lack-response.asd"
4596 #:asd-system-name "lack-response"
4597 ;; XXX: no tests for lack-response.
4598 #:tests? #f))
4599 (native-inputs
4600 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4601 ("sbcl-prove" ,sbcl-prove)))
4602 (inputs
4603 `(("sbcl-quri" ,sbcl-quri)
4604 ("sbcl-http-body" ,sbcl-http-body)
4605 ("sbcl-circular-streams" ,sbcl-circular-streams)
4606 ("sbcl-local-time" ,sbcl-local-time)))
4607 (home-page "https://github.com/fukamachi/lack")
4608 (synopsis "Lack, the core of Clack")
4609 (description
4610 "Lack is a Common Lisp library which allows web applications to be
4611constructed of modular components. It was originally a part of Clack, however
4612it's going to be rewritten as an individual project since Clack v2 with
4613performance and simplicity in mind.")
4614 (license license:llgpl))))
4615
4616(define-public cl-lack-response
4617 (sbcl-package->cl-source-package sbcl-lack-response))
4618
4619(define-public sbcl-lack-component
4620 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4621 (revision "1"))
4622 (package
4623 (name "sbcl-lack-component")
4624 (version (git-version "0.0.0" revision commit))
4625 (source
4626 (origin
4627 (method git-fetch)
4628 (uri (git-reference
4629 (url "https://github.com/fukamachi/lack.git")
4630 (commit commit)))
4631 (file-name (git-file-name "lack-component" version))
4632 (sha256
4633 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4634 (build-system asdf-build-system/sbcl)
4635 (arguments
4636 '(#:asd-file "lack-component.asd"
4637 #:asd-system-name "lack-component"
4638 #:test-asd-file "t-lack-component.asd"
4639 ;; XXX: Component :LACK-TEST not found
4640 #:tests? #f))
4641 (native-inputs
4642 `(("prove-asdf" ,sbcl-prove-asdf)))
4643 (home-page "https://github.com/fukamachi/lack")
4644 (synopsis "Lack, the core of Clack")
4645 (description
4646 "Lack is a Common Lisp library which allows web applications to be
4647constructed of modular components. It was originally a part of Clack, however
4648it's going to be rewritten as an individual project since Clack v2 with
4649performance and simplicity in mind.")
4650 (license license:llgpl))))
4651
4652(define-public cl-lack-component
4653 (sbcl-package->cl-source-package sbcl-lack-component))
4654
4655(define-public sbcl-lack-util
4656 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4657 (revision "1"))
4658 (package
4659 (name "sbcl-lack-util")
4660 (version (git-version "0.1.0" revision commit))
4661 (source
4662 (origin
4663 (method git-fetch)
4664 (uri (git-reference
4665 (url "https://github.com/fukamachi/lack.git")
4666 (commit commit)))
4667 (file-name (git-file-name "lack-util" version))
4668 (sha256
4669 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4670 (build-system asdf-build-system/sbcl)
4671 (arguments
4672 '(#:asd-file "lack-util.asd"
4673 #:asd-system-name "lack-util"
4674 #:test-asd-file "t-lack-util.asd"
4675 ;; XXX: Component :LACK-TEST not found
4676 #:tests? #f))
4677 (native-inputs
4678 `(("prove-asdf" ,sbcl-prove-asdf)))
4679 (inputs
4680 `(("sbcl-ironclad" ,sbcl-ironclad)))
4681 (home-page "https://github.com/fukamachi/lack")
4682 (synopsis "Lack, the core of Clack")
4683 (description
4684 "Lack is a Common Lisp library which allows web applications to be
4685constructed of modular components. It was originally a part of Clack, however
4686it's going to be rewritten as an individual project since Clack v2 with
4687performance and simplicity in mind.")
4688 (license license:llgpl))))
4689
4690(define-public cl-lack-util
4691 (sbcl-package->cl-source-package sbcl-lack-util))
4692
4693(define-public sbcl-lack-middleware-backtrace
4694 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4695 (revision "1"))
4696 (package
4697 (name "sbcl-lack-middleware-backtrace")
4698 (version (git-version "0.1.0" revision commit))
4699 (source
4700 (origin
4701 (method git-fetch)
4702 (uri (git-reference
4703 (url "https://github.com/fukamachi/lack.git")
4704 (commit commit)))
4705 (file-name (git-file-name "lack-middleware-backtrace" version))
4706 (sha256
4707 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4708 (build-system asdf-build-system/sbcl)
4709 (arguments
4710 '(#:asd-file "lack-middleware-backtrace.asd"
4711 #:asd-system-name "lack-middleware-backtrace"
4712 #:test-asd-file "t-lack-middleware-backtrace.asd"
4713 ;; XXX: Component :LACK not found
4714 #:tests? #f))
4715 (native-inputs
4716 `(("prove-asdf" ,sbcl-prove-asdf)))
4717 (home-page "https://github.com/fukamachi/lack")
4718 (synopsis "Lack, the core of Clack")
4719 (description
4720 "Lack is a Common Lisp library which allows web applications to be
4721constructed of modular components. It was originally a part of Clack, however
4722it's going to be rewritten as an individual project since Clack v2 with
4723performance and simplicity in mind.")
4724 (license license:llgpl))))
4725
4726(define-public cl-lack-middleware-backtrace
4727 (sbcl-package->cl-source-package sbcl-lack-middleware-backtrace))
4728
4729(define-public sbcl-trivial-mimes
4730 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
4731 (revision "1"))
4732 (package
4733 (name "sbcl-trivial-mimes")
4734 (version (git-version "1.1.0" revision commit))
4735 (source
4736 (origin
4737 (method git-fetch)
4738 (uri (git-reference
4739 (url "https://github.com/Shinmera/trivial-mimes.git")
4740 (commit commit)))
4741 (file-name (git-file-name name version))
4742 (sha256
4743 (base32 "17jxgl47r695bvsb7wi3n2ws5rp1zzgvw0zii8cy5ggw4b4ayv6m"))))
4744 (build-system asdf-build-system/sbcl)
4745 (arguments
4746 '(#:phases
4747 (modify-phases %standard-phases
4748 (add-after
4749 'unpack 'fix-paths
4750 (lambda* (#:key inputs #:allow-other-keys)
4751 (let ((anchor "#p\"/etc/mime.types\""))
4752 (substitute* "mime-types.lisp"
4753 ((anchor all)
4754 (string-append
4755 anchor "\n"
4756 "(asdf:system-relative-pathname :trivial-mimes "
4757 "\"../../share/common-lisp/" (%lisp-type)
4758 "-source/trivial-mimes/mime.types\")")))))))))
4759 (native-inputs
4760 `(("stefil" ,sbcl-hu.dwim.stefil)))
4761 (inputs
4762 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
917c28d2 4763 (home-page "https://shinmera.github.io/trivial-mimes/")
88f06fd0
PN
4764 (synopsis "Tiny Common Lisp library to detect mime types in files")
4765 (description
4766 "This is a teensy library that provides some functions to determine the
4767mime-type of a file.")
4768 (license license:artistic2.0))))
4769
4770(define-public cl-trivial-mimes
4771 (sbcl-package->cl-source-package sbcl-trivial-mimes))
4772
4773(define-public ecl-trivial-mimes
4774 (sbcl-package->ecl-package sbcl-trivial-mimes))
4775
4776(define-public sbcl-lack-middleware-static
4777 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4778 (revision "1"))
4779 (package
4780 (name "sbcl-lack-middleware-static")
4781 (version (git-version "0.1.0" revision commit))
4782 (source
4783 (origin
4784 (method git-fetch)
4785 (uri (git-reference
4786 (url "https://github.com/fukamachi/lack.git")
4787 (commit commit)))
4788 (file-name (git-file-name "lack-middleware-static" version))
4789 (sha256
4790 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4791 (build-system asdf-build-system/sbcl)
4792 (arguments
4793 '(#:asd-file "lack-middleware-static.asd"
4794 #:asd-system-name "lack-middleware-static"
4795 #:test-asd-file "t-lack-middleware-static.asd"
4796 ;; XXX: Component :LACK not found
4797 #:tests? #f))
4798 (native-inputs
4799 `(("prove-asdf" ,sbcl-prove-asdf)))
4800 (inputs
4801 `(("sbcl-ironclad" ,sbcl-ironclad)
4802 ("sbcl-trivial-mimes" ,sbcl-trivial-mimes)
4803 ("sbcl-local-time" ,sbcl-local-time)))
4804 (home-page "https://github.com/fukamachi/lack")
4805 (synopsis "Lack, the core of Clack")
4806 (description
4807 "Lack is a Common Lisp library which allows web applications to be
4808constructed of modular components. It was originally a part of Clack, however
4809it's going to be rewritten as an individual project since Clack v2 with
4810performance and simplicity in mind.")
4811 (license license:llgpl))))
4812
4813(define-public cl-lack-middleware-static
4814 (sbcl-package->cl-source-package sbcl-lack-middleware-static))
4815
4816(define-public sbcl-lack
4817 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4818 (revision "1"))
4819 (package
4820 (name "sbcl-lack")
4821 (version (git-version "0.1.0" revision commit))
4822 (source
4823 (origin
4824 (method git-fetch)
4825 (uri (git-reference
4826 (url "https://github.com/fukamachi/lack.git")
4827 (commit commit)))
4828 (file-name (git-file-name "lack" version))
4829 (sha256
4830 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4831 (build-system asdf-build-system/sbcl)
4832 (arguments
4833 '(#:test-asd-file "t-lack.asd"
4834 ;; XXX: Component :CLACK not found
4835 #:tests? #f))
4836 (native-inputs
4837 `(("prove-asdf" ,sbcl-prove-asdf)))
4838 (inputs
4839 `(("sbcl-lack-component" ,sbcl-lack-component)
4840 ("sbcl-lack-util" ,sbcl-lack-util)))
4841 (home-page "https://github.com/fukamachi/lack")
4842 (synopsis "Lack, the core of Clack")
4843 (description
4844 "Lack is a Common Lisp library which allows web applications to be
4845constructed of modular components. It was originally a part of Clack, however
4846it's going to be rewritten as an individual project since Clack v2 with
4847performance and simplicity in mind.")
4848 (license license:llgpl))))
4849
4850(define-public cl-lack
4851 (sbcl-package->cl-source-package sbcl-lack))
4852
4853(define-public sbcl-ningle
4854 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
4855 (revision "1"))
4856 (package
4857 (name "sbcl-ningle")
4858 (version (git-version "0.3.0" revision commit))
4859 (source
4860 (origin
4861 (method git-fetch)
4862 (uri (git-reference
4863 (url "https://github.com/fukamachi/ningle.git")
4864 (commit commit)))
4865 (file-name (git-file-name name version))
4866 (sha256
4867 (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
4868 (build-system asdf-build-system/sbcl)
4869 (arguments
4870 ;; TODO: pull in clack-test
4871 '(#:tests? #f
4872 #:phases
4873 (modify-phases %standard-phases
4874 (delete 'cleanup-files)
4875 (delete 'cleanup)
4876 (add-before 'cleanup 'combine-fasls
4877 (lambda* (#:key outputs #:allow-other-keys)
4878 (let* ((out (assoc-ref outputs "out"))
4879 (lib (string-append out "/lib/sbcl"))
4880 (ningle-path (string-append lib "/ningle"))
4881 (fasl-files (find-files out "\\.fasl$")))
4882 (mkdir-p ningle-path)
4883 (let ((fasl-path (lambda (name)
4884 (string-append ningle-path
4885 "/"
4886 (basename name)
4887 "--system.fasl"))))
4888 (for-each (lambda (file)
4889 (rename-file file
4890 (fasl-path
4891 (basename file ".fasl"))))
4892 fasl-files))
4893 fasl-files)
4894 #t)))))
4895 (native-inputs
4896 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4897 ("sbcl-prove" ,sbcl-prove)))
4898 (inputs
4899 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4900 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4901 ("sbcl-myway" ,sbcl-myway)
4902 ("sbcl-lack-request" ,sbcl-lack-request)
4903 ("sbcl-lack-response" ,sbcl-lack-response)
4904 ("sbcl-lack-component" ,sbcl-lack-component)
4905 ("sbcl-alexandria" ,sbcl-alexandria)
4906 ("sbcl-babel" ,sbcl-babel)))
f13695ec 4907 (home-page "https://8arrow.org/ningle/")
88f06fd0
PN
4908 (synopsis "Super micro framework for Common Lisp")
4909 (description
4910 "Ningle is a lightweight web application framework for Common Lisp.")
4911 (license license:llgpl))))
4912
4913(define-public cl-ningle
4914 (sbcl-package->cl-source-package sbcl-ningle))
4915
4916(define-public sbcl-clack
4917 (let ((commit "e3e032843bb1220ab96263c411aa7f2feb4746e0")
4918 (revision "1"))
4919 (package
4920 (name "sbcl-clack")
4921 (version (git-version "2.0.0" revision commit))
4922 (source
4923 (origin
4924 (method git-fetch)
4925 (uri (git-reference
4926 (url "https://github.com/fukamachi/clack.git")
4927 (commit commit)))
4928 (file-name (git-file-name name version))
4929 (sha256
4930 (base32 "1ymzs6qyrwhlj6cgqsnpyn6g5cbp7a3s1vgxwna20y2q7y4iacy0"))))
4931 (build-system asdf-build-system/sbcl)
4932 (inputs
4933 `(("sbcl-lack" ,sbcl-lack)
4934 ("sbcl-lack-middleware-backtrace" ,sbcl-lack-middleware-backtrace)
4935 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)))
4936 (home-page "https://github.com/fukamachi/clack")
4937 (synopsis "Web Application Environment for Common Lisp")
4938 (description
4939 "Clack is a web application environment for Common Lisp inspired by
4940Python's WSGI and Ruby's Rack.")
4941 (license license:llgpl))))
4942
4943(define-public cl-clack
4944 (sbcl-package->cl-source-package sbcl-clack))
4945
4946(define-public sbcl-log4cl
4947 (let ((commit "611e094458504b938d49de904eab141285328c7c")
4948 (revision "1"))
4949 (package
4950 (name "sbcl-log4cl")
4951 (build-system asdf-build-system/sbcl)
4952 (version "1.1.2")
4953 (source
4954 (origin
4955 (method git-fetch)
4956 (uri (git-reference
4957 (url "https://github.com/sharplispers/log4cl")
4958 (commit commit)))
4959 (file-name (git-file-name name version))
4960 (sha256
4961 (base32
4962 "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
4963 ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
4964 (arguments
4965 `(#:tests? #f))
4966 (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
4967 (synopsis "Common Lisp logging framework, modeled after Log4J")
4968 (home-page "https://github.com/7max/log4cl")
4969 (description "This is a Common Lisp logging framework that can log at
4970various levels and mix text with expressions.")
4971 (license license:asl2.0))))
4972
4973(define-public cl-log4cl
4974 (sbcl-package->cl-source-package sbcl-log4cl))
4975
4976(define-public ecl-log4cl
4977 (sbcl-package->ecl-package sbcl-log4cl))
4978
4979(define-public sbcl-find-port
4980 (let ((commit "00c96a25af93a0f8681d34ec548861f2d7485478")
4981 (revision "1"))
4982 (package
4983 (name "sbcl-find-port")
4984 (build-system asdf-build-system/sbcl)
4985 (version "0.1")
4986 (home-page "https://github.com/eudoxia0/find-port")
4987 (source
4988 (origin
4989 (method git-fetch)
4990 (uri (git-reference
4991 (url home-page)
4992 (commit commit)))
4993 (file-name (git-file-name name version))
4994 (sha256
4995 (base32
4996 "0d6dzbb45jh0rx90wgs6v020k2xa87mvzas3mvfzvivjvqqlpryq"))))
4997 (native-inputs
4998 `(("fiveam" ,sbcl-fiveam)))
4999 (inputs
5000 `(("sbcl-usocket" ,sbcl-usocket)))
5001 (synopsis "Find open ports programmatically in Common Lisp")
5002 (description "This is a small Common Lisp library that finds an open
5003port within a range.")
5004 (license license:expat))))
5005
5006(define-public cl-find-port
5007 (sbcl-package->cl-source-package sbcl-find-port))
5008
5009(define-public ecl-find-port
5010 (sbcl-package->ecl-package sbcl-find-port))
5011
5012(define-public sbcl-clunit
5013 (let ((commit "6f6d72873f0e1207f037470105969384f8380628")
5014 (revision "1"))
5015 (package
5016 (name "sbcl-clunit")
5017 (version (git-version "0.2.3" revision commit))
5018 (source
5019 (origin
5020 (method git-fetch)
5021 (uri (git-reference
5022 (url "https://github.com/tgutu/clunit.git")
5023 (commit commit)))
5024 (file-name (git-file-name name version))
5025 (sha256
5026 (base32
5027 "1idf2xnqzlhi8rbrqmzpmb3i1l6pbdzhhajkmhwbp6qjkmxa4h85"))))
5028 (build-system asdf-build-system/sbcl)
5029 (synopsis "CLUnit is a Common Lisp unit testing framework")
5030 (description
5031 "CLUnit is a Common Lisp unit testing framework. It is designed
5032to be easy to use so that you can quickly start testing. CLUnit
5033provides a rich set of features aimed at improving your unit testing
5034experience.")
b4034d1b 5035 (home-page "https://tgutu.github.io/clunit/")
88f06fd0
PN
5036 ;; MIT License
5037 (license license:expat))))
5038
5039(define-public cl-clunit
5040 (sbcl-package->cl-source-package sbcl-clunit))
5041
5042(define-public ecl-clunit
5043 (sbcl-package->ecl-package sbcl-clunit))
5044
5045(define-public sbcl-py4cl
5046 (let ((commit "4c8a2b0814fd311f978964f825ce012290f60136")
5047 (revision "1"))
5048 (package
5049 (name "sbcl-py4cl")
5050 (version (git-version "0.0.0" revision commit))
5051 (source
5052 (origin
5053 (method git-fetch)
5054 (uri (git-reference
5055 (url "https://github.com/bendudson/py4cl.git")
5056 (commit commit)))
5057 (file-name (git-file-name name version))
5058 (sha256
5059 (base32
5060 "15mk7qdqjkj56gdnbyrdyz6r7m1h26ldvn6ch96pmvg5vmr1m45r"))
5061 (modules '((guix build utils)))))
5062 (build-system asdf-build-system/sbcl)
5063 (native-inputs
5064 `(("sbcl-clunit" ,sbcl-clunit)))
5065 (inputs
5066 `(("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
5067 (propagated-inputs
5068 ;; This package doesn't do anything without python available
5069 `(("python" ,python)
5070 ;; For multi-dimensional array support
5071 ("python-numpy" ,python-numpy)))
5072 (arguments
5073 '(#:phases
5074 (modify-phases %standard-phases
5075 (add-after 'unpack 'replace-*base-directory*-var
5076 (lambda* (#:key outputs #:allow-other-keys)
5077 ;; In the ASD, the author makes an attempt to
5078 ;; programatically determine the location of the
5079 ;; source-code so lisp can call into "py4cl.py". We can
5080 ;; hard-code this since we know where this file will
5081 ;; reside.
5082 (substitute* "src/callpython.lisp"
5083 (("py4cl/config:\\*base-directory\\*")
5084 (string-append
5085 "\""
5086 (assoc-ref outputs "out")
5087 "/share/common-lisp/sbcl-source/py4cl/"
5088 "\""))))))))
5089 (synopsis "Call python from Common Lisp")
5090 (description
5091 "Py4CL is a bridge between Common Lisp and Python, which enables Common
5092Lisp to interact with Python code. It uses streams to communicate with a
5093separate python process, the approach taken by cl4py. This is different to
5094the CFFI approach used by burgled-batteries, but has the same goal.")
5095 (home-page "https://github.com/bendudson/py4cl")
5096 ;; MIT License
5097 (license license:expat))))
5098
5099(define-public cl-py4cl
5100 (sbcl-package->cl-source-package sbcl-py4cl))
5101
5102(define-public ecl-py4cl
5103 (sbcl-package->ecl-package sbcl-py4cl))
5104
5105(define-public sbcl-parse-declarations
1fce78c4
GLV
5106 (let ((commit "549aebbfb9403a7fe948654126b9c814f443f4f2")
5107 (revision "1"))
5108 (package
5109 (name "sbcl-parse-declarations")
5110 (version (git-version "1.0.0" revision commit))
5111 (source
5112 (origin
5113 (method git-fetch)
5114 (uri (git-reference
5115 (url (string-append
5116 "https://gitlab.common-lisp.net/parse-declarations/"
5117 "parse-declarations.git"))
5118 (commit commit)))
5119 (file-name (git-file-name name version))
5120 (sha256
5121 (base32 "03g5qks4c59nmxa48pbslxkfh77h8hn8566jddp6m9pl15dzzpxd"))))
5122 (build-system asdf-build-system/sbcl)
5123 (arguments
5124 `(#:asd-file "parse-declarations-1.0.asd"
5125 #:asd-system-name "parse-declarations-1.0"))
5126 (home-page "https://common-lisp.net/project/parse-declarations/")
5127 (synopsis "Parse, filter, and build declarations")
5128 (description
5129 "Parse-Declarations is a Common Lisp library to help writing
88f06fd0
PN
5130macros which establish bindings. To be semantically correct, such
5131macros must take user declarations into account, as these may affect
5132the bindings they establish. Yet the ANSI standard of Common Lisp does
5133not provide any operators to work with declarations in a convenient,
5134high-level way. This library provides such operators.")
1fce78c4
GLV
5135 ;; MIT License
5136 (license license:expat))))
88f06fd0
PN
5137
5138(define-public cl-parse-declarations
5139 (sbcl-package->cl-source-package sbcl-parse-declarations))
5140
5141(define-public ecl-parse-declarations
5142 (sbcl-package->ecl-package sbcl-parse-declarations))
5143
5144(define-public sbcl-cl-quickcheck
5145 (let ((commit "807b2792a30c883a2fbecea8e7db355b50ba662f")
5146 (revision "1"))
5147 (package
5148 (name "sbcl-cl-quickcheck")
5149 (version (git-version "0.0.4" revision commit))
5150 (source
5151 (origin
5152 (method git-fetch)
5153 (uri (git-reference
5154 (url "https://github.com/mcandre/cl-quickcheck.git")
5155 (commit commit)))
5156 (file-name (git-file-name name version))
5157 (sha256
5158 (base32
5159 "165lhypq5xkcys6hvzb3jq7ywnmqvzaflda29qk2cbs3ggas4767"))))
5160 (build-system asdf-build-system/sbcl)
5161 (synopsis
5162 "Common Lisp port of the QuickCheck unit test framework")
5163 (description
5164 "Common Lisp port of the QuickCheck unit test framework")
5165 (home-page "https://github.com/mcandre/cl-quickcheck")
5166 ;; MIT
5167 (license license:expat))))
5168
5169(define-public cl-cl-quickcheck
5170 (sbcl-package->cl-source-package sbcl-cl-quickcheck))
5171
5172(define-public ecl-cl-quickcheck
5173 (sbcl-package->ecl-package sbcl-cl-quickcheck))
5174
5175(define-public sbcl-burgled-batteries3
839fa4cd
MB
5176 (let ((commit "f65f454d13bb6c40e17e9ec62e41eb5069e09760")
5177 (revision "2"))
88f06fd0
PN
5178 (package
5179 (name "sbcl-burgled-batteries3")
5180 (version (git-version "0.0.0" revision commit))
5181 (source
5182 (origin
5183 (method git-fetch)
5184 (uri (git-reference
5185 (url "https://github.com/snmsts/burgled-batteries3.git")
5186 (commit commit)))
5187 (file-name (git-file-name name version))
5188 (sha256
5189 (base32
839fa4cd 5190 "1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))))
88f06fd0
PN
5191 (build-system asdf-build-system/sbcl)
5192 (arguments
839fa4cd
MB
5193 `(#:tests? #f
5194 #:modules (((guix build python-build-system) #:select (python-version))
5195 ,@%asdf-build-system-modules)
5196 #:imported-modules ((guix build python-build-system)
5197 ,@%asdf-build-system-modules)
88f06fd0 5198 #:phases
839fa4cd 5199 (modify-phases (@ (guix build asdf-build-system) %standard-phases)
88f06fd0
PN
5200 (add-after 'unpack 'set-*cpython-include-dir*-var
5201 (lambda* (#:key inputs #:allow-other-keys)
839fa4cd
MB
5202 (let ((python (assoc-ref inputs "python")))
5203 (setenv "BB_PYTHON3_INCLUDE_DIR"
5204 (string-append python "/include/python"
5205 (python-version python)
5206 "m"))
5207 (setenv "BB_PYTHON3_DYLIB"
5208 (string-append python "/lib/libpython3.so"))
5209 #t))))))
88f06fd0 5210 (native-inputs
3d280dae 5211 `(("sbcl-cl-fad" ,sbcl-cl-fad)
88f06fd0
PN
5212 ("sbcl-lift" ,sbcl-lift)
5213 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
5214 (inputs
3d280dae
MB
5215 `(("python" ,python)
5216 ("sbcl-cffi" ,sbcl-cffi)
88f06fd0
PN
5217 ("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
5218 ("sbcl-alexandria" , sbcl-alexandria)
5219 ("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
5220 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
5221 (synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
5222 (description
5223 "This package provides a shim between Python3 (specifically, the
5224CPython implementation of Python) and Common Lisp.")
5225 (home-page "https://github.com/snmsts/burgled-batteries3")
88f06fd0
PN
5226 (license license:expat))))
5227
5228(define-public cl-burgled-batteries3
5229 (sbcl-package->cl-source-package sbcl-burgled-batteries3))
5230
5231(define-public ecl-burgled-batteries3
5232 (sbcl-package->ecl-package sbcl-burgled-batteries3))
5233
5234(define-public sbcl-metabang-bind
5235 (let ((commit "c93b7f7e1c18c954c2283efd6a7fdab36746ab5e")
5236 (revision "1"))
5237 (package
5238 (name "sbcl-metabang-bind")
5239 (version (git-version "0.8.0" revision commit))
5240 (source
5241 (origin
5242 (method git-fetch)
5243 (uri (git-reference
5244 (url "https://github.com/gwkkwg/metabang-bind.git")
5245 (commit commit)))
5246 (file-name (git-file-name name version))
5247 (sha256
5248 (base32
5249 "0hd0kr91795v77akpbcyqiss9p0p7ypa9dznrllincnmgvsxlmf0"))))
5250 (build-system asdf-build-system/sbcl)
5251 (native-inputs
5252 `(("sbcl-lift" ,sbcl-lift)))
5253 (synopsis "Macro that generalizes @code{multiple-value-bind} etc.")
5254 (description
5255 "Bind extends the idea of of let and destructing to provide a uniform
5256syntax for all your accessor needs. It combines @code{let},
5257@code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
5258editing, property or association-lists, and @code{multiple-value-bind} and a
5259whole lot more into a single form.")
5260 (home-page "https://common-lisp.net/project/metabang-bind/")
5261 ;; MIT License
5262 (license license:expat))))
5263
5264(define-public cl-metabang-bind
5265 (sbcl-package->cl-source-package sbcl-metabang-bind))
5266
5267(define-public ecl-metabang-bind
5268 (sbcl-package->ecl-package sbcl-metabang-bind))
5269
5270(define-public sbcl-fare-utils
5271 (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
5272 (revision "1"))
5273 (package
5274 (name "sbcl-fare-utils")
5275 (version (git-version "1.0.0.5" revision commit))
5276 (source
5277 (origin
5278 (method git-fetch)
5279 (uri
5280 (git-reference
5281 (url
5282 "https://gitlab.common-lisp.net/frideau/fare-utils.git")
5283 (commit commit)))
5284 (file-name (git-file-name name version))
5285 (sha256
5286 (base32
5287 "01wsr1aap3jdzhn4hrqjbhsjx6qci9dbd3gh4gayv1p49rbg8aqr"))))
5288 (build-system asdf-build-system/sbcl)
5289 (arguments
5290 `(#:test-asd-file "test/fare-utils-test.asd"))
5291 (native-inputs
5292 `(("sbcl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
5293 (synopsis "Collection of utilities and data structures")
5294 (description
5295 "fare-utils is a small collection of utilities. It contains a lot of
5296basic everyday functions and macros.")
5297 (home-page "https://gitlab.common-lisp.net/frideau/fare-utils")
5298 ;; MIT License
5299 (license license:expat))))
5300
5301(define-public cl-fare-utils
5302 (sbcl-package->cl-source-package sbcl-fare-utils))
5303
5304(define-public ecl-fare-utils
5305 (sbcl-package->ecl-package sbcl-fare-utils))
5306
5307(define-public sbcl-trivial-utf-8
5308 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f")
5309 (revision "1"))
5310 (package
5311 (name "sbcl-trivial-utf-8")
5312 (version (git-version "0.0.0" revision commit))
5313 (source
5314 (origin
5315 (method git-fetch)
5316 (uri
5317 (git-reference
5318 (url (string-append "https://gitlab.common-lisp.net/"
5319 "trivial-utf-8/trivial-utf-8.git"))
5320 (commit commit)))
5321 (file-name (git-file-name name version))
5322 (sha256
5323 (base32
5324 "1jz27gz8gvqdmvp3k9bxschs6d5b3qgk94qp2bj6nv1d0jc3m1l1"))))
5325 (arguments
5326 ;; Guix incorrectly assumes the "8" is part of the version
5327 ;; number and lobs it off.
5328 `(#:asd-file "trivial-utf-8.asd"
5329 #:asd-system-name "trivial-utf-8"))
5330 (build-system asdf-build-system/sbcl)
5331 (synopsis "UTF-8 input/output library")
5332 (description
5333 "The Babel library solves a similar problem while understanding more
5334encodings. Trivial UTF-8 was written before Babel existed, but for new
5335projects you might be better off going with Babel. The one plus that Trivial
5336UTF-8 has is that it doesn't depend on any other libraries.")
5337 (home-page "https://common-lisp.net/project/trivial-utf-8/")
5338 (license license:bsd-3))))
5339
5340(define-public cl-trivial-utf-8
5341 (sbcl-package->cl-source-package sbcl-trivial-utf-8))
5342
5343(define-public ecl-trivial-utf-8
5344 (sbcl-package->ecl-package sbcl-trivial-utf-8))
5345
5346(define-public sbcl-idna
5347 (package
5348 (name "sbcl-idna")
5349 (build-system asdf-build-system/sbcl)
5350 (version "0.2.2")
5351 (home-page "https://github.com/antifuchs/idna")
5352 (source
5353 (origin
5354 (method git-fetch)
5355 (uri (git-reference
5356 (url home-page)
5357 (commit version)))
5358 (file-name (git-file-name name version))
5359 (sha256
5360 (base32
5361 "00nbr3mffxhlq14gg9d16pa6691s4qh35inyw76v906s77khm5a2"))))
5362 (inputs
5363 `(("split-sequence" ,sbcl-split-sequence)))
5364 (synopsis "IDNA string encoding and decoding routines for Common Lisp")
5365 (description "This Common Lisp library provides string encoding and
5366decoding routines for IDNA, the International Domain Names in Applications.")
5367 (license license:expat)))
5368
5369(define-public cl-idna
5370 (sbcl-package->cl-source-package sbcl-idna))
5371
5372(define-public ecl-idna
5373 (sbcl-package->ecl-package sbcl-idna))
5374
5375(define-public sbcl-swap-bytes
5376 (package
5377 (name "sbcl-swap-bytes")
5378 (build-system asdf-build-system/sbcl)
dbf6de58 5379 (version "1.2")
88f06fd0
PN
5380 (home-page "https://github.com/sionescu/swap-bytes")
5381 (source
5382 (origin
5383 (method git-fetch)
5384 (uri (git-reference
5385 (url home-page)
5386 (commit (string-append "v" version))))
5387 (file-name (git-file-name name version))
5388 (sha256
5389 (base32
dbf6de58 5390 "1hw1v1lw26rifyznpnj1csphha9jgzwpiic16ni3pvs6hcsni9rz"))))
88f06fd0
PN
5391 (inputs
5392 `(("trivial-features" ,sbcl-trivial-features)))
5393 (native-inputs
5394 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
5395 (synopsis "Efficient endianness conversion for Common Lisp")
5396 (description "This Common Lisp library provides optimized byte-swapping
5397primitives. The library can change endianness of unsigned integers of length
53981/2/4/8. Very useful in implementing various network protocols and file
5399formats.")
5400 (license license:expat)))
5401
5402(define-public cl-swap-bytes
5403 (sbcl-package->cl-source-package sbcl-swap-bytes))
5404
5405(define-public ecl-swap-bytes
5406 (sbcl-package->ecl-package sbcl-swap-bytes))
5407
5408(define-public sbcl-iolib.asdf
5409 ;; Latest release is from June 2017.
5410 (let ((commit "81e20614c0d27f9605bf9766214e236fd31b99b4")
5411 (revision "1"))
5412 (package
5413 (name "sbcl-iolib.asdf")
5414 (build-system asdf-build-system/sbcl)
5415 (version "0.8.3")
5416 (home-page "https://github.com/sionescu/iolib")
5417 (source
5418 (origin
5419 (method git-fetch)
5420 (uri (git-reference
5421 (url home-page)
5422 (commit commit)))
5423 (file-name (git-file-name name version))
5424 (sha256
5425 (base32
5426 "1j81r0wm7nfbwl991f26s4npcy7kybzybd3m47rbxy31h0cfcmdm"))))
5427 (inputs
5428 `(("alexandria" ,sbcl-alexandria)))
5429 (arguments
5430 '(#:asd-file "iolib.asdf.asd"))
5431 (synopsis "ASDF component classes for IOLib, a Common Lisp I/O library")
5432 (description "IOlib is to be a better and more modern I/O library than
5433the standard Common Lisp library. It contains a socket library, a DNS
5434resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
5435and @code{kqueue(2)}), a pathname library and file-system utilities.")
5436 (license license:expat))))
5437
5438(define-public sbcl-iolib.conf
5439 (package
5440 (inherit sbcl-iolib.asdf)
5441 (name "sbcl-iolib.conf")
5442 (inputs
5443 `(("iolib.asdf" ,sbcl-iolib.asdf)))
5444 (arguments
5445 '(#:asd-file "iolib.conf.asd"))
5446 (synopsis "Compile-time configuration for IOLib, a Common Lisp I/O library")))
5447
5448(define-public sbcl-iolib.common-lisp
5449 (package
5450 (inherit sbcl-iolib.asdf)
5451 (name "sbcl-iolib.common-lisp")
5452 (inputs
5453 `(("iolib.asdf" ,sbcl-iolib.asdf)
5454 ("iolib.conf" ,sbcl-iolib.conf)))
5455 (arguments
5456 '(#:asd-file "iolib.common-lisp.asd"))
5457 (synopsis "Slightly modified Common Lisp for IOLib, a Common Lisp I/O library")))
5458
5459(define-public sbcl-iolib.base
5460 (package
5461 (inherit sbcl-iolib.asdf)
5462 (name "sbcl-iolib.base")
5463 (inputs
5464 `(("iolib.asdf" ,sbcl-iolib.asdf)
5465 ("iolib.conf" ,sbcl-iolib.conf)
5466 ("iolib.common-lisp" ,sbcl-iolib.common-lisp)
5467 ("split-sequence" ,sbcl-split-sequence)))
5468 (arguments
5469 '(#:asd-file "iolib.base.asd"))
5470 (synopsis "Base package for IOLib, a Common Lisp I/O library")))
5471
5472(define-public sbcl-iolib.grovel
5473 (package
5474 (inherit sbcl-iolib.asdf)
5475 (name "sbcl-iolib.grovel")
5476 (inputs
5477 `(("iolib.asdf" ,sbcl-iolib.asdf)
5478 ("iolib.conf" ,sbcl-iolib.conf)
5479 ("iolib.base", sbcl-iolib.base)
5480 ("cffi", sbcl-cffi)))
5481 (arguments
5482 '(#:asd-file "iolib.grovel.asd"
5483 #:phases
5484 (modify-phases %standard-phases
5485 (add-after 'install 'install-header
5486 (lambda* (#:key outputs #:allow-other-keys)
5487 ;; This header is required by sbcl-iolib.
5488 (install-file "src/grovel/grovel-common.h"
5489 (string-append (assoc-ref outputs "out")
5490 "/lib/sbcl"))
5491 #t)))))
5492 (synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))
5493
af5c4eff 5494(define sbcl-iolib+syscalls
88f06fd0
PN
5495 (package
5496 (inherit sbcl-iolib.asdf)
af5c4eff 5497 (name "sbcl-iolib+syscalls")
88f06fd0
PN
5498 (inputs
5499 `(("iolib.asdf" ,sbcl-iolib.asdf)
5500 ("iolib.conf" ,sbcl-iolib.conf)
5501 ("iolib.grovel" ,sbcl-iolib.grovel)
5502 ("iolib.base" ,sbcl-iolib.base)
5503 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5504 ("idna" ,sbcl-idna)
5505 ("swap-bytes" ,sbcl-swap-bytes)
5506 ("libfixposix" ,libfixposix)
5507 ("cffi" ,sbcl-cffi)))
5508 (native-inputs
5509 `(("fiveam" ,sbcl-fiveam)))
5510 (arguments
5511 '(#:asd-file "iolib.asd"
af5c4eff 5512 #:asd-system-name "iolib/syscalls"
88f06fd0
PN
5513 #:test-asd-file "iolib.tests.asd"
5514 #:phases
5515 (modify-phases %standard-phases
5516 (add-after 'unpack 'fix-paths
5517 (lambda* (#:key inputs #:allow-other-keys)
5518 (substitute* "src/syscalls/ffi-functions-unix.lisp"
5519 (("\\(:default \"libfixposix\"\\)")
5520 (string-append
5521 "(:default \""
5522 (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
5523 ;; Socket tests need Internet access, disable them.
5524 (substitute* "iolib.tests.asd"
5525 (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
5526 "")))))))
5527 (synopsis "Common Lisp I/O library")))
5528
88f06fd0
PN
5529(define sbcl-iolib+multiplex
5530 (package
af5c4eff 5531 (inherit sbcl-iolib+syscalls)
88f06fd0 5532 (name "sbcl-iolib+multiplex")
af5c4eff
PN
5533 (inputs
5534 `(("iolib+syscalls" ,sbcl-iolib+syscalls)
5535 ,@(package-inputs sbcl-iolib+syscalls)))
88f06fd0 5536 (arguments
af5c4eff 5537 (substitute-keyword-arguments (package-arguments sbcl-iolib+syscalls)
88f06fd0
PN
5538 ((#:asd-system-name _) "iolib/multiplex")))))
5539
af5c4eff 5540
88f06fd0
PN
5541
5542(define sbcl-iolib+streams
5543 (package
af5c4eff 5544 (inherit sbcl-iolib+syscalls)
88f06fd0 5545 (name "sbcl-iolib+streams")
af5c4eff
PN
5546 (inputs
5547 `(("iolib+multiplex" ,sbcl-iolib+multiplex)
5548 ,@(package-inputs sbcl-iolib+syscalls)))
88f06fd0 5549 (arguments
af5c4eff 5550 (substitute-keyword-arguments (package-arguments sbcl-iolib+syscalls)
88f06fd0
PN
5551 ((#:asd-system-name _) "iolib/streams")))))
5552
5553(define sbcl-iolib+sockets
5554 (package
af5c4eff 5555 (inherit sbcl-iolib+syscalls)
88f06fd0 5556 (name "sbcl-iolib+sockets")
af5c4eff
PN
5557 (inputs
5558 `(("iolib+syscalls" ,sbcl-iolib+syscalls)
5559 ("iolib+streams" ,sbcl-iolib+streams)
5560 ,@(package-inputs sbcl-iolib+syscalls)))
88f06fd0 5561 (arguments
af5c4eff 5562 (substitute-keyword-arguments (package-arguments sbcl-iolib+syscalls)
88f06fd0
PN
5563 ((#:asd-system-name _) "iolib/sockets")))))
5564
af5c4eff
PN
5565(define-public sbcl-iolib
5566 (package
5567 (inherit sbcl-iolib+syscalls)
5568 (name "sbcl-iolib")
5569 (inputs
5570 `(("iolib+multiplex" ,sbcl-iolib+multiplex)
5571 ("iolib+streams" ,sbcl-iolib+streams)
5572 ("iolib+sockets" ,sbcl-iolib+sockets)
5573 ,@(package-inputs sbcl-iolib+syscalls)))
5574 (arguments
5575 (substitute-keyword-arguments (package-arguments sbcl-iolib+syscalls)
5576 ((#:asd-system-name _) "iolib")))))
5577
5578(define-public cl-iolib
5579 (sbcl-package->cl-source-package sbcl-iolib))
5580
88f06fd0
PN
5581(define-public sbcl-ieee-floats
5582 (let ((commit "566b51a005e81ff618554b9b2f0b795d3b29398d")
5583 (revision "1"))
5584 (package
5585 (name "sbcl-ieee-floats")
5586 (build-system asdf-build-system/sbcl)
5587 (version (git-version "20170924" revision commit))
5588 (home-page "https://github.com/marijnh/ieee-floats/")
5589 (source
5590 (origin
5591 (method git-fetch)
5592 (uri (git-reference
5593 (url home-page)
5594 (commit commit)))
5595 (file-name (git-file-name name version))
5596 (sha256
5597 (base32
5598 "1xyj49j9x3lc84cv3dhbf9ja34ywjk1c46dklx425fxw9mkwm83m"))))
5599 (native-inputs
5600 `(("fiveam" ,sbcl-fiveam)))
5601 (synopsis "IEEE 754 binary representation for floats in Common Lisp")
c05181a3 5602 (description "This is a Common Lisp library that converts
88f06fd0
PN
5603floating point values to IEEE 754 binary representation.")
5604 (license license:bsd-3))))
5605
5606(define-public cl-ieee-floats
5607 (sbcl-package->cl-source-package sbcl-ieee-floats))
5608
5609(define sbcl-closure-common
5610 (let ((commit "e3c5f5f454b72b01b89115e581c3c52a7e201e5c")
5611 (revision "1"))
5612 (package
5613 (name "sbcl-closure-common")
5614 (build-system asdf-build-system/sbcl)
5615 (version (git-version "20101006" revision commit))
5616 (home-page "https://common-lisp.net/project/cxml/")
5617 (source
5618 (origin
5619 (method git-fetch)
5620 (uri (git-reference
5621 (url "https://github.com/sharplispers/closure-common")
5622 (commit commit)))
5623 (file-name (git-file-name name version))
5624 (sha256
5625 (base32
5626 "0k5r2qxn122pxi301ijir3nayi9sg4d7yiy276l36qmzwhp4mg5n"))))
5627 (inputs
5628 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5629 ("babel" ,sbcl-babel)))
5630 (synopsis "Support Common Lisp library for CXML")
5631 (description "Closure-common is an internal helper library. The name
5632Closure is a reference to the web browser it was originally written for.")
5633 ;; TODO: License?
5634 (license #f))))
5635
5636(define-public sbcl-cxml+xml
5637 (let ((commit "00b22bf4c4cf11c993d5866fae284f95ab18e6bf")
5638 (revision "1"))
5639 (package
5640 (name "sbcl-cxml+xml")
5641 (build-system asdf-build-system/sbcl)
5642 (version (git-version "0.0.0" revision commit))
5643 (home-page "https://common-lisp.net/project/cxml/")
5644 (source
5645 (origin
5646 (method git-fetch)
5647 (uri (git-reference
5648 (url "https://github.com/sharplispers/cxml")
5649 (commit commit)))
5650 (file-name (git-file-name name version))
5651 (sha256
5652 (base32
5653 "13kif7rf3gqdycsk9zq0d7y0g9y81krkl0z87k0p2fkbjfgrph37"))))
5654 (inputs
5655 `(("closure-common" ,sbcl-closure-common)
5656 ("puri" ,sbcl-puri)
5657 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
5658 (arguments
5659 `(#:asd-file "cxml.asd"
5660 #:asd-system-name "cxml/xml"))
5661 (synopsis "Common Lisp XML parser")
5662 (description "CXML implements a namespace-aware, validating XML 1.0
5663parser as well as the DOM Level 2 Core interfaces. Two parser interfaces are
5664offered, one SAX-like, the other similar to StAX.")
5665 (license license:llgpl))))
5666
5667(define sbcl-cxml+dom
5668 (package
5669 (inherit sbcl-cxml+xml)
5670 (name "sbcl-cxml+dom")
5671 (inputs
5672 `(("closure-common" ,sbcl-closure-common)
5673 ("puri" ,sbcl-puri)
5674 ("cxml+xml" ,sbcl-cxml+xml)))
5675 (arguments
5676 `(#:asd-file "cxml.asd"
5677 #:asd-system-name "cxml/dom"))))
5678
5679(define sbcl-cxml+klacks
5680 (package
5681 (inherit sbcl-cxml+xml)
5682 (name "sbcl-cxml+klacks")
5683 (inputs
5684 `(("closure-common" ,sbcl-closure-common)
5685 ("puri" ,sbcl-puri)
5686 ("cxml+xml" ,sbcl-cxml+xml)))
5687 (arguments
5688 `(#:asd-file "cxml.asd"
5689 #:asd-system-name "cxml/klacks"))))
5690
5691(define sbcl-cxml+test
5692 (package
5693 (inherit sbcl-cxml+xml)
5694 (name "sbcl-cxml+test")
5695 (inputs
5696 `(("closure-common" ,sbcl-closure-common)
5697 ("puri" ,sbcl-puri)
5698 ("cxml+xml" ,sbcl-cxml+xml)))
5699 (arguments
5700 `(#:asd-file "cxml.asd"
5701 #:asd-system-name "cxml/test"))))
5702
5703(define-public sbcl-cxml
5704 (package
5705 (inherit sbcl-cxml+xml)
5706 (name "sbcl-cxml")
5707 (inputs
5708 `(("closure-common" ,sbcl-closure-common)
5709 ("puri" ,sbcl-puri)
5710 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5711 ("cxml+dom" ,sbcl-cxml+dom)
5712 ("cxml+klacks" ,sbcl-cxml+klacks)
5713 ("cxml+test" ,sbcl-cxml+test)))
5714 (arguments
5715 `(#:asd-file "cxml.asd"
5716 #:asd-system-name "cxml"
5717 #:phases
5718 (modify-phases %standard-phases
5719 (add-after 'build 'install-dtd
5720 (lambda* (#:key outputs #:allow-other-keys)
5721 (install-file "catalog.dtd"
5722 (string-append
5723 (assoc-ref outputs "out")
5724 "/lib/" (%lisp-type)))))
5725 (add-after 'create-asd 'remove-component
5726 ;; XXX: The original .asd has no components, but our build system
5727 ;; creates an entry nonetheless. We need to remove it for the
5728 ;; generated .asd to load properly. See trivia.trivial for a
5729 ;; similar problem.
5730 (lambda* (#:key outputs #:allow-other-keys)
5731 (let* ((out (assoc-ref outputs "out"))
5732 (asd (string-append out "/lib/sbcl/cxml.asd")))
5733 (substitute* asd
5734 ((" :components
5735")
5736 ""))
5737 (substitute* asd
5738 ((" *\\(\\(:compiled-file \"cxml--system\"\\)\\)")
5739 ""))))))))))
5740
5741(define-public cl-cxml
5742 (sbcl-package->cl-source-package sbcl-cxml))
5743
5744(define-public sbcl-cl-reexport
5745 (let ((commit "312f3661bbe187b5f28536cd7ec2956e91366c3b")
5746 (revision "1"))
5747 (package
5748 (name "sbcl-cl-reexport")
5749 (build-system asdf-build-system/sbcl)
5750 (version (git-version "0.1" revision commit))
5751 (home-page "https://github.com/takagi/cl-reexport")
5752 (source
5753 (origin
5754 (method git-fetch)
5755 (uri (git-reference
5756 (url home-page)
5757 (commit commit)))
5758 (file-name (git-file-name name version))
5759 (sha256
5760 (base32
5761 "1cwpn1m3wrl0fl9plznn7p464db646gnfc8zkyk97dyxski2aq0x"))))
5762 (inputs
5763 `(("alexandria" ,sbcl-alexandria)))
5764 (arguments
5765 ;; TODO: Tests fail because cl-test-more is missing, but I can't find it online.
5766 `(#:tests? #f))
5767 (synopsis "HTTP cookie manager for Common Lisp")
5768 (description "cl-cookie is a Common Lisp library featuring parsing of
5769cookie headers, cookie creation, cookie jar creation and more.")
5770 (license license:llgpl))))
5771
5772(define-public cl-reexport
5773 (sbcl-package->cl-source-package sbcl-cl-reexport))
5774
5775(define-public sbcl-cl-cookie
5776 (let ((commit "cea55aed8b9ad25fafd13defbcb9fe8f41b29546")
5777 (revision "1"))
5778 (package
5779 (name "sbcl-cl-cookie")
5780 (build-system asdf-build-system/sbcl)
5781 (version (git-version "0.9.10" revision commit))
5782 (home-page "https://github.com/fukamachi/cl-cookie")
5783 (source
5784 (origin
5785 (method git-fetch)
5786 (uri (git-reference
5787 (url home-page)
5788 (commit commit)))
5789 (file-name (git-file-name name version))
5790 (sha256
5791 (base32
5792 "090g7z75h98zvc1ldx0vh4jn4086dhjm2w30jcwkq553qmyxwl8h"))))
5793 (inputs
5794 `(("proc-parse" ,sbcl-proc-parse)
5795 ("alexandria" ,sbcl-alexandria)
5796 ("quri" ,sbcl-quri)
5797 ("cl-ppcre" ,sbcl-cl-ppcre)
5798 ("local-time" ,sbcl-local-time)))
5799 (native-inputs
5800 `(("prove-asdf" ,sbcl-prove-asdf)
5801 ("prove" ,sbcl-prove)))
5802 (arguments
5803 ;; TODO: Tests fail because cl-cookie depends on cl-cookie-test.
5804 `(#:tests? #f))
5805 (synopsis "HTTP cookie manager for Common Lisp")
5806 (description "cl-cookie is a Common Lisp library featuring parsing of
5807cookie headers, cookie creation, cookie jar creation and more.")
5808 (license license:bsd-2))))
5809
5810(define-public cl-cookie
5811 (sbcl-package->cl-source-package sbcl-cl-cookie))
5812
5813(define-public sbcl-dexador
5814 (let ((commit "a2714d126cc94bc7a9a6e1e3c08de455b3a66378")
5815 (revision "1"))
5816 (package
5817 (name "sbcl-dexador")
5818 (build-system asdf-build-system/sbcl)
5819 (version (git-version "0.9.10" revision commit))
5820 (home-page "https://github.com/fukamachi/dexador")
5821 (source
5822 (origin
5823 (method git-fetch)
5824 (uri (git-reference
5825 (url home-page)
5826 (commit commit)))
5827 (file-name (git-file-name name version))
5828 (sha256
5829 (base32
5830 "0nbqgn4v3l2z6m1k1bdxfnqpfrk84nxdmz7csz11zzcfs4flkv79"))))
5831 (inputs
5832 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)
5833 ("babel" ,sbcl-babel)
5834 ("usocket" ,sbcl-usocket)
5835 ("fast-http" ,sbcl-fast-http)
5836 ("quri" ,sbcl-quri)
5837 ("fast-io" ,sbcl-fast-io)
5838 ("chunga" ,sbcl-chunga)
5839 ("cl-ppcre" ,sbcl-cl-ppcre)
5840 ("cl-cookie" ,sbcl-cl-cookie)
5841 ("trivial-mimes" ,sbcl-trivial-mimes)
5842 ("chipz" ,sbcl-chipz)
5843 ("cl-base64" ,sbcl-cl-base64)
5844 ("cl-reexport" ,sbcl-cl-reexport)
5845 ("cl+ssl" ,sbcl-cl+ssl)
5846 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5847 ("alexandria" ,sbcl-alexandria)))
5848 (native-inputs
5849 `(("prove" ,sbcl-prove)
5850 ("prove-asdf" ,sbcl-prove-asdf)
5851 ("lack-request" ,sbcl-lack-request)
5852 ("clack" ,sbcl-clack)
5853 ("babel" ,sbcl-babel)
5854 ("alexandria" ,sbcl-alexandria)
5855 ("cl-ppcre" ,sbcl-cl-ppcre)
5856 ("local-time" ,sbcl-local-time)))
5857 (arguments
5858 ;; TODO: Circular dependency: tests depend on clack-test which depends on dexador.
5859 `(#:tests? #f
5860 #:phases
5861 (modify-phases %standard-phases
5862 (add-after 'unpack 'fix-permissions
5863 (lambda _ (make-file-writable "t/data/test.gz") #t)))))
5864 (synopsis "Yet another HTTP client for Common Lisp")
5865 (description "Dexador is yet another HTTP client for Common Lisp with
5866neat APIs and connection-pooling. It is meant to supersede Drakma.")
5867 (license license:expat))))
5868
5869(define-public cl-dexador
5870 (package
5871 (inherit (sbcl-package->cl-source-package sbcl-dexador))
5872 (arguments
5873 `(#:phases
5874 ;; asdf-build-system/source has its own phases and does not inherit
5875 ;; from asdf-build-system/sbcl phases.
5876 (modify-phases %standard-phases/source
5877 (add-after 'unpack 'fix-permissions
5878 (lambda _ (make-file-writable "t/data/test.gz") #t)))))))
5879
5880(define-public ecl-dexador
5881 (sbcl-package->ecl-package sbcl-dexador))
5882
5883(define-public sbcl-lisp-namespace
5884 (let ((commit "28107cafe34e4c1c67490fde60c7f92dc610b2e0")
5885 (revision "1"))
5886 (package
5887 (name "sbcl-lisp-namespace")
5888 (build-system asdf-build-system/sbcl)
5889 (version (git-version "0.1" revision commit))
5890 (home-page "https://github.com/guicho271828/lisp-namespace")
5891 (source
5892 (origin
5893 (method git-fetch)
5894 (uri (git-reference
5895 (url home-page)
5896 (commit commit)))
5897 (file-name (git-file-name name version))
5898 (sha256
5899 (base32
5900 "1jw2wykp06z2afb9nm1lgfzll5cjlj36pnknjx614057zkkxq4iy"))))
5901 (inputs
5902 `(("alexandria" ,sbcl-alexandria)))
5903 (native-inputs
5904 `(("fiveam" ,sbcl-fiveam)))
5905 (arguments
5906 `(#:test-asd-file "lisp-namespace.test.asd"
5907 ;; XXX: Component LISP-NAMESPACE-ASD::LISP-NAMESPACE.TEST not found
5908 #:tests? #f))
5909 (synopsis "LISP-N, or extensible namespaces in Common Lisp")
5910 (description "Common Lisp already has major 2 namespaces, function
5911namespace and value namespace (or variable namespace), but there are actually
5912more — e.g., class namespace.
5913This library offers macros to deal with symbols from any namespace.")
5914 (license license:llgpl))))
5915
5916(define-public cl-lisp-namespace
5917 (sbcl-package->cl-source-package sbcl-lisp-namespace))
5918
5919(define-public sbcl-trivial-cltl2
5920 (let ((commit "8eec8407df833e8f27df8a388bc10913f16d9e83")
5921 (revision "1"))
5922 (package
5923 (name "sbcl-trivial-cltl2")
5924 (build-system asdf-build-system/sbcl)
5925 (version (git-version "0.1.1" revision commit))
5926 (home-page "https://github.com/Zulu-Inuoe/trivial-cltl2")
5927 (source
5928 (origin
5929 (method git-fetch)
5930 (uri (git-reference
5931 (url home-page)
5932 (commit commit)))
5933 (file-name (git-file-name name version))
5934 (sha256
5935 (base32
5936 "1dyyxz17vqv8hlfwq287gl8xxbvcnq798ajb7p5jdjz91wqf4bgk"))))
5937 (synopsis "Simple CLtL2 compatibility layer for Common Lisp")
5938 (description "This library is a portable compatibility layer around
5939\"Common Lisp the Language, 2nd
5940Edition\" (@url{https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html})
5941and it exports symbols from implementation-specific packages.")
5942 (license license:llgpl))))
5943
5944(define-public cl-trivial-cltl2
5945 (sbcl-package->cl-source-package sbcl-trivial-cltl2))
5946
5947(define-public sbcl-introspect-environment
5948 (let ((commit "fff42f8f8fd0d99db5ad6c5812e53de7d660020b")
5949 (revision "1"))
5950 (package
5951 (name "sbcl-introspect-environment")
5952 (build-system asdf-build-system/sbcl)
5953 (version (git-version "0.1" revision commit))
5954 (home-page "https://github.com/Bike/introspect-environment")
5955 (source
5956 (origin
5957 (method git-fetch)
5958 (uri (git-reference
5959 (url home-page)
5960 (commit commit)))
5961 (file-name (git-file-name name version))
5962 (sha256
5963 (base32
5964 "1i305n0wfmpac63ni4i3vixnnkl8daw5ncxy0k3dv92krgx6qzhp"))))
5965 (native-inputs
5966 `(("fiveam" ,sbcl-fiveam)))
5967 (synopsis "Common Lisp environment introspection portability layer")
5968 (description "This library is a small interface to portable but
5969nonstandard introspection of Common Lisp environments. It is intended to
5970allow a bit more compile-time introspection of environments in Common Lisp.
5971
5972Quite a bit of information is available at the time a macro or compiler-macro
5973runs; inlining info, type declarations, that sort of thing. This information
5974is all standard - any Common Lisp program can @code{(declare (integer x))} and
5975such.
5976
5977This info ought to be accessible through the standard @code{&environment}
5978parameters, but it is not. Several implementations keep the information for
5979their own purposes but do not make it available to user programs, because
5980there is no standard mechanism to do so.
5981
5982This library uses implementation-specific hooks to make information available
5983to users. This is currently supported on SBCL, CCL, and CMUCL. Other
5984implementations have implementations of the functions that do as much as they
5985can and/or provide reasonable defaults.")
5986 (license license:wtfpl2))))
5987
5988(define-public cl-introspect-environment
5989 (sbcl-package->cl-source-package sbcl-introspect-environment))
5990
5991(define-public sbcl-type-i
5992 (let ((commit "dea233f45f94064105ec09f0767de338f67dcbe2")
5993 (revision "1"))
5994 (package
5995 (name "sbcl-type-i")
5996 (build-system asdf-build-system/sbcl)
5997 (version (git-version "0.1" revision commit))
5998 (home-page "https://github.com/guicho271828/type-i")
5999 (source
6000 (origin
6001 (method git-fetch)
6002 (uri (git-reference
6003 (url home-page)
6004 (commit commit)))
6005 (file-name (git-file-name name version))
6006 (sha256
6007 (base32
6008 "039g5pbrhh65s0bhr9314gmd2nwc2y5lp2377c5qrc2lxky89qs3"))))
6009 (inputs
6010 `(("alexandria" ,sbcl-alexandria)
6011 ("introspect-environment" ,sbcl-introspect-environment)
6012 ("trivia.trivial" ,sbcl-trivia.trivial)))
6013 (native-inputs
6014 `(("fiveam" ,sbcl-fiveam)))
6015 (arguments
6016 `(#:test-asd-file "type-i.test.asd"))
6017 (synopsis "Type inference utility on unary predicates for Common Lisp")
6018 (description "This library tries to provide a way to detect what kind of
6019type the given predicate is trying to check. This is different from inferring
6020the return type of a function.")
6021 (license license:llgpl))))
6022
6023(define-public cl-type-i
6024 (sbcl-package->cl-source-package sbcl-type-i))
6025
6026(define-public sbcl-optima
6027 (let ((commit "373b245b928c1a5cce91a6cb5bfe5dd77eb36195")
6028 (revision "1"))
6029 (package
6030 (name "sbcl-optima")
6031 (build-system asdf-build-system/sbcl)
6032 (version (git-version "1.0" revision commit))
6033 (home-page "https://github.com/m2ym/optima")
6034 (source
6035 (origin
6036 (method git-fetch)
6037 (uri (git-reference
6038 (url home-page)
6039 (commit commit)))
6040 (file-name (git-file-name name version))
6041 (sha256
6042 (base32
6043 "1yw4ymq7ms89342kkvb3aqxgv0w38m9kd8ikdqxxzyybnkjhndal"))))
6044 (inputs
6045 `(("alexandria" ,sbcl-alexandria)
6046 ("closer-mop" ,sbcl-closer-mop)))
6047 (native-inputs
6048 `(("eos" ,sbcl-eos)))
6049 (arguments
6050 ;; XXX: Circular dependencies: tests depend on optima.ppcre which depends on optima.
6051 `(#:tests? #f
6052 #:test-asd-file "optima.test.asd"))
6053 (synopsis "Optimized pattern matching library for Common Lisp")
6054 (description "Optima is a fast pattern matching library which uses
6055optimizing techniques widely used in the functional programming world.")
6056 (license license:expat))))
6057
6058(define-public cl-optima
6059 (sbcl-package->cl-source-package sbcl-optima))
6060
6061(define-public sbcl-fare-quasiquote
639b47e6
GLV
6062 (let ((commit "640d39a0451094071b3e093c97667b3947f43639")
6063 (revision "1"))
6064 (package
6065 (name "sbcl-fare-quasiquote")
6066 (build-system asdf-build-system/sbcl)
6067 (version (git-version "1.0.1" revision commit))
6068 (home-page "https://gitlab.common-lisp.net/frideau/fare-quasiquote")
6069 (source
6070 (origin
6071 (method git-fetch)
6072 (uri (git-reference
6073 (url (string-append "https://gitlab.common-lisp.net/frideau/"
6074 "fare-quasiquote.git"))
6075 (commit commit)))
6076 (file-name (git-file-name name version))
6077 (sha256
6078 (base32 "1g6q11l50kgija9f55lzqpcwvaq0ljiw8v1j265hnyg6nahjwjvg"))))
6079 (inputs
6080 `(("fare-utils" ,sbcl-fare-utils)))
6081 (arguments
6082 ;; XXX: Circular dependencies: Tests depend on subsystems,
6083 ;; which depend on the main systems.
6084 `(#:tests? #f
6085 #:phases
6086 (modify-phases %standard-phases
6087 ;; XXX: Require 1.0.0 version of fare-utils, and we package some
6088 ;; commits after 1.0.0.5, but ASDF fails to read the
6089 ;; "-REVISION-COMMIT" part generated by Guix.
6090 (add-after 'unpack 'patch-requirement
6091 (lambda _
6092 (substitute* "fare-quasiquote.asd"
6093 (("\\(:version \"fare-utils\" \"1.0.0\"\\)")
6094 "\"fare-utils\"")))))))
6095 (synopsis "Pattern-matching friendly implementation of quasiquote")
6096 (description "The main purpose of this n+2nd reimplementation of
88f06fd0
PN
6097quasiquote is enable matching of quasiquoted patterns, using Optima or
6098Trivia.")
639b47e6 6099 (license license:expat))))
88f06fd0
PN
6100
6101(define-public cl-fare-quasiquote
6102 (sbcl-package->cl-source-package sbcl-fare-quasiquote))
6103
6104(define-public sbcl-fare-quasiquote-optima
6105 (package
6106 (inherit sbcl-fare-quasiquote)
6107 (name "sbcl-fare-quasiquote-optima")
6108 (inputs
6109 `(("optima" ,sbcl-optima)
6110 ("fare-quasiquote" ,sbcl-fare-quasiquote)))
6111 (arguments
6112 '(#:phases
6113 (modify-phases %standard-phases
6114 (add-after 'unpack 'patch-requirement
6115 (lambda _
6116 (substitute* "fare-quasiquote-optima.asd"
6117 (("\\(:version \"optima\" \"1\\.0\"\\)")
6118 "\"optima\""))
6119 #t)))))))
6120
6121(define-public cl-fare-quasiquote-optima
6122 (sbcl-package->cl-source-package sbcl-fare-quasiquote-optima))
6123
6124(define-public sbcl-fare-quasiquote-readtable
6125 (package
6126 (inherit sbcl-fare-quasiquote)
6127 (name "sbcl-fare-quasiquote-readtable")
6128 (inputs
6129 `(("fare-quasiquote" ,sbcl-fare-quasiquote)
6130 ("named-readtables" ,sbcl-named-readtables)))
6131 (description "The main purpose of this n+2nd reimplementation of
6132quasiquote is enable matching of quasiquoted patterns, using Optima or
6133Trivia.
6134
6135This package uses fare-quasiquote with named-readtable.")))
6136
6137(define-public cl-fare-quasiquote-readtable
6138 (sbcl-package->cl-source-package sbcl-fare-quasiquote-readtable))
6139
6140;; TODO: Add support for component-less system in asdf-build-system/sbcl.
a5263200
GLV
6141(define-public sbcl-fare-quasiquote-extras
6142 (package
6143 (inherit sbcl-fare-quasiquote)
6144 (name "sbcl-fare-quasiquote-extras")
6145 (build-system asdf-build-system/sbcl)
6146 (inputs
6147 `(("fare-quasiquote-optima" ,sbcl-fare-quasiquote-optima)
6148 ("fare-quasiquote-readtable" ,sbcl-fare-quasiquote-readtable)))
6149 (arguments
6150 `(#:phases
6151 (modify-phases %standard-phases
6152 (replace 'build
6153 (lambda* (#:key outputs #:allow-other-keys)
6154 (let* ((out (assoc-ref outputs "out"))
6155 (lib (string-append out "/lib/" (%lisp-type))))
6156 (mkdir-p lib)
6157 (install-file "fare-quasiquote-extras.asd" lib)
0f46c5f5
GLV
6158 (make-file-writable
6159 (string-append lib "/fare-quasiquote-extras.asd"))
a5263200
GLV
6160 #t)))
6161 (add-after 'create-asd-file 'fix-asd-file
6162 (lambda* (#:key outputs #:allow-other-keys)
6163 (let* ((out (assoc-ref outputs "out"))
6164 (lib (string-append out "/lib/" (%lisp-type)))
6165 (asd (string-append lib "/fare-quasiquote-extras.asd")))
6166 (substitute* asd
6167 ((":class")
6168 "")
6169 (("asdf/bundle:prebuilt-system")
6170 "")
6171 ((":components")
6172 "")
6173 (("\\(\\(:compiled-file \"fare-quasiquote-extras--system\"\\)\\)")
6174 "")))
6175 #t)))))
6176 (description "This library combines @code{fare-quasiquote-readtable} and
6177@code{fare-quasiquote-optima}.")))
6178
88f06fd0
PN
6179(define-public cl-fare-quasiquote-extras
6180 (package
6181 (inherit cl-fare-quasiquote)
6182 (name "cl-fare-quasiquote-extras")
6183 (build-system asdf-build-system/source)
6184 (propagated-inputs
6185 `(("fare-quasiquote" ,cl-fare-quasiquote)
6186 ("fare-quasiquote-optima" ,cl-fare-quasiquote-optima)
6187 ("fare-quasiquote-readtable" ,cl-fare-quasiquote-readtable)))
6188 (description "This library combines @code{fare-quasiquote-readtable} and
6189@code{fare-quasiquote-optima}.")))
6190
6191(define-public sbcl-trivia.level0
463fb58f 6192 (let ((commit "574901ac376ae54c9d37169fd5efab9b3b8fcc63")
88f06fd0
PN
6193 (revision "1"))
6194 (package
6195 (name "sbcl-trivia.level0")
6196 (build-system asdf-build-system/sbcl)
6197 (version (git-version "0.0.0" revision commit))
6198 (home-page "https://github.com/guicho271828/trivia")
6199 (source
6200 (origin
6201 (method git-fetch)
6202 (uri (git-reference
6203 (url home-page)
6204 (commit commit)))
6205 (file-name (git-file-name name version))
6206 (sha256
6207 (base32
463fb58f 6208 "0hf53n71xzr9sjwrxis5fivx3drclf4s39h5ck8vh21ndqj9zvdk"))))
88f06fd0
PN
6209 (inputs
6210 `(("alexandria" ,sbcl-alexandria)))
6211 (synopsis "Pattern matching in Common Lisp")
6212 (description "Trivia is a pattern matching compiler that is compatible
6213with Optima, another pattern matching library for Common Lisp. It is meant to
6214be faster and more extensible than Optima.")
6215 (license license:llgpl))))
6216
6217(define-public sbcl-trivia.level1
6218 (package
6219 (inherit sbcl-trivia.level0)
6220 (name "sbcl-trivia.level1")
6221 (inputs
6222 `(("trivia.level0" ,sbcl-trivia.level0)))
6223 (description "Trivia is a pattern matching compiler that is compatible
6224with Optima, another pattern matching library for Common Lisp. It is meant to
6225be faster and more extensible than Optima.
6226
6227This system contains the core patterns of Trivia.")))
6228
6229(define-public sbcl-trivia.level2
6230 (package
6231 (inherit sbcl-trivia.level0)
6232 (name "sbcl-trivia.level2")
6233 (inputs
6234 `(("trivia.level1" ,sbcl-trivia.level1)
6235 ("lisp-namespace" ,sbcl-lisp-namespace)
6236 ("trivial-cltl2" ,sbcl-trivial-cltl2)
6237 ("closer-mop" ,sbcl-closer-mop)))
6238 (description "Trivia is a pattern matching compiler that is compatible
6239with Optima, another pattern matching library for Common Lisp. It is meant to
6240be faster and more extensible than Optima.
6241
6242This system contains a non-optimized pattern matcher compatible with Optima,
6243with extensible optimizer interface.")))
6244
6245(define-public sbcl-trivia.trivial
6246 (package
6247 (inherit sbcl-trivia.level0)
6248 (name "sbcl-trivia.trivial")
6249 (inputs
6250 `(("trivia.level2" ,sbcl-trivia.level2)))
6251 (arguments
6252 `(#:phases
6253 (modify-phases %standard-phases
6254 (replace 'create-asd-file
6255 (lambda* (#:key outputs inputs #:allow-other-keys)
6256 (let* ((out (assoc-ref outputs "out"))
6257 (lib (string-append out "/lib/" (%lisp-type)))
6258 (level2 (assoc-ref inputs "trivia.level2")))
6259 (mkdir-p lib)
6260 (install-file "trivia.trivial.asd" lib)
6261 ;; XXX: This .asd does not have any component and the build
6262 ;; system fails to work in this case. We should update the
6263 ;; build system to handle component-less .asd.
6264 ;; TODO: How do we append to file in Guile? It seems that
6265 ;; (open-file ... "a") gets a "Permission denied".
6266 (substitute* (string-append lib "/trivia.trivial.asd")
6267 (("\"\\)")
6268 (string-append "\")
6269
6270(progn (asdf/source-registry:ensure-source-registry)
6271 (setf (gethash
6272 \"trivia.level2\"
6273 asdf/source-registry:*source-registry*)
6274 #p\""
6275 level2
6276 "/share/common-lisp/sbcl-bundle-systems/trivia.level2.asd\"))")))))))))
6277 (description "Trivia is a pattern matching compiler that is compatible
6278with Optima, another pattern matching library for Common Lisp. It is meant to
6279be faster and more extensible than Optima.
6280
6281This system contains the base level system of Trivia with a trivial optimizer.")))
6282
6283(define-public sbcl-trivia.balland2006
6284 (package
6285 (inherit sbcl-trivia.level0)
6286 (name "sbcl-trivia.balland2006")
6287 (inputs
6288 `(("trivia.trivial" ,sbcl-trivia.trivial)
6289 ("iterate" ,sbcl-iterate)
6290 ("type-i" ,sbcl-type-i)
6291 ("alexandria" ,sbcl-alexandria)))
6292 (arguments
6293 ;; Tests are done in trivia itself.
6294 `(#:tests? #f))
6295 (description "Trivia is a pattern matching compiler that is compatible
6296with Optima, another pattern matching library for Common Lisp. It is meant to
6297be faster and more extensible than Optima.
6298
6299This system contains the base level system of Trivia with a trivial optimizer.")))
6300
6301(define-public sbcl-trivia.ppcre
6302 (package
6303 (inherit sbcl-trivia.level0)
6304 (name "sbcl-trivia.ppcre")
6305 (inputs
6306 `(("trivia.trivial" ,sbcl-trivia.trivial)
6307 ("cl-ppcre" ,sbcl-cl-ppcre)))
6308 (description "Trivia is a pattern matching compiler that is compatible
6309with Optima, another pattern matching library for Common Lisp. It is meant to
6310be faster and more extensible than Optima.
6311
6312This system contains the PPCRE extension.")))
6313
6314(define-public sbcl-trivia.quasiquote
6315 (package
6316 (inherit sbcl-trivia.level0)
6317 (name "sbcl-trivia.quasiquote")
6318 (inputs
6319 `(("trivia.trivial" ,sbcl-trivia.trivial)
6320 ("fare-quasiquote" ,sbcl-fare-quasiquote)
6321 ("fare-quasiquote-readtable" ,sbcl-fare-quasiquote-readtable)))
6322 (description "Trivia is a pattern matching compiler that is compatible
6323with Optima, another pattern matching library for Common Lisp. It is meant to
6324be faster and more extensible than Optima.
6325
6326This system contains the fare-quasiquote extension.")))
6327
6328(define-public sbcl-trivia.cffi
6329 (package
6330 (inherit sbcl-trivia.level0)
6331 (name "sbcl-trivia.cffi")
6332 (inputs
6333 `(("cffi" ,sbcl-cffi)
6334 ("trivia.trivial" ,sbcl-trivia.trivial)))
6335 (description "Trivia is a pattern matching compiler that is compatible
6336with Optima, another pattern matching library for Common Lisp. It is meant to
6337be faster and more extensible than Optima.
6338
6339This system contains the CFFI foreign slot access extension.")))
6340
6341(define-public sbcl-trivia
6342 (package
6343 (inherit sbcl-trivia.level0)
6344 (name "sbcl-trivia")
6345 (inputs
6346 `(("trivia.balland2006" ,sbcl-trivia.balland2006)))
6347 (native-inputs
6348 `(("fiveam" ,sbcl-fiveam)
6349 ("trivia.ppcre" ,sbcl-trivia.ppcre)
6350 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
6351 ("trivia.cffi" ,sbcl-trivia.cffi)
6352 ("optima" ,sbcl-optima)))
6353 (arguments
6354 `(#:test-asd-file "trivia.test.asd"
6355 #:phases
6356 (modify-phases %standard-phases
6357 (add-after 'create-asd 'remove-component
6358 ;; XXX: The original .asd has no components, but our build system
6359 ;; creates an entry nonetheless. We need to remove it for the
6360 ;; generated .asd to load properly. See trivia.trivial for a
6361 ;; similar problem.
6362 (lambda* (#:key outputs #:allow-other-keys)
6363 (let* ((out (assoc-ref outputs "out"))
6364 (asd (string-append out "/lib/" (%lisp-type) "/trivia.asd")))
6365 (substitute* asd
6366 ((" :components
6367")
6368 ""))
6369 (substitute* asd
6370 ((" *\\(\\(:compiled-file \"trivia--system\"\\)\\)")
6371 ""))))))))
6372 (description "Trivia is a pattern matching compiler that is compatible
6373with Optima, another pattern matching library for Common Lisp. It is meant to
6374be faster and more extensible than Optima.")))
6375
6376(define-public cl-trivia
6377 (sbcl-package->cl-source-package sbcl-trivia))
6378
6379(define-public sbcl-mk-string-metrics
6380 (package
6381 (name "sbcl-mk-string-metrics")
6382 (version "0.1.2")
6383 (home-page "https://github.com/cbaggers/mk-string-metrics/")
6384 (source (origin
6385 (method git-fetch)
6386 (uri (git-reference
6387 (url home-page)
6388 (commit version)))
6389 (sha256
6390 (base32 "0bg0bv2mfd4k0g3x72x563hvmrx18xavaffr6xk5rh4if5j7kcf6"))
6391 (file-name (git-file-name name version))))
6392 (build-system asdf-build-system/sbcl)
6393 (synopsis "Calculate various string metrics efficiently in Common Lisp")
6394 (description "This library implements efficient algorithms that calculate
6395various string metrics in Common Lisp:
6396
6397@itemize
6398@item Damerau-Levenshtein distance
6399@item Hamming distance
6400@item Jaccard similarity coefficient
6401@item Jaro distance
6402@item Jaro-Winkler distance
6403@item Levenshtein distance
6404@item Normalized Damerau-Levenshtein distance
6405@item Normalized Levenshtein distance
6406@item Overlap coefficient
6407@end itemize\n")
6408 (license license:x11)))
6409
6410(define-public cl-mk-string-metrics
6411 (sbcl-package->cl-source-package sbcl-mk-string-metrics))
6412
6413(define-public sbcl-cl-str
7cb4c521 6414 (let ((commit "eb480f283e28802d67b35bf916506701152f9a2a"))
88f06fd0
PN
6415 (package
6416 (name "sbcl-cl-str")
7cb4c521 6417 (version (git-version "0.17" "1" commit))
88f06fd0
PN
6418 (home-page "https://github.com/vindarel/cl-str")
6419 (source (origin
6420 (method git-fetch)
6421 (uri (git-reference
6422 (url home-page)
6423 (commit commit)))
6424 (sha256
7cb4c521 6425 (base32 "1hpq5m8zjjnzns370zy27z2vcm1p8n2ka5ij2x67gyc9amz9vla0"))
88f06fd0
PN
6426 (file-name (git-file-name name version))))
6427 (build-system asdf-build-system/sbcl)
6428 (inputs
6429 `(("cl-ppcre" ,sbcl-cl-ppcre)
7cb4c521
PN
6430 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
6431 ("cl-change-case" ,sbcl-cl-change-case)))
88f06fd0
PN
6432 (native-inputs
6433 `(("prove" ,sbcl-prove)
6434 ("prove-asdf" ,sbcl-prove-asdf)))
6435 (arguments
6436 `(#:asd-file "str.asd"
6437 #:asd-system-name "str"
6438 #:test-asd-file "str.test.asd"))
6439 (synopsis "Modern, consistent and terse Common Lisp string manipulation library")
6440 (description "A modern and consistent Common Lisp string manipulation
6441library that focuses on modernity, simplicity and discoverability:
6442@code{(str:trim s)} instead of @code{(string-trim '(#\\Space ...) s)}), or
6443@code{str:concat strings} instead of an unusual format construct; one
6444discoverable library instead of many; consistency and composability, where
6445@code{s} is always the last argument, which makes it easier to feed pipes and
6446arrows.")
6447 (license license:expat))))
6448
6449(define-public cl-str
6450 (sbcl-package->cl-source-package sbcl-cl-str))
6451
6452(define-public sbcl-cl-xmlspam
6453 (let ((commit "ea06abcca2a73a9779bcfb09081e56665f94e22a"))
6454 (package
6455 (name "sbcl-cl-xmlspam")
6456 (build-system asdf-build-system/sbcl)
6457 (version (git-version "0.0.0" "1" commit))
6458 (home-page "https://github.com/rogpeppe/cl-xmlspam")
6459 (source
6460 (origin
6461 (method git-fetch)
6462 (uri (git-reference
6463 (url home-page)
6464 (commit commit)))
6465 (file-name (string-append name "-" version))
6466 (sha256
6467 (base32
6468 "0w4rqvrgdgk3fwfq3kx4r7wwdr2bv3b6n3bdqwsiriw9psqzpz2s"))))
6469 (inputs
6470 `(("cxml" ,sbcl-cxml)
6471 ("cl-ppcre" ,sbcl-cl-ppcre)))
6472 (synopsis "Concise, regexp-like pattern matching on streaming XML for Common Lisp")
6473 (description "CXML does an excellent job at parsing XML elements, but what
6474do you do when you have a XML file that's larger than you want to fit in
6475memory, and you want to extract some information from it? Writing code to deal
6476with SAX events, or even using Klacks, quickly becomes tedious.
6477@code{cl-xmlspam} (for XML Stream PAttern Matcher) is designed to make it easy
6478to write code that mirrors the structure of the XML that it's parsing. It
6479also makes it easy to shift paradigms when necessary - the usual Lisp control
6480constructs can be used interchangeably with pattern matching, and the full
6481power of CXML is available when necessary.")
6482 (license license:bsd-3))))
6483
6484;; TODO: dbus uses ASDF's package-inferred-system which is not supported by
6485;; asdf-build-system/sbcl as of 2019-08-02. We should fix
6486;; asdf-build-system/sbcl.
6487(define-public cl-dbus
6488 (let ((commit "24b452df3a45ca5dc95015500f34baad175c981a")
6489 (revision "1"))
6490 (package
6491 (name "cl-dbus")
6492 (build-system asdf-build-system/source)
6493 (version (git-version "20190408" revision commit))
6494 (home-page "https://github.com/death/dbus")
6495 (source
6496 (origin
6497 (method git-fetch)
6498 (uri (git-reference
6499 (url home-page)
6500 (commit commit)))
6501 (file-name (git-file-name name version))
6502 (sha256
6503 (base32
6504 "0fw2q866yddbf23nk9pxphm9gsasx35vjyss82xzvndnjmzlqfl5"))))
0bc557fd
PN
6505 ;; Inputs must be propagated or else packages depending on this won't
6506 ;; have the necessary packages.
88f06fd0
PN
6507 (propagated-inputs
6508 `(("alexandria" ,sbcl-alexandria)
6509 ("trivial-garbage" ,sbcl-trivial-garbage)
6510 ("babel" ,sbcl-babel)
6511 ("iolib" ,sbcl-iolib)
88f06fd0
PN
6512 ("ieee-floats" ,sbcl-ieee-floats)
6513 ("flexi-streams" ,sbcl-flexi-streams)
6514 ("cl-xmlspam" ,sbcl-cl-xmlspam)
6515 ("ironclad" ,sbcl-ironclad)))
6516 (synopsis "D-Bus client library for Common Lisp")
104b1bde 6517 (description "This is a Common Lisp library that publishes D-Bus
88f06fd0
PN
6518objects as well as send and notify other objects connected to a bus.")
6519 (license license:bsd-2))))
6520
6521(define-public sbcl-cl-hooks
6522 (let ((commit "5b638083f3b4f1221a52631d9c8a0a265565cac7")
6523 (revision "1"))
6524 (package
6525 (name "sbcl-cl-hooks")
6526 (build-system asdf-build-system/sbcl)
6527 (version (git-version "0.2.1" revision commit))
6528 (home-page "https://github.com/scymtym/architecture.hooks")
6529 (source
6530 (origin
6531 (method git-fetch)
6532 (uri (git-reference
6533 (url home-page)
6534 (commit commit)))
6535 (file-name (git-file-name name version))
6536 (sha256
6537 (base32
6538 "0bg3l0a28lw5gqqjp6p6b5nhwqk46sgkb7184w5qbfngw1hk8x9y"))))
6539 (inputs
6540 `(("alexandria" ,sbcl-alexandria)
6541 ("let-plus" ,sbcl-let-plus)
6542 ("trivial-garbage" ,sbcl-trivial-garbage)
6543 ("closer-mop" ,sbcl-closer-mop)))
6544 (native-inputs
6545 `(("fiveam" ,sbcl-fiveam)))
6546 (synopsis "Hooks extension point mechanism (as in Emacs) for Common Lisp")
6547 (description "A hook, in the present context, is a certain kind of
6548extension point in a program that allows interleaving the execution of
6549arbitrary code with the execution of a the program without introducing any
6550coupling between the two. Hooks are used extensively in the extensible editor
6551Emacs.
6552
6553In the Common LISP Object System (CLOS), a similar kind of extensibility is
6554possible using the flexible multi-method dispatch mechanism. It may even seem
6555that the concept of hooks does not provide any benefits over the possibilities
6556of CLOS. However, there are some differences:
6557
6558@itemize
6559
6560@item There can be only one method for each combination of specializers and
6561qualifiers. As a result this kind of extension point cannot be used by
6562multiple extensions independently.
6563@item Removing code previously attached via a @code{:before}, @code{:after} or
6564@code{:around} method can be cumbersome.
6565@item There could be other or even multiple extension points besides @code{:before}
6566and @code{:after} in a single method.
6567@item Attaching codes to individual objects using eql specializers can be
6568cumbersome.
6569@item Introspection of code attached a particular extension point is
6570cumbersome since this requires enumerating and inspecting the methods of a
6571generic function.
6572@end itemize
6573
6574This library tries to complement some of these weaknesses of method-based
6575extension-points via the concept of hooks.")
6576 (license license:llgpl))))
6577
6578(define-public cl-hooks
6579 (sbcl-package->cl-source-package sbcl-cl-hooks))
6580
6581(define-public ecl-cl-hooks
6582 (sbcl-package->ecl-package sbcl-cl-hooks))
6583
6584(define-public sbcl-s-sysdeps
6585 (let ((commit "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d")
6586 (revision "1"))
6587 (package
6588 (name "sbcl-s-sysdeps")
6589 (build-system asdf-build-system/sbcl)
6590 (version (git-version "1" revision commit))
6591 (home-page "https://github.com/svenvc/s-sysdeps")
6592 (source
6593 (origin
6594 (method git-fetch)
6595 (uri (git-reference
6596 (url home-page)
6597 (commit commit)))
6598 (file-name (git-file-name name version))
6599 (sha256
6600 (base32
6601 "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9"))))
6602 (synopsis "Common Lisp abstraction layer over platform dependent functionality")
6603 (description "@code{s-sysdeps} is an abstraction layer over platform
6604dependent functionality. This simple package is used as a building block in a
6605number of other open source projects.
6606
6607@code{s-sysdeps} abstracts:
6608
6609@itemize
6610@item managing processes,
6611@item implementing a standard TCP/IP server,
6612@item opening a client TCP/IP socket stream,
6613@item working with process locks.
6614@end itemize\n")
6615 (license license:llgpl))))
6616
6617(define-public cl-s-sysdeps
6618 (sbcl-package->cl-source-package sbcl-s-sysdeps))
6619
6620(define-public ecl-s-sysdeps
6621 (sbcl-package->ecl-package sbcl-s-sysdeps))
6622
6623(define-public sbcl-cl-prevalence
6624 (let ((commit "c163c227ed85d430b82cb1e3502f72d4f88e3cfa")
6625 (revision "1"))
6626 (package
6627 (name "sbcl-cl-prevalence")
6628 (build-system asdf-build-system/sbcl)
6629 (version (git-version "5" revision commit))
6630 (home-page "https://github.com/40ants/cl-prevalence")
6631 (source
6632 (origin
6633 (method git-fetch)
6634 (uri (git-reference
6635 (url home-page)
6636 (commit commit)))
6637 (file-name (git-file-name name version))
6638 (sha256
6639 (base32
6640 "1i9zj1q2ahgwch56an21yzbgkynz0kab9fyxkq9mg8p3xrv38jjn"))))
6641 (inputs
6642 `(("s-sysdeps" ,sbcl-s-sysdeps)
6643 ("s-xml" ,sbcl-s-xml)))
6644 (synopsis "Implementation of object prevalence for Common Lisp")
6645 (description "This Common Lisp library implements object prevalence (see
6646@url{https://en.wikipedia.org/wiki/System_prevalence}). It allows
6647for (de)serializing to and from s-exps as well as XML. Serialization of arbitrary
6648classes and cyclic data structures are supported.")
6649 (license license:llgpl))))
6650
6651(define-public cl-prevalence
6652 (sbcl-package->cl-source-package sbcl-cl-prevalence))
6653
6654(define-public ecl-cl-prevalence
6655 (sbcl-package->ecl-package sbcl-cl-prevalence))
6656
6657(define-public sbcl-series
6658 (let ((commit "da9061b336119d1e5214aff9117171d494d5a58a")
6659 (revision "1"))
6660 (package
6661 (name "sbcl-series")
6662 (version (git-version "2.2.11" revision commit))
6663 (source
6664 (origin
6665 (method git-fetch)
6666 (uri (git-reference
6667 (url "git://git.code.sf.net/p/series/series")
6668 (commit commit)))
6669 (file-name (git-file-name name version))
6670 (sha256
6671 (base32
6672 "07hk2lhfx42zk018pxqvn4gs77vd4n4g8m4xxbqaxgca76mifwfw"))))
6673 (build-system asdf-build-system/sbcl)
6674 (arguments
6675 ;; Disable the tests, they are apparently buggy and I didn't find
6676 ;; a simple way to make them run and pass.
6677 '(#:tests? #f))
6678 (synopsis "Series data structure for Common Lisp")
6679 (description
6680 "This Common Lisp library provides a series data structure much like
6681a sequence, with similar kinds of operations. The difference is that in many
6682situations, operations on series may be composed functionally and yet execute
6683iteratively, without the need to construct intermediate series values
6684explicitly. In this manner, series provide both the clarity of a functional
6685programming style and the efficiency of an iterative programming style.")
6686 (home-page "http://series.sourceforge.net/")
6687 (license license:expat))))
6688
6689(define-public cl-series
6690 (sbcl-package->cl-source-package sbcl-series))
6691
6692(define-public ecl-series
6693 (sbcl-package->ecl-package sbcl-series))
6694
6695(define-public sbcl-periods
6696 (let ((commit "983d4a57325db3c8def942f163133cec5391ec28")
6697 (revision "1"))
6698 (package
6699 (name "sbcl-periods")
6700 (version (git-version "0.0.2" revision commit))
6701 (source
6702 (origin
6703 (method git-fetch)
6704 (uri (git-reference
6705 (url "https://github.com/jwiegley/periods.git")
6706 (commit commit)))
6707 (file-name (git-file-name name version))
6708 (sha256
6709 (base32
6710 "0z30jr3lxz3cmi019fsl4lgcgwf0yqpn95v9zkkkwgymdrkd4lga"))))
6711 (build-system asdf-build-system/sbcl)
6712 (inputs
6713 `(("local-time" ,sbcl-local-time)))
6714 (synopsis "Common Lisp library for manipulating date/time objects")
6715 (description
6716 "Periods is a Common Lisp library providing a set of utilities for
6717manipulating times, distances between times, and both contiguous and
6718discontiguous ranges of time.")
6719 (home-page "https://github.com/jwiegley/periods")
6720 (license license:bsd-3))))
6721
6722(define-public cl-periods
6723 (sbcl-package->cl-source-package sbcl-periods))
6724
6725(define-public ecl-periods
6726 (sbcl-package->ecl-package sbcl-periods))
6727
6728(define-public sbcl-periods-series
6729 (package
6730 (inherit sbcl-periods)
6731 (name "sbcl-periods-series")
6732 (inputs
6733 `(("periods" ,sbcl-periods)
6734 ("series" ,sbcl-series)))
6735 (arguments
6736 '(#:asd-file "periods-series.asd"
6737 #:asd-system-name "periods-series"))
6738 (description
6739 "Periods-series is an extension of the periods Common Lisp library
6740providing functions compatible with the series Common Lisp library.")))
6741
6742(define-public cl-periods-series
6743 (sbcl-package->cl-source-package sbcl-periods-series))
6744
6745(define-public ecl-periods-series
6746 (sbcl-package->ecl-package sbcl-periods-series))
6747
6748(define-public sbcl-metatilities-base
6749 (let ((commit "6eaa9e3ff0939a93a92109dd0fcd218de85417d5")
6750 (revision "1"))
6751 (package
6752 (name "sbcl-metatilities-base")
6753 (version (git-version "0.6.6" revision commit))
6754 (source
6755 (origin
6756 (method git-fetch)
6757 (uri (git-reference
6758 (url "https://github.com/gwkkwg/metatilities-base.git")
6759 (commit commit)))
6760 (file-name (git-file-name name version))
6761 (sha256
6762 (base32
6763 "0xpa86pdzlnf4v5g64j3ifaplx71sx2ha8b7vvakswi652679ma0"))))
6764 (build-system asdf-build-system/sbcl)
6765 (native-inputs
6766 `(("lift" ,sbcl-lift)))
6767 (synopsis "Core of the metatilities Common Lisp library")
6768 (description
6769 "Metatilities-base is the core of the metatilities Common Lisp library
6770which implements a set of utilities.")
6771 (home-page "https://common-lisp.net/project/metatilities-base/")
6772 (license license:expat))))
6773
6774(define-public cl-metatilities-base
6775 (sbcl-package->cl-source-package sbcl-metatilities-base))
6776
6777(define-public ecl-metatilities-base
6778 (sbcl-package->ecl-package sbcl-metatilities-base))
6779
6780(define-public sbcl-cl-containers
0ad6ecb8
PN
6781 (let ((commit "3d1df53c22403121bffb5d553cf7acb1503850e7")
6782 (revision "3"))
88f06fd0
PN
6783 (package
6784 (name "sbcl-cl-containers")
6785 (version (git-version "0.12.1" revision commit))
6786 (source
6787 (origin
6788 (method git-fetch)
6789 (uri (git-reference
6790 (url "https://github.com/gwkkwg/cl-containers.git")
6791 (commit commit)))
6792 (file-name (git-file-name name version))
6793 (sha256
6794 (base32
0ad6ecb8 6795 "18s6jfq11n8nv9k4biz32pm1s7y9zl054ry1gmdbcf39nisy377y"))))
88f06fd0
PN
6796 (build-system asdf-build-system/sbcl)
6797 (native-inputs
6798 `(("lift" ,sbcl-lift)))
6799 (inputs
6800 `(("metatilities-base" ,sbcl-metatilities-base)))
6801 (arguments
6802 '(#:phases
6803 (modify-phases %standard-phases
6804 (add-after 'unpack 'relax-version-checks
6805 (lambda _
6806 (substitute* "cl-containers.asd"
6807 (("\\(:version \"metatilities-base\" \"0\\.6\\.6\"\\)")
6808 "\"metatilities-base\""))
6809 (substitute* "cl-containers-test.asd"
6810 (("\\(:version \"lift\" \"1\\.7\\.0\"\\)")
6811 "\"lift\""))
6812 #t)))))
6813 (synopsis "Container library for Common Lisp")
6814 (description
6815 "Common Lisp ships with a set of powerful built in data structures
6816including the venerable list, full featured arrays, and hash-tables.
6817CL-containers enhances and builds on these structures by adding containers
6818that are not available in native Lisp (for example: binary search trees,
6819red-black trees, sparse arrays and so on), and by providing a standard
6820interface so that they are simpler to use and so that changing design
6821decisions becomes significantly easier.")
6822 (home-page "https://common-lisp.net/project/cl-containers/")
6823 (license license:expat))))
6824
6825(define-public cl-containers
6826 (sbcl-package->cl-source-package sbcl-cl-containers))
6827
6828(define-public ecl-cl-containers
6829 (sbcl-package->ecl-package sbcl-cl-containers))
6830
6831(define-public sbcl-xlunit
6832 (let ((commit "3805d34b1d8dc77f7e0ee527a2490194292dd0fc")
6833 (revision "1"))
6834 (package
6835 (name "sbcl-xlunit")
6836 (version (git-version "0.6.3" revision commit))
6837 (source
6838 (origin
6839 (method git-fetch)
6840 (uri (git-reference
6841 (url "http://git.kpe.io/xlunit.git")
6842 (commit commit)))
6843 (file-name (git-file-name name version))
6844 (sha256
6845 (base32
6846 "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3"))))
6847 (build-system asdf-build-system/sbcl)
6848 (arguments
6849 '(#:phases
6850 (modify-phases %standard-phases
6851 (add-after 'unpack 'fix-tests
6852 (lambda _
6853 (substitute* "xlunit.asd"
6854 ((" :force t") ""))
6855 #t)))))
6856 (synopsis "Unit testing package for Common Lisp")
6857 (description
6858 "The XLUnit package is a toolkit for building test suites. It is based
6859on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
6860 (home-page "http://quickdocs.org/xlunit/")
6861 (license license:bsd-3))))
6862
6863(define-public cl-xlunit
6864 (sbcl-package->cl-source-package sbcl-xlunit))
6865
6866(define-public ecl-xlunit
6867 (sbcl-package->ecl-package sbcl-xlunit))
6868
6869(define-public sbcl-fprog
6870 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6871 (revision "1"))
6872 (package
6873 (name "sbcl-fprog")
6874 (version (git-version "1.0.0" revision commit))
6875 (source
6876 (origin
6877 (method git-fetch)
6878 (uri (git-reference
6879 (url "https://github.com/jwiegley/cambl.git")
6880 (commit commit)))
6881 (file-name (git-file-name name version))
6882 (sha256
6883 (base32
6884 "103mry04j2k9vznsxm7wcvccgxkil92cdrv52miwcmxl8daa4jiz"))))
6885 (build-system asdf-build-system/sbcl)
6886 (synopsis "Functional programming utilities for Common Lisp")
6887 (description
6888 "@code{fprog} is a Common Lisp library allowing iteration over
6889immutable lists sharing identical sublists.")
6890 (home-page "https://github.com/jwiegley/cambl")
6891 (license license:bsd-3))))
6892
6893(define-public cl-fprog
6894 (sbcl-package->cl-source-package sbcl-fprog))
6895
6896(define-public ecl-fprog
6897 (sbcl-package->ecl-package sbcl-fprog))
6898
6899(define-public sbcl-cambl
6900 (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
6901 (revision "1"))
6902 (package
6903 (inherit sbcl-fprog)
6904 (name "sbcl-cambl")
6905 (version (git-version "4.0.0" revision commit))
6906 (native-inputs
6907 `(("xlunit" ,sbcl-xlunit)))
6908 (inputs
6909 `(("alexandria" ,sbcl-alexandria)
6910 ("cl-containers" ,sbcl-cl-containers)
6911 ("local-time" ,sbcl-local-time)
6912 ("periods" ,sbcl-periods)
6913 ("fprog" ,sbcl-fprog)))
6914 (synopsis "Commoditized amounts and balances for Common Lisp")
6915 (description
6916 "CAMBL is a Common Lisp library providing a convenient facility for
6917working with commoditized values. It does not allow compound units (and so is
6918not suited for scientific operations) but does work rather nicely for the
6919purpose of financial calculations."))))
6920
6921(define-public cl-cambl
6922 (sbcl-package->cl-source-package sbcl-cambl))
6923
6924(define-public ecl-cambl
6925 (sbcl-package->ecl-package sbcl-cambl))
6926
6927(define-public sbcl-cl-ledger
6928 (let ((commit "08e0be41795e804cd36142e51756ad0b1caa377b")
6929 (revision "1"))
6930 (package
6931 (name "sbcl-cl-ledger")
6932 (version (git-version "4.0.0" revision commit))
6933 (source
6934 (origin
6935 (method git-fetch)
6936 (uri (git-reference
6937 (url "https://github.com/ledger/cl-ledger.git")
6938 (commit commit)))
6939 (file-name (git-file-name name version))
6940 (sha256
6941 (base32
6942 "1via0qf6wjcyxnfbmfxjvms0ik9j8rqbifgpmnhrzvkhrq9pv8h1"))))
6943 (build-system asdf-build-system/sbcl)
6944 (inputs
6945 `(("cambl" ,sbcl-cambl)
6946 ("cl-ppcre" ,sbcl-cl-ppcre)
6947 ("local-time" ,sbcl-local-time)
6948 ("periods-series" ,sbcl-periods-series)))
6949 (arguments
6950 '(#:phases
6951 (modify-phases %standard-phases
6952 (add-after 'unpack 'fix-system-definition
6953 (lambda _
6954 (substitute* "cl-ledger.asd"
6955 ((" :build-operation program-op") "")
6956 ((" :build-pathname \"cl-ledger\"") "")
6957 ((" :entry-point \"ledger::main\"") ""))
6958 #t)))))
6959 (synopsis "Common Lisp port of the Ledger accounting system")
6960 (description
6961 "CL-Ledger is a Common Lisp port of the Ledger double-entry accounting
6962system.")
6963 (home-page "https://github.com/ledger/cl-ledger")
6964 (license license:bsd-3))))
6965
6966(define-public cl-ledger
6967 (sbcl-package->cl-source-package sbcl-cl-ledger))
6968
6969(define-public ecl-cl-ledger
6970 (sbcl-package->ecl-package sbcl-cl-ledger))
6971
6972(define-public sbcl-bst
6973 (let ((commit "34f9c7e8e0a9f2c952fe310ab36cb630d5d9c15a")
6974 (revision "1"))
6975 (package
6976 (name "sbcl-bst")
6977 (version (git-version "1.1" revision commit))
6978 (source
6979 (origin
6980 (method git-fetch)
6981 (uri (git-reference
6982 (url "https://github.com/glv2/bst.git")
6983 (commit commit)))
6984 (file-name (git-file-name name version))
6985 (sha256
6986 (base32
6987 "1amxns7hvvh4arwbh8ciwfzplg127vh37dnbamv1m1kmmnmihfc8"))))
6988 (build-system asdf-build-system/sbcl)
6989 (native-inputs
6990 `(("alexandria" ,sbcl-alexandria)
6991 ("fiveam" ,sbcl-fiveam)))
6992 (synopsis "Binary search tree for Common Lisp")
6993 (description
6994 "BST is a Common Lisp library for working with binary search trees that
6995can contain any kind of values.")
6996 (home-page "https://github.com/glv2/bst")
6997 (license license:gpl3))))
6998
6999(define-public cl-bst
7000 (sbcl-package->cl-source-package sbcl-bst))
7001
7002(define-public ecl-bst
7003 (sbcl-package->ecl-package sbcl-bst))
7004
7005(define-public sbcl-cl-octet-streams
7006 (package
7007 (name "sbcl-cl-octet-streams")
7008 (version "1.0")
7009 (source
7010 (origin
7011 (method git-fetch)
7012 (uri (git-reference
7013 (url "https://github.com/glv2/cl-octet-streams.git")
7014 (commit (string-append "v" version))))
7015 (file-name (git-file-name name version))
7016 (sha256
7017 (base32
7018 "1d7mn6ydv0j2x4r7clpc9ijjwrnfpxmvhifv8n5j7jh7s744sf8d"))))
7019 (build-system asdf-build-system/sbcl)
7020 (native-inputs
7021 `(("fiveam" ,sbcl-fiveam)))
7022 (inputs
7023 `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7024 (synopsis "In-memory octet streams for Common Lisp")
7025 (description
7026 "CL-octet-streams is a library implementing in-memory octet
7027streams for Common Lisp. It was inspired by the trivial-octet-streams and
7028cl-plumbing libraries.")
7029 (home-page "https://github.com/glv2/cl-octet-streams")
7030 (license license:gpl3+)))
7031
7032(define-public cl-octet-streams
7033 (sbcl-package->cl-source-package sbcl-cl-octet-streams))
7034
7035(define-public ecl-cl-octet-streams
7036 (sbcl-package->ecl-package sbcl-cl-octet-streams))
7037
7038(define-public sbcl-lzlib
7039 (let ((commit "0de1db7129fef9a58a059d35a2fa2ecfc5b47b47")
7040 (revision "1"))
7041 (package
7042 (name "sbcl-lzlib")
7043 (version (git-version "1.0" revision commit))
7044 (source
7045 (origin
7046 (method git-fetch)
7047 (uri (git-reference
7048 (url "https://github.com/glv2/cl-lzlib.git")
7049 (commit commit)))
7050 (file-name (git-file-name name version))
7051 (sha256
7052 (base32
7053 "12ny7vj52fgnd8hb8fc8mry92vq4c1x72x2350191m4476j95clz"))))
7054 (build-system asdf-build-system/sbcl)
7055 (native-inputs
7056 `(("fiveam" ,sbcl-fiveam)))
7057 (inputs
7058 `(("cffi" ,sbcl-cffi)
7059 ("cl-octet-streams" ,sbcl-cl-octet-streams)
7060 ("lzlib" ,lzlib)))
7061 (arguments
7062 '(#:phases
7063 (modify-phases %standard-phases
7064 (add-after 'unpack 'fix-paths
7065 (lambda* (#:key inputs #:allow-other-keys)
7066 (substitute* "src/lzlib.lisp"
7067 (("liblz\\.so")
7068 (string-append (assoc-ref inputs "lzlib") "/lib/liblz.so")))
7069 #t)))))
7070 (synopsis "Common Lisp library for lzip (de)compression")
7071 (description
7072 "This Common Lisp library provides functions for lzip (LZMA)
7073compression/decompression using bindings to the lzlib C library.")
7074 (home-page "https://github.com/glv2/cl-lzlib")
7075 (license license:gpl3+))))
7076
7077(define-public cl-lzlib
7078 (sbcl-package->cl-source-package sbcl-lzlib))
7079
7080(define-public ecl-lzlib
7081 (sbcl-package->ecl-package sbcl-lzlib))
7082
7083(define-public sbcl-chanl
00a9a936
GLV
7084 (let ((commit "56e90a126c78b39bb621a01585e8d3b985238e8c")
7085 (revision "1"))
88f06fd0
PN
7086 (package
7087 (name "sbcl-chanl")
7088 (version (git-version "0.4.1" revision commit))
7089 (source
7090 (origin
7091 (method git-fetch)
7092 (uri (git-reference
7093 (url "https://github.com/zkat/chanl.git")
7094 (commit commit)))
7095 (file-name (git-file-name name version))
7096 (sha256
7097 (base32
00a9a936 7098 "0b1cf6c12qx5cy1fw2z42jgh566rp3l8nv5qf0qqc569s7bgmrh4"))))
88f06fd0
PN
7099 (build-system asdf-build-system/sbcl)
7100 (native-inputs
7101 `(("fiveam" ,sbcl-fiveam)))
7102 (inputs
7103 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
7104 (synopsis "Portable channel-based concurrency for Common Lisp")
7105 (description "Common Lisp library for channel-based concurrency. In
7106a nutshell, you create various threads sequentially executing tasks you need
7107done, and use channel objects to communicate and synchronize the state of these
7108threads.")
7109 (home-page "https://github.com/zkat/chanl")
7110 (license (list license:expat license:bsd-3)))))
7111
7112(define-public cl-chanl
7113 (sbcl-package->cl-source-package sbcl-chanl))
7114
7115(define-public ecl-chanl
00a9a936 7116 (sbcl-package->ecl-package sbcl-chanl))
88f06fd0
PN
7117
7118(define-public sbcl-cl-store
1896256d
BG
7119 (let ((commit "c787337a16ea8cf8a06227f35933a4ec774746b3")
7120 (revision "1"))
88f06fd0
PN
7121 (package
7122 (name "sbcl-cl-store")
7123 (version (git-version "0.8.11" revision commit))
7124 (source
7125 (origin
7126 (method git-fetch)
7127 (uri (git-reference
7128 (url "https://github.com/skypher/cl-store.git")
7129 (commit commit)))
7130 (file-name (git-file-name name version))
7131 (sha256
7132 (base32
1896256d 7133 "194srkg8nrym19c6i7zbnkzshc1qhqa82m53qnkirz9fw928bqxr"))))
88f06fd0
PN
7134 (build-system asdf-build-system/sbcl)
7135 (native-inputs
7136 `(("rt" ,sbcl-rt)))
7137 (synopsis "Common Lisp library to serialize data")
7138 (description
7139 "CL-STORE is a portable serialization package which should give you the
7140ability to store all Common Lisp data types into streams.")
630a4b77 7141 (home-page "https://www.common-lisp.net/project/cl-store/")
88f06fd0
PN
7142 (license license:expat))))
7143
7144(define-public cl-store
7145 (sbcl-package->cl-source-package sbcl-cl-store))
7146
7147(define-public ecl-cl-store
7148 (sbcl-package->ecl-package sbcl-cl-store))
7149
7150(define-public sbcl-cl-gobject-introspection
7151 (let ((commit "7b703e2384945ea0ac39d9b766de434a08d81560")
7152 (revision "0"))
7153 (package
7154 (name "sbcl-cl-gobject-introspection")
7155 (version (git-version "0.3" revision commit))
7156 (home-page "https://github.com/andy128k/cl-gobject-introspection")
7157 (source
7158 (origin
7159 (method git-fetch)
7160 (uri (git-reference
7161 (url home-page)
7162 (commit commit)))
7163 (file-name (git-file-name name version))
7164 (sha256
7165 (base32
7166 "1zcqd2qj14f6b38vys8gr89s6cijsp9r8j43xa8lynilwva7bwyh"))))
7167 (build-system asdf-build-system/sbcl)
7168 (inputs
7169 `(("alexandria" ,sbcl-alexandria)
7170 ("cffi" ,sbcl-cffi)
7171 ("iterate" ,sbcl-iterate)
7172 ("trivial-garbage" ,sbcl-trivial-garbage)
7173 ("glib" ,glib)
7174 ("gobject-introspection" ,gobject-introspection)))
7175 (native-inputs
7176 `(("fiveam" ,sbcl-fiveam)))
7177 (arguments
7178 ;; TODO: Tests fail, see
7179 ;; https://github.com/andy128k/cl-gobject-introspection/issues/70.
7180 '(#:tests? #f
7181 #:phases
7182 (modify-phases %standard-phases
7183 (add-after (quote unpack) (quote fix-paths)
7184 (lambda* (#:key inputs #:allow-other-keys)
7185 (substitute* "src/init.lisp"
7186 (("libgobject-2\\.0\\.so")
7187 (string-append (assoc-ref inputs "glib") "/lib/libgobject-2.0.so"))
7188 (("libgirepository-1\\.0\\.so")
7189 (string-append (assoc-ref inputs "gobject-introspection")
7190 "/lib/libgirepository-1.0.so")))
7191 #t)))))
7192 (synopsis "Common Lisp bindings to GObject Introspection")
7193 (description
7194 "This library is a bridge between Common Lisp and GObject
7195Introspection, which enables Common Lisp programs to access the full interface
7196of C+GObject libraries without the need of writing dedicated bindings.")
7197 (license (list license:bsd-3
7198 ;; Tests are under a different license.
7199 license:llgpl)))))
7200
7201(define-public cl-gobject-introspection
7202 (sbcl-package->cl-source-package sbcl-cl-gobject-introspection))
7203
7204(define-public sbcl-string-case
7205 (let ((commit "718c761e33749e297cd2809c7ba3ade1985c49f7")
7206 (revision "0"))
7207 (package
7208 (name "sbcl-string-case")
7209 (version (git-version "0.0.2" revision commit))
7210 (home-page "https://github.com/pkhuong/string-case")
7211 (source
7212 (origin
7213 (method git-fetch)
7214 (uri (git-reference
7215 (url home-page)
7216 (commit commit)))
7217 (file-name (git-file-name name version))
7218 (sha256
7219 (base32
7220 "1n5i3yh0h5s636rcnwn7jwqy3rjflikra04lymimhpcshhjsk0md"))))
7221 (build-system asdf-build-system/sbcl)
7222 (synopsis "Efficient string= case in Common Lisp")
7223 (description
7224 "@code{string-case} is a Common Lisp macro that generates specialised decision
7225trees to dispatch on string equality.")
7226 (license license:bsd-3))))
7227
7228(define-public cl-string-case
7229 (sbcl-package->cl-source-package sbcl-string-case))
7230
7231(define-public ecl-string-case
7232 (sbcl-package->ecl-package sbcl-string-case))
7233
7234(define-public sbcl-global-vars
7235 (let ((commit "c749f32c9b606a1457daa47d59630708ac0c266e")
7236 (revision "0"))
7237 (package
7238 (name "sbcl-global-vars")
7239 (version (git-version "1.0.0" revision commit))
7240 (home-page "https://github.com/lmj/global-vars")
7241 (source
7242 (origin
7243 (method git-fetch)
7244 (uri (git-reference
7245 (url home-page)
7246 (commit commit)))
7247 (file-name (git-file-name name version))
7248 (sha256
7249 (base32
7250 "06m3xc8l3pgsapl8fvsi9wf6y46zs75cp9zn7zh6dc65v4s5wz3d"))))
7251 (build-system asdf-build-system/sbcl)
7252 (synopsis "Efficient global variables in Common Lisp")
7253 (description
7254 "In Common Lisp, a special variable that is never dynamically bound
7255typically serves as a stand-in for a global variable. The @code{global-vars}
7256library provides true global variables that are implemented by some compilers.
7257An attempt to rebind a global variable properly results in a compiler error.
7258That is, a global variable cannot be dynamically bound.
7259
7260Global variables therefore allow us to communicate an intended usage that
7261differs from special variables. Global variables are also more efficient than
7262special variables, especially in the presence of threads.")
7263 (license license:expat))))
7264
7265(define-public cl-global-vars
7266 (sbcl-package->cl-source-package sbcl-global-vars))
7267
7268(define-public ecl-global-vars
7269 (sbcl-package->ecl-package sbcl-global-vars))
7270
7271(define-public sbcl-trivial-file-size
7272 (let ((commit "1c1d672a01a446ba0391dbb4ffc40be3b0476f23")
7273 (revision "0"))
7274 (package
7275 (name "sbcl-trivial-file-size")
7276 (version (git-version "0.0.0" revision commit))
7277 (home-page "https://github.com/ruricolist/trivial-file-size")
7278 (source
7279 (origin
7280 (method git-fetch)
7281 (uri (git-reference
7282 (url home-page)
7283 (commit commit)))
7284 (file-name (git-file-name name version))
7285 (sha256
7286 (base32
7287 "17pp86c9zs4y7i1sh7q9gbfw9iqv6655k7fz8qbj9ly1ypgxp4qs"))))
7288 (build-system asdf-build-system/sbcl)
7289 (native-inputs
7290 `(("fiveam" ,sbcl-fiveam)))
7291 (synopsis "Size of a file in bytes in Common Lisp")
7292 (description
7293 "The canonical way to determine the size of a file in bytes, using Common Lisp,
7294is to open the file with an element type of (unsigned-byte 8) and then
7295calculate the length of the stream. This is less than ideal. In most cases
7296it is better to get the size of the file from its metadata, using a system
7297call.
7298
7299This library exports a single function, file-size-in-octets. It returns the
7300size of a file in bytes, using system calls when possible.")
7301 (license license:expat))))
7302
7303(define-public cl-trivial-file-size
7304 (sbcl-package->cl-source-package sbcl-trivial-file-size))
7305
7306(define-public ecl-trivial-file-size
7307 (sbcl-package->ecl-package sbcl-trivial-file-size))
7308
7309(define-public sbcl-trivial-macroexpand-all
7310 (let ((commit "933270ac7107477de1bc92c1fd641fe646a7a8a9")
7311 (revision "0"))
7312 (package
7313 (name "sbcl-trivial-macroexpand-all")
7314 (version (git-version "0.0.0" revision commit))
7315 (home-page "https://github.com/cbaggers/trivial-macroexpand-all")
7316 (source
7317 (origin
7318 (method git-fetch)
7319 (uri (git-reference
7320 (url home-page)
7321 (commit commit)))
7322 (file-name (git-file-name name version))
7323 (sha256
7324 (base32
7325 "191hnn4b5j4i3crydmlzbm231kj0h7l8zj6mzj69r1npbzkas4bd"))))
7326 (build-system asdf-build-system/sbcl)
7327 (native-inputs
7328 `(("fiveam" ,sbcl-fiveam)))
7329 (synopsis "Portable macroexpand-all for Common Lisp")
7330 (description
7331 "This library provides a macroexpand-all function that calls the
7332implementation specific equivalent.")
7333 (license license:unlicense))))
7334
7335(define-public cl-trivial-macroexpand-all
7336 (sbcl-package->cl-source-package sbcl-trivial-macroexpand-all))
7337
7338(define-public ecl-trivial-macroexpand-all
7339 (sbcl-package->ecl-package sbcl-trivial-macroexpand-all))
7340
7341(define-public sbcl-serapeum
f96aa123
PN
7342 (let ((commit "64f0c4a161bbbda7c275012ca1415b4293b9e169")
7343 (revision "1"))
88f06fd0
PN
7344 (package
7345 (name "sbcl-serapeum")
7346 (version (git-version "0.0.0" revision commit))
7347 (home-page "https://github.com/ruricolist/serapeum")
7348 (source
7349 (origin
7350 (method git-fetch)
7351 (uri (git-reference
7352 (url home-page)
7353 (commit commit)))
7354 (file-name (git-file-name name version))
7355 (sha256
7356 (base32
f96aa123 7357 "0djnj0py8hdjnk5j6shjq2kbmyxqd5sw79cilcfmpfz4dzjdgkx9"))))
88f06fd0
PN
7358 (build-system asdf-build-system/sbcl)
7359 (inputs
7360 `(("alexandria" ,sbcl-alexandria)
7361 ("trivia" ,sbcl-trivia)
7362 ("trivia.quasiquote" ,sbcl-trivia.quasiquote)
7363 ("split-sequence" ,sbcl-split-sequence)
7364 ("string-case" ,sbcl-string-case)
7365 ("parse-number" ,sbcl-parse-number)
7366 ("trivial-garbage" ,sbcl-trivial-garbage)
7367 ("bordeaux-threads" ,sbcl-bordeaux-threads)
7368 ("named-readtables" ,sbcl-named-readtables)
8137983a 7369 ("fare-quasiquote-extras" ,sbcl-fare-quasiquote-extras)
88f06fd0
PN
7370 ("parse-declarations-1.0" ,sbcl-parse-declarations)
7371 ("global-vars" ,sbcl-global-vars)
7372 ("trivial-file-size" ,sbcl-trivial-file-size)
7373 ("trivial-macroexpand-all" ,sbcl-trivial-macroexpand-all)))
7374 (native-inputs
7375 `(("fiveam" ,sbcl-fiveam)
7376 ("local-time" ,sbcl-local-time)))
7377 (arguments
7378 '(#:phases
7379 (modify-phases %standard-phases
7380 (add-after 'unpack 'disable-failing-tests
7381 (lambda* (#:key inputs #:allow-other-keys)
7382 (substitute* "serapeum.asd"
7383 ;; Guix does not have Quicklisp, and probably never will.
7384 (("\\(:file \"quicklisp\"\\)") ""))
7385 #t)))))
7386 (synopsis "Common Lisp utility library beyond Alexandria")
7387 (description
7388 "Serapeum is a conservative library of Common Lisp utilities. It is a
7389supplement, not a competitor, to Alexandria.")
7390 (license license:expat))))
7391
7392(define-public cl-serapeum
7393 (sbcl-package->cl-source-package sbcl-serapeum))
7394
7395(define-public sbcl-arrows
7396 (let ((commit "df7cf0067e0132d9697ac8b1a4f1b9c88d4f5382")
7397 (revision "0"))
7398 (package
7399 (name "sbcl-arrows")
7400 (version (git-version "0.2.0" revision commit))
7401 (source
7402 (origin
7403 (method git-fetch)
7404 (uri (git-reference
7405 (url "https://gitlab.com/Harleqin/arrows.git")
7406 (commit commit)))
7407 (file-name (git-file-name name version))
7408 (sha256
7409 (base32
7410 "042k9vkssrqx9nhp14wdzm942zgdxvp35mba0p2syz98i75im2yy"))))
7411 (build-system asdf-build-system/sbcl)
7412 (native-inputs
7413 `(("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
7414 (synopsis "Clojure-like arrow macros for Common Lisp")
7415 (description
7416 "This library implements the @code{->} and @code{->>} macros from
7417Clojure, as well as several expansions on the idea.")
7418 (home-page "https://gitlab.com/Harleqin/arrows")
7419 (license license:public-domain))))
7420
7421(define-public cl-arrows
7422 (sbcl-package->cl-source-package sbcl-arrows))
7423
7424(define-public ecl-arrows
7425 (sbcl-package->ecl-package sbcl-arrows))
7426
7427(define-public sbcl-simple-parallel-tasks
7428 (let ((commit "db460f7a3f7bbfe2d3a2223ed21e162068d04dda")
7429 (revision "0"))
7430 (package
7431 (name "sbcl-simple-parallel-tasks")
7432 (version (git-version "1.0" revision commit))
7433 (source
7434 (origin
7435 (method git-fetch)
7436 (uri (git-reference
7437 (url "https://github.com/glv2/simple-parallel-tasks.git")
7438 (commit commit)))
7439 (file-name (git-file-name name version))
7440 (sha256
7441 (base32
7442 "0amw3qk23wnlyrsgzszs6rs7y4zvxv8dr03rnqhc60mnm8ds4dd5"))))
7443 (build-system asdf-build-system/sbcl)
7444 (native-inputs
7445 `(("fiveam" ,sbcl-fiveam)))
7446 (inputs
7447 `(("chanl" ,sbcl-chanl)))
7448 (synopsis "Common Lisp library to evaluate some forms in parallel")
7449 (description "This is a simple Common Lisp library to evaluate some
7450forms in parallel.")
7451 (home-page "https://github.com/glv2/simple-parallel-tasks")
7452 (license license:gpl3))))
7453
7454(define-public cl-simple-parallel-tasks
7455 (sbcl-package->cl-source-package sbcl-simple-parallel-tasks))
7456
7457(define-public ecl-simple-parallel-tasks
7458 (sbcl-package->ecl-package sbcl-simple-parallel-tasks))
7459
7460(define-public sbcl-cl-heap
7461 (package
7462 (name "sbcl-cl-heap")
7463 (version "0.1.6")
7464 (source
7465 (origin
7466 (method url-fetch)
7467 (uri (string-append "https://common-lisp.net/project/cl-heap/releases/"
7468 "cl-heap_" version ".tar.gz"))
7469 (sha256
7470 (base32
7471 "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i"))))
7472 (build-system asdf-build-system/sbcl)
7473 (native-inputs
7474 `(("xlunit" ,sbcl-xlunit)))
7475 (arguments
7476 `(#:test-asd-file "cl-heap-tests.asd"))
7477 (synopsis "Heap and priority queue data structures for Common Lisp")
7478 (description
7479 "CL-HEAP provides various implementations of heap data structures (a
7480binary heap and a Fibonacci heap) as well as an efficient priority queue.")
7481 (home-page "https://common-lisp.net/project/cl-heap/")
7482 (license license:gpl3+)))
7483
7484(define-public cl-heap
7485 (sbcl-package->cl-source-package sbcl-cl-heap))
7486
7487(define-public ecl-cl-heap
7488 (sbcl-package->ecl-package sbcl-cl-heap))
7489
7490(define-public sbcl-curry-compose-reader-macros
7491 (let ((commit "beaa92dedf392726c042184bfd6149fa8d9e6ac2")
7492 (revision "0"))
7493 (package
7494 (name "sbcl-curry-compose-reader-macros")
7495 (version (git-version "1.0.0" revision commit))
7496 (source
7497 (origin
7498 (method git-fetch)
7499 (uri
7500 (git-reference
7501 (url "https://github.com/eschulte/curry-compose-reader-macros.git")
7502 (commit commit)))
7503 (file-name (git-file-name name version))
7504 (sha256
7505 (base32
7506 "0rv9bl8xrad5wfcg5zs1dazvnpmvqz6297lbn8bywsrcfnlf7h98"))))
7507 (build-system asdf-build-system/sbcl)
7508 (inputs
7509 `(("alexandria" ,sbcl-alexandria)
7510 ("named-readtables" ,sbcl-named-readtables)))
7511 (synopsis "Reader macros for partial application and composition")
7512 (description
7513 "This Common Lisp library provides reader macros for concise expression
7514of function partial application and composition.")
7515 (home-page "https://eschulte.github.io/curry-compose-reader-macros/")
7516 (license license:public-domain))))
7517
7518(define-public cl-curry-compose-reader-macros
7519 (sbcl-package->cl-source-package sbcl-curry-compose-reader-macros))
7520
7521(define-public ecl-curry-compose-reader-macros
7522 (sbcl-package->ecl-package sbcl-curry-compose-reader-macros))
7523
7524(define-public sbcl-yason
7525 (package
7526 (name "sbcl-yason")
7527 (version "0.7.7")
7528 (source
7529 (origin
7530 (method git-fetch)
7531 (uri (git-reference
7532 (url "https://github.com/phmarek/yason.git")
7533 (commit (string-append "v" version))))
7534 (file-name (git-file-name name version))
7535 (sha256
7536 (base32
7537 "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj"))))
7538 (build-system asdf-build-system/sbcl)
7539 (inputs
7540 `(("alexandria" ,sbcl-alexandria)
7541 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
7542 (synopsis "Common Lisp JSON parser/encoder")
7543 (description
7544 "YASON is a Common Lisp library for encoding and decoding data in the
7545JSON interchange format.")
7546 (home-page "https://github.com/phmarek/yason")
7547 (license license:bsd-3)))
7548
7549(define-public cl-yason
7550 (sbcl-package->cl-source-package sbcl-yason))
7551
7552(define-public ecl-yason
7553 (sbcl-package->ecl-package sbcl-yason))
7554
7555(define-public sbcl-stefil
7556 (let ((commit "0398548ec95dceb50fc2c2c03e5fb0ce49b86c7a")
7557 (revision "0"))
7558 (package
7559 (name "sbcl-stefil")
7560 (version (git-version "0.1" revision commit))
7561 (source
7562 (origin
7563 (method git-fetch)
7564 (uri (git-reference
7565 (url "https://gitlab.common-lisp.net/stefil/stefil.git")
7566 (commit commit)))
7567 (file-name (git-file-name name version))
7568 (sha256
7569 (base32
7570 "0bqz64q2szzhf91zyqyssmvrz7da6442rs01808pf3wrdq28bclh"))))
7571 (build-system asdf-build-system/sbcl)
7572 (inputs
7573 `(("alexandria" ,sbcl-alexandria)
7574 ("iterate" ,sbcl-iterate)
7575 ("metabang-bind" ,sbcl-metabang-bind)))
7576 (propagated-inputs
7577 ;; Swank doesn't have a pre-compiled package, therefore we must
7578 ;; propagate its sources.
7579 `(("swank" ,cl-slime-swank)))
7580 (arguments
7581 '(#:phases
7582 (modify-phases %standard-phases
7583 (add-after 'unpack 'drop-unnecessary-dependency
7584 (lambda _
7585 (substitute* "package.lisp"
7586 ((":stefil-system") ""))
7587 #t)))))
7588 (home-page "https://common-lisp.net/project/stefil/index-old.shtml")
7589 (synopsis "Simple test framework")
7590 (description
7591 "Stefil is a simple test framework for Common Lisp, with a focus on
7592interactive development.")
7593 (license license:public-domain))))
7594
7595(define-public cl-stefil
7596 (sbcl-package->cl-source-package sbcl-stefil))
7597
7598(define-public sbcl-graph
7599 (let ((commit "78bf9ec930d8eae4f0861b5be76765fb1e45e24f")
7600 (revision "0"))
7601 (package
7602 (name "sbcl-graph")
7603 (version (git-version "0.0.0" revision commit))
7604 (source
7605 (origin
7606 (method git-fetch)
7607 (uri
7608 (git-reference
7609 (url "https://github.com/eschulte/graph.git")
7610 (commit commit)))
7611 (file-name (git-file-name name version))
7612 (sha256
7613 (base32
7614 "1qpij4xh8bqwc2myahpilcbh916v7vg0acz2fij14d3y0jm02h0g"))
7615 (patches (search-patches "sbcl-graph-asdf-definitions.patch"))))
7616 (build-system asdf-build-system/sbcl)
7617 (native-inputs
7618 `(("stefil" ,sbcl-stefil)))
7619 (inputs
7620 `(("alexandria" ,sbcl-alexandria)
7621 ("cl-heap" ,sbcl-cl-heap)
7622 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7623 ("metabang-bind" ,sbcl-metabang-bind)
7624 ("named-readtables" ,sbcl-named-readtables)))
7625 (arguments
17c015c9 7626 '(#:test-asd-file "graph-test.asd"))
88f06fd0
PN
7627 (synopsis "Graph data structure and algorithms for Common Lisp")
7628 (description
7629 "The GRAPH Common Lisp library provides a data structures to represent
7630graphs, as well as some graph manipulation and analysis algorithms (shortest
7631path, maximum flow, minimum spanning tree, etc.).")
7632 (home-page "https://eschulte.github.io/graph/")
7633 (license license:gpl3+))))
7634
7635(define-public cl-graph
7636 (sbcl-package->cl-source-package sbcl-graph))
7637
7638(define-public sbcl-graph-dot
7639 (package
7640 (inherit sbcl-graph)
7641 (name "sbcl-graph-dot")
7642 (inputs
7643 `(("alexandria" ,sbcl-alexandria)
7644 ("cl-ppcre" ,sbcl-cl-ppcre)
7645 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7646 ("graph" ,sbcl-graph)
7647 ("metabang-bind" ,sbcl-metabang-bind)
7648 ("named-readtables" ,sbcl-named-readtables)))
7649 (arguments
7650 (substitute-keyword-arguments (package-arguments sbcl-graph)
17c015c9 7651 ((#:asd-file _ "") "graph-dot.asd")
88f06fd0
PN
7652 ((#:asd-system-name _ #f) "graph-dot")))
7653 (synopsis "Serialize graphs to and from DOT format")))
7654
7655(define-public sbcl-graph-json
7656 (package
7657 (inherit sbcl-graph)
7658 (name "sbcl-graph-json")
7659 (inputs
7660 `(("alexandria" ,sbcl-alexandria)
7661 ("curry-compose-reader-macros" ,sbcl-curry-compose-reader-macros)
7662 ("graph" ,sbcl-graph)
7663 ("metabang-bind" ,sbcl-metabang-bind)
7664 ("named-readtables" ,sbcl-named-readtables)
7665 ("yason" ,sbcl-yason)))
7666 (arguments
7667 (substitute-keyword-arguments (package-arguments sbcl-graph)
17c015c9 7668 ((#:asd-file _ "") "graph-json.asd")
88f06fd0
PN
7669 ((#:asd-system-name _ #f) "graph-json")))
7670 (synopsis "Serialize graphs to and from JSON format")))
3029b585
PN
7671
7672(define-public sbcl-trivial-indent
7673 (let ((commit "2d016941751647c6cc5bd471751c2cf68861c94a")
7674 (revision "0"))
7675 (package
7676 (name "sbcl-trivial-indent")
7677 (version (git-version "1.0.0" revision commit))
7678 (source
7679 (origin
7680 (method git-fetch)
7681 (uri
7682 (git-reference
7683 (url "https://github.com/Shinmera/trivial-indent")
7684 (commit commit)))
7685 (file-name (git-file-name name version))
7686 (sha256
7687 (base32
7688 "1sj90nqz17w4jq0ixz00gb9g5g6d2s7l8r17zdby27gxxh51w266"))))
7689 (build-system asdf-build-system/sbcl)
7690 (synopsis "Simple Common Lisp library to allow indentation hints for SWANK")
7691 (description
7692 "This library allows you to define custom indentation hints for your
7693macros if the one recognised by SLIME automatically produces unwanted
7694results.")
7695 (home-page "https://shinmera.github.io/trivial-indent/")
7696 (license license:zlib))))
7697
7698(define-public cl-trivial-indent
7699 (sbcl-package->cl-source-package sbcl-trivial-indent))
8dc5ff8f
PN
7700
7701(define-public sbcl-documentation-utils
7702 (let ((commit "98630dd5f7e36ae057fa09da3523f42ccb5d1f55")
7703 (revision "0"))
7704 (package
7705 (name "sbcl-documentation-utils")
7706 (version (git-version "1.2.0" revision commit))
7707 (source
7708 (origin
7709 (method git-fetch)
7710 (uri
7711 (git-reference
7712 (url "https://github.com/Shinmera/documentation-utils.git")
7713 (commit commit)))
7714 (file-name (git-file-name name version))
7715 (sha256
7716 (base32
7717 "098qhkqskmmrh4wix34mawf7p5c87yql28r51r75yjxj577k5idq"))))
7718 (build-system asdf-build-system/sbcl)
7719 (inputs
7720 `(("trivial-indent" ,sbcl-trivial-indent)))
7721 (synopsis "Few simple tools to document Common Lisp libraries")
7722 (description
7723 "This is a small library to help you with managing the Common Lisp
7724docstrings for your library.")
7725 (home-page "https://shinmera.github.io/documentation-utils/")
7726 (license license:zlib))))
7727
7728(define-public cl-documentation-utils
7729 (sbcl-package->cl-source-package sbcl-documentation-utils))
aa47c9e7 7730
281537f4
GLV
7731(define-public ecl-documentation-utils
7732 (sbcl-package->ecl-package sbcl-documentation-utils))
7733
aa47c9e7
PN
7734(define-public sbcl-form-fiddle
7735 (let ((commit "e0c23599dbb8cff3e83e012f3d86d0764188ad18")
7736 (revision "0"))
7737 (package
7738 (name "sbcl-form-fiddle")
7739 (version (git-version "1.1.0" revision commit))
7740 (source
7741 (origin
7742 (method git-fetch)
7743 (uri
7744 (git-reference
7745 (url "https://github.com/Shinmera/form-fiddle")
7746 (commit commit)))
7747 (file-name (git-file-name name version))
7748 (sha256
7749 (base32
7750 "041iznc9mpfyrl0sv5893ys9pbb2pvbn9g3clarqi7gsfj483jln"))))
7751 (build-system asdf-build-system/sbcl)
7752 (inputs
7753 `(("documentation-utils" ,sbcl-documentation-utils)))
7754 (synopsis "Utilities to destructure Common Lisp lambda forms")
7755 (description
7756 "Often times we need to destructure a form definition in a Common Lisp
7757macro. This library provides a set of simple utilities to help with that.")
7758 (home-page "https://shinmera.github.io/form-fiddle/")
7759 (license license:zlib))))
7760
7761(define-public cl-form-fiddle
7762 (sbcl-package->cl-source-package sbcl-form-fiddle))
e0786d13
PN
7763
7764(define-public sbcl-parachute
7765 (let ((commit "ca04dd8e43010a6dfffa26dbe1d62af86008d666")
7766 (revision "0"))
7767 (package
7768 (name "sbcl-parachute")
7769 (version (git-version "1.1.1" revision commit))
7770 (source
7771 (origin
7772 (method git-fetch)
7773 (uri
7774 (git-reference
7775 (url "https://github.com/Shinmera/parachute")
7776 (commit commit)))
7777 (file-name (git-file-name name version))
7778 (sha256
7779 (base32
7780 "1mvsm3r0r6a2bg75nw0q7n9vlby3ch45qjl7hnb5k1z2n5x5lh60"))))
7781 (build-system asdf-build-system/sbcl)
7782 (inputs
7783 `(("documentation-utils" ,sbcl-documentation-utils)
7784 ("form-fiddle" ,sbcl-form-fiddle)))
7785 (synopsis "Extensible and cross-compatible testing framework for Common Lisp")
7786 (description
7787 "Parachute is a simple-to-use and extensible testing framework.
7788In Parachute, things are organised as a bunch of named tests within a package.
7789Each test can contain a bunch of test forms that make up its body.")
7790 (home-page "https://shinmera.github.io/parachute/")
7791 (license license:zlib))))
7792
7793(define-public cl-parachute
7794 (sbcl-package->cl-source-package sbcl-parachute))
f5b1da68
PN
7795
7796(define-public sbcl-array-utils
7797 (let ((commit "f90eb9070d0b2205af51126a35033574725e5c56")
7798 (revision "0"))
7799 (package
7800 (name "sbcl-array-utils")
7801 (version (git-version "1.1.1" revision commit))
7802 (source
7803 (origin
7804 (method git-fetch)
7805 (uri
7806 (git-reference
7807 (url "https://github.com/Shinmera/array-utils")
7808 (commit commit)))
7809 (file-name (git-file-name name version))
7810 (sha256
7811 (base32
7812 "0zhwfbpr53vs1ii4sx75dz2k9yhh1xpwdqqpg8nmfndxkmhpbi3x"))))
7813 (build-system asdf-build-system/sbcl)
7814 (native-inputs
7815 `(("parachute" ,sbcl-parachute)))
7816 (inputs
7817 `(("documentation-utils" ,sbcl-documentation-utils)))
7818 (synopsis "Tiny collection of array and vector utilities for Common Lisp")
7819 (description
7820 "A miniature toolkit that contains some useful shifting/popping/pushing
7821functions for arrays and vectors. Originally from Plump.")
7822 (home-page "https://shinmera.github.io/array-utils/")
7823 (license license:zlib))))
7824
7825(define-public cl-array-utils
7826 (sbcl-package->cl-source-package sbcl-array-utils))
cbda07d4
PN
7827
7828(define-public sbcl-plump
7829 (let ((commit "16f1231bf706cfbc54d9e55a853ca945e4452a08")
7830 (revision "0"))
7831 (package
7832 (name "sbcl-plump")
7833 (version (git-version "2.0.0" revision commit))
7834 (source
7835 (origin
7836 (method git-fetch)
7837 (uri
7838 (git-reference
7839 (url "https://github.com/Shinmera/plump")
7840 (commit commit)))
7841 (file-name (git-file-name name version))
7842 (sha256
7843 (base32
7844 "0705k8pbip51v74rccgwscwph439f2pma9f915qf1h4bhjx999ip"))))
7845 (build-system asdf-build-system/sbcl)
7846 (inputs
7847 `(("array-utils" ,sbcl-array-utils)
7848 ("documentation-utils" ,sbcl-documentation-utils)))
7849 (synopsis "Lenient XML / XHTML / HTML parser for Common Lisp")
7850 (description
7851 "Plump is a parser for HTML/XML-like documents, focusing on being
7852lenient towards invalid markup. It can handle things like invalid attributes,
7853bad closing tag order, unencoded entities, inexistent tag types, self-closing
7854tags and so on. It parses documents to a class representation and offers a
7855small set of DOM functions to manipulate it. It can be extended to parse to
7856your own classes.")
7857 (home-page "https://shinmera.github.io/plump/")
7858 (license license:zlib))))
7859
7860(define-public cl-plump
7861 (sbcl-package->cl-source-package sbcl-plump))
20972e4e
KCB
7862
7863(define-public sbcl-antik-base
7864 (let ((commit "e4711a69b3d6bf37b5727af05c3cfd03e8428ba3")
7865 (revision "1"))
7866 (package
7867 (name "sbcl-antik-base")
7868 (version (git-version "0.0.0" revision commit))
7869 (source
7870 (origin
7871 (method git-fetch)
7872 (uri (git-reference
7873 (url "https://gitlab.common-lisp.net/antik/antik.git")
7874 (commit commit)))
7875 (file-name (git-file-name name version))
7876 (sha256
7877 (base32
7878 "047ga2c38par2xbgg4qx6hwv06qhf1c1f67as8xvir6s80lip1km"))))
7879 (build-system asdf-build-system/sbcl)
7880 (inputs
7881 `(("alexandria" ,sbcl-alexandria)
7882 ("cl-ppcre" ,sbcl-cl-ppcre)
7883 ("iterate" ,sbcl-iterate)
7884 ("metabang-bind" ,sbcl-metabang-bind)
7885 ("named-readtables" ,sbcl-named-readtables)
7886 ("split-sequence" ,sbcl-split-sequence)))
7887 (native-inputs
7888 `(("lisp-unit" ,sbcl-lisp-unit)))
7889 (synopsis "Scientific and engineering computation in Common Lisp")
7890 (description
7891 "Antik provides a foundation for scientific and engineering
7892computation in Common Lisp. It is designed not only to facilitate
7893numerical computations, but to permit the use of numerical computation
7894libraries and the interchange of data and procedures, whether
7895foreign (non-Lisp) or Lisp libraries. It is named after the
7896Antikythera mechanism, one of the oldest examples of a scientific
7897computer known.")
7898 (home-page "https://common-lisp.net/project/antik/")
7899 (license license:gpl3))))
7900
7901(define-public cl-antik-base
7902 (sbcl-package->cl-source-package sbcl-antik-base))
7903
7904(define-public ecl-antik-base
7905 (sbcl-package->ecl-package sbcl-antik-base))
29411ae4
KCB
7906
7907(define-public sbcl-foreign-array
7908 (package
7909 (inherit sbcl-antik-base)
7910 (name "sbcl-foreign-array")
7911 (arguments
7912 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7913 ((#:asd-file _ "") "foreign-array.asd")
7914 ((#:asd-system-name _ #f) "foreign-array")))
7915 (inputs
7916 `(("antik-base" ,sbcl-antik-base)
7917 ("cffi" ,sbcl-cffi)
7918 ("trivial-garbage" ,sbcl-trivial-garbage)
7919 ("static-vectors" ,sbcl-static-vectors)))
7920 (synopsis "Common Lisp library providing access to foreign arrays")))
7921
7922(define-public cl-foreign-array
7923 (sbcl-package->cl-source-package sbcl-foreign-array))
7924
7925(define-public ecl-foreign-array
7926 (sbcl-package->ecl-package sbcl-foreign-array))
f67e34db
KCB
7927
7928(define-public sbcl-physical-dimension
7929 (package
7930 (inherit sbcl-antik-base)
7931 (name "sbcl-physical-dimension")
7932 (inputs
7933 `(("fare-utils" ,sbcl-fare-utils)
7934 ("foreign-array" ,sbcl-foreign-array)
7935 ("trivial-utf-8" ,sbcl-trivial-utf-8)))
7936 (arguments
7937 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7938 ((#:asd-file _ "") "physical-dimension.asd")
7939 ((#:asd-system-name _ #f) "physical-dimension")))
7940 (synopsis
7941 "Common Lisp library providing computations with physical units")))
7942
7943(define-public cl-physical-dimension
7944 (sbcl-package->cl-source-package sbcl-physical-dimension))
812d0618
KCB
7945
7946(define-public sbcl-science-data
7947 (package
7948 (inherit sbcl-antik-base)
7949 (name "sbcl-science-data")
7950 (inputs
7951 `(("physical-dimension" ,sbcl-physical-dimension)
7952 ("drakma" ,sbcl-drakma)))
7953 (arguments
7954 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
7955 ((#:asd-file _ "") "science-data.asd")
7956 ((#:asd-system-name _ #f) "science-data")))
7957 (synopsis
7958 "Common Lisp library for scientific and engineering numerical data")))
7959
7960(define-public cl-science-data
7961 (sbcl-package->cl-source-package sbcl-science-data))
064dbb71
KCB
7962
7963(define-public sbcl-gsll
7964 (let ((commit "1a8ada22f9cf5ed7372d352b2317f4ccdb6ab308")
7965 (revision "1"))
7966 (package
7967 (name "sbcl-gsll")
7968 (version (git-version "0.0.0" revision commit))
7969 (source
7970 (origin
7971 (method git-fetch)
7972 (uri (git-reference
7973 (url "https://gitlab.common-lisp.net/antik/gsll.git")
7974 (commit commit)))
7975 (file-name (git-file-name name version))
7976 (sha256
7977 (base32
7978 "0z5nypfk26hxihb08p085644afawicrgb4xvadh3lmrn46qbjfn4"))))
7979 (build-system asdf-build-system/sbcl)
7980 (native-inputs
7981 `(("lisp-unit" ,sbcl-lisp-unit)))
7982 (inputs
7983 `(("alexandria" ,sbcl-alexandria)
7984 ("cffi-grovel" ,sbcl-cffi-grovel)
7985 ("cffi-libffi" ,sbcl-cffi-libffi)
7986 ("foreign-array" ,sbcl-foreign-array)
7987 ("gsl" ,gsl)
7988 ("metabang-bind" ,sbcl-metabang-bind)
7989 ("trivial-features" ,sbcl-trivial-features)
7990 ("trivial-garbage" ,sbcl-trivial-garbage)))
7991 (arguments
7992 `(#:tests? #f
7993 #:phases
7994 (modify-phases %standard-phases
7995 (add-after 'unpack 'fix-cffi-paths
7996 (lambda* (#:key inputs #:allow-other-keys)
7997 (substitute* "gsll.asd"
7998 ((":depends-on \\(#:foreign-array")
7999 ":depends-on (#:foreign-array #:cffi-libffi"))
8000 (substitute* "init/init.lisp"
8001 (("libgslcblas.so" all)
8002 (string-append
8003 (assoc-ref inputs "gsl") "/lib/" all)))
8004 (substitute* "init/init.lisp"
8005 (("libgsl.so" all)
8006 (string-append
8007 (assoc-ref inputs "gsl") "/lib/" all))))))))
8008 (synopsis "GNU Scientific Library for Lisp")
8009 (description
8010 "The GNU Scientific Library for Lisp (GSLL) allows the use of the
8011GNU Scientific Library (GSL) from Common Lisp. This library provides a
8012full range of common mathematical operations useful to scientific and
8013engineering applications. The design of the GSLL interface is such
8014that access to most of the GSL library is possible in a Lisp-natural
8015way; the intent is that the user not be hampered by the restrictions
8016of the C language in which GSL has been written. GSLL thus provides
8017interactive use of GSL for getting quick answers, even for someone not
8018intending to program in Lisp.")
8019 (home-page "https://common-lisp.net/project/gsll/")
8020 (license license:gpl3))))
8021
8022(define-public cl-gsll
8023 (sbcl-package->cl-source-package sbcl-gsll))
f1faf1ca
KCB
8024
8025(define-public sbcl-antik
8026 (package
8027 (inherit sbcl-antik-base)
8028 (name "sbcl-antik")
8029 (inputs
8030 `(("gsll" ,sbcl-gsll)
8031 ("physical-dimension" ,sbcl-physical-dimension)))
8032 (arguments
8033 (substitute-keyword-arguments (package-arguments sbcl-antik-base)
8034 ((#:asd-file _ "") "antik.asd")
8035 ((#:asd-system-name _ #f) "antik")))))
8036
8037(define-public cl-antik
8038 (sbcl-package->cl-source-package sbcl-antik))
7b0bb0d1
KCB
8039
8040(define-public sbcl-cl-interpol
8041 (let ((commit "1fd288d861db85bc4677cff3cdd6af75fda1afb4")
8042 (revision "1"))
8043 (package
8044 (name "sbcl-cl-interpol")
8045 (version (git-version "0.2.6" revision commit))
8046 (source
8047 (origin
8048 (method git-fetch)
8049 (uri (git-reference
8050 (url "https://github.com/edicl/cl-interpol.git")
8051 (commit commit)))
8052 (file-name (git-file-name name version))
8053 (sha256
8054 (base32
8055 "1hnikak52hmcq1r5f616m6qq1108qnkw80pja950nv1fq5p0ppjn"))))
8056 (build-system asdf-build-system/sbcl)
8057 (inputs
8058 `(("cl-unicode" ,sbcl-cl-unicode)
8059 ("named-readtables" ,sbcl-named-readtables)))
8060 (native-inputs
8061 `(("flexi-streams" ,sbcl-flexi-streams)))
8062 (synopsis "String interpolation for Common Lisp")
8063 (description
8064 "CL-INTERPOL is a library for Common Lisp which modifies the
8065reader so that you can have interpolation within strings similar to
8066Perl or Unix Shell scripts. It also provides various ways to insert
8067arbitrary characters into literal strings even if your editor/IDE
8068doesn't support them.")
8069 (home-page "https://edicl.github.io/cl-interpol/")
8070 (license license:bsd-3))))
8071
8072(define-public cl-interpol
8073 (sbcl-package->cl-source-package sbcl-cl-interpol))
8074
8075(define-public ecl-cl-interpol
8076 (sbcl-package->ecl-package sbcl-cl-interpol))
14ef7a92
KCB
8077
8078(define sbcl-symbol-munger-boot0
8079 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
8080 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
8081 (let ((commit "cc2bb4b7acd454d756484aec81ba487648385fc3")
8082 (revision "1"))
8083 (package
8084 (name "sbcl-symbol-munger-boot0")
8085 (version (git-version "0.0.1" revision commit))
8086 (source
8087 (origin
8088 (method git-fetch)
8089 (uri (git-reference
8090 (url "https://github.com/AccelerationNet/symbol-munger.git")
8091 (commit commit)))
8092 (file-name (git-file-name name version))
8093 (sha256
8094 (base32
8095 "0diav5ricqsybqvbp4bkxyj3bn3v9n7xb2pqqc4vg1algsw2pyjl"))))
8096 (build-system asdf-build-system/sbcl)
8097 (arguments
8098 `(#:asd-file "symbol-munger.asd"
8099 #:asd-system-name "symbol-munger"))
8100 (inputs
8101 `(("iterate" ,sbcl-iterate)
8102 ("alexandria" ,sbcl-alexandria)))
8103 (native-inputs
8104 `(("lisp-unit" ,sbcl-lisp-unit)))
8105 (synopsis
8106 "Capitalization and spacing conversion functions for Common Lisp")
8107 (description
8108 "This is a Common Lisp library to change the capitalization and spacing
8109of a string or a symbol. It can convert to and from Lisp, english, underscore
8110and camel-case rules.")
8111 (home-page "https://github.com/AccelerationNet/symbol-munger")
8112 ;; The package declares a BSD license, but all of the license
8113 ;; text is MIT.
8114 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
8115 (license license:expat))))
8116
8117(define sbcl-lisp-unit2-boot0
8118 ;; There is a cyclical dependency between symbol-munger and lisp-unit2.
8119 ;; See https://github.com/AccelerationNet/symbol-munger/issues/4
8120 (let ((commit "fb9721524d1e4e73abb223ee036d74ce14a5505c")
8121 (revision "1"))
8122 (package
8123 (name "sbcl-lisp-unit2-boot0")
8124 (version (git-version "0.2.0" revision commit))
8125 (source
8126 (origin
8127 (method git-fetch)
8128 (uri (git-reference
8129 (url "https://github.com/AccelerationNet/lisp-unit2.git")
8130 (commit commit)))
8131 (file-name (git-file-name name version))
8132 (sha256
8133 (base32
8134 "1rsqy8y0jqll6xn9a593848f5wvd5ribv4csry1ly0hmdhfnqzlp"))))
8135 (build-system asdf-build-system/sbcl)
8136 (arguments
8137 `(#:asd-file "lisp-unit2.asd"
8138 #:asd-system-name "lisp-unit2"))
8139 (inputs
8140 `(("alexandria" ,sbcl-alexandria)
8141 ("cl-interpol" ,sbcl-cl-interpol)
8142 ("iterate" ,sbcl-iterate)
8143 ("symbol-munger-boot0" ,sbcl-symbol-munger-boot0)))
8144 (synopsis "Test Framework for Common Lisp")
8145 (description
8146 "LISP-UNIT2 is a Common Lisp library that supports unit testing in the
8147style of JUnit for Java. It is a new version of the lisp-unit library written
8148by Chris Riesbeck.")
8149 (home-page "https://github.com/AccelerationNet/lisp-unit2")
8150 (license license:expat))))
edfa2261
KCB
8151
8152(define-public sbcl-symbol-munger
8153 (let ((commit "97598d4c3c53fd5da72ab78908fbd5d8c7a13416")
8154 (revision "1"))
8155 (package
8156 (name "sbcl-symbol-munger")
8157 (version (git-version "0.0.1" revision commit))
8158 (source
8159 (origin
8160 (method git-fetch)
8161 (uri (git-reference
8162 (url "https://github.com/AccelerationNet/symbol-munger.git")
8163 (commit commit)))
8164 (file-name (git-file-name name version))
8165 (sha256
8166 (base32
8167 "0y8jywjy0ldyhp7bxf16fdvdd2qgqnd7nlhlqfpfnzxcqk4xy1km"))))
8168 (build-system asdf-build-system/sbcl)
8169 (inputs
8170 `(("alexandria" ,sbcl-alexandria)
8171 ("iterate" ,sbcl-iterate)))
8172 (native-inputs
8173 `(("lisp-unit2-boot0" ,sbcl-lisp-unit2-boot0)))
8174 (synopsis
8175 "Capitalization and spacing conversion functions for Common Lisp")
8176 (description
8177 "This is a Common Lisp library to change the capitalization and spacing
8178of a string or a symbol. It can convert to and from Lisp, english, underscore
8179and camel-case rules.")
8180 (home-page "https://github.com/AccelerationNet/symbol-munger")
8181 ;; The package declares a BSD license, but all of the license
8182 ;; text is MIT.
8183 ;; See https://github.com/AccelerationNet/symbol-munger/issues/5
8184 (license license:expat))))
8185
8186(define-public cl-symbol-munger
8187 (sbcl-package->cl-source-package sbcl-symbol-munger))
8188
8189(define-public ecl-symbol-munger
8190 (sbcl-package->ecl-package sbcl-symbol-munger))
b97dbb64
KCB
8191
8192(define-public sbcl-lisp-unit2
8193 (package
8194 (inherit sbcl-lisp-unit2-boot0)
8195 (name "sbcl-lisp-unit2")
8196 (inputs
8197 `(("alexandria" ,sbcl-alexandria)
8198 ("cl-interpol" ,sbcl-cl-interpol)
8199 ("iterate" ,sbcl-iterate)
8200 ("symbol-munger" ,sbcl-symbol-munger)))))
8201
8202(define-public cl-lisp-unit2
8203 (sbcl-package->cl-source-package sbcl-lisp-unit2))
8204
8205(define-public ecl-lisp-unit2
8206 (sbcl-package->ecl-package sbcl-lisp-unit2))
f4448e43
KCB
8207
8208(define-public sbcl-cl-csv
8209 (let ((commit "3eba29c8364b033fbe0d189c2500559278b6a362")
8210 (revision "1"))
8211 (package
8212 (name "sbcl-cl-csv")
8213 (version (git-version "1.0.6" revision commit))
8214 (source
8215 (origin
8216 (method git-fetch)
8217 (uri (git-reference
8218 (url "https://github.com/AccelerationNet/cl-csv.git")
8219 (commit commit)))
8220 (file-name (git-file-name name version))
8221 (sha256
8222 (base32
8223 "07h4ni89jzx93clx453hlnnb5g53hhlcmz5hghqv6ysam48lc8g6"))))
8224 (build-system asdf-build-system/sbcl)
8225 (arguments
8226 ;; See: https://github.com/AccelerationNet/cl-csv/pull/34
8227 `(#:tests? #f))
8228 (inputs
8229 `(("alexandria" ,sbcl-alexandria)
8230 ("cl-interpol" ,sbcl-cl-interpol)
8231 ("iterate" ,sbcl-iterate)))
8232 (native-inputs
8233 `(("lisp-unit2" ,sbcl-lisp-unit2)))
8234 (synopsis "Common lisp library for comma-separated values")
8235 (description
8236 "This is a Common Lisp library providing functions to read/write CSV
8237from/to strings, streams and files.")
8238 (home-page "https://github.com/AccelerationNet/cl-csv")
8239 (license license:bsd-3))))
8240
8241(define-public cl-csv
8242 (sbcl-package->cl-source-package sbcl-cl-csv))
8243
8244(define-public ecl-cl-csv
8245 (sbcl-package->ecl-package sbcl-cl-csv))
6f0c2c95
KCB
8246
8247(define-public sbcl-external-program
8248 (let ((commit "5888b8f1fd3953feeeacecbba4384ddda584a749")
8249 (revision "1"))
8250 (package
8251 (name "sbcl-external-program")
8252 (version (git-version "0.0.6" revision commit))
8253 (source
8254 (origin
8255 (method git-fetch)
8256 (uri (git-reference
8257 (url "https://github.com/sellout/external-program.git")
8258 (commit commit)))
8259 (file-name (git-file-name name version))
8260 (sha256
8261 (base32
8262 "0vww1x3yilb3bjwg6k184vaj4vxyxw4vralhnlm6lk4xac67kc9z"))))
8263 (build-system asdf-build-system/sbcl)
8264 (inputs
8265 `(("trivial-features" ,sbcl-trivial-features)))
8266 (native-inputs
8267 `(("fiveam" ,sbcl-fiveam)))
8268 (synopsis "Common Lisp library for running external programs")
8269 (description
8270 "EXTERNAL-PROGRAM enables running programs outside the Lisp
8271process. It is an attempt to make the RUN-PROGRAM functionality in
8272implementations like SBCL and CCL as portable as possible without
8273sacrificing much in the way of power.")
8274 (home-page "https://github.com/sellout/external-program")
8275 (license license:llgpl))))
8276
8277(define-public cl-external-program
8278 (sbcl-package->cl-source-package sbcl-external-program))
8279
8280(define-public ecl-external-program
8281 (sbcl-package->ecl-package sbcl-external-program))
710a2815
KCB
8282
8283(define sbcl-cl-ana-boot0
8284 (let ((commit "fa7cee4c50aa1c859652813049ba0da7c18a0df9")
8285 (revision "1"))
8286 (package
8287 (name "sbcl-cl-ana-boot0")
8288 (version (git-version "0.0.0" revision commit))
8289 (source
8290 (origin
8291 (method git-fetch)
8292 (uri (git-reference
8293 (url "https://github.com/ghollisjr/cl-ana.git")
8294 (commit commit)))
8295 (file-name (git-file-name name version))
8296 (sha256
8297 (base32
8298 "0mr47l57m276dbpap7irr4fcnk5fgknhf6mgv4043s8h73amk5qh"))))
8299 (build-system asdf-build-system/sbcl)
8300 (synopsis "Common Lisp data analysis library")
8301 (description
8302 "CL-ANA is a data analysis library in Common Lisp providing tabular and
8303binned data analysis along with nonlinear least squares fitting and
8304visualization.")
8305 (home-page "https://github.com/ghollisjr/cl-ana")
8306 (license license:gpl3))))
8307
8308(define-public sbcl-cl-ana.pathname-utils
8309 (package
8310 (inherit sbcl-cl-ana-boot0)
8311 (name "sbcl-cl-ana.pathname-utils")
8312 (arguments
8313 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8314 ((#:asd-file _ "") "pathname-utils/cl-ana.pathname-utils.asd")
8315 ((#:asd-system-name _ #f) "cl-ana.pathname-utils")))))
8316
8317(define-public cl-ana.pathname-utils
8318 (sbcl-package->cl-source-package sbcl-cl-ana.pathname-utils))
8319
8320(define-public ecl-cl-ana.pathname-utils
8321 (sbcl-package->ecl-package sbcl-cl-ana.pathname-utils))
dc60235b
KCB
8322
8323(define-public sbcl-cl-ana.package-utils
8324 (package
8325 (inherit sbcl-cl-ana-boot0)
8326 (name "sbcl-cl-ana.package-utils")
8327 (inputs
8328 `(("alexandria" ,sbcl-alexandria)))
8329 (arguments
8330 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8331 ((#:asd-file _ "") "package-utils/cl-ana.package-utils.asd")
8332 ((#:asd-system-name _ #f) "cl-ana.package-utils")))))
8333
8334(define-public cl-ana.package-utils
8335 (sbcl-package->cl-source-package sbcl-cl-ana.package-utils))
8336
8337(define-public ecl-cl-ana.package-utils
8338 (sbcl-package->ecl-package sbcl-cl-ana.package-utils))
d9d3a1a8
KCB
8339
8340(define-public sbcl-cl-ana.string-utils
8341 (package
8342 (inherit sbcl-cl-ana-boot0)
8343 (name "sbcl-cl-ana.string-utils")
8344 (inputs
8345 `(("split-sequence" ,sbcl-split-sequence)))
8346 (arguments
8347 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8348 ((#:asd-file _ "") "string-utils/cl-ana.string-utils.asd")
8349 ((#:asd-system-name _ #f) "cl-ana.string-utils")))))
8350
8351(define-public cl-ana.string-utils
8352 (sbcl-package->cl-source-package sbcl-cl-ana.string-utils))
8353
8354(define-public ecl-cl-ana.string-utils
8355 (sbcl-package->ecl-package sbcl-cl-ana.string-utils))
927895d7
KCB
8356
8357(define-public sbcl-cl-ana.functional-utils
8358 (package
8359 (inherit sbcl-cl-ana-boot0)
8360 (name "sbcl-cl-ana.functional-utils")
8361 (arguments
8362 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8363 ((#:asd-file _ "") "functional-utils/cl-ana.functional-utils.asd")
8364 ((#:asd-system-name _ #f) "cl-ana.functional-utils")))))
8365
8366(define-public cl-ana.functional-utils
8367 (sbcl-package->cl-source-package sbcl-cl-ana.functional-utils))
8368
8369(define-public ecl-cl-ana.functional-utils
8370 (sbcl-package->ecl-package sbcl-cl-ana.functional-utils))
ea988c3b
KCB
8371
8372(define-public sbcl-cl-ana.list-utils
8373 (package
8374 (inherit sbcl-cl-ana-boot0)
8375 (name "sbcl-cl-ana.list-utils")
8376 (inputs
8377 `(("alexandria" ,sbcl-alexandria)
8378 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8379 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)))
8380 (arguments
8381 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8382 ((#:asd-file _ "") "list-utils/cl-ana.list-utils.asd")
8383 ((#:asd-system-name _ #f) "cl-ana.list-utils")))))
8384
8385(define-public cl-ana.list-utils
8386 (sbcl-package->cl-source-package sbcl-cl-ana.list-utils))
8387
8388(define-public ecl-cl-ana.list-utils
8389 (sbcl-package->ecl-package sbcl-cl-ana.list-utils))
35b5ca24
KCB
8390
8391(define-public sbcl-cl-ana.generic-math
8392 (package
8393 (inherit sbcl-cl-ana-boot0)
8394 (name "sbcl-cl-ana.generic-math")
8395 (inputs
8396 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8397 ("cl-ana.package-utils" ,sbcl-cl-ana.package-utils)))
8398 (arguments
8399 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8400 ((#:asd-file _ "") "generic-math/cl-ana.generic-math.asd")
8401 ((#:asd-system-name _ #f) "cl-ana.generic-math")))))
8402
8403(define-public cl-ana.generic-math
8404 (sbcl-package->cl-source-package sbcl-cl-ana.generic-math))
8405
8406(define-public ecl-cl-ana.generic-math
8407 (sbcl-package->ecl-package sbcl-cl-ana.generic-math))
6d69c5b4
KCB
8408
8409(define-public sbcl-cl-ana.math-functions
8410 (package
8411 (inherit sbcl-cl-ana-boot0)
8412 (name "sbcl-cl-ana.math-functions")
8413 (inputs
8414 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8415 ("gsll" ,sbcl-gsll)))
8416 (arguments
8417 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8418 ((#:asd-file _ "") "math-functions/cl-ana.math-functions.asd")
8419 ((#:asd-system-name _ #f) "cl-ana.math-functions")))))
8420
8421(define-public cl-ana.math-functions
8422 (sbcl-package->cl-source-package sbcl-cl-ana.math-functions))
39ba698b
KCB
8423
8424(define-public sbcl-cl-ana.calculus
8425 (package
8426 (inherit sbcl-cl-ana-boot0)
8427 (name "sbcl-cl-ana.calculus")
8428 (inputs
8429 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)))
8430 (arguments
8431 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8432 ((#:asd-file _ "") "calculus/cl-ana.calculus.asd")
8433 ((#:asd-system-name _ #f) "cl-ana.calculus")))))
8434
8435(define-public cl-ana.calculus
8436 (sbcl-package->cl-source-package sbcl-cl-ana.calculus))
8437
8438(define-public ecl-cl-ana.calculus
8439 (sbcl-package->ecl-package sbcl-cl-ana.calculus))
ad09a96a
KCB
8440
8441(define-public sbcl-cl-ana.symbol-utils
8442 (package
8443 (inherit sbcl-cl-ana-boot0)
8444 (name "sbcl-cl-ana.symbol-utils")
8445 (inputs
8446 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)))
8447 (arguments
8448 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8449 ((#:asd-file _ "") "symbol-utils/cl-ana.symbol-utils.asd")
8450 ((#:asd-system-name _ #f) "cl-ana.symbol-utils")))))
8451
8452(define-public cl-ana.symbol-utils
8453 (sbcl-package->cl-source-package sbcl-cl-ana.symbol-utils))
8454
8455(define-public ecl-cl-ana.symbol-utils
8456 (sbcl-package->ecl-package sbcl-cl-ana.symbol-utils))
141d96e1
KCB
8457
8458(define-public sbcl-cl-ana.macro-utils
8459 (package
8460 (inherit sbcl-cl-ana-boot0)
8461 (name "sbcl-cl-ana.macro-utils")
8462 (inputs
8463 `(("alexandria" ,sbcl-alexandria)
8464 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8465 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8466 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8467 ("split-sequence" ,sbcl-split-sequence)))
8468 (arguments
8469 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8470 ((#:asd-file _ "") "macro-utils/cl-ana.macro-utils.asd")
8471 ((#:asd-system-name _ #f) "cl-ana.macro-utils")))))
8472
8473(define-public cl-ana.macro-utils
8474 (sbcl-package->cl-source-package sbcl-cl-ana.macro-utils))
8475
8476(define-public ecl-cl-ana.macro-utils
8477 (sbcl-package->ecl-package sbcl-cl-ana.macro-utils))
7468ca3c
KCB
8478
8479(define-public sbcl-cl-ana.binary-tree
8480 (package
8481 (inherit sbcl-cl-ana-boot0)
8482 (name "sbcl-cl-ana.binary-tree")
8483 (inputs
8484 `(("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8485 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8486 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)))
8487 (arguments
8488 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8489 ((#:asd-file _ "") "binary-tree/cl-ana.binary-tree.asd")
8490 ((#:asd-system-name _ #f) "cl-ana.binary-tree")))))
8491
8492(define-public cl-ana.binary-tree
8493 (sbcl-package->cl-source-package sbcl-cl-ana.binary-tree))
8494
8495(define-public ecl-cl-ana.binary-tree
8496 (sbcl-package->ecl-package sbcl-cl-ana.binary-tree))
f69f0235
KCB
8497
8498(define-public sbcl-cl-ana.tensor
8499 (package
8500 (inherit sbcl-cl-ana-boot0)
8501 (name "sbcl-cl-ana.tensor")
8502 (inputs
8503 `(("alexandria" ,sbcl-alexandria)
8504 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8505 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8506 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8507 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8508 (arguments
8509 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8510 ((#:asd-file _ "") "tensor/cl-ana.tensor.asd")
8511 ((#:asd-system-name _ #f) "cl-ana.tensor")))))
8512
8513(define-public cl-ana.tensor
8514 (sbcl-package->cl-source-package sbcl-cl-ana.tensor))
8515
8516(define-public ecl-cl-ana.tensor
8517 (sbcl-package->ecl-package sbcl-cl-ana.tensor))
87e58e2b
KCB
8518
8519(define-public sbcl-cl-ana.error-propogation
8520 (package
8521 (inherit sbcl-cl-ana-boot0)
8522 (name "sbcl-cl-ana.error-propogation")
8523 (inputs
8524 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8525 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)))
8526 (arguments
8527 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8528 ((#:asd-file _ "") "error-propogation/cl-ana.error-propogation.asd")
8529 ((#:asd-system-name _ #f) "cl-ana.error-propogation")))))
8530
8531(define-public cl-ana.error-propogation
8532 (sbcl-package->cl-source-package sbcl-cl-ana.error-propogation))
a2aeef61
KCB
8533
8534(define-public sbcl-cl-ana.quantity
8535 (package
8536 (inherit sbcl-cl-ana-boot0)
8537 (name "sbcl-cl-ana.quantity")
8538 (inputs
8539 `(("alexandria" ,sbcl-alexandria)
8540 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8541 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8542 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8543 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8544 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8545 (arguments
8546 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8547 ((#:asd-file _ "") "quantity/cl-ana.quantity.asd")
8548 ((#:asd-system-name _ #f) "cl-ana.quantity")))))
8549
8550(define-public cl-ana.quantity
8551 (sbcl-package->cl-source-package sbcl-cl-ana.quantity))
fc029fe3
KCB
8552
8553(define-public sbcl-cl-ana.table
8554 (package
8555 (inherit sbcl-cl-ana-boot0)
8556 (name "sbcl-cl-ana.table")
8557 (inputs
8558 `(("alexandria" ,sbcl-alexandria)
8559 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8560 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8561 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8562 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8563 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)))
8564 (arguments
8565 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8566 ((#:asd-file _ "") "table/cl-ana.table.asd")
8567 ((#:asd-system-name _ #f) "cl-ana.table")))))
8568
8569(define-public cl-ana.table
8570 (sbcl-package->cl-source-package sbcl-cl-ana.table))
8571
8572(define-public ecl-cl-ana.table
8573 (sbcl-package->ecl-package sbcl-cl-ana.table))
eac5d1dd
KCB
8574
8575(define-public sbcl-cl-ana.table-utils
8576 (package
8577 (inherit sbcl-cl-ana-boot0)
8578 (name "sbcl-cl-ana.table-utils")
8579 (inputs
8580 `(("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8581 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8582 ("cl-ana.table" ,sbcl-cl-ana.table)))
8583 (arguments
8584 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8585 ((#:asd-file _ "") "table-utils/cl-ana.table-utils.asd")
8586 ((#:asd-system-name _ #f) "cl-ana.table-utils")))))
8587
8588(define-public cl-ana.table-utils
8589 (sbcl-package->cl-source-package sbcl-cl-ana.table-utils))
8590
8591(define-public ecl-cl-ana.table-utils
8592 (sbcl-package->ecl-package sbcl-cl-ana.table-utils))
769015b9
KCB
8593
8594(define-public sbcl-cl-ana.hdf-cffi
8595 (package
8596 (inherit sbcl-cl-ana-boot0)
8597 (name "sbcl-cl-ana.hdf-cffi")
8598 (inputs
8599 `(("cffi" ,sbcl-cffi)
8600 ("hdf5" ,hdf5-parallel-openmpi)))
8601 (arguments
8602 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8603 ((#:asd-file _ "") "hdf-cffi/cl-ana.hdf-cffi.asd")
8604 ((#:asd-system-name _ #f) "cl-ana.hdf-cffi")
8605 ((#:phases phases '%standard-phases)
8606 `(modify-phases ,phases
8607 (add-after 'unpack 'fix-paths
8608 (lambda* (#:key inputs #:allow-other-keys)
8609 (substitute* "hdf-cffi/hdf-cffi.lisp"
8610 (("/usr/lib/i386-linux-gnu/hdf5/serial/libhdf5.so")
8611 (string-append
8612 (assoc-ref inputs "hdf5")
8613 "/lib/libhdf5.so")))))))))))
8614
8615(define-public cl-ana.hdf-cffi
8616 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-cffi))
8617
8618(define-public ecl-cl-ana.hdf-cffi
8619 (sbcl-package->ecl-package sbcl-cl-ana.hdf-cffi))
e073d695
KCB
8620
8621(define-public sbcl-cl-ana.int-char
8622 (package
8623 (inherit sbcl-cl-ana-boot0)
8624 (name "sbcl-cl-ana.int-char")
8625 (arguments
8626 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8627 ((#:asd-file _ "") "int-char/cl-ana.int-char.asd")
8628 ((#:asd-system-name _ #f) "cl-ana.int-char")))))
8629
8630(define-public cl-ana.int-char
8631 (sbcl-package->cl-source-package sbcl-cl-ana.int-char))
8632
8633(define-public ecl-cl-ana.int-char
8634 (sbcl-package->ecl-package sbcl-cl-ana.int-char))
011cf6f5
KCB
8635
8636(define-public sbcl-cl-ana.memoization
8637 (package
8638 (inherit sbcl-cl-ana-boot0)
8639 (name "sbcl-cl-ana.memoization")
8640 (inputs
8641 `(("alexandria" ,sbcl-alexandria)))
8642 (arguments
8643 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8644 ((#:asd-file _ "") "memoization/cl-ana.memoization.asd")
8645 ((#:asd-system-name _ #f) "cl-ana.memoization")))))
8646
8647(define-public cl-ana.memoization
8648 (sbcl-package->cl-source-package sbcl-cl-ana.memoization))
8649
8650(define-public ecl-cl-ana.memoization
8651 (sbcl-package->ecl-package sbcl-cl-ana.memoization))
bc9e1dd2
KCB
8652
8653(define-public sbcl-cl-ana.typespec
8654 (package
8655 (inherit sbcl-cl-ana-boot0)
8656 (name "sbcl-cl-ana.typespec")
8657 (inputs
8658 `(("alexandria" ,sbcl-alexandria)
8659 ("cffi" ,sbcl-cffi)
8660 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
8661 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8662 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8663 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8664 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8665 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)))
8666 (arguments
8667 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8668 ((#:asd-file _ "") "typespec/cl-ana.typespec.asd")
8669 ((#:asd-system-name _ #f) "cl-ana.typespec")))))
8670
8671(define-public cl-ana.typespec
8672 (sbcl-package->cl-source-package sbcl-cl-ana.typespec))
8673
8674(define-public ecl-cl-ana.typespec
8675 (sbcl-package->ecl-package sbcl-cl-ana.typespec))
46519981
KCB
8676
8677(define-public sbcl-cl-ana.hdf-typespec
8678 (package
8679 (inherit sbcl-cl-ana-boot0)
8680 (name "sbcl-cl-ana.hdf-typespec")
8681 (inputs
8682 `(("alexandria" ,sbcl-alexandria)
8683 ("cffi" ,sbcl-cffi)
8684 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8685 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8686 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8687 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8688 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8689 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8690 (arguments
8691 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8692 ((#:asd-file _ "") "hdf-typespec/cl-ana.hdf-typespec.asd")
8693 ((#:asd-system-name _ #f) "cl-ana.hdf-typespec")))))
8694
8695(define-public cl-ana.hdf-typespec
8696 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-typespec))
8697
8698(define-public ecl-cl-ana.hdf-typespec
8699 (sbcl-package->ecl-package sbcl-cl-ana.hdf-typespec))
05216cf7
KCB
8700
8701(define-public sbcl-cl-ana.hdf-utils
8702 (package
8703 (inherit sbcl-cl-ana-boot0)
8704 (name "sbcl-cl-ana.hdf-utils")
8705 (inputs
8706 `(("alexandria" ,sbcl-alexandria)
8707 ("cffi" ,sbcl-cffi)
8708 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8709 ("cl-ana.hdf-typespec" ,sbcl-cl-ana.hdf-typespec)
8710 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8711 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8712 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
8713 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8714 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8715 (arguments
8716 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8717 ((#:asd-file _ "") "hdf-utils/cl-ana.hdf-utils.asd")
8718 ((#:asd-system-name _ #f) "cl-ana.hdf-utils")))))
8719
8720(define-public cl-ana.hdf-utils
8721 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-utils))
8722
8723(define-public ecl-cl-ana.hdf-utils
8724 (sbcl-package->ecl-package sbcl-cl-ana.hdf-utils))
82900285
KCB
8725
8726(define-public sbcl-cl-ana.typed-table
8727 (package
8728 (inherit sbcl-cl-ana-boot0)
8729 (name "sbcl-cl-ana.typed-table")
8730 (inputs
8731 `(("alexandria" ,sbcl-alexandria)
8732 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8733 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
8734 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8735 ("cl-ana.table" ,sbcl-cl-ana.table)
8736 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8737 (arguments
8738 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8739 ((#:asd-file _ "") "typed-table/cl-ana.typed-table.asd")
8740 ((#:asd-system-name _ #f) "cl-ana.typed-table")))))
8741
8742(define-public cl-ana.typed-table
8743 (sbcl-package->cl-source-package sbcl-cl-ana.typed-table))
8744
8745(define-public ecl-cl-ana.typed-table
8746 (sbcl-package->ecl-package sbcl-cl-ana.typed-table))
8e2c140c
KCB
8747
8748(define-public sbcl-cl-ana.hdf-table
8749 (package
8750 (inherit sbcl-cl-ana-boot0)
8751 (name "sbcl-cl-ana.hdf-table")
8752 (inputs
8753 `(("alexandria" ,sbcl-alexandria)
8754 ("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
8755 ("cl-ana.hdf-cffi" ,sbcl-cl-ana.hdf-cffi)
8756 ("cl-ana.hdf-typespec" ,sbcl-cl-ana.hdf-typespec)
8757 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
8758 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8759 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
8760 ("cl-ana.table" ,sbcl-cl-ana.table)
8761 ("cl-ana.typed-table" ,sbcl-cl-ana.typed-table)
8762 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
8763 (arguments
8764 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8765 ((#:asd-file _ "") "hdf-table/cl-ana.hdf-table.asd")
8766 ((#:asd-system-name _ #f) "cl-ana.hdf-table")))))
8767
8768(define-public cl-ana.hdf-table
8769 (sbcl-package->cl-source-package sbcl-cl-ana.hdf-table))
8770
8771(define-public ecl-cl-ana.hdf-table
8772 (sbcl-package->ecl-package sbcl-cl-ana.hdf-table))
cd874248
KCB
8773
8774(define-public sbcl-cl-ana.gsl-cffi
8775 (package
8776 (inherit sbcl-cl-ana-boot0)
8777 (name "sbcl-cl-ana.gsl-cffi")
8778 (inputs
8779 `(("cffi" ,sbcl-cffi)
8780 ("gsl" ,gsl)))
8781 (arguments
8782 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8783 ((#:asd-file _ "") "gsl-cffi/cl-ana.gsl-cffi.asd")
8784 ((#:asd-system-name _ #f) "cl-ana.gsl-cffi")
8785 ((#:phases phases '%standard-phases)
8786 `(modify-phases ,phases
8787 (add-after 'unpack 'fix-paths
8788 (lambda* (#:key inputs #:allow-other-keys)
8789 (substitute* "gsl-cffi/gsl-cffi.lisp"
8790 (("define-foreign-library gsl-cffi" all)
8791 (string-append all " (:unix "
8792 (assoc-ref inputs "gsl")
8793 "/lib/libgsl.so)")))))))))))
8794
8795(define-public cl-ana.gsl-cffi
8796 (sbcl-package->cl-source-package sbcl-cl-ana.gsl-cffi))
8797
8798(define-public ecl-cl-ana.gsl-cffi
8799 (sbcl-package->ecl-package sbcl-cl-ana.gsl-cffi))
14b1a215
KCB
8800
8801(define-public sbcl-cl-ana.ntuple-table
8802 (package
8803 (inherit sbcl-cl-ana-boot0)
8804 (name "sbcl-cl-ana.ntuple-table")
8805 (inputs
8806 `(("alexandria" ,sbcl-alexandria)
8807 ("cffi" ,sbcl-cffi)
8808 ("cl-ana.gsl-cffi" ,sbcl-cl-ana.gsl-cffi)
8809 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8810 ("cl-ana.table" ,sbcl-cl-ana.table)
8811 ("cl-ana.typed-table" ,sbcl-cl-ana.typed-table)
8812 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)
8813 ("gsll" ,sbcl-gsll)))
8814 (arguments
8815 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8816 ((#:asd-file _ "") "ntuple-table/cl-ana.ntuple-table.asd")
8817 ((#:asd-system-name _ #f) "cl-ana.ntuple-table")))))
8818
8819(define-public cl-ana.ntuple-table
8820 (sbcl-package->cl-source-package sbcl-cl-ana.ntuple-table))
89f01125
KCB
8821
8822(define-public sbcl-cl-ana.csv-table
8823 (package
8824 (inherit sbcl-cl-ana-boot0)
8825 (name "sbcl-cl-ana.csv-table")
8826 (inputs
8827 `(("alexandria" ,sbcl-alexandria)
8828 ("antik" ,sbcl-antik)
8829 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8830 ("cl-ana.table" ,sbcl-cl-ana.table)
8831 ("cl-csv" ,sbcl-cl-csv)
8832 ("iterate" ,sbcl-iterate)))
8833 (arguments
8834 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8835 ((#:asd-file _ "") "csv-table/cl-ana.csv-table.asd")
8836 ((#:asd-system-name _ #f) "cl-ana.csv-table")))))
8837
8838(define-public cl-ana.csv-table
8839 (sbcl-package->cl-source-package sbcl-cl-ana.csv-table))
7d500ae4
KCB
8840
8841(define-public sbcl-cl-ana.reusable-table
8842 (package
8843 (inherit sbcl-cl-ana-boot0)
8844 (name "sbcl-cl-ana.reusable-table")
8845 (inputs
8846 `(("alexandria" ,sbcl-alexandria)
8847 ("cl-ana.table" ,sbcl-cl-ana.table)))
8848 (arguments
8849 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8850 ((#:asd-file _ "") "reusable-table/cl-ana.reusable-table.asd")
8851 ((#:asd-system-name _ #f) "cl-ana.reusable-table")))))
8852
8853(define-public cl-ana.reusable-table
8854 (sbcl-package->cl-source-package sbcl-cl-ana.reusable-table))
8855
8856(define-public ecl-cl-ana.reusable-table
8857 (sbcl-package->ecl-package sbcl-cl-ana.reusable-table))
01d659f5
KCB
8858
8859(define-public sbcl-cl-ana.linear-algebra
8860 (package
8861 (inherit sbcl-cl-ana-boot0)
8862 (name "sbcl-cl-ana.linear-algebra")
8863 (inputs
8864 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8865 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8866 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
8867 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8868 ("gsll" ,sbcl-gsll)))
8869 (arguments
8870 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8871 ((#:asd-file _ "") "linear-algebra/cl-ana.linear-algebra.asd")
8872 ((#:asd-system-name _ #f) "cl-ana.linear-algebra")))))
8873
8874(define-public cl-ana.linear-algebra
8875 (sbcl-package->cl-source-package sbcl-cl-ana.linear-algebra))
05ec2879
KCB
8876
8877(define-public sbcl-cl-ana.lorentz
8878 (package
8879 (inherit sbcl-cl-ana-boot0)
8880 (name "sbcl-cl-ana.lorentz")
8881 (inputs
8882 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8883 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
8884 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8885 ("iterate" ,sbcl-iterate)))
8886 (arguments
8887 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8888 ((#:asd-file _ "") "lorentz/cl-ana.lorentz.asd")
8889 ((#:asd-system-name _ #f) "cl-ana.lorentz")))))
8890
8891(define-public cl-ana.lorentz
8892 (sbcl-package->cl-source-package sbcl-cl-ana.lorentz))
28ffe462
KCB
8893
8894(define-public sbcl-cl-ana.clos-utils
8895 (package
8896 (inherit sbcl-cl-ana-boot0)
8897 (name "sbcl-cl-ana.clos-utils")
8898 (inputs
8899 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8900 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
8901 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
8902 ("closer-mop" ,sbcl-closer-mop)))
8903 (arguments
8904 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8905 ((#:asd-file _ "") "clos-utils/cl-ana.clos-utils.asd")
8906 ((#:asd-system-name _ #f) "cl-ana.clos-utils")))))
8907
8908(define-public cl-ana.clos-utils
8909 (sbcl-package->cl-source-package sbcl-cl-ana.clos-utils))
8910
8911(define-public ecl-cl-ana.clos-utils
8912 (sbcl-package->ecl-package sbcl-cl-ana.clos-utils))
71b76a9b
KCB
8913
8914(define-public sbcl-cl-ana.hash-table-utils
8915 (package
8916 (inherit sbcl-cl-ana-boot0)
8917 (name "sbcl-cl-ana.hash-table-utils")
8918 (arguments
8919 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8920 ((#:asd-file _ "") "hash-table-utils/cl-ana.hash-table-utils.asd")
8921 ((#:asd-system-name _ #f) "cl-ana.hash-table-utils")))))
8922
8923(define-public cl-ana.hash-table-utils
8924 (sbcl-package->cl-source-package sbcl-cl-ana.hash-table-utils))
8925
8926(define-public ecl-cl-ana.hash-table-utils
8927 (sbcl-package->ecl-package sbcl-cl-ana.hash-table-utils))
c20b30cb
KCB
8928
8929(define-public sbcl-cl-ana.map
8930 (package
8931 (inherit sbcl-cl-ana-boot0)
8932 (name "sbcl-cl-ana.map")
8933 (inputs
8934 `(("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)))
8935 (arguments
8936 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8937 ((#:asd-file _ "") "map/cl-ana.map.asd")
8938 ((#:asd-system-name _ #f) "cl-ana.map")))))
8939
8940(define-public cl-ana.map
8941 (sbcl-package->cl-source-package sbcl-cl-ana.map))
8942
8943(define-public ecl-cl-ana.map
8944 (sbcl-package->ecl-package sbcl-cl-ana.map))
2f7d1dc5
KCB
8945
8946(define-public sbcl-cl-ana.fitting
8947 (package
8948 (inherit sbcl-cl-ana-boot0)
8949 (name "sbcl-cl-ana.fitting")
8950 (inputs
8951 `(("alexandria" ,sbcl-alexandria)
8952 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
8953 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8954 ("cl-ana.map" ,sbcl-cl-ana.map)
8955 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
8956 ("gsll" ,sbcl-gsll)))
8957 (arguments
8958 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8959 ((#:asd-file _ "") "fitting/cl-ana.fitting.asd")
8960 ((#:asd-system-name _ #f) "cl-ana.fitting")))))
8961
8962(define-public cl-ana.fitting
8963 (sbcl-package->cl-source-package sbcl-cl-ana.fitting))
dffb0c0e
KCB
8964
8965(define-public sbcl-cl-ana.histogram
8966 (package
8967 (inherit sbcl-cl-ana-boot0)
8968 (name "sbcl-cl-ana.histogram")
8969 (inputs
8970 `(("alexandria" ,sbcl-alexandria)
8971 ("iterate" ,sbcl-iterate)
8972 ("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
8973 ("cl-ana.clos-utils" ,sbcl-cl-ana.clos-utils)
8974 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
8975 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
8976 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
8977 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
8978 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
8979 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
8980 ("cl-ana.map" ,sbcl-cl-ana.map)
8981 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)))
8982 (arguments
8983 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8984 ((#:asd-file _ "") "histogram/cl-ana.histogram.asd")
8985 ((#:asd-system-name _ #f) "cl-ana.histogram")))))
8986
8987(define-public cl-ana.histogram
8988 (sbcl-package->cl-source-package sbcl-cl-ana.histogram))
d6c13a8e
KCB
8989
8990(define-public sbcl-cl-ana.file-utils
8991 (package
8992 (inherit sbcl-cl-ana-boot0)
8993 (name "sbcl-cl-ana.file-utils")
8994 (inputs
8995 `(("external-program" ,sbcl-external-program)
8996 ("split-sequence" ,sbcl-split-sequence)))
8997 (arguments
8998 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
8999 ((#:asd-file _ "") "file-utils/cl-ana.file-utils.asd")
9000 ((#:asd-system-name _ #f) "cl-ana.file-utils")))))
9001
9002(define-public cl-ana.file-utils
9003 (sbcl-package->cl-source-package sbcl-cl-ana.file-utils))
9004
9005(define-public ecl-cl-ana.file-utils
9006 (sbcl-package->ecl-package sbcl-cl-ana.file-utils))
a47ce94c
KCB
9007
9008(define-public sbcl-cl-ana.statistics
9009 (package
9010 (inherit sbcl-cl-ana-boot0)
9011 (name "sbcl-cl-ana.statistics")
9012 (inputs
9013 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9014 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9015 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9016 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9017 ("cl-ana.map" ,sbcl-cl-ana.map)))
9018 (arguments
9019 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9020 ((#:asd-file _ "") "statistics/cl-ana.statistics.asd")
9021 ((#:asd-system-name _ #f) "cl-ana.statistics")))))
9022
9023(define-public cl-ana.statistics
9024 (sbcl-package->cl-source-package sbcl-cl-ana.statistics))
81e6c659
KCB
9025
9026(define-public sbcl-cl-ana.gnuplot-interface
9027 (package
9028 (inherit sbcl-cl-ana-boot0)
9029 (name "sbcl-cl-ana.gnuplot-interface")
9030 (inputs
9031 `(("external-program" ,sbcl-external-program)))
9032 (arguments
9033 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9034 ((#:asd-file _ "") "gnuplot-interface/cl-ana.gnuplot-interface.asd")
9035 ((#:asd-system-name _ #f) "cl-ana.gnuplot-interface")))))
9036
9037(define-public cl-ana.gnuplot-interface
9038 (sbcl-package->cl-source-package sbcl-cl-ana.gnuplot-interface))
9039
9040(define-public ecl-cl-ana.gnuplot-interface
9041 (sbcl-package->ecl-package sbcl-cl-ana.gnuplot-interface))
0f5350c1
KCB
9042
9043(define-public sbcl-cl-ana.plotting
9044 (package
9045 (inherit sbcl-cl-ana-boot0)
9046 (name "sbcl-cl-ana.plotting")
9047 (inputs
9048 `(("alexandria" ,sbcl-alexandria)
9049 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
9050 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9051 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9052 ("cl-ana.gnuplot-interface" ,sbcl-cl-ana.gnuplot-interface)
9053 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9054 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9055 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9056 ("cl-ana.map" ,sbcl-cl-ana.map)
9057 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
9058 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9059 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9060 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
9061 ("external-program" ,sbcl-external-program)
9062 ("split-sequence" ,sbcl-split-sequence)))
9063 (arguments
9064 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9065 ((#:asd-file _ "") "plotting/cl-ana.plotting.asd")
9066 ((#:asd-system-name _ #f) "cl-ana.plotting")))))
9067
9068(define-public cl-ana.plotting
9069 (sbcl-package->cl-source-package sbcl-cl-ana.plotting))
d521d67a
KCB
9070
9071(define-public sbcl-cl-ana.table-viewing
9072 (package
9073 (inherit sbcl-cl-ana-boot0)
9074 (name "sbcl-cl-ana.table-viewing")
9075 (inputs
9076 `(("alexandria" ,sbcl-alexandria)
9077 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9078 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9079 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9080 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9081 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9082 ("cl-ana.table" ,sbcl-cl-ana.table)))
9083 (arguments
9084 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9085 ((#:asd-file _ "") "table-viewing/cl-ana.table-viewing.asd")
9086 ((#:asd-system-name _ #f) "cl-ana.table-viewing")))))
9087
9088(define-public cl-ana.table-viewing
9089 (sbcl-package->cl-source-package sbcl-cl-ana.table-viewing))
f97cc359
KCB
9090
9091(define-public sbcl-cl-ana.serialization
9092 (package
9093 (inherit sbcl-cl-ana-boot0)
9094 (name "sbcl-cl-ana.serialization")
9095 (inputs
9096 `(("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
9097 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
9098 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
9099 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9100 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
9101 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9102 ("cl-ana.typespec" ,sbcl-cl-ana.typespec)))
9103 (arguments
9104 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9105 ((#:asd-file _ "") "serialization/cl-ana.serialization.asd")
9106 ((#:asd-system-name _ #f) "cl-ana.serialization")))))
9107
9108(define-public cl-ana.serialization
9109 (sbcl-package->cl-source-package sbcl-cl-ana.serialization))
26b875f6
KCB
9110
9111(define-public sbcl-cl-ana.makeres
9112 (package
9113 (inherit sbcl-cl-ana-boot0)
9114 (name "sbcl-cl-ana.makeres")
9115 (inputs
9116 `(("alexandria" ,sbcl-alexandria)
9117 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
9118 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
9119 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9120 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9121 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9122 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
9123 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9124 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9125 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9126 ("cl-ana.map" ,sbcl-cl-ana.map)
9127 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
9128 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9129 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9130 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9131 ("cl-ana.serialization" ,sbcl-cl-ana.serialization)
9132 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9133 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
9134 ("cl-ana.table" ,sbcl-cl-ana.table)
9135 ("external-program" ,sbcl-external-program)))
9136 (native-inputs
9137 `(("cl-fad" ,sbcl-cl-fad)))
9138 (arguments
9139 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9140 ((#:asd-file _ "") "makeres/cl-ana.makeres.asd")
9141 ((#:asd-system-name _ #f) "cl-ana.makeres")))))
9142
9143(define-public cl-ana.makeres
9144 (sbcl-package->cl-source-package sbcl-cl-ana.makeres))
ad9e007e
KCB
9145
9146(define-public sbcl-cl-ana.makeres-macro
9147 (package
9148 (inherit sbcl-cl-ana-boot0)
9149 (name "sbcl-cl-ana.makeres-macro")
9150 (inputs
9151 `(("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9152 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
9153 (arguments
9154 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9155 ((#:asd-file _ "") "makeres-macro/cl-ana.makeres-macro.asd")
9156 ((#:asd-system-name _ #f) "cl-ana.makeres-macro")))))
9157
9158(define-public cl-ana.makeres-macro
9159 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-macro))
98e5f45e
KCB
9160
9161(define-public sbcl-cl-ana.makeres-block
9162 (package
9163 (inherit sbcl-cl-ana-boot0)
9164 (name "sbcl-cl-ana.makeres-block")
9165 (inputs
9166 `(("alexandria" ,sbcl-alexandria)
9167 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9168 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9169 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
9170 (arguments
9171 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9172 ((#:asd-file _ "") "makeres-block/cl-ana.makeres-block.asd")
9173 ((#:asd-system-name _ #f) "cl-ana.makeres-block")))))
9174
9175(define-public cl-ana.makeres-block
9176 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-block))
5ae0b25e
KCB
9177
9178(define-public sbcl-cl-ana.makeres-progress
9179 (package
9180 (inherit sbcl-cl-ana-boot0)
9181 (name "sbcl-cl-ana.makeres-progress")
9182 (inputs
9183 `(("alexandria" ,sbcl-alexandria)
9184 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9185 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
9186 (arguments
9187 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9188 ((#:asd-file _ "") "makeres-progress/cl-ana.makeres-progress.asd")
9189 ((#:asd-system-name _ #f) "cl-ana.makeres-progress")))))
9190
9191(define-public cl-ana.makeres-progress
9192 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-progress))
a9810e70
KCB
9193
9194(define-public sbcl-cl-ana.makeres-table
9195 (package
9196 (inherit sbcl-cl-ana-boot0)
9197 (name "sbcl-cl-ana.makeres-table")
9198 (inputs
9199 `(("cl-ana.csv-table" ,sbcl-cl-ana.csv-table)
9200 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9201 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
9202 ("cl-ana.hdf-utils" ,sbcl-cl-ana.hdf-utils)
9203 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9204 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9205 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9206 ("cl-ana.makeres-macro" ,sbcl-cl-ana.makeres-macro)
9207 ("cl-ana.memoization" ,sbcl-cl-ana.memoization)
9208 ("cl-ana.ntuple-table" ,sbcl-cl-ana.ntuple-table)
9209 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9210 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9211 ("cl-ana.table" ,sbcl-cl-ana.table)))
9212 (native-inputs
9213 `(("cl-fad" ,sbcl-cl-fad)))
9214 (arguments
9215 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9216 ((#:asd-file _ "") "makeres-table/cl-ana.makeres-table.asd")
9217 ((#:asd-system-name _ #f) "cl-ana.makeres-table")))))
9218
9219(define-public cl-ana.makeres-table
9220 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-table))
2e43d80d
KCB
9221
9222(define-public sbcl-cl-ana.makeres-graphviz
9223 (package
9224 (inherit sbcl-cl-ana-boot0)
9225 (name "sbcl-cl-ana.makeres-graphviz")
9226 (inputs
9227 `(("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9228 ("external-program" ,sbcl-external-program)))
9229 (arguments
9230 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9231 ((#:asd-file _ "") "makeres-graphviz/cl-ana.makeres-graphviz.asd")
9232 ((#:asd-system-name _ #f) "cl-ana.makeres-graphviz")))))
9233
9234(define-public cl-ana.makeres-graphviz
9235 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-graphviz))
d154dd5a
KCB
9236
9237(define-public sbcl-cl-ana.makeres-branch
9238 (package
9239 (inherit sbcl-cl-ana-boot0)
9240 (name "sbcl-cl-ana.makeres-branch")
9241 (inputs
9242 `(("alexandria" ,sbcl-alexandria)
9243 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9244 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9245 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9246 ("cl-ana.map" ,sbcl-cl-ana.map)
9247 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)))
9248 (arguments
9249 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9250 ((#:asd-file _ "") "makeres-branch/cl-ana.makeres-branch.asd")
9251 ((#:asd-system-name _ #f) "cl-ana.makeres-branch")))))
9252
9253(define-public cl-ana.makeres-branch
9254 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-branch))
5f413815
KCB
9255
9256(define-public sbcl-cl-ana.makeres-utils
9257 (package
9258 (inherit sbcl-cl-ana-boot0)
9259 (name "sbcl-cl-ana.makeres-utils")
9260 (inputs
9261 `(("alexandria" ,sbcl-alexandria)
9262 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
9263 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
9264 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9265 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9266 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9267 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9268 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9269 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9270 ("cl-ana.map" ,sbcl-cl-ana.map)
9271 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9272 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9273 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9274 ("cl-ana.string-utils" ,sbcl-cl-ana.string-utils)
9275 ("cl-ana.symbol-utils" ,sbcl-cl-ana.symbol-utils)
9276 ("cl-ana.table" ,sbcl-cl-ana.table)))
9277 (native-inputs
9278 `(("cl-fad" ,sbcl-cl-fad)))
9279 (arguments
9280 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9281 ((#:asd-file _ "") "makeres-utils/cl-ana.makeres-utils.asd")
9282 ((#:asd-system-name _ #f) "cl-ana.makeres-utils")))))
9283
9284(define-public cl-ana.makeres-utils
9285 (sbcl-package->cl-source-package sbcl-cl-ana.makeres-utils))
c16e3dfb
KCB
9286
9287(define-public sbcl-cl-ana.statistical-learning
9288 (package
9289 (inherit sbcl-cl-ana-boot0)
9290 (name "sbcl-cl-ana.statistical-learning")
9291 (inputs
9292 `(("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9293 ("cl-ana.functional-utils" ,sbcl-cl-ana.functional-utils)
9294 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9295 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
9296 ("cl-ana.list-utils" ,sbcl-cl-ana.list-utils)
9297 ("cl-ana.macro-utils" ,sbcl-cl-ana.macro-utils)
9298 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
9299 ("cl-ana.map" ,sbcl-cl-ana.map)
9300 ("cl-ana.statistics" ,sbcl-cl-ana.statistics)))
9301 (native-inputs
9302 `(("cl-fad" ,sbcl-cl-fad)))
9303 (arguments
9304 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9305 ((#:asd-file _ "")
9306 "statistical-learning/cl-ana.statistical-learning.asd")
9307 ((#:asd-system-name _ #f) "cl-ana.statistical-learning")))))
9308
9309(define-public cl-ana.statistical-learning
9310 (sbcl-package->cl-source-package sbcl-cl-ana.statistical-learning))
13e3bc1c
KCB
9311
9312(define-public sbcl-cl-ana
9313 (package
9314 (inherit sbcl-cl-ana-boot0)
9315 (name "sbcl-cl-ana")
9316 (inputs
9317 `(("cl-ana.binary-tree" ,sbcl-cl-ana.binary-tree)
9318 ("cl-ana.calculus" ,sbcl-cl-ana.calculus)
9319 ("cl-ana.clos-utils" ,sbcl-cl-ana.clos-utils)
9320 ("cl-ana.csv-table" ,sbcl-cl-ana.csv-table)
9321 ("cl-ana.error-propogation" ,sbcl-cl-ana.error-propogation)
9322 ("cl-ana.file-utils" ,sbcl-cl-ana.file-utils)
9323 ("cl-ana.fitting" ,sbcl-cl-ana.fitting)
9324 ("cl-ana.generic-math" ,sbcl-cl-ana.generic-math)
9325 ("cl-ana.hash-table-utils" ,sbcl-cl-ana.hash-table-utils)
9326 ("cl-ana.hdf-table" ,sbcl-cl-ana.hdf-table)
9327 ("cl-ana.histogram" ,sbcl-cl-ana.histogram)
9328 ("cl-ana.int-char" ,sbcl-cl-ana.int-char)
9329 ("cl-ana.linear-algebra" ,sbcl-cl-ana.linear-algebra)
9330 ("cl-ana.lorentz" ,sbcl-cl-ana.lorentz)
9331 ("cl-ana.map" ,sbcl-cl-ana.map)
9332 ("cl-ana.makeres" ,sbcl-cl-ana.makeres)
9333 ("cl-ana.makeres-block" ,sbcl-cl-ana.makeres-block)
9334 ("cl-ana.makeres-branch" ,sbcl-cl-ana.makeres-branch)
9335 ("cl-ana.makeres-graphviz" ,sbcl-cl-ana.makeres-graphviz)
9336 ("cl-ana.makeres-macro" ,sbcl-cl-ana.makeres-macro)
9337 ("cl-ana.makeres-progress" ,sbcl-cl-ana.makeres-progress)
9338 ("cl-ana.makeres-table" ,sbcl-cl-ana.makeres-table)
9339 ("cl-ana.makeres-utils" ,sbcl-cl-ana.makeres-utils)
9340 ("cl-ana.math-functions" ,sbcl-cl-ana.math-functions)
9341 ("cl-ana.ntuple-table" ,sbcl-cl-ana.ntuple-table)
9342 ("cl-ana.package-utils" ,sbcl-cl-ana.package-utils)
9343 ("cl-ana.pathname-utils" ,sbcl-cl-ana.pathname-utils)
9344 ("cl-ana.plotting" ,sbcl-cl-ana.plotting)
9345 ("cl-ana.quantity" ,sbcl-cl-ana.quantity)
9346 ("cl-ana.reusable-table" ,sbcl-cl-ana.reusable-table)
9347 ("cl-ana.serialization" ,sbcl-cl-ana.serialization)
9348 ("cl-ana.statistics" ,sbcl-cl-ana.statistics)
9349 ("cl-ana.statistical-learning" ,sbcl-cl-ana.statistical-learning)
9350 ("cl-ana.table" ,sbcl-cl-ana.table)
9351 ("cl-ana.table-utils" ,sbcl-cl-ana.table-utils)
9352 ("cl-ana.table-viewing" ,sbcl-cl-ana.table-viewing)
9353 ("cl-ana.tensor" ,sbcl-cl-ana.tensor)
9354 ("libffi" ,libffi)))
9355 (native-inputs
9356 `(("cl-fad" ,sbcl-cl-fad)))
9357 (arguments
9358 (substitute-keyword-arguments (package-arguments sbcl-cl-ana-boot0)
9359 ((#:asd-file _ "") "cl-ana.asd")
9360 ((#:asd-system-name _ #f) "cl-ana")))))
9361
9362(define-public cl-ana
9363 (sbcl-package->cl-source-package sbcl-cl-ana))
f35b596e
GLV
9364
9365(define-public sbcl-archive
9366 (let ((commit "631271c091ed02994bec3980cb288a2cf32c7cdc")
9367 (revision "1"))
9368 (package
9369 (name "sbcl-archive")
9370 (version (git-version "0.9" revision commit))
9371 (source (origin
9372 (method git-fetch)
9373 (uri (git-reference
9374 (url "https://github.com/sharplispers/archive.git")
9375 (commit commit)))
9376 (file-name (git-file-name name version))
9377 (sha256
9378 (base32
9379 "0pvsc9fmybx7rxd0kmzq4shi6hszdpwdc1sfy7jwyfxf8n3hnv4p"))))
9380 (build-system asdf-build-system/sbcl)
9381 (inputs
9382 `(("cl-fad" ,sbcl-cl-fad)
9383 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
9384 (synopsis "Common Lisp library for tar and cpio archives")
9385 (description
9386 "This is a Common Lisp library to read and write disk-based file
9387archives such as those generated by the tar and cpio programs on Unix.")
9388 (home-page "https://github.com/sharplispers/archive")
9389 (license license:bsd-3))))
9390
9391(define-public cl-archive
9392 (sbcl-package->cl-source-package sbcl-archive))
9393
9394(define-public ecl-archive
9395 (sbcl-package->ecl-package sbcl-archive))
33865d32
GLV
9396
9397(define-public sbcl-misc-extensions
9398 (let ((commit "101c05112bf2f1e1bbf527396822d2f50ca6327a")
9399 (revision "1"))
9400 (package
9401 (name "sbcl-misc-extensions")
9402 (version (git-version "3.3" revision commit))
9403 (source
9404 (origin
9405 (method git-fetch)
9406 (uri (git-reference
9407 (url "https://gitlab.common-lisp.net/misc-extensions/devel.git")
9408 (commit commit)))
9409 (file-name (git-file-name name version))
9410 (sha256
9411 (base32
9412 "0gz5f4p70qzilnxsnf5lih2n9m4wjcw8hlw4w8mpn9jyhyppyyv0"))))
9413 (build-system asdf-build-system/sbcl)
9414 (synopsis "Collection of small macros and extensions for Common Lisp")
9415 (description
9416 "This project is intended as a catchall for small, general-purpose
9417extensions to Common Lisp. It contains:
9418
9419@itemize
9420@item @code{new-let}, a macro that combines and generalizes @code{let},
9421@code{let*} and @code{multiple-value-bind},
9422@item @code{gmap}, an iteration macro that generalizes @code{map}.
9423@end itemize\n")
9424 (home-page "https://common-lisp.net/project/misc-extensions/")
9425 (license license:public-domain))))
9426
9427(define-public cl-misc-extensions
9428 (sbcl-package->cl-source-package sbcl-misc-extensions))
9429
9430(define-public ecl-misc-extensions
9431 (sbcl-package->ecl-package sbcl-misc-extensions))
7765f4a4
GLV
9432
9433(define-public sbcl-mt19937
9434 (package
9435 (name "sbcl-mt19937")
9436 (version "1.1")
9437 (source
9438 (origin
9439 (method url-fetch)
9440 (uri (string-append "https://common-lisp.net/project/asdf-packaging/"
9441 "mt19937-latest.tar.gz"))
9442 (sha256
9443 (base32
9444 "1iw636b0iw5ygkv02y8i41lh7xj0acglv0hg5agryn0zzi2nf1xv"))))
9445 (build-system asdf-build-system/sbcl)
9446 (synopsis "Mersenne Twister pseudo-random number generator")
9447 (description
9448 "MT19937 is a portable Mersenne Twister pseudo-random number generator
9449for Common Lisp.")
9450 (home-page "https://www.cliki.net/mt19937")
9451 (license license:public-domain)))
9452
9453(define-public cl-mt19937
9454 (sbcl-package->cl-source-package sbcl-mt19937))
9455
9456(define-public ecl-mt19937
9457 (sbcl-package->ecl-package sbcl-mt19937))
7ca8925f
GLV
9458
9459(define-public sbcl-fset
9460 (let ((commit "6d2f9ded8934d2b42f2571a0ba5bda091037d852")
9461 (revision "1"))
9462 (package
9463 (name "sbcl-fset")
9464 (version (git-version "1.3.2" revision commit))
9465 (source
9466 (origin
9467 (method git-fetch)
9468 (uri (git-reference
9469 (url "https://github.com/slburson/fset")
9470 (commit commit)))
9471 (file-name (git-file-name name version))
9472 (sha256
9473 (base32
9474 "127acblwrbqicx47h6sgvknz1cqyfn8p4xkhkn1m7hxh8w5gk1zy"))
9475 (snippet '(begin
9476 ;; Remove obsolete copy of system definition.
9477 (delete-file "Code/fset.asd")
9478 #t))))
9479 (build-system asdf-build-system/sbcl)
9480 (inputs
9481 `(("misc-extensions" ,sbcl-misc-extensions)
9482 ("mt19937" ,sbcl-mt19937)
9483 ("named-readtables" ,sbcl-named-readtables)))
9484 (synopsis "Functional set-theoretic collections library")
9485 (description
9486 "FSet is a functional set-theoretic collections library for Common Lisp.
9487Functional means that all update operations return a new collection rather than
9488modifying an existing one in place. Set-theoretic means that collections may
9489be nested arbitrarily with no additional programmer effort; for instance, sets
9490may contain sets, maps may be keyed by sets, etc.")
9491 (home-page "https://common-lisp.net/project/fset/Site/index.html")
9492 (license license:llgpl))))
9493
9494(define-public cl-fset
9495 (sbcl-package->cl-source-package sbcl-fset))
f7ce86ed
GLV
9496
9497(define-public sbcl-cl-cont
9498 (let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a")
9499 (revision "1"))
9500 (package
9501 (name "sbcl-cl-cont")
9502 (version (git-version "0.3.8" revision commit))
9503 (source
9504 (origin
9505 (method git-fetch)
9506 (uri (git-reference
9507 (url "https://gitlab.common-lisp.net/cl-cont/cl-cont.git")
9508 (commit commit)))
9509 (file-name (git-file-name name version))
9510 (sha256
9511 (base32
9512 "1zf8zvb0i6jm3hhfks4w74hibm6avgc6f9s1qwgjrn2bcik8lrvz"))))
9513 (build-system asdf-build-system/sbcl)
9514 (inputs
9515 `(("alexandria" ,sbcl-alexandria)
9516 ("closer-mop" ,sbcl-closer-mop)))
9517 (native-inputs
9518 `(("rt" ,sbcl-rt)))
9519 (synopsis "Delimited continuations for Common Lisp")
9520 (description
9521 "This is a library that implements delimited continuations by
9522transforming Common Lisp code to continuation passing style.")
9523 (home-page "https://common-lisp.net/project/cl-cont/")
9524 (license license:llgpl))))
9525
9526(define-public cl-cont
9527 (sbcl-package->cl-source-package sbcl-cl-cont))
9528
9529(define-public ecl-cl-cont
9530 (sbcl-package->ecl-package sbcl-cl-cont))
4101c714
GLV
9531
9532(define-public sbcl-cl-coroutine
9533 (let ((commit "de098f8d5debd8b14ef6864b5bdcbbf5ddbcfd72")
9534 (revision "1"))
9535 (package
9536 (name "sbcl-cl-coroutine")
9537 (version (git-version "0.1" revision commit))
9538 (source
9539 (origin
9540 (method git-fetch)
9541 (uri (git-reference
9542 (url "https://github.com/takagi/cl-coroutine.git")
9543 (commit commit)))
9544 (file-name (git-file-name name version))
9545 (sha256
9546 (base32
9547 "1cqdhdjxffgfs116l1swjlsmcbly0xgcgrckvaajd566idj9yj4l"))))
9548 (build-system asdf-build-system/sbcl)
9549 (inputs
9550 `(("alexandria" ,sbcl-alexandria)
9551 ("cl-cont" ,sbcl-cl-cont)))
9552 (native-inputs
9553 `(("prove" ,sbcl-prove)))
9554 (arguments
9555 `(;; TODO: Fix the tests. They fail with:
9556 ;; "Component CL-COROUTINE-ASD::CL-COROUTINE-TEST not found"
9557 #:tests? #f
9558 #:phases
9559 (modify-phases %standard-phases
9560 (add-after 'unpack 'fix-tests
9561 (lambda _
9562 (substitute* "cl-coroutine-test.asd"
9563 (("cl-test-more")
9564 "prove"))
9565 #t)))))
9566 (synopsis "Coroutine library for Common Lisp")
9567 (description
9568 "This is a coroutine library for Common Lisp implemented using the
9569continuations of the @code{cl-cont} library.")
9570 (home-page "https://github.com/takagi/cl-coroutine")
9571 (license license:llgpl))))
9572
9573(define-public cl-coroutine
9574 (sbcl-package->cl-source-package sbcl-cl-coroutine))
9575
9576(define-public ecl-cl-coroutine
9577 (sbcl-package->ecl-package sbcl-cl-coroutine))
5b8bc813
GLV
9578
9579(define-public sbcl-vom
9580 (let ((commit "1aeafeb5b74c53741b79497e0ef4acf85c92ff24")
9581 (revision "1"))
9582 (package
9583 (name "sbcl-vom")
9584 (version (git-version "0.1.4" revision commit))
9585 (source
9586 (origin
9587 (method git-fetch)
9588 (uri (git-reference
9589 (url "https://github.com/orthecreedence/vom.git")
9590 (commit commit)))
9591 (file-name (git-file-name name version))
9592 (sha256
9593 (base32
9594 "0536kppj76ax4lrxhv42npkfjsmx45km2g439vf9jmw3apinz9cy"))))
9595 (build-system asdf-build-system/sbcl)
9596 (synopsis "Tiny logging utility for Common Lisp")
9597 (description
9598 "Vom is a logging library for Common Lisp. It's goal is to be useful
9599and small. It does not provide a lot of features as other loggers do, but
9600has a small codebase that's easy to understand and use.")
9601 (home-page "https://github.com/orthecreedence/vom")
9602 (license license:expat))))
9603
9604(define-public cl-vom
9605 (sbcl-package->cl-source-package sbcl-vom))
9606
9607(define-public ecl-vom
9608 (sbcl-package->ecl-package sbcl-vom))
37b48dc1
GLV
9609
9610(define-public sbcl-cl-libuv
9611 (let ((commit "32100c023c518038d0670a103eaa4d50dd785d29")
9612 (revision "1"))
9613 (package
9614 (name "sbcl-cl-libuv")
9615 (version (git-version "0.1.6" revision commit))
9616 (source
9617 (origin
9618 (method git-fetch)
9619 (uri (git-reference
9620 (url "https://github.com/orthecreedence/cl-libuv.git")
9621 (commit commit)))
9622 (file-name (git-file-name name version))
9623 (sha256
9624 (base32
9625 "1kwix4si8a8hza34ab2k7whrh7z0yrmx39v2wc3qblv9m244jkh1"))))
9626 (build-system asdf-build-system/sbcl)
9627 (inputs
9628 `(("alexandria" ,sbcl-alexandria)
9629 ("cffi" ,sbcl-cffi)
9630 ("cffi-grovel" ,sbcl-cffi-grovel)
9631 ("libuv" ,libuv)))
9632 (arguments
9633 `(#:phases
9634 (modify-phases %standard-phases
9635 (add-after 'unpack 'fix-paths
9636 (lambda* (#:key inputs #:allow-other-keys)
9637 (substitute* "lib.lisp"
9638 (("/usr/lib/libuv.so")
9639 (string-append (assoc-ref inputs "libuv")
9640 "/lib/libuv.so")))
9641 #t))
9642 (add-after 'fix-paths 'fix-system-definition
9643 (lambda _
9644 (substitute* "cl-libuv.asd"
9645 (("#:cffi #:alexandria")
9646 "#:cffi #:cffi-grovel #:alexandria"))
9647 #t)))))
9648 (synopsis "Common Lisp bindings to libuv")
9649 (description
9650 "This library provides low-level libuv bindings for Common Lisp.")
9651 (home-page "https://github.com/orthecreedence/cl-libuv")
9652 (license license:expat))))
9653
9654(define-public cl-libuv
9655 (sbcl-package->cl-source-package sbcl-cl-libuv))
9656
9657(define-public ecl-cl-libuv
9658 (sbcl-package->ecl-package sbcl-cl-libuv))
1cc1dfbb
GLV
9659
9660(define-public sbcl-cl-async-base
9661 (let ((commit "f6423e44404a44434d803605e0d2e17199158e28")
9662 (revision "1"))
9663 (package
9664 (name "sbcl-cl-async-base")
9665 (version (git-version "0.6.1" revision commit))
9666 (source
9667 (origin
9668 (method git-fetch)
9669 (uri (git-reference
9670 (url "https://github.com/orthecreedence/cl-async.git")
9671 (commit commit)))
9672 (file-name (git-file-name name version))
9673 (sha256
9674 (base32
9675 "11xi9dxb8mjgwzrkj88i0xkgk26z9w9ddxzbv6xsvfc1d4x5cf4x"))))
9676 (build-system asdf-build-system/sbcl)
9677 (inputs
9678 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9679 ("cffi" ,sbcl-cffi)
9680 ("cl-libuv" ,sbcl-cl-libuv)))
9681 (arguments
9682 `(#:asd-file "cl-async.asd"))
9683 (synopsis "Base system for cl-async")
9684 (description
9685 "Cl-async is a library for general purpose, non-blocking programming in
9686Common Lisp. It uses the libuv library as backend.")
9687 (home-page "https://orthecreedence.github.io/cl-async/")
9688 (license license:expat))))
9689
9690(define-public cl-async-base
9691 (sbcl-package->cl-source-package sbcl-cl-async-base))
9692
9693(define-public ecl-cl-async-base
9694 (sbcl-package->ecl-package sbcl-cl-async-base))
370cf7f1
GLV
9695
9696(define-public sbcl-cl-async-util
9697 (package
9698 (inherit sbcl-cl-async-base)
9699 (name "sbcl-cl-async-util")
9700 (inputs
24de1f5a
GLV
9701 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9702 ("cffi" ,sbcl-cffi)
370cf7f1
GLV
9703 ("cl-async-base" ,sbcl-cl-async-base)
9704 ("cl-libuv" ,sbcl-cl-libuv)
9705 ("cl-ppcre" ,sbcl-cl-ppcre)
9706 ("fast-io" ,sbcl-fast-io)
9707 ("vom" ,sbcl-vom)))
9708 (synopsis "Internal utilities for cl-async")))
9709
9710(define-public cl-async-util
9711 (sbcl-package->cl-source-package sbcl-cl-async-util))
9712
9713(define-public ecl-cl-async-util
9714 (sbcl-package->ecl-package sbcl-cl-async-util))
8a0178dd
GLV
9715
9716(define-public sbcl-cl-async
9717 (package
9718 (inherit sbcl-cl-async-base)
9719 (name "sbcl-cl-async")
9720 (inputs
9721 `(("babel" ,sbcl-babel)
9722 ("cffi" ,sbcl-cffi)
9723 ("cl-async-base" ,sbcl-cl-async-base)
9724 ("cl-async-util" ,sbcl-cl-async-util)
9725 ("cl-libuv" ,sbcl-cl-libuv)
9726 ("cl-ppcre" ,sbcl-cl-ppcre)
9727 ("static-vectors" ,sbcl-static-vectors)
9728 ("trivial-features" ,sbcl-trivial-features)
9729 ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
9730 (synopsis "Asynchronous operations for Common Lisp")))
9731
9732(define-public cl-async
9733 (sbcl-package->cl-source-package sbcl-cl-async))
9734
9735(define-public ecl-cl-async
9736 (sbcl-package->ecl-package sbcl-cl-async))
19f36366
GLV
9737
9738(define-public sbcl-cl-async-repl
9739 (package
9740 (inherit sbcl-cl-async-base)
9741 (name "sbcl-cl-async-repl")
9742 (inputs
9743 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
9744 ("cl-async" ,sbcl-cl-async)))
9745 (arguments
9746 (substitute-keyword-arguments (package-arguments sbcl-cl-async-base)
9747 ((#:asd-file _ "") "cl-async-repl.asd")))
9748 (synopsis "REPL integration for cl-async")))
9749
9750(define-public cl-async-repl
9751 (sbcl-package->cl-source-package sbcl-cl-async-repl))
9752
9753(define-public ecl-cl-async-repl
9754 (sbcl-package->ecl-package sbcl-cl-async-repl))
ae51aa91
GLV
9755
9756(define-public sbcl-cl-async-ssl
9757 (package
9758 (inherit sbcl-cl-async-base)
9759 (name "sbcl-cl-async-ssl")
9760 (inputs
9761 `(("cffi" ,sbcl-cffi)
9762 ("cl-async" ,sbcl-cl-async)
9763 ("openssl" ,openssl)
9764 ("vom" ,sbcl-vom)))
9765 (arguments
9766 (substitute-keyword-arguments (package-arguments sbcl-cl-async-base)
9767 ((#:asd-file _ "") "cl-async-ssl.asd")
9768 ((#:phases phases '%standard-phases)
9769 `(modify-phases ,phases
9770 (add-after 'unpack 'fix-paths
9771 (lambda* (#:key inputs #:allow-other-keys)
9772 (substitute* "src/ssl/package.lisp"
9773 (("libcrypto\\.so")
9774 (string-append (assoc-ref inputs "openssl")
9775 "/lib/libcrypto.so"))
9776 (("libssl\\.so")
9777 (string-append (assoc-ref inputs "openssl")
9778 "/lib/libssl.so")))
9779 #t))))))
9780 (synopsis "SSL wrapper around cl-async socket implementation")))
9781
9782(define-public cl-async-ssl
9783 (sbcl-package->cl-source-package sbcl-cl-async-ssl))
9784
9785(define-public ecl-cl-async-ssl
9786 (sbcl-package->ecl-package sbcl-cl-async-ssl))
34f9b581
GLV
9787
9788(define-public sbcl-blackbird
9789 (let ((commit "d361f81c1411dec07f6c2dcb11c78f7aea9aaca8")
9790 (revision "1"))
9791 (package
9792 (name "sbcl-blackbird")
9793 (version (git-version "0.5.2" revision commit))
9794 (source
9795 (origin
9796 (method git-fetch)
9797 (uri (git-reference
9798 (url "https://github.com/orthecreedence/blackbird.git")
9799 (commit commit)))
9800 (file-name (git-file-name name version))
9801 (sha256
9802 (base32
9803 "0xfds5yaya64arzr7w1x38karyz11swzbhxx1afldpradj9dh19c"))))
9804 (build-system asdf-build-system/sbcl)
9805 (inputs
9806 `(("vom" ,sbcl-vom)))
9807 (native-inputs
9808 `(("cl-async" ,sbcl-cl-async)
9809 ("fiveam" ,sbcl-fiveam)))
9810 (synopsis "Promise implementation for Common Lisp")
9811 (description
9812 "This is a standalone promise implementation for Common Lisp. It is
9813the successor to the now-deprecated cl-async-future project.")
e0318062 9814 (home-page "https://orthecreedence.github.io/blackbird/")
34f9b581
GLV
9815 (license license:expat))))
9816
9817(define-public cl-blackbird
9818 (sbcl-package->cl-source-package sbcl-blackbird))
9819
9820(define-public ecl-blackbird
9821 (sbcl-package->ecl-package sbcl-blackbird))
c5eedf80
GLV
9822
9823(define-public sbcl-cl-async-future
9824 (let ((commit "ee36c22a69a9516407458d2ed8b475f1fc473959")
9825 (revision "1"))
9826 (package
9827 (name "sbcl-cl-async-future")
9828 (version (git-version "0.4.4.1" revision commit))
9829 (source
9830 (origin
9831 (method git-fetch)
9832 (uri (git-reference
9833 (url "https://github.com/orthecreedence/cl-async-future.git")
9834 (commit commit)))
9835 (file-name (git-file-name name version))
9836 (sha256
9837 (base32
9838 "0z0sc7qlzzxk99f4l26zp6rai9kv0kj0f599sxai5s44p17zbbvh"))))
9839 (build-system asdf-build-system/sbcl)
9840 (inputs
9841 `(("blackbird" ,sbcl-blackbird)))
9842 (native-inputs
9843 `(("cl-async" ,sbcl-cl-async)
9844 ("eos" ,sbcl-eos)))
9845 (synopsis "Futures implementation for Common Lisp")
9846 (description
9847 "This is futures implementation for Common Lisp. It plugs in nicely
9848to cl-async.")
e0318062 9849 (home-page "https://orthecreedence.github.io/cl-async/future")
c5eedf80
GLV
9850 (license license:expat))))
9851
9852(define-public cl-async-future
9853 (sbcl-package->cl-source-package sbcl-cl-async-future))
9854
9855(define-public ecl-cl-async-future
9856 (sbcl-package->ecl-package sbcl-cl-async-future))
8ea00edf
GLV
9857
9858(define-public sbcl-green-threads
9859 (let ((commit "fff5ebecb441a37e5c511773716aafd84a3c5840")
9860 (revision "1"))
9861 (package
9862 (name "sbcl-green-threads")
9863 (version (git-version "0.3" revision commit))
9864 (source
9865 (origin
9866 (method git-fetch)
9867 (uri (git-reference
9868 (url "https://github.com/thezerobit/green-threads.git")
9869 (commit commit)))
9870 (file-name (git-file-name name version))
9871 (sha256
9872 (base32
9873 "1czw7nr0dwfps76h8hjvglk1wdh53yqbfbvv30whwbgqx33iippz"))))
9874 (build-system asdf-build-system/sbcl)
9875 (inputs
9876 `(("cl-async-future" ,sbcl-cl-async-future)
9877 ("cl-cont" ,sbcl-cl-cont)))
9878 (native-inputs
9879 `(("prove" ,sbcl-prove)))
9880 (arguments
9881 `(;; TODO: Fix the tests. They fail with:
9882 ;; "The function BLACKBIRD::PROMISE-VALUES is undefined"
9883 #:tests? #f
9884 #:phases
9885 (modify-phases %standard-phases
9886 (add-after 'unpack 'fix-tests
9887 (lambda _
9888 (substitute* "green-threads-test.asd"
9889 (("cl-test-more")
9890 "prove"))
9891 #t)))))
9892 (synopsis "Cooperative multitasking library for Common Lisp")
9893 (description
9894 "This library allows for cooperative multitasking with help of cl-cont
9895for continuations. It tries to mimic the API of bordeaux-threads as much as
9896possible.")
9897 (home-page "https://github.com/thezerobit/green-threads")
9898 (license license:bsd-3))))
9899
9900(define-public cl-green-threads
9901 (sbcl-package->cl-source-package sbcl-green-threads))
9902
9903(define-public ecl-green-threads
9904 (sbcl-package->ecl-package sbcl-green-threads))
3ac0e64d
GLV
9905
9906(define-public sbcl-cl-base32
9907 (let ((commit "8cdee06fab397f7b0a19583b57e7f0c98405be85")
9908 (revision "1"))
9909 (package
9910 (name "sbcl-cl-base32")
9911 (version (git-version "0.1" revision commit))
9912 (source
9913 (origin
9914 (method git-fetch)
9915 (uri (git-reference
9916 (url "https://github.com/hargettp/cl-base32.git")
9917 (commit commit)))
9918 (file-name (git-file-name name version))
9919 (sha256
9920 (base32 "17jrng8jb05d64ggyd11hp308c2fl5drvf9g175blgrkkl8l4mf8"))))
9921 (build-system asdf-build-system/sbcl)
9922 (native-inputs
9923 `(("lisp-unit" ,sbcl-lisp-unit)))
9924 (synopsis "Common Lisp library for base32 encoding and decoding")
9925 (description
9926 "This package provides functions for base32 encoding and decoding as
9927defined in RFC4648.")
9928 (home-page "https://github.com/hargettp/cl-base32")
9929 (license license:expat))))
9930
9931(define-public cl-base32
9932 (sbcl-package->cl-source-package sbcl-cl-base32))
9933
9934(define-public ecl-cl-base32
9935 (sbcl-package->ecl-package sbcl-cl-base32))
c5bbcb82
GLV
9936
9937(define-public sbcl-cl-z85
9938 (let ((commit "85b3951a9cfa2603acb6aee15567684f9a108098")
9939 (revision "1"))
9940 (package
9941 (name "sbcl-cl-z85")
9942 (version (git-version "1.0" revision commit))
9943 (source
9944 (origin
9945 (method git-fetch)
9946 (uri (git-reference
9947 (url "https://github.com/glv2/cl-z85.git")
9948 (commit commit)))
9949 (file-name (git-file-name name version))
9950 (sha256
9951 (base32 "0r27pidjaxbm7k1rr90nnajwl5xm2kp65g1fv0fva17lzy45z1mp"))))
9952 (build-system asdf-build-system/sbcl)
9953 (native-inputs
9954 `(("cl-octet-streams" ,sbcl-cl-octet-streams)
9955 ("fiveam" ,sbcl-fiveam)))
9956 (synopsis "Common Lisp library for Z85 encoding and decoding")
9957 (description
9958 "This package provides functions to encode or decode byte vectors or
9959byte streams using the Z85 format, which is a base-85 encoding used by
9960ZeroMQ.")
9961 (home-page "https://github.com/glv2/cl-z85")
9962 (license license:gpl3+))))
9963
9964(define-public cl-z85
9965 (sbcl-package->cl-source-package sbcl-cl-z85))
9966
9967(define-public ecl-cl-z85
9968 (sbcl-package->ecl-package sbcl-cl-z85))
d3a2df68
GLV
9969
9970(define-public sbcl-ltk
9971 (package
9972 (name "sbcl-ltk")
9973 (version "0.992")
9974 (source
9975 (origin
9976 (method git-fetch)
9977 (uri (git-reference
9978 (url "https://github.com/herth/ltk.git")
9979 (commit version)))
9980 (file-name (git-file-name name version))
9981 (sha256
9982 (base32 "13l2q4mskzilya9xh5wy2xvy30lwn104bd8wrq6ifds56r82iy3x"))))
9983 (build-system asdf-build-system/sbcl)
9984 (inputs
9985 `(("imagemagick" ,imagemagick)
9986 ("tk" ,tk)))
9987 (arguments
9988 `(#:asd-file "ltk/ltk.asd"
9989 #:tests? #f
9990 #:phases (modify-phases %standard-phases
9991 (add-after 'unpack 'fix-paths
9992 (lambda* (#:key inputs #:allow-other-keys)
9993 (substitute* "ltk/ltk.lisp"
9994 (("#-freebsd \"wish\"")
9995 (string-append "#-freebsd \""
9996 (assoc-ref inputs "tk")
9997 "/bin/wish\""))
9998 (("do-execute \"convert\"")
9999 (string-append "do-execute \""
10000 (assoc-ref inputs "imagemagick")
10001 "/bin/convert\"")))
10002 #t)))))
10003 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
10004 (description
10005 "LTK is a Common Lisp binding for the Tk graphics toolkit. It is written
10006in pure Common Lisp and does not require any Tk knowledge for its usage.")
10007 (home-page "http://www.peter-herth.de/ltk/")
10008 (license license:llgpl)))
10009
10010(define-public cl-ltk
10011 (sbcl-package->cl-source-package sbcl-ltk))
10012
10013(define-public ecl-ltk
10014 (sbcl-package->ecl-package sbcl-ltk))
811747f9
GLV
10015
10016(define-public sbcl-ltk-mw
10017 (package
10018 (inherit sbcl-ltk)
10019 (name "sbcl-ltk-mw")
10020 (inputs
10021 `(("ltk" ,sbcl-ltk)))
10022 (arguments
10023 (substitute-keyword-arguments (package-arguments sbcl-ltk)
10024 ((#:asd-file _) "ltk/ltk-mw.asd")
10025 ((#:phases _) '%standard-phases)))
10026 (synopsis "Extra widgets for LTK")
10027 (description
10028 "This is a collection of higher-level widgets built on top of LTK.")))
10029
10030(define-public cl-ltk-mw
10031 (sbcl-package->cl-source-package sbcl-ltk-mw))
10032
10033(define-public ecl-ltk-mw
10034 (sbcl-package->ecl-package sbcl-ltk-mw))
b72629eb
GLV
10035
10036(define-public sbcl-ltk-remote
10037 (package
10038 (inherit sbcl-ltk)
10039 (name "sbcl-ltk-remote")
10040 (inputs
10041 `(("ltk" ,sbcl-ltk)))
10042 (arguments
10043 (substitute-keyword-arguments (package-arguments sbcl-ltk)
10044 ((#:asd-file _) "ltk/ltk-remote.asd")
10045 ((#:phases _) '%standard-phases)))
10046 (synopsis "Remote GUI support for LTK")
10047 (description
10048 "This LTK extension allows the GUI to be displayed on a computer different
10049from the one running the Lisp program by using a TCP connection.")))
10050
10051(define-public cl-ltk-remote
10052 (sbcl-package->cl-source-package sbcl-ltk-remote))
95abaafb
GLV
10053
10054(define-public sbcl-cl-lex
10055 (let ((commit "f2dbbe25ef553005fb402d9a6203180c3fa1093b")
10056 (revision "1"))
10057 (package
10058 (name "sbcl-cl-lex")
10059 (version (git-version "1.1.3" revision commit))
10060 (source
10061 (origin
10062 (method git-fetch)
10063 (uri (git-reference
10064 (url "https://github.com/djr7C4/cl-lex.git")
10065 (commit commit)))
10066 (file-name (git-file-name name version))
10067 (sha256
10068 (base32 "1kg50f76bfpfxcv4dfivq1n9a0xlsra2ajb0vd68lxwgbidgyc2y"))))
10069 (build-system asdf-build-system/sbcl)
10070 (inputs
10071 `(("cl-ppcre" ,sbcl-cl-ppcre)))
10072 (synopsis "Common Lisp macros for generating lexical analyzers")
10073 (description
10074 "This is a Common Lisp library providing a set of macros for generating
10075lexical analyzers automatically. The lexers generated using @code{cl-lex} can
10076be used with @code{cl-yacc}.")
10077 (home-page "https://github.com/djr7C4/cl-lex")
10078 (license license:gpl3))))
10079
10080(define-public cl-lex
10081 (sbcl-package->cl-source-package sbcl-cl-lex))
10082
10083(define-public ecl-cl-lex
10084 (sbcl-package->ecl-package sbcl-cl-lex))
21a519fa
GLV
10085
10086(define-public sbcl-clunit2
10087 (let ((commit "5e28343734eb9b7aee39306a614af92c1062d50b")
10088 (revision "1"))
10089 (package
10090 (name "sbcl-clunit2")
10091 (version (git-version "0.2.4" revision commit))
10092 (source
10093 (origin
10094 (method git-fetch)
10095 (uri (git-reference
10096 (url "https://notabug.org/cage/clunit2.git")
10097 (commit commit)))
10098 (file-name (git-file-name name version))
10099 (sha256
10100 (base32 "1ngiapfki6nm8a555mzhb5p7ch79i3w665za5bmb5j7q34fy80vw"))))
10101 (build-system asdf-build-system/sbcl)
10102 (synopsis "Unit testing framework for Common Lisp")
10103 (description
10104 "CLUnit is a Common Lisp unit testing framework. It is designed to be
10105easy to use so that you can quickly start testing.")
10106 (home-page "https://notabug.org/cage/clunit2")
10107 (license license:expat))))
10108
10109(define-public cl-clunit2
10110 (sbcl-package->cl-source-package sbcl-clunit2))
10111
10112(define-public ecl-clunit2
10113 (sbcl-package->ecl-package sbcl-clunit2))
e9a36a74
GLV
10114
10115(define-public sbcl-cl-colors2
10116 (let ((commit "795aedee593b095fecde574bd999b520dd03ed24")
10117 (revision "1"))
10118 (package
10119 (name "sbcl-cl-colors2")
10120 (version (git-version "0.2.1" revision commit))
10121 (source
10122 (origin
10123 (method git-fetch)
10124 (uri (git-reference
10125 (url "https://notabug.org/cage/cl-colors2.git")
10126 (commit commit)))
10127 (file-name (git-file-name name version))
10128 (sha256
10129 (base32 "0hlyf4h5chkjdp9armla5w4kw5acikk159sym7y8c4jbjp9x47ih"))))
10130 (build-system asdf-build-system/sbcl)
10131 (native-inputs
10132 `(("clunit2" ,sbcl-clunit2)))
10133 (inputs
10134 `(("alexandria" ,sbcl-alexandria)
10135 ("cl-ppcre" ,sbcl-cl-ppcre)))
10136 (synopsis "Color library for Common Lisp")
10137 (description
10138 "This is a very simple color library for Common Lisp, providing:
10139
10140@itemize
10141@item Types for representing colors in HSV and RGB spaces.
10142@item Simple conversion functions between the above types (and also
10143hexadecimal representation for RGB).
10144@item Some predefined colors (currently X11 color names -- of course
10145the library does not depend on X11).
10146@end itemize\n")
10147 (home-page "https://notabug.org/cage/cl-colors2")
10148 (license license:boost1.0))))
10149
10150(define-public cl-colors2
10151 (sbcl-package->cl-source-package sbcl-cl-colors2))
10152
10153(define-public ecl-cl-colors2
10154 (sbcl-package->ecl-package sbcl-cl-colors2))
d5f63a73
GLV
10155
10156(define-public sbcl-cl-jpeg
10157 (let ((commit "ec557038128df6895fbfb743bfe8faf8ec2534af")
10158 (revision "1"))
10159 (package
10160 (name "sbcl-cl-jpeg")
10161 (version (git-version "2.8" revision commit))
10162 (source
10163 (origin
10164 (method git-fetch)
10165 (uri (git-reference
10166 (url "https://github.com/sharplispers/cl-jpeg.git")
10167 (commit commit)))
10168 (file-name (git-file-name name version))
10169 (sha256
10170 (base32 "1bkkiqz8fqldlj1wbmrccjsvxcwj98h6s4b6gslr3cg2wmdv5xmy"))))
10171 (build-system asdf-build-system/sbcl)
10172 (synopsis "JPEG image library for Common Lisp")
10173 (description
10174 "This is a baseline JPEG codec written in Common Lisp. It can be used
10175for reading and writing JPEG image files.")
10176 (home-page "https://github.com/sharplispers/cl-jpeg")
10177 (license license:bsd-3))))
10178
10179(define-public cl-jpeg
10180 (sbcl-package->cl-source-package sbcl-cl-jpeg))
10181
10182(define-public ecl-cl-jpeg
10183 (sbcl-package->ecl-package sbcl-cl-jpeg))
227aeeb6
GLV
10184
10185(define-public sbcl-nodgui
10186 (let ((commit "bc59ed9b787dfc9e68ae3bd7f7e8507c5c619212")
10187 (revision "1"))
10188 (package
10189 (name "sbcl-nodgui")
10190 (version (git-version "0.0.5" revision commit))
10191 (source
10192 (origin
10193 (method git-fetch)
10194 (uri (git-reference
10195 (url "https://notabug.org/cage/nodgui.git")
10196 (commit commit)))
10197 (file-name (git-file-name name version))
10198 (sha256
10199 (base32 "0xx0dk54d882i598ydnwmy7mnfk0b7vib3ddsgpqxhjck1rwq8l8"))))
10200 (build-system asdf-build-system/sbcl)
10201 (inputs
10202 `(("alexandria" ,sbcl-alexandria)
10203 ("bordeaux-threads" ,sbcl-bordeaux-threads)
10204 ("cl-colors2" ,sbcl-cl-colors2)
10205 ("cl-jpeg" ,sbcl-cl-jpeg)
10206 ("cl-lex" ,sbcl-cl-lex)
10207 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
10208 ("cl-unicode" ,sbcl-cl-unicode)
10209 ("cl-yacc" ,sbcl-cl-yacc)
10210 ("clunit2" ,sbcl-clunit2)
10211 ("named-readtables" ,sbcl-named-readtables)
10212 ("parse-number" ,sbcl-parse-number)
10213 ("tk" ,tk)))
10214 (arguments
10215 `(#:phases (modify-phases %standard-phases
10216 (add-after 'unpack 'fix-paths
10217 (lambda* (#:key inputs #:allow-other-keys)
10218 (substitute* "src/wish-communication.lisp"
10219 (("#-freebsd \"wish\"")
10220 (string-append "#-freebsd \""
10221 (assoc-ref inputs "tk")
10222 "/bin/wish\"")))
10223 #t)))))
10224 (synopsis "Common Lisp bindings for the Tk GUI toolkit")
10225 (description
10226 "Nodgui (@emph{No Drama GUI}) is a Common Lisp binding for the Tk GUI
10227toolkit. It also provides a few additional widgets more than the standard Tk
10228ones.")
10229 (home-page "https://www.autistici.org/interzona/nodgui.html")
10230 (license license:llgpl))))
10231
10232(define-public cl-nodgui
10233 (sbcl-package->cl-source-package sbcl-nodgui))
10234
10235(define-public ecl-nodgui
10236 (sbcl-package->ecl-package sbcl-nodgui))
46cc2a38
GLV
10237
10238(define-public sbcl-salza2
10239 (package
10240 (name "sbcl-salza2")
10241 (version "2.0.9")
10242 (source
10243 (origin
10244 (method git-fetch)
10245 (uri (git-reference
10246 (url "https://github.com/xach/salza2.git")
10247 (commit (string-append "release-" version))))
10248 (file-name (git-file-name name version))
10249 (sha256
10250 (base32 "0p38rj4gq7j5k807php7hrz7l2zyyfshv8i9yms7i8lkgg3433ki"))))
10251 (build-system asdf-build-system/sbcl)
10252 (synopsis "Common Lisp library for zlib, deflate and gzip compression")
10253 (description
10254 "Salza2 is a Common Lisp library for creating compressed data in the zlib,
10255deflate, or gzip data formats, described in RFC 1950, RFC 1951, and RFC 1952,
10256respectively.")
10257 (home-page "https://www.xach.com/lisp/salza2/")
10258 (license license:bsd-2)))
10259
10260(define-public cl-salza2
10261 (sbcl-package->cl-source-package sbcl-salza2))
10262
10263(define-public ecl-salza2
10264 (sbcl-package->ecl-package sbcl-salza2))
d165821e
GLV
10265
10266(define-public sbcl-png-read
10267 (let ((commit "ec29f38a689972b9f1373f13bbbcd6b05deada88")
10268 (revision "1"))
10269 (package
10270 (name "sbcl-png-read")
10271 (version (git-version "0.3.1" revision commit))
10272 (source
10273 (origin
10274 (method git-fetch)
10275 (uri (git-reference
10276 (url "https://github.com/Ramarren/png-read.git")
10277 (commit commit)))
10278 (file-name (git-file-name name version))
10279 (sha256
10280 (base32 "0vyczbcwskrygrf1hgrsnk0jil8skmvf1kiaalw5jps4fjrfdkw0"))))
10281 (build-system asdf-build-system/sbcl)
10282 (inputs
10283 `(("babel" ,sbcl-babel)
10284 ("chipz" ,sbcl-chipz)
10285 ("iterate" ,sbcl-iterate)))
10286 (synopsis "PNG decoder for Common Lisp")
10287 (description "This is a Common Lisp library for reading PNG images.")
10288 (home-page "https://github.com/Ramarren/png-read")
10289 (license license:bsd-3))))
10290
10291(define-public cl-png-read
10292 (sbcl-package->cl-source-package sbcl-png-read))
10293
10294(define-public ecl-png-read
10295 (sbcl-package->ecl-package sbcl-png-read))
7b875e4e
GLV
10296
10297(define-public sbcl-zpng
10298 (package
10299 (name "sbcl-zpng")
10300 (version "1.2.2")
10301 (source
10302 (origin
10303 (method git-fetch)
10304 (uri (git-reference
10305 (url "https://github.com/xach/zpng.git")
10306 (commit (string-append "release-" version))))
10307 (file-name (git-file-name name version))
10308 (sha256
10309 (base32 "0b3ag3jhl3z7kdls3ahdsdxsfhhw5qrizk769984f4wkxhb69rcm"))))
10310 (build-system asdf-build-system/sbcl)
10311 (inputs
10312 `(("salza2" ,sbcl-salza2)))
10313 (synopsis "PNG encoder for Common Lisp")
10314 (description "This is a Common Lisp library for creating PNG images.")
10315 (home-page "https://www.xach.com/lisp/zpng/")
10316 (license license:bsd-2)))
10317
10318(define-public cl-zpng
10319 (sbcl-package->cl-source-package sbcl-zpng))
10320
10321(define-public ecl-zpng
10322 (sbcl-package->ecl-package sbcl-zpng))
5d4d4c01
GLV
10323
10324(define-public sbcl-cl-qrencode
10325 (package
10326 (name "sbcl-cl-qrencode")
10327 (version "0.1.2")
10328 (source
10329 (origin
10330 (method git-fetch)
10331 (uri (git-reference
10332 (url "https://github.com/jnjcc/cl-qrencode.git")
10333 (commit (string-append "v" version))))
10334 (file-name (git-file-name name version))
10335 (sha256
10336 (base32 "1l5k131dchbf6cj8a8xqa731790p01p3qa1kdy2wa9dawy3ymkxr"))))
10337 (build-system asdf-build-system/sbcl)
10338 (native-inputs
10339 `(("lisp-unit" ,sbcl-lisp-unit)))
10340 (inputs
10341 `(("zpng" ,sbcl-zpng)))
10342 (synopsis "QR code encoder for Common Lisp")
10343 (description
10344 "This Common Lisp library provides function to make QR codes and to save
10345them as PNG files.")
10346 (home-page "https://github.com/jnjcc/cl-qrencode")
10347 (license license:gpl2+)))
10348
10349(define-public cl-qrencode
10350 (sbcl-package->cl-source-package sbcl-cl-qrencode))
10351
10352(define-public ecl-cl-qrencode
10353 (sbcl-package->ecl-package sbcl-cl-qrencode))
c6397e3e
KH
10354
10355(define-public sbcl-hdf5-cffi
10356 (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c")
10357 (revision "1"))
10358 (package
10359 (name "sbcl-hdf5-cffi")
10360 (version (git-version "1.8.18" revision commit))
10361 (source
10362 (origin
10363 (method git-fetch)
10364 (uri (git-reference
10365 (url "https://github.com/hdfgroup/hdf5-cffi.git")
10366 (commit commit)))
10367 (file-name (git-file-name name version))
10368 (sha256
10369 (base32
10370 "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf"))))
10371 (build-system asdf-build-system/sbcl)
10372 (synopsis "Common Lisp bindings for the HDF5 library")
10373 (description
10374 "@code{hdf5-cffi} is a CFFI wrapper for the HDF5 library.")
10375 (home-page "https://github.com/hdfgroup/hdf5-cffi")
10376 (license (license:non-copyleft
10377 (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/"
10378 commit
10379 "/LICENSE")))
10380 (inputs
10381 `(("cffi" ,sbcl-cffi)
10382 ("cffi-grovel" ,sbcl-cffi-grovel)
10383 ("hdf5" ,hdf5-1.10)))
10384 (native-inputs
10385 `(("fiveam" ,sbcl-fiveam)))
10386 (arguments
10387 `(#:asd-system-name "hdf5-cffi"
10388 #:asd-file "hdf5-cffi.asd"
10389 #:test-asd-file "hdf5-cffi.test.asd"
10390 ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd,
10391 ;; I don't know if there is a way to tell asdf-build-system to load
10392 ;; an additional system first, so tests are disabled.
10393 #:tests? #f
10394 #:phases
10395 (modify-phases %standard-phases
10396 (add-after 'unpack 'fix-paths
10397 (lambda* (#:key inputs #:allow-other-keys)
10398 (substitute* "src/library.lisp"
10399 (("libhdf5.so")
10400 (string-append
10401 (assoc-ref inputs "hdf5")
10402 "/lib/libhdf5.so")))))
10403 (add-after 'unpack 'fix-dependencies
10404 (lambda* (#:key inputs #:allow-other-keys)
10405 (substitute* "hdf5-cffi.asd"
10406 ((":depends-on \\(:cffi\\)")
10407 ":depends-on (:cffi :cffi-grovel)"))
10408 (substitute* "hdf5-cffi.test.asd"
10409 ((":depends-on \\(:cffi :hdf5-cffi")
10410 ":depends-on (:cffi :cffi-grovel :hdf5-cffi"))))))))))
10411
10412(define-public cl-hdf5-cffi
10413 (sbcl-package->cl-source-package sbcl-hdf5-cffi))
10414
10415(define-public ecl-hdf5-cffi
10416 (sbcl-package->ecl-package sbcl-hdf5-cffi))
c6e6254a
KH
10417
10418(define-public sbcl-cl-randist
10419 (package
10420 (name "sbcl-cl-randist")
10421 (version "0.4.2")
10422 (source
10423 (origin
10424 (method git-fetch)
10425 (uri (git-reference
10426 (url "https://github.com/lvaruzza/cl-randist.git")
10427 (commit "f088a54b540a7adefab7c04094a6103f9edda3d0")))
10428 (file-name (git-file-name name version))
10429 (sha256
10430 (base32
10431 "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g"))))
10432 (build-system asdf-build-system/sbcl)
10433 (synopsis "Random distributions for Common Lisp")
10434 (description
10435 "Manual translation from C to Common Lisp of some random number
10436generation functions from the GSL library.")
10437 (home-page "https://github.com/lvaruzza/cl-randist")
10438 (license license:bsd-2)
10439 (arguments
10440 `(#:asd-system-name "cl-randist"
10441 #:asd-file "cl-randist.asd"
10442 #:tests? #f))))
10443
10444(define-public cl-randist
10445 (sbcl-package->cl-source-package sbcl-cl-randist))
10446
10447(define-public ecl-cl-randist
10448 (sbcl-package->ecl-package sbcl-cl-randist))
41884bfa
KH
10449
10450(define-public sbcl-float-features
10451 (package
10452 (name "sbcl-float-features")
10453 (version "1.0.0")
10454 (source
10455 (origin
10456 (method git-fetch)
10457 (uri (git-reference
10458 (url "https://github.com/Shinmera/float-features.git")
10459 (commit "d3ef60181635b0849aa28cfc238053b7ca4644b0")))
10460 (file-name (git-file-name name version))
10461 (sha256
10462 (base32
10463 "0yj419k7n59x6rh3grwr6frgwwyria2il6f7wxpfazm8cskv4lzr"))))
10464 (build-system asdf-build-system/sbcl)
10465 (synopsis "Common Lisp IEEE float portability library")
10466 (description
10467 "Portability library for IEEE float features that are not
10468covered by the Common Lisp standard.")
10469 (home-page "https://github.com/Shinmera/float-features")
10470 (license license:zlib)
10471 (inputs
10472 `(("documentation-utils" ,sbcl-documentation-utils)))
10473 (arguments
10474 `(#:asd-system-name "float-features"
10475 #:asd-file "float-features.asd"
10476 #:tests? #f))))
10477
10478(define-public cl-float-features
10479 (sbcl-package->cl-source-package sbcl-float-features))
10480
10481(define-public ecl-float-features
10482 (sbcl-package->ecl-package sbcl-float-features))
06327c30
KH
10483
10484(define-public sbcl-function-cache
10485 (package
10486 (name "sbcl-function-cache")
10487 (version "1.0.3")
10488 (source
10489 (origin
10490 (method git-fetch)
10491 (uri (git-reference
10492 (url "https://github.com/AccelerationNet/function-cache.git")
10493 (commit "6a5ada401e57da2c8abf046f582029926e61fce8")))
10494 (file-name (git-file-name name version))
10495 (sha256
10496 (base32
10497 "000vmd3f5rx5hs9nvphfric0gkzaadns31c6mxaslpv0k7pkrmc6"))))
10498 (build-system asdf-build-system/sbcl)
10499 (synopsis "Function caching / memoization library for Common Lisp")
10500 (description
10501 "A common lisp library that provides extensible function result
10502caching based on arguments (an expanded form of memoization).")
10503 (home-page "https://github.com/AccelerationNet/function-cache")
10504 (license
10505 (license:non-copyleft
10506 "https://github.com/AccelerationNet/function-cache/blob/master/README.md"))
10507 (inputs
10508 `(("alexandria" ,sbcl-alexandria)
10509 ("cl-interpol" ,sbcl-cl-interpol)
10510 ("iterate" ,sbcl-iterate)
10511 ("symbol-munger" ,sbcl-symbol-munger)
10512 ("closer-mop" ,sbcl-closer-mop)))
10513 (arguments
10514 `(#:asd-system-name "function-cache"
10515 #:asd-file "function-cache.asd"
10516 #:tests? #f))))
10517
10518(define-public cl-function-cache
10519 (sbcl-package->cl-source-package sbcl-function-cache))
10520
10521(define-public ecl-function-cache
10522 (sbcl-package->ecl-package sbcl-function-cache))
e4f7ef87
KH
10523
10524(define-public sbcl-type-r
10525 (let ((commit "83c89e38f2f7a7b16f1012777ecaf878cfa6a267")
10526 (revision "1"))
10527 (package
10528 (name "sbcl-type-r")
10529 (version (git-version "0.0.0" revision commit))
10530 (source
10531 (origin
10532 (method git-fetch)
10533 (uri (git-reference
10534 (url "https://github.com/guicho271828/type-r.git")
10535 (commit commit)))
10536 (file-name (git-file-name name version))
10537 (sha256
10538 (base32
10539 "1arsxc2539rg8vbrdirz4xxj1b06mc6g6rqndz7a02g127qvk2sm"))))
10540 (build-system asdf-build-system/sbcl)
10541 (synopsis "Parser interface for Common Lisp built-in compound types")
10542 (description
10543 "Collections of accessor functions and patterns to access
10544the elements in compound type specifier, e.g. @code{dimensions} in
10545@code{(array element-type dimensions)}")
10546 (home-page "https://github.com/guicho271828/type-r")
10547 (license license:lgpl3+)
10548 (inputs
10549 `(("trivia" ,sbcl-trivia)
10550 ("alexandria" ,sbcl-alexandria)))
10551 (native-inputs
10552 `(("fiveam" ,sbcl-fiveam)))
10553 (arguments
10554 `(#:asd-system-name "type-r"
10555 #:asd-file "type-r.asd"
10556 #:test-asd-file "type-r.test.asd")))))
10557
10558(define-public cl-type-r
10559 (sbcl-package->cl-source-package sbcl-type-r))
8926866e
KH
10560
10561(define-public sbcl-trivialib-type-unify
10562 (let ((commit "62492ebf04db567dcf435ae84c50b7b8202ecf99")
10563 (revision "1"))
10564 (package
10565 (name "sbcl-trivialib-type-unify")
10566 (version (git-version "0.1" revision commit))
10567 (source
10568 (origin
10569 (method git-fetch)
10570 (uri (git-reference
10571 (url "https://github.com/guicho271828/trivialib.type-unify.git")
10572 (commit commit)))
10573 (file-name (git-file-name name version))
10574 (sha256
10575 (base32
10576 "1bkyfzbwv75p50zp8n1n9rh2r29pw3vgz91gmn2gzzkyq3khj1vh"))))
10577 (build-system asdf-build-system/sbcl)
10578 (synopsis "Common Lisp type unification")
10579 (description
10580 "Unifies a parametrized type specifier against an actual type specifier.
10581Importantly, it handles complicated array-subtypes and number-related types
10582correctly.")
10583 (home-page "https://github.com/guicho271828/trivialib.type-unify")
10584 (license license:lgpl3+)
10585 (inputs
10586 `(("alexandria" ,sbcl-alexandria)
10587 ("trivia" ,sbcl-trivia)
10588 ("introspect-environment" ,sbcl-introspect-environment)
10589 ("type-r" ,sbcl-type-r)))
10590 (native-inputs
10591 `(("fiveam" ,sbcl-fiveam)))
10592 (arguments
10593 `(#:asd-system-name "trivialib.type-unify"
10594 #:asd-file "trivialib.type-unify.asd"
10595 #:test-asd-file "trivialib.type-unify.test.asd")))))
10596
10597(define-public cl-trivialib-type-unify
10598 (sbcl-package->cl-source-package sbcl-trivialib-type-unify))
ca6c5c7f
KH
10599
10600(define-public sbcl-specialized-function
10601 (let ((commit "b96b6afaf8358bf91cc0703e62a5a4ee20d2b7bc")
10602 (revision "1"))
10603 (package
10604 (name "sbcl-specialized-function")
10605 (version (git-version "0.0.0" revision commit))
10606 (source
10607 (origin
10608 (method git-fetch)
10609 (uri (git-reference
10610 (url "https://github.com/numcl/specialized-function.git")
10611 (commit commit)))
10612 (file-name (git-file-name name version))
10613 (sha256
10614 (base32
10615 "12j45ff0n26578vmfbhb9mfbdchw4wy023k0m2ppgl9s0z4bhjaj"))))
10616 (build-system asdf-build-system/sbcl)
10617 (synopsis "Julia-like dispatch for Common Lisp")
10618 (description
10619 "This library is part of NUMCL. It provides a macro
10620@code{SPECIALIZED} that performs a Julia-like dispatch on the arguments,
10621lazily compiling a type-specific version of the function from the same
10622code. The main target of this macro is speed.")
10623 (home-page "https://github.com/numcl/specialized-function")
10624 (license license:lgpl3+)
10625 (inputs
10626 `(("trivia" ,sbcl-trivia)
10627 ("alexandria" ,sbcl-alexandria)
10628 ("iterate" ,sbcl-iterate)
10629 ("lisp-namespace" ,sbcl-lisp-namespace)
10630 ("type-r" ,sbcl-type-r)
10631 ("trivial-cltl2" ,sbcl-trivial-cltl2)))
10632 (native-inputs
10633 `(("fiveam" ,sbcl-fiveam)))
10634 (arguments
10635 `(#:asd-system-name "specialized-function"
10636 #:asd-file "specialized-function.asd"
10637 #:test-asd-file "specialized-function.test.asd")))))
10638
10639(define-public cl-specialized-function
10640 (sbcl-package->cl-source-package sbcl-specialized-function))
6e0f2b95
KH
10641
10642(define-public sbcl-constantfold
10643 (let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4")
10644 (revision "1"))
10645 (package
10646 (name "sbcl-constantfold")
10647 (version (git-version "0.1" revision commit))
10648 (source
10649 (origin
10650 (method git-fetch)
10651 (uri (git-reference
10652 (url "https://github.com/numcl/constantfold.git")
10653 (commit commit)))
10654 (file-name (git-file-name name version))
10655 (sha256
10656 (base32
10657 "153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06"))))
10658 (build-system asdf-build-system/sbcl)
10659 (synopsis "Support library for numcl")
10660 (description
10661 "Support library for numcl. Registers a function as an
10662additional form that is considered as a candidate for a constant.")
10663 (home-page "https://github.com/numcl/constantfold")
10664 (license license:lgpl3+)
10665 (inputs
10666 `(("trivia" ,sbcl-trivia)
10667 ("alexandria" ,sbcl-alexandria)
10668 ("iterate" ,sbcl-iterate)
10669 ("lisp-namespace" ,sbcl-lisp-namespace)))
10670 (native-inputs
10671 `(("fiveam" ,sbcl-fiveam)))
10672 (arguments
10673 `(#:asd-system-name "constantfold"
10674 #:asd-file "constantfold.asd"
10675 #:test-asd-file "constantfold.test.asd")))))
10676
10677(define-public cl-constantfold
10678 (sbcl-package->cl-source-package sbcl-constantfold))
5ce7d186
KH
10679
10680(define-public sbcl-gtype
10681 (let ((commit "42275e3606242ae91e9c8dfa30c18ced50a35b66")
10682 (revision "1"))
10683 (package
10684 (name "sbcl-gtype")
10685 (version (git-version "0.1" revision commit))
10686 (source
10687 (origin
10688 (method git-fetch)
10689 (uri (git-reference
10690 (url "https://github.com/numcl/gtype.git")
10691 (commit commit)))
10692 (file-name (git-file-name name version))
10693 (sha256
10694 (base32
10695 "1f56dba998v945jcxhha391557n6md1ql25b7icfwwfivhmlaa9b"))))
10696 (build-system asdf-build-system/sbcl)
10697 (synopsis "C++/Julia-like parametric types in Common Lisp")
10698 (description
10699 "Support library for numcl that provides Julia-like runtime parametric
10700type correctness in Common Lisp. It is based on CLtL2 extensions.")
10701 (home-page "https://github.com/numcl/gtype")
10702 (license license:lgpl3+)
10703 (inputs
10704 `(("trivialib.type-unify" ,sbcl-trivialib-type-unify)
10705 ("trivial-cltl2" ,sbcl-trivial-cltl2)
10706 ("trivia" ,sbcl-trivia)
10707 ("alexandria" ,sbcl-alexandria)
10708 ("iterate" ,sbcl-iterate)
10709 ("type-r" ,sbcl-type-r)))
10710 (native-inputs
10711 `(("fiveam" ,sbcl-fiveam)))
10712 (arguments
10713 `(#:asd-system-name "gtype"
10714 #:asd-file "gtype.asd"
10715 #:test-asd-file "gtype.test.asd")))))
10716
10717(define-public cl-gtype
10718 (sbcl-package->cl-source-package sbcl-gtype))
7ad12200
KH
10719
10720(define-public sbcl-numcl
10721 (let ((commit "1cf7dfa59f763a24a501092870e9c5ee745d0c17")
10722 (revision "1"))
10723 (package
10724 (name "sbcl-numcl")
10725 (version (git-version "0.1.0" revision commit))
10726 (source
10727 (origin
10728 (method git-fetch)
10729 (uri (git-reference
10730 (url "https://github.com/numcl/numcl.git")
10731 (commit commit)))
10732 (file-name (git-file-name name version))
10733 (sha256
10734 (base32
10735 "0i3jby9hf4ii7blivgyza80g0vmjfhk8537i5i7kqqk0i5sdnym2"))))
10736 (build-system asdf-build-system/sbcl)
10737 (synopsis "Numpy clone in Common Lisp")
10738 (description
10739 "This is a Numpy clone in Common Lisp. At the moment the
10740library is written in pure Common Lisp, focusing more on correctness
10741and usefulness, not speed. Track the progress at
10742@url{https://github.com/numcl/numcl/projects/1}.")
10743 (home-page "https://github.com/numcl/numcl")
10744 (license license:lgpl3+)
10745 (inputs
10746 `(("trivia" ,sbcl-trivia)
10747 ("alexandria" ,sbcl-alexandria)
10748 ("iterate" ,sbcl-iterate)
10749 ("lisp-namespace" ,sbcl-lisp-namespace)
10750 ("type-r" ,sbcl-type-r)
10751 ("constantfold" ,sbcl-constantfold)
10752 ("cl-randist" ,sbcl-cl-randist)
10753 ("float-features" ,sbcl-float-features)
10754 ("function-cache" ,sbcl-function-cache)
10755 ("specialized-function" ,sbcl-specialized-function)
10756 ("gtype" ,sbcl-gtype)))
10757 (native-inputs
10758 `(("fiveam" ,sbcl-fiveam)))
10759 (arguments
10760 `(#:asd-system-name "numcl"
10761 #:asd-file "numcl.asd"
10762 #:test-asd-file "numcl.test.asd")))))
10763
10764(define-public cl-numcl
10765 (sbcl-package->cl-source-package sbcl-numcl))
a3f6c410
GLV
10766
10767(define-public sbcl-pzmq
10768 (let ((commit "7c7390eedc469d033c72dc497984d1536ee75826")
10769 (revision "1"))
10770 (package
10771 (name "sbcl-pzmq")
10772 (version (git-version "0.0.0" revision commit))
10773 (source
10774 (origin
10775 (method git-fetch)
10776 (uri (git-reference
10777 (url "https://github.com/orivej/pzmq.git")
10778 (commit commit)))
10779 (file-name (git-file-name name version))
10780 (sha256
10781 (base32 "0gmwzf7h90wa7v4wnk49g0hv2mdalljpwhyigxcb967wzv8lqci9"))))
10782 (build-system asdf-build-system/sbcl)
10783 (native-inputs
10784 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
10785 ("fiveam" ,sbcl-fiveam)
10786 ("let-plus" ,sbcl-let-plus)))
10787 (inputs
10788 `(("cffi" ,sbcl-cffi)
10789 ("cffi-grovel" ,sbcl-cffi-grovel)
10790 ("zeromq" ,zeromq)))
10791 (arguments
10792 `(#:phases (modify-phases %standard-phases
10793 (add-after 'unpack 'fix-paths
10794 (lambda* (#:key inputs #:allow-other-keys)
10795 (substitute* "c-api.lisp"
10796 (("\"libzmq")
10797 (string-append "\""
10798 (assoc-ref inputs "zeromq")
10799 "/lib/libzmq")))
10800 #t)))))
10801 (synopsis "Common Lisp bindings for the ZeroMQ library")
10802 (description "This Common Lisp library provides bindings for the ZeroMQ
10803lightweight messaging kernel.")
10804 (home-page "https://github.com/orivej/pzmq")
10805 (license license:unlicense))))
10806
10807(define-public cl-pzmq
10808 (sbcl-package->cl-source-package sbcl-pzmq))
10809
10810(define-public ecl-pzmq
10811 (sbcl-package->ecl-package sbcl-pzmq))
cfc9004e
DD
10812
10813(define-public sbcl-clss
10814 (let ((revision "1")
10815 (commit "2a8e8615ab55870d4ca01928f3ed3bbeb4e75c8d"))
10816 (package
10817 (name "sbcl-clss")
10818 (version (git-version "0.3.1" revision commit))
10819 (source
10820 (origin
10821 (method git-fetch)
10822 (uri
10823 (git-reference
10824 (url "https://github.com/Shinmera/clss.git")
10825 (commit commit)))
10826 (sha256
10827 (base32 "0la4dbcda78x29szanylccrsljqrn9d1mhh569sqkyp44ni5fv91"))
10828 (file-name (git-file-name name version))))
10829 (inputs
10830 `(("array-utils" ,sbcl-array-utils)
10831 ("plump" ,sbcl-plump)))
10832 (build-system asdf-build-system/sbcl)
10833 (synopsis "DOM tree searching engine based on CSS selectors")
10834 (description "CLSS is a DOM traversal engine based on CSS
10835selectors. It makes use of the Plump-DOM and is used by lQuery.")
10836 (home-page "https://github.com/Shinmera/clss")
10837 (license license:zlib))))
10838
10839(define-public cl-clss
10840 (sbcl-package->cl-source-package sbcl-clss))
10841
10842(define-public ecl-clss
10843 (sbcl-package->ecl-package sbcl-clss))
eb859957
DD
10844
10845(define-public sbcl-lquery
10846 (let ((revision "1")
10847 (commit "8048111c6b83956daa632e7a3ffbd8c9c203bd8d"))
10848 (package
10849 (name "sbcl-lquery")
10850 (version (git-version "3.2.1" revision commit))
10851 (source
10852 (origin
10853 (method git-fetch)
10854 (uri
10855 (git-reference
10856 (url "https://github.com/Shinmera/lquery.git")
10857 (commit commit)))
10858 (sha256
10859 (base32 "0520mcpxc2d6fdm8z61arpgd2z38kan7cf06qs373n5r64rakz6w"))
10860 (file-name (git-file-name name version))))
10861 (native-inputs
10862 `(("fiveam" ,sbcl-fiveam)))
10863 (inputs
10864 `(("array-utils" ,sbcl-array-utils)
10865 ("form-fiddle" ,sbcl-form-fiddle)
10866 ("plump" ,sbcl-plump)
10867 ("clss" ,sbcl-clss)))
10868 (build-system asdf-build-system/sbcl)
10869 (synopsis "Library to allow jQuery-like HTML/DOM manipulation")
10870 (description "@code{lQuery} is a DOM manipulation library written in
10871Common Lisp, inspired by and based on the jQuery syntax and
10872functions. It uses Plump and CLSS as DOM and selector engines. The
10873main idea behind lQuery is to provide a simple interface for crawling
10874and modifying HTML sites, as well as to allow for an alternative
10875approach to templating.")
10876 (home-page "https://github.com/Shinmera/lquery")
10877 (license license:zlib))))
10878
10879(define-public cl-lquery
10880 (sbcl-package->cl-source-package sbcl-lquery))
10881
10882(define-public ecl-lquery
10883 (sbcl-package->ecl-package sbcl-lquery))
8a6c0f55
GLV
10884
10885(define-public sbcl-cl-mysql
10886 (let ((commit "ab56c279c1815aec6ca0bfe85164ff7e85cfb6f9")
10887 (revision "1"))
10888 (package
10889 (name "sbcl-cl-mysql")
10890 (version (git-version "0.1" revision commit))
10891 (source
10892 (origin
10893 (method git-fetch)
10894 (uri (git-reference
10895 (url "https://github.com/hackinghat/cl-mysql.git")
10896 (commit commit)))
10897 (file-name (git-file-name name version))
10898 (sha256
10899 (base32 "0dg5ynx2ww94d0qfwrdrm7plkn43h64hs4iiq9mj2s1s4ixnp3lr"))))
10900 (build-system asdf-build-system/sbcl)
10901 (native-inputs
10902 `(("stefil" ,sbcl-stefil)))
10903 (inputs
10904 `(("cffi" ,sbcl-cffi)
10905 ("mariadb-lib" ,mariadb "lib")))
10906 (arguments
10907 `(#:tests? #f ; TODO: Tests require a running server
10908 #:phases
10909 (modify-phases %standard-phases
10910 (add-after 'unpack 'fix-paths
10911 (lambda* (#:key inputs #:allow-other-keys)
10912 (substitute* "system.lisp"
10913 (("libmysqlclient_r" all)
10914 (string-append (assoc-ref inputs "mariadb-lib")
10915 "/lib/"
10916 all)))
10917 #t)))))
10918 (synopsis "Common Lisp wrapper for MySQL")
10919 (description
10920 "@code{cl-mysql} is a Common Lisp implementation of a MySQL wrapper.")
10921 (home-page "http://www.hackinghat.com/index.php/cl-mysql")
10922 (license license:expat))))
10923
10924(define-public cl-mysql
10925 (sbcl-package->cl-source-package sbcl-cl-mysql))
c79ea1a2
GLV
10926
10927(define-public sbcl-simple-date
10928 (let ((commit "74469b25bbda990ec9b77e0d0eccdba0cd7e721a")
10929 (revision "1"))
10930 (package
10931 (name "sbcl-simple-date")
10932 (version (git-version "1.19" revision commit))
10933 (source
10934 (origin
10935 (method git-fetch)
10936 (uri (git-reference
10937 (url "https://github.com/marijnh/Postmodern.git")
10938 (commit commit)))
10939 (file-name (git-file-name name version))
10940 (sha256
10941 (base32 "0im7ymnyxjhn2w74jfg76k5gpr0gl33n31akx33hl28722ljd0hd"))))
10942 (build-system asdf-build-system/sbcl)
10943 (native-inputs
10944 `(("fiveam" ,sbcl-fiveam)))
10945 (synopsis "Basic date and time objects for Common Lisp")
10946 (description
10947 "@code{simple-date} is a very basic implementation of date and time
10948objects, used to support storing and retrieving time-related SQL types.")
10949 (home-page "https://marijnhaverbeke.nl/postmodern/")
10950 (license license:zlib))))
10951
10952(define-public cl-simple-date
10953 (sbcl-package->cl-source-package sbcl-simple-date))
10954
10955(define-public ecl-simple-date
10956 (sbcl-package->ecl-package sbcl-simple-date))
f5203d25
GLV
10957
10958(define-public sbcl-cl-postgres
10959 (package
10960 (inherit sbcl-simple-date)
10961 (name "sbcl-cl-postgres")
10962 (native-inputs
10963 `(("fiveam" ,sbcl-fiveam)
10964 ("simple-date" ,sbcl-simple-date)))
10965 (inputs
10966 `(("md5" ,sbcl-md5)
10967 ("split-sequence" ,sbcl-split-sequence)
10968 ("usocket" ,sbcl-usocket)))
10969 (arguments
10970 `(#:tests? #f)) ; TODO: Break simple-date/postgres-glue circular dependency
10971 (synopsis "Common Lisp interface for PostgreSQL")
10972 (description
10973 "@code{cl-postgres} is a low-level library used for interfacing with
10974a PostgreSQL server over a socket.")))
10975
10976(define-public cl-postgres
10977 (sbcl-package->cl-source-package sbcl-cl-postgres))
acba62d9
GLV
10978
10979(define-public sbcl-simple-date-postgres-glue
10980 (package
10981 (inherit sbcl-simple-date)
10982 (name "sbcl-simple-date-postgres-glue")
10983 (inputs
10984 `(("cl-postgres" ,sbcl-cl-postgres)
10985 ("simple-date" ,sbcl-simple-date)))
10986 (arguments
10987 `(#:asd-file "simple-date.asd"
10988 #:asd-system-name "simple-date/postgres-glue"))))
10989
10990(define-public cl-simple-date-postgres-glue
10991 (sbcl-package->cl-source-package sbcl-simple-date-postgres-glue))
88dbe39b
GLV
10992
10993(define-public sbcl-s-sql
10994 (package
10995 (inherit sbcl-simple-date)
10996 (name "sbcl-s-sql")
10997 (inputs
10998 `(("alexandria" ,sbcl-alexandria)
10999 ("cl-postgres" ,sbcl-cl-postgres)))
11000 (arguments
11001 `(#:tests? #f)) ; TODO: Break postmodern circular dependency
11002 (synopsis "Lispy DSL for SQL")
11003 (description
11004 "@code{s-sql} is a Common Lisp library that can be used to compile
11005s-expressions to strings of SQL code, escaping any Lisp values inside, and
11006doing as much as possible of the work at compile time.")))
11007
11008(define-public cl-s-sql
11009 (sbcl-package->cl-source-package sbcl-s-sql))
add1a356
GLV
11010
11011(define-public sbcl-postmodern
11012 (package
11013 (inherit sbcl-simple-date)
11014 (name "sbcl-postmodern")
11015 (native-inputs
11016 `(("fiveam" ,sbcl-fiveam)
11017 ("simple-date" ,sbcl-simple-date)
11018 ("simple-date-postgres-glue" ,sbcl-simple-date-postgres-glue)))
11019 (inputs
11020 `(("alexandria" ,sbcl-alexandria)
11021 ("bordeaux-threads" ,sbcl-bordeaux-threads)
11022 ("cl-postgres" ,sbcl-cl-postgres)
11023 ("closer-mop" ,sbcl-closer-mop)
11024 ("global-vars" ,sbcl-global-vars)
11025 ("s-sql" ,sbcl-s-sql)
11026 ("split-sequence" ,sbcl-split-sequence)))
11027 (arguments
11028 ;; TODO: Fix missing dependency errors for simple-date/postgres-glue,
11029 ;; cl-postgres/tests and s-sql/tests.
11030 `(#:tests? #f))
11031 (synopsis "Common Lisp library for interacting with PostgreSQL")
11032 (description
11033 "@code{postmodern} is a Common Lisp library for interacting with
11034PostgreSQL databases. It provides the following features:
11035
11036@itemize
11037@item Efficient communication with the database server without need for
11038foreign libraries.
11039@item Support for UTF-8 on Unicode-aware Lisp implementations.
11040@item A syntax for mixing SQL and Lisp code.
11041@item Convenient support for prepared statements and stored procedures.
11042@item A metaclass for simple database-access objects.
11043@end itemize\n")))
11044
11045(define-public cl-postmodern
11046 (sbcl-package->cl-source-package sbcl-postmodern))
47a6cde0
GLV
11047
11048(define-public sbcl-dbi
11049 (package
11050 (name "sbcl-dbi")
11051 (version "0.9.4")
11052 (source
11053 (origin
11054 (method git-fetch)
11055 (uri (git-reference
11056 (url "https://github.com/fukamachi/cl-dbi.git")
11057 (commit version)))
11058 (file-name (git-file-name name version))
11059 (sha256
11060 (base32 "0m1fsravfaizamdak84adh3jxc4j91maqnrb4m08bfbmb04cdqhs"))))
11061 (build-system asdf-build-system/sbcl)
11062 (inputs
11063 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
11064 ("closer-mop" ,sbcl-closer-mop)
11065 ("split-sequence" ,sbcl-split-sequence)))
11066 (arguments
11067 `(#:tests? #f)) ; TODO: Break circular dependency with dbd-*
11068 (synopsis "Database independent interface for Common Lisp")
11069 (description
11070 "@code{dbi} is a Common Lisp library providing a database independent
11071interface for MySQL, PostgreSQL and SQLite.")
11072 (home-page "https://github.com/fukamachi/cl-dbi")
11073 (license license:llgpl)))
11074
11075(define-public cl-dbi
11076 (sbcl-package->cl-source-package sbcl-dbi))
903d0e81
GLV
11077
11078(define-public sbcl-dbd-mysql
11079 (package
11080 (inherit sbcl-dbi)
11081 (name "sbcl-dbd-mysql")
11082 (inputs
11083 `(("cl-mysql" ,sbcl-cl-mysql)
11084 ("dbi" ,sbcl-dbi)))
11085 (synopsis "Database driver for MySQL")))
11086
11087(define-public cl-dbd-mysql
11088 (sbcl-package->cl-source-package sbcl-dbd-mysql))
af469826
GLV
11089
11090(define-public sbcl-dbd-postgres
11091 (package
11092 (inherit sbcl-dbi)
11093 (name "sbcl-dbd-postgres")
11094 (inputs
11095 `(("cl-postgres" ,sbcl-cl-postgres)
11096 ("dbi" ,sbcl-dbi)
11097 ("trivial-garbage" ,sbcl-trivial-garbage)))
11098 (synopsis "Database driver for PostgreSQL")))
11099
11100(define-public cl-dbd-postgres
11101 (sbcl-package->cl-source-package sbcl-dbd-postgres))
0e9fc3d6
GLV
11102
11103(define-public sbcl-dbd-sqlite3
11104 (package
11105 (inherit sbcl-dbi)
11106 (name "sbcl-dbd-sqlite3")
11107 (inputs
11108 `(("cl-sqlite" ,sbcl-cl-sqlite)
11109 ("dbi" ,sbcl-dbi)
11110 ("trivial-garbage" ,sbcl-trivial-garbage)))
11111 (synopsis "Database driver for SQLite3")))
11112
11113(define-public cl-dbd-sqlite3
11114 (sbcl-package->cl-source-package sbcl-dbd-sqlite3))
1aa7ad1f
GLV
11115
11116(define-public sbcl-uffi
11117 (package
11118 (name "sbcl-uffi")
11119 (version "2.1.2")
11120 (source
11121 (origin
11122 (method git-fetch)
11123 (uri (git-reference
11124 (url "http://git.kpe.io/uffi.git")
11125 (commit (string-append "v" version))))
11126 (file-name (git-file-name name version))
11127 (sha256
11128 (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
11129 (build-system asdf-build-system/sbcl)
11130 (arguments
11131 `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions
11132 #:phases
11133 (modify-phases %standard-phases
11134 (add-after 'unpack 'fix-permissions
11135 (lambda _
11136 (make-file-writable "doc/html.tar.gz")
11137 #t)))))
11138 (synopsis "Universal foreign function library for Common Lisp")
11139 (description
11140 "UFFI provides a universal foreign function interface (FFI)
11141 for Common Lisp.")
11142 (home-page "http://quickdocs.org/uffi/")
11143 (license license:llgpl)))
11144
11145(define-public cl-uffi
11146 (package
11147 (inherit (sbcl-package->cl-source-package sbcl-uffi))
11148 (arguments
11149 `(#:phases
11150 ;; asdf-build-system/source has its own phases and does not inherit
11151 ;; from asdf-build-system/sbcl phases.
11152 (modify-phases %standard-phases/source
11153 (add-after 'unpack 'fix-permissions
11154 (lambda _
11155 (make-file-writable "doc/html.tar.gz")
11156 #t)))))))
5ae56f68
GLV
11157
11158(define-public sbcl-clsql
11159 (package
11160 (name "sbcl-clsql")
11161 (version "6.7.0")
11162 (source
11163 (origin
11164 (method git-fetch)
11165 (uri (git-reference
11166 (url "http://git.kpe.io/clsql.git")
11167 (commit (string-append "v" version))))
11168 (file-name (git-file-name name version))
11169 (sha256
11170 (base32 "1v1k3s5bsy3lgd9gk459bzpb1r0kdjda25s29samxw4gsgf1fqvp"))
11171 (snippet
11172 '(begin
11173 ;; Remove precompiled libraries.
11174 (delete-file "db-mysql/clsql_mysql.dll")
11175 (delete-file "uffi/clsql_uffi.dll")
11176 (delete-file "uffi/clsql_uffi.lib")
11177 #t))))
11178 (build-system asdf-build-system/sbcl)
11179 (native-inputs
11180 `(("cffi-uffi-compat" ,sbcl-cffi-uffi-compat)
11181 ("rt" ,sbcl-rt)
11182 ("uffi" ,sbcl-uffi)))
11183 (arguments
11184 `(#:phases
11185 (modify-phases %standard-phases
11186 (add-after 'unpack 'fix-permissions
11187 (lambda _
11188 (make-file-writable "doc/html.tar.gz")
11189 #t))
11190 (add-after 'unpack 'fix-tests
11191 (lambda _
11192 (substitute* "clsql.asd"
11193 (("clsql-tests :force t")
11194 "clsql-tests"))
11195 #t)))))
11196 (synopsis "Common Lisp SQL Interface library")
11197 (description
11198 "@code{clsql} is a Common Lisp interface to SQL RDBMS based on the
11199Xanalys CommonSQL interface for Lispworks. It provides low-level database
11200interfaces as well as a functional and an object oriented interface.")
11201 (home-page "http://clsql.kpe.io/")
11202 (license license:llgpl)))
11203
11204(define-public cl-clsql
11205 (package
11206 (inherit (sbcl-package->cl-source-package sbcl-clsql))
11207 (native-inputs
11208 `(("rt" ,cl-rt)))
11209 (inputs
11210 `(("mysql" ,mysql)
11211 ("postgresql" ,postgresql)
11212 ("sqlite" ,sqlite)
11213 ("zlib" ,zlib)))
11214 (propagated-inputs
11215 `(("cl-postgres" ,cl-postgres)
11216 ("cffi-uffi-compat" ,cl-cffi-uffi-compat)
11217 ("md5" ,cl-md5)
11218 ("uffi" ,cl-uffi)))
11219 (arguments
11220 `(#:phases
11221 ;; asdf-build-system/source has its own phases and does not inherit
11222 ;; from asdf-build-system/sbcl phases.
11223 (modify-phases %standard-phases/source
11224 (add-after 'unpack 'fix-permissions
11225 (lambda _
11226 (make-file-writable "doc/html.tar.gz")
11227 #t)))))))
a5f44287
GLV
11228
11229(define-public sbcl-clsql-uffi
11230 (package
11231 (inherit sbcl-clsql)
11232 (name "sbcl-clsql-uffi")
11233 (inputs
11234 `(("cffi-uffi-compat" ,sbcl-cffi-uffi-compat)
11235 ("clsql" ,sbcl-clsql)
11236 ("uffi" ,sbcl-uffi)))
11237 (synopsis "UFFI helper functions for Common Lisp SQL interface library")))
5ad8d7aa
GLV
11238
11239(define-public sbcl-clsql-sqlite3
11240 (package
11241 (inherit sbcl-clsql)
11242 (name "sbcl-clsql-sqlite3")
11243 (inputs
11244 `(("clsql" ,sbcl-clsql)
11245 ("clsql-uffi" ,sbcl-clsql-uffi)
11246 ("sqlite" ,sqlite)))
11247 (arguments
11248 (substitute-keyword-arguments (package-arguments sbcl-clsql)
11249 ((#:phases phases '%standard-phases)
11250 `(modify-phases ,phases
11251 (add-after 'unpack 'fix-paths
11252 (lambda* (#:key inputs #:allow-other-keys)
11253 (substitute* "db-sqlite3/sqlite3-loader.lisp"
11254 (("libsqlite3")
11255 (string-append (assoc-ref inputs "sqlite")
11256 "/lib/libsqlite3")))
11257 #t))))))
11258 (synopsis "SQLite3 driver for Common Lisp SQL interface library")))
cd53df62
GLV
11259
11260(define-public sbcl-clsql-postgresql
11261 (package
11262 (inherit sbcl-clsql)
11263 (name "sbcl-clsql-postgresql")
11264 (inputs
11265 `(("clsql" ,sbcl-clsql)
11266 ("clsql-uffi" ,sbcl-clsql-uffi)
11267 ("postgresql" ,postgresql)))
11268 (arguments
11269 (substitute-keyword-arguments (package-arguments sbcl-clsql)
11270 ((#:phases phases '%standard-phases)
11271 `(modify-phases ,phases
11272 (add-after 'unpack 'fix-paths
11273 (lambda* (#:key inputs #:allow-other-keys)
11274 (substitute* "db-postgresql/postgresql-loader.lisp"
11275 (("libpq")
11276 (string-append (assoc-ref inputs "postgresql")
11277 "/lib/libpq")))
11278 #t))))))
11279 (synopsis "PostgreSQL driver for Common Lisp SQL interface library")))
f9680d52
GLV
11280
11281(define-public sbcl-clsql-postgresql-socket3
11282 (package
11283 (inherit sbcl-clsql)
11284 (name "sbcl-clsql-postgresql-socket3")
11285 (inputs
11286 `(("cl-postgres" ,sbcl-cl-postgres)
11287 ("clsql" ,sbcl-clsql)
11288 ("md5" ,sbcl-md5)))
11289 (arguments
11290 (substitute-keyword-arguments (package-arguments sbcl-clsql)
11291 ((#:phases phases '%standard-phases)
11292 `(modify-phases ,phases
11293 (add-after 'create-asd-file 'fix-asd-file
11294 (lambda* (#:key outputs #:allow-other-keys)
11295 (let* ((out (assoc-ref outputs "out"))
11296 (lib (string-append out "/lib/" (%lisp-type)))
11297 (asd (string-append lib "/clsql-postgresql-socket3.asd")))
11298 (substitute* asd
11299 (("CLSQL-POSTGRESQL-SOCKET-SYSTEM::")
11300 "")))
11301 #t))))))
11302 (synopsis "PostgreSQL driver for Common Lisp SQL interface library")))
079ee3b5
GLV
11303
11304(define-public sbcl-clsql-mysql
11305 (package
11306 (inherit sbcl-clsql)
11307 (name "sbcl-clsql-mysql")
11308 (inputs
11309 `(("mysql" ,mysql)
11310 ("sbcl-clsql" ,sbcl-clsql)
11311 ("sbcl-clsql-uffi" ,sbcl-clsql-uffi)
11312 ("zlib" ,zlib)))
11313 (arguments
11314 (substitute-keyword-arguments (package-arguments sbcl-clsql)
11315 ((#:phases phases '%standard-phases)
11316 `(modify-phases ,phases
11317 (add-after 'unpack 'fix-paths
11318 (lambda* (#:key inputs outputs #:allow-other-keys)
11319 (let ((lib (string-append "#p\""
11320 (assoc-ref outputs "out")
11321 "/lib/\"")))
11322 (substitute* "clsql-mysql.asd"
11323 (("#p\"/usr/lib/clsql/clsql_mysql\\.so\"")
11324 lib))
11325 (substitute* "db-mysql/mysql-loader.lisp"
11326 (("libmysqlclient" all)
11327 (string-append (assoc-ref inputs "mysql") "/lib/" all))
11328 (("clsql-mysql-system::\\*library-file-dir\\*")
11329 lib)))
11330 #t))
11331 (add-before 'build 'build-helper-library
11332 (lambda* (#:key inputs outputs #:allow-other-keys)
11333 (let* ((mysql (assoc-ref inputs "mysql"))
11334 (inc-dir (string-append mysql "/include/mysql"))
11335 (lib-dir (string-append mysql "/lib"))
11336 (shared-lib-dir (string-append (assoc-ref outputs "out")
11337 "/lib"))
11338 (shared-lib (string-append shared-lib-dir
11339 "/clsql_mysql.so")))
11340 (mkdir-p shared-lib-dir)
11341 (invoke "gcc" "-fPIC" "-shared"
11342 "-I" inc-dir
11343 "db-mysql/clsql_mysql.c"
11344 "-Wl,-soname=clsql_mysql"
11345 "-L" lib-dir "-lmysqlclient" "-lz"
11346 "-o" shared-lib)
11347 #t)))))))
11348 (synopsis "MySQL driver for Common Lisp SQL interface library")))
6dfc981a
PN
11349
11350(define-public sbcl-sycamore
11351 (let ((commit "fd2820fec165ad514493426dea209728f64e6d18"))
11352 (package
11353 (name "sbcl-sycamore")
11354 (version "0.0.20120604")
11355 (source
11356 (origin
11357 (method git-fetch)
11358 (uri (git-reference
11359 (url "https://github.com/ndantam/sycamore/")
11360 (commit commit)))
11361 (file-name (git-file-name name version))
11362 (sha256
11363 (base32 "00bv1aj89q5vldmq92zp2364jq312zjq2mbd3iyz1s2b4widzhl7"))))
11364 (build-system asdf-build-system/sbcl)
11365 (arguments
11366 `(#:asd-file "src/sycamore.asd"))
11367 (inputs
11368 `(("alexandria" ,sbcl-alexandria)
11369 ("cl-ppcre" ,sbcl-cl-ppcre)))
11370 (synopsis "Purely functional data structure library in Common Lisp")
11371 (description
11372 "Sycamore is a fast, purely functional data structure library in Common Lisp.
11373If features:
11374
11375@itemize
11376@item Fast, purely functional weight-balanced binary trees.
11377@item Leaf nodes are simple-vectors, greatly reducing tree height.
11378@item Interfaces for tree Sets and Maps (dictionaries).
11379@item Ropes.
11380@item Purely functional pairing heaps.
11381@item Purely functional amortized queue.
11382@end itemize\n")
11383 (home-page "http://ndantam.github.io/sycamore/")
11384 (license license:bsd-3))))
11385
11386(define-public cl-sycamore
11387 (sbcl-package->cl-source-package sbcl-sycamore))
eb5341c2
PN
11388
11389(define-public sbcl-trivial-package-local-nicknames
11390 (package
11391 (name "sbcl-trivial-package-local-nicknames")
11392 (version "0.2")
11393 (home-page "https://github.com/phoe/trivial-package-local-nicknames")
11394 (source
11395 (origin
11396 (method git-fetch)
11397 (uri (git-reference
11398 (url home-page)
11399 (commit "16b7ad4c2b120f50da65154191f468ea5598460e")))
11400 (file-name (git-file-name name version))
11401 (sha256
11402 (base32 "18qc27xkjzdcqrilpk3pm7djldwq5rm3ggd5h9cr8hqcd54i2fqg"))))
11403 (build-system asdf-build-system/sbcl)
11404 (synopsis "Common Lisp compatibility library for package local nicknames")
11405 (description
11406 "This library is a portable compatibility layer around package local nicknames (PLN).
11407This was done so there is a portability library for the PLN API not included
11408in DEFPACKAGE.")
11409 (license license:unlicense)))
11410
11411(define-public cl-trivial-package-local-nicknames
11412 (sbcl-package->cl-source-package sbcl-trivial-package-local-nicknames))
2fa04968
PN
11413
11414(define-public sbcl-enchant
11415 (let ((commit "6af162a7bf10541cbcfcfa6513894900329713fa"))
11416 (package
11417 (name "sbcl-enchant")
11418 (version (git-version "0.0.0" "1" commit))
11419 (home-page "https://github.com/tlikonen/cl-enchant")
11420 (source
11421 (origin
11422 (method git-fetch)
11423 (uri (git-reference
11424 (url home-page)
11425 (commit commit)))
11426 (file-name (git-file-name name version))
11427 (sha256
11428 (base32 "19yh5ihirzi1d8xqy1cjqipzd6ly3245cfxa5s9xx496rryz0s01"))))
11429 (build-system asdf-build-system/sbcl)
11430 (inputs
11431 `(("enchant" ,enchant)
11432 ("cffi" ,sbcl-cffi)))
11433 (arguments
11434 `(#:phases
11435 (modify-phases %standard-phases
11436 (add-after 'unpack 'fix-paths
11437 (lambda* (#:key inputs #:allow-other-keys)
11438 (substitute* "load-enchant.lisp"
11439 (("libenchant")
11440 (string-append
11441 (assoc-ref inputs "enchant") "/lib/libenchant-2"))))))))
11442 (synopsis "Common Lisp interface for the Enchant spell-checker library")
11443 (description
11444 "Enchant is a Common Lisp interface for the Enchant spell-checker
11445library. The Enchant library is a generic spell-checker library which uses
11446other spell-checkers transparently as back-end. The library supports the
11447multiple checkers, including Aspell and Hunspell.")
11448 (license license:public-domain))))
11449
11450(define-public cl-enchant
11451 (sbcl-package->cl-source-package sbcl-enchant))
df95189d
PN
11452
11453(define-public sbcl-cl-change-case
11454 (let ((commit "5ceff2a5f8bd845b6cb510c6364176b27a238fd3"))
11455 (package
11456 (name "sbcl-cl-change-case")
11457 (version (git-version "0.1.0" "1" commit))
11458 (home-page "https://github.com/rudolfochrist/cl-change-case")
11459 (source
11460 (origin
11461 (method git-fetch)
11462 (uri (git-reference
11463 (url home-page)
11464 (commit commit)))
11465 (file-name (git-file-name name version))
11466 (sha256
11467 (base32 "1afyglglk9z3yg8gylcl301bl2r8vq3sllyznzj9s5xi5gs6qyf2"))))
11468 (build-system asdf-build-system/sbcl)
11469 (inputs
11470 `(("cl-ppcre" ,sbcl-cl-ppcre)
11471 ("cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)))
11472 (native-inputs
11473 `(("fiveam" ,sbcl-fiveam)))
11474 (arguments
11475 '(;; FIXME: Test pass but phase fails with 'Component
11476 ;; "cl-change-case-test" not found, required by'.
11477 #:tests? #f
11478 #:test-asd-file "cl-change-case-test.asd"))
11479 (synopsis "Convert Common Lisp strings between camelCase, PascalCase and more")
11480 (description
11481 "@code{cl-change-case} is library to convert strings between camelCase,
11482PascalCase, snake_case, param-case, CONSTANT_CASE and more.")
11483 (license license:llgpl))))
11484
11485(define-public cl-change-case
11486 (sbcl-package->cl-source-package sbcl-cl-change-case))
53c05faf
PN
11487
11488(define-public sbcl-moptilities
11489 (let ((commit "a436f16b357c96b82397ec018ea469574c10dd41"))
11490 (package
11491 (name "sbcl-moptilities")
11492 (version (git-version "0.3.13" "1" commit))
11493 (home-page "https://github.com/gwkkwg/moptilities/")
11494 (source
11495 (origin
11496 (method git-fetch)
11497 (uri (git-reference
11498 (url home-page)
11499 (commit commit)))
11500 (file-name (git-file-name name version))
11501 (sha256
11502 (base32 "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc"))))
11503 (build-system asdf-build-system/sbcl)
11504 (inputs
11505 `(("closer-mop" ,sbcl-closer-mop)))
11506 (native-inputs
11507 `(("lift" ,sbcl-lift)))
11508 (synopsis "Compatibility layer for Common Lisp MOP implementation differences")
11509 (description
11510 "MOP utilities provide a common interface between Lisps and make the
11511MOP easier to use.")
11512 (license license:expat))))
11513
11514(define-public cl-moptilities
11515 (sbcl-package->cl-source-package sbcl-moptilities))
8cf6d150
PN
11516
11517(define-public sbcl-osicat
11518 (let ((commit "de0c18a367eedc857e1902a7319828af072a0d97"))
11519 (package
11520 (name "sbcl-osicat")
11521 (version (git-version "0.7.0" "1" commit))
11522 (home-page "http://www.common-lisp.net/project/osicat/")
11523 (source
11524 (origin
11525 (method git-fetch)
11526 (uri (git-reference
11527 (url "https://github.com/osicat/osicat")
11528 (commit commit)))
11529 (file-name (git-file-name name version))
11530 (sha256
11531 (base32 "15viw5pi5sa7qq9b4n2rr3dj2jkqr180rh9z1lh8w3rgl42i2adc"))))
11532 (build-system asdf-build-system/sbcl)
11533 (arguments
11534 `(#:phases
11535 (modify-phases %standard-phases
192177b0
PN
11536 ;; The cleanup phase moves files around but we need to keep the
11537 ;; directory structure for the grovel-generated library.
11538 (replace 'cleanup
8cf6d150
PN
11539 (lambda* (#:key outputs #:allow-other-keys)
11540 (let* ((out (assoc-ref outputs "out"))
192177b0
PN
11541 (lib (string-append out "/lib/sbcl/")))
11542 (delete-file-recursively (string-append lib "src"))
11543 (delete-file-recursively (string-append lib "tests"))
11544 (for-each delete-file
11545 (filter (lambda (file)
11546 (not (member (basename file) '("libosicat.so"))))
11547 (find-files (string-append lib "posix") ".*"))))
11548 #t)))))
8cf6d150
PN
11549 (inputs
11550 `(("alexandria" ,sbcl-alexandria)
11551 ("cffi" ,sbcl-cffi)
11552 ("trivial-features" ,sbcl-trivial-features)))
11553 (native-inputs
11554 `(("cffi-grovel" ,sbcl-cffi-grovel)
11555 ("rt" ,sbcl-rt)))
11556 (synopsis "Operating system interface for Common Lisp")
11557 (description
11558 "Osicat is a lightweight operating system interface for Common Lisp on
11559Unix-platforms. It is not a POSIX-style API, but rather a simple lispy
11560accompaniment to the standard ANSI facilities.")
11561 (license license:expat))))
11562
11563(define-public cl-osicat
11564 (sbcl-package->cl-source-package sbcl-osicat))