gnu: sbcl-cl-cffi-gtk: Update to 20200417.
[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
8e596809
PN
1245 ;; No release since 2014.
1246 (let ((commit "aeed2d1b76358db48e6b70a64399c05678a6b9ea"))
1247 (package
1248 (name "sbcl-babel")
1249 (version (git-version "0.5.0" "1" commit))
1250 (source
1251 (origin
1252 (method git-fetch)
1253 (uri (git-reference
1254 (url "https://github.com/cl-babel/babel.git")
1255 (commit commit)))
1256 (file-name (git-file-name "babel" version))
1257 (sha256
1258 (base32 "0lkvv4xdpv4cv1y2bqillmabx8sdb2y4l6pbinq6mjh33w2brpvb"))))
1259 (build-system asdf-build-system/sbcl)
1260 (native-inputs
1261 `(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
1262 (inputs
1263 `(("sbcl-alexandria" ,sbcl-alexandria)
1264 ("sbcl-trivial-features" ,sbcl-trivial-features)))
1265 (home-page "https://common-lisp.net/project/babel/")
1266 (synopsis "Charset encoding and decoding library")
1267 (description "Babel is a charset encoding and decoding library, not unlike
88f06fd0 1268GNU libiconv, but completely written in Common Lisp.")
8e596809 1269 (license license:expat))))
88f06fd0
PN
1270
1271(define-public cl-babel
1272 (sbcl-package->cl-source-package sbcl-babel))
1273
1274(define-public ecl-babel
1275 (sbcl-package->ecl-package sbcl-babel))
1276
1277(define-public sbcl-cl-yacc
1278 (package
1279 (name "sbcl-cl-yacc")
1280 (version "0.3")
1281 (source
1282 (origin
1283 (method git-fetch)
1284 (uri (git-reference
1285 (url "https://github.com/jech/cl-yacc")
1286 (commit (string-append "cl-yacc-" version))))
1287 (sha256
1288 (base32
1289 "16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
1290 (file-name (string-append "cl-yacc-" version "-checkout"))))
1291 (build-system asdf-build-system/sbcl)
1292 (arguments
1293 `(#:asd-file "yacc.asd"
1294 #:asd-system-name "yacc"))
1295 (synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
1296 (description
1297 "CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
1298to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
1299
1300CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
1301by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
1302to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
1303 (home-page "https://www.irif.fr/~jch//software/cl-yacc/")
1304 (license license:expat)))
1305
1306(define-public cl-yacc
1307 (sbcl-package->cl-source-package sbcl-cl-yacc))
1308
1309(define-public ecl-cl-yacc
1310 (sbcl-package->ecl-package sbcl-cl-yacc))
1311
1312(define-public sbcl-jpl-util
1313 (let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
1314 (package
1315 (name "sbcl-jpl-util")
1316 (version "20151005")
1317 (source
1318 (origin
1319 (method git-fetch)
1320 (uri (git-reference
1321 ;; Quicklisp uses this fork.
1322 (url "https://github.com/hawkir/cl-jpl-util")
1323 (commit commit)))
1324 (file-name
1325 (git-file-name "jpl-util" version))
1326 (sha256
1327 (base32
1328 "0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
1329 (build-system asdf-build-system/sbcl)
1330 (synopsis "Collection of Common Lisp utility functions and macros")
1331 (description
1332 "@command{cl-jpl-util} is a collection of Common Lisp utility functions
1333and macros, primarily for software projects written in CL by the author.")
1334 (home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
1335 (license license:isc))))
1336
1337(define-public cl-jpl-util
1338 (sbcl-package->cl-source-package sbcl-jpl-util))
1339
1340(define-public ecl-jpl-util
1341 (sbcl-package->ecl-package sbcl-jpl-util))
1342
1343(define-public sbcl-jpl-queues
1344 (package
1345 (name "sbcl-jpl-queues")
1346 (version "0.1")
1347 (source
1348 (origin
1349 (method url-fetch)
1350 (uri (string-append
1351 "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
1352 version
1353 ".tar.gz"))
1354 (sha256
1355 (base32
1356 "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
1357 (build-system asdf-build-system/sbcl)
1358 (inputs
1359 `(("jpl-util" ,sbcl-jpl-util)
1360 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
1361 (arguments
1362 ;; Tests seem to be broken.
1363 `(#:tests? #f))
1364 (synopsis "Common Lisp library implementing a few different kinds of queues")
1365 (description
1366 "A Common Lisp library implementing a few different kinds of queues:
1367
1368@itemize
1369@item Bounded and unbounded FIFO queues.
1370@item Lossy bounded FIFO queues that drop elements when full.
1371@item Unbounded random-order queues that use less memory than unbounded FIFO queues.
1372@end itemize
1373
1374Additionally, a synchronization wrapper is provided to make any queue
1375conforming to the @command{jpl-queues} API thread-safe for lightweight
1376multithreading applications. (See Calispel for a more sophisticated CL
1377multithreaded message-passing library with timeouts and alternation among
1378several blockable channels.)")
1379 (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
1380 (license license:isc)))
1381
1382(define-public cl-jpl-queues
1383 (sbcl-package->cl-source-package sbcl-jpl-queues))
1384
1385(define-public ecl-jpl-queues
1386 (sbcl-package->ecl-package sbcl-jpl-queues))
1387
1388(define-public sbcl-eos
1389 (let ((commit "b0faca83781ead9a588661e37bd47f90362ccd94"))
1390 (package
1391 (name "sbcl-eos")
1392 (version (git-version "0.0.0" "1" commit))
1393 (source
1394 (origin
1395 (method git-fetch)
1396 (uri (git-reference
1397 (url "https://github.com/adlai/Eos")
1398 (commit commit)))
1399 (sha256
1400 (base32
1401 "1bq8cfg087iyxmxi1mwgx5cfgy3b8ydrf81xljcis8qbgb2vszph"))
1402 (file-name (git-file-name "eos" version))))
1403 (build-system asdf-build-system/sbcl)
1404 (synopsis "Unit Testing for Common Lisp")
1405 (description
1406 "Eos was a unit testing library for Common Lisp.
1407It began as a fork of FiveAM; however, FiveAM development has continued, while
1408that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
1409 (home-page "https://github.com/adlai/Eos")
1410 (license license:expat))))
1411
1412(define-public cl-eos
1413 (sbcl-package->cl-source-package sbcl-eos))
1414
1415(define-public ecl-eos
1416 (sbcl-package->ecl-package sbcl-eos))
1417
1418(define-public sbcl-esrap
1419 (let ((commit "133be8b05c2aae48696fe5b739eea2fa573fa48d"))
1420 (package
1421 (name "sbcl-esrap")
1422 (version (git-version "0.0.0" "1" commit))
1423 (source
1424 (origin
1425 (method git-fetch)
1426 (uri (git-reference
1427 (url "https://github.com/nikodemus/esrap")
1428 (commit commit)))
1429 (sha256
1430 (base32
1431 "02d5clihsdryhf7pix8c5di2571fdsffh75d40fkzhws90r5mksl"))
1432 (file-name (git-file-name "esrap" version))))
1433 (build-system asdf-build-system/sbcl)
1434 (native-inputs
1435 `(("eos" ,sbcl-eos))) ;For testing only.
1436 (inputs
1437 `(("alexandria" ,sbcl-alexandria)))
1438 (synopsis "Common Lisp packrat parser")
1439 (description
1440 "A packrat parser for Common Lisp.
1441In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
1442
1443@itemize
1444@item dynamic redefinition of nonterminals
1445@item inline grammars
1446@item semantic predicates
1447@item introspective facilities (describing grammars, tracing, setting breaks)
1448@end itemize\n")
1449 (home-page "https://nikodemus.github.io/esrap/")
1450 (license license:expat))))
1451
1452(define-public cl-esrap
1453 (sbcl-package->cl-source-package sbcl-esrap))
1454
1455(define-public ecl-esrap
1456 (sbcl-package->ecl-package sbcl-esrap))
1457
1458(define-public sbcl-split-sequence
1459 (package
1460 (name "sbcl-split-sequence")
92da0588 1461 (version "2.0.0")
88f06fd0
PN
1462 (source
1463 (origin
1464 (method git-fetch)
1465 (uri (git-reference
1466 (url "https://github.com/sharplispers/split-sequence")
1467 (commit (string-append "v" version))))
1468 (sha256
1469 (base32
92da0588 1470 "0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
88f06fd0
PN
1471 (file-name (git-file-name "split-sequence" version))))
1472 (build-system asdf-build-system/sbcl)
92da0588
GLV
1473 (native-inputs
1474 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
1475 (synopsis "Member of the Common Lisp Utilities family of programs")
1476 (description
1477 "Splits sequence into a list of subsequences delimited by objects
1478satisfying the test.")
1479 (home-page "https://cliki.net/split-sequence")
1480 (license license:expat)))
1481
1482(define-public cl-split-sequence
1483 (sbcl-package->cl-source-package sbcl-split-sequence))
1484
1485(define-public ecl-split-sequence
1486 (sbcl-package->ecl-package sbcl-split-sequence))
1487
1488(define-public sbcl-html-encode
1489 (package
1490 (name "sbcl-html-encode")
1491 (version "1.2")
1492 (source
1493 (origin
1494 (method url-fetch)
1495 (uri (string-append
1496 "http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
1497 version ".tgz"))
1498 (sha256
1499 (base32
1500 "06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
1501 (file-name (string-append "colorize" version "-checkout"))))
1502 (build-system asdf-build-system/sbcl)
1503 (synopsis "Common Lisp library for encoding text in various web-savvy encodings")
1504 (description
1505 "A library for encoding text in various web-savvy encodings.")
1506 (home-page "http://quickdocs.org/html-encode/")
1507 (license license:expat)))
1508
1509(define-public cl-html-encode
1510 (sbcl-package->cl-source-package sbcl-html-encode))
1511
1512(define-public ecl-html-encode
1513 (sbcl-package->ecl-package sbcl-html-encode))
1514
1515(define-public sbcl-colorize
1516 (let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
1517 (package
1518 (name "sbcl-colorize")
1519 (version (git-version "0.0.0" "1" commit))
1520 (source
1521 (origin
1522 (method git-fetch)
1523 (uri (git-reference
1524 (url "https://github.com/kingcons/colorize")
1525 (commit commit)))
1526 (sha256
1527 (base32
1528 "1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
1529 (file-name (git-file-name "colorize" version))))
1530 (build-system asdf-build-system/sbcl)
1531 (inputs
1532 `(("alexandria" ,sbcl-alexandria)
1533 ("split-sequence" ,sbcl-split-sequence)
1534 ("html-encode" ,sbcl-html-encode)))
1535 (synopsis "Common Lisp for syntax highlighting")
1536 (description
1537 "@command{colorize} is a Lisp library for syntax highlighting
1538supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
1539C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
1540 (home-page "https://github.com/kingcons/colorize")
1541 ;; TODO: Missing license?
1542 (license license:expat))))
1543
1544(define-public cl-colorize
1545 (sbcl-package->cl-source-package sbcl-colorize))
1546
1547(define-public ecl-colorize
1548 (sbcl-package->ecl-package sbcl-colorize))
1549
1550(define-public sbcl-3bmd
1551 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1552 (package
1553 (name "sbcl-3bmd")
1554 (version (git-version "0.0.0" "1" commit))
1555 (source
1556 (origin
1557 (method git-fetch)
1558 (uri (git-reference
1559 (url "https://github.com/3b/3bmd")
1560 (commit commit)))
1561 (sha256
1562 (base32
1563 "1rgv3gi7wf963ikmmpk132wgn0icddf226gq3bmcnk1fr3v9gf2f"))
1564 (file-name (git-file-name "3bmd" version))))
1565 (build-system asdf-build-system/sbcl)
1566 (arguments
1567 ;; FIXME: We need to specify the name because the build-system thinks
1568 ;; "3" is a version marker.
1569 `(#:asd-system-name "3bmd"))
1570 (inputs
1571 `(("esrap" ,sbcl-esrap)
1572 ("split-sequence" ,sbcl-split-sequence)))
1573 (synopsis "Markdown processor in Command Lisp using esrap parser")
1574 (description
1575 "Common Lisp Markdown -> HTML converter, using @command{esrap} for
1576parsing, and grammar based on @command{peg-markdown}.")
1577 (home-page "https://github.com/3b/3bmd")
1578 (license license:expat))))
1579
1580(define-public cl-3bmd
1581 (sbcl-package->cl-source-package sbcl-3bmd))
1582
1583(define-public ecl-3bmd
1584 (sbcl-package->ecl-package sbcl-3bmd))
1585
1586(define-public sbcl-3bmd-ext-code-blocks
1587 (let ((commit "192ea13435b605a96ef607df51317056914cabbd"))
1588 (package
1589 (inherit sbcl-3bmd)
1590 (name "sbcl-3bmd-ext-code-blocks")
1591 (arguments
1592 `(#:asd-system-name "3bmd-ext-code-blocks"
1593 #:asd-file "3bmd-ext-code-blocks.asd"))
1594 (inputs
1595 `(("3bmd" ,sbcl-3bmd)
1596 ("colorize" ,sbcl-colorize)))
1597 (synopsis "3bmd extension which adds support for GitHub-style fenced
1598code blocks")
1599 (description
1600 "3bmd extension which adds support for GitHub-style fenced code blocks,
1601with @command{colorize} support."))))
1602
1603(define-public cl-3bmd-ext-code-blocks
1604 (sbcl-package->cl-source-package sbcl-3bmd-ext-code-blocks))
1605
1606(define-public ecl-3bmd-ext-code-blocks
1607 (sbcl-package->ecl-package sbcl-3bmd-ext-code-blocks))
1608
1609(define-public sbcl-cl-fad
1610 (package
1611 (name "sbcl-cl-fad")
f0d9eaca 1612 (version "0.7.6")
88f06fd0
PN
1613 (source
1614 (origin
1615 (method git-fetch)
1616 (uri (git-reference
1617 (url "https://github.com/edicl/cl-fad/")
1618 (commit (string-append "v" version))))
1619 (sha256
1620 (base32
f0d9eaca 1621 "1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa"))
88f06fd0
PN
1622 (file-name (string-append "cl-fad" version "-checkout"))))
1623 (build-system asdf-build-system/sbcl)
1624 (inputs
1625 `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
1626 (synopsis "Portable pathname library for Common Lisp")
1627 (description
1628 "CL-FAD (for \"Files and Directories\") is a thin layer atop Common
1629Lisp's standard pathname functions. It is intended to provide some
1630unification between current CL implementations on Windows, OS X, Linux, and
1631Unix. Most of the code was written by Peter Seibel for his book Practical
1632Common Lisp.")
1633 (home-page "https://edicl.github.io/cl-fad/")
1634 (license license:bsd-2)))
1635
1636(define-public cl-fad
1637 (sbcl-package->cl-source-package sbcl-cl-fad))
1638
1639(define-public ecl-cl-fad
1640 (sbcl-package->ecl-package sbcl-cl-fad))
1641
1642(define-public sbcl-rt
e81b0719
GLV
1643 (let ((commit "a6a7503a0b47953bc7579c90f02a6dba1f6e4c5a")
1644 (revision "1"))
1645 (package
1646 (name "sbcl-rt")
1647 (version (git-version "1990.12.19" revision commit))
1648 (source
1649 (origin
1650 (method git-fetch)
1651 (uri (git-reference
1652 (url "http://git.kpe.io/rt.git")
1653 (commit commit)))
1654 (file-name (git-file-name name version))
1655 (sha256
1656 (base32 "13si2rrxaagbr0bkvg6sqicxxpyshabx6ad6byc9n2ik5ysna69b"))))
1657 (build-system asdf-build-system/sbcl)
1658 (synopsis "MIT Regression Tester")
1659 (description
1660 "RT provides a framework for writing regression test suites.")
1661 (home-page "https://www.cliki.net/rt")
1662 (license license:expat))))
88f06fd0
PN
1663
1664(define-public cl-rt
1665 (sbcl-package->cl-source-package sbcl-rt))
1666
1667(define-public ecl-rt
1668 (sbcl-package->ecl-package sbcl-rt))
1669
1670(define-public sbcl-nibbles
1671 (package
1672 (name "sbcl-nibbles")
1673 (version "0.14")
1674 (source
1675 (origin
1676 (method git-fetch)
1677 (uri (git-reference
1678 (url "https://github.com/sharplispers/nibbles/")
1679 (commit (string-append "v" version))))
1680 (sha256
1681 (base32
1682 "1v7qfgpvdr6nz7v63dj69d26dis0kff3rd8xamr1llfdvza2pm8f"))
1683 (file-name (git-file-name "nibbles" version))))
1684 (build-system asdf-build-system/sbcl)
1685 (native-inputs
1686 ;; Tests only.
1687 `(("rt" ,sbcl-rt)))
1688 (synopsis "Common Lisp library for accessing octet-addressed blocks of data")
1689 (description
1690 "When dealing with network protocols and file formats, it's common to
1691have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
1692flavors. Common Lisp sort of supports this by specifying :element-type for
1693streams, but that facility is underspecified and there's nothing similar for
1694read/write from octet vectors. What most people wind up doing is rolling their
1695own small facility for their particular needs and calling it a day.
1696
1697This library attempts to be comprehensive and centralize such
1698facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
1699vectors in signed or unsigned flavors are provided; these functions are also
1700SETFable. Since it's sometimes desirable to read/write directly from streams,
1701functions for doing so are also provided. On some implementations,
1702reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
1703also be supported.")
1704 (home-page "https://github.com/sharplispers/nibbles")
1705 (license license:bsd-3)))
1706
1707(define-public cl-nibbles
1708 (sbcl-package->cl-source-package sbcl-nibbles))
1709
1710(define-public ecl-nibbles
1711 (sbcl-package->ecl-package sbcl-nibbles))
1712
1713(define-public sbcl-ironclad
1714 (package
1715 (name "sbcl-ironclad")
acaeaa0a 1716 (version "0.49")
88f06fd0
PN
1717 (source
1718 (origin
1719 (method git-fetch)
1720 (uri (git-reference
1721 (url "https://github.com/sharplispers/ironclad/")
1722 (commit (string-append "v" version))))
1723 (sha256
acaeaa0a 1724 (base32 "0kbzqg2aasrhjwy3nrzy2ddy809n1j045w4qkyc3r2syqd203d4q"))
88f06fd0
PN
1725 (file-name (git-file-name name version))))
1726 (build-system asdf-build-system/sbcl)
1727 (native-inputs
1728 ;; Tests only.
1729 `(("rt" ,sbcl-rt)))
1730 (inputs
1731 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
acaeaa0a
GLV
1732 ("flexi-streams" ,sbcl-flexi-streams)
1733 ("trivial-garbage" ,sbcl-trivial-garbage)))
88f06fd0
PN
1734 (synopsis "Cryptographic toolkit written in Common Lisp")
1735 (description
1736 "Ironclad is a cryptography library written entirely in Common Lisp.
1737It includes support for several popular ciphers, digests, MACs and public key
1738cryptography algorithms. For several implementations that support Gray
1739streams, support is included for convenient stream wrappers.")
1740 (home-page "https://github.com/sharplispers/ironclad")
1741 (license license:bsd-3)))
1742
1743(define-public cl-ironclad
1744 (sbcl-package->cl-source-package sbcl-ironclad))
1745
1746(define-public ecl-ironclad
1747 (sbcl-package->ecl-package sbcl-ironclad))
1748
1749(define-public sbcl-named-readtables
1750 (let ((commit "4dfb89fa1af6b305b6492b8af042f5190c11e9fc")
1751 (revision "1"))
1752 (package
1753 (name "sbcl-named-readtables")
1754 (version (string-append "0.9-" revision "." (string-take commit 7)))
1755 (source
1756 (origin
1757 (method git-fetch)
1758 (uri (git-reference
1759 (url "https://github.com/melisgl/named-readtables.git")
1760 (commit commit)))
1761 (sha256
1762 (base32 "083kgh5462iqbb4px6kq8s7sggvpvkm36hx4qi9rnaw53b6ilqkk"))
1763 (file-name (git-file-name "named-readtables" version))))
1764 (build-system asdf-build-system/sbcl)
1765 (arguments
1766 ;; Tests seem to be broken.
1767 `(#:tests? #f))
1768 (home-page "https://github.com/melisgl/named-readtables/")
1769 (synopsis "Library that creates a namespace for named readtables")
1770 (description "Named readtables is a library that creates a namespace for
1771named readtables, which is akin to package namespacing in Common Lisp.")
1772 (license license:bsd-3))))
1773
1774(define-public cl-named-readtables
1775 (sbcl-package->cl-source-package sbcl-named-readtables))
1776
1777(define-public ecl-named-readtables
1778 (sbcl-package->ecl-package sbcl-named-readtables))
1779
1780(define-public sbcl-pythonic-string-reader
1781 (let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
1782 (package
1783 (name "sbcl-pythonic-string-reader")
1784 (version (git-version "0.0.0" "1" commit))
1785 (source
1786 (origin
1787 (method git-fetch)
1788 (uri (git-reference
1789 (url "https://github.com/smithzvk/pythonic-string-reader/")
1790 (commit commit)))
1791 (sha256
1792 (base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
1793 (file-name (git-file-name "pythonic-string-reader" version))))
1794 (build-system asdf-build-system/sbcl)
1795 (inputs
1796 `(("named-readtables" ,sbcl-named-readtables)))
1797 (home-page "https://github.com/smithzvk/pythonic-string-reader")
1798 (synopsis "Read table modification inspired by Python's three quote strings")
1799 (description "This piece of code sets up some reader macros that make it
1800simpler to input string literals which contain backslashes and double quotes
1801This is very useful for writing complicated docstrings and, as it turns out,
1802writing code that contains string literals that contain code themselves.")
1803 (license license:bsd-3))))
1804
1805(define-public cl-pythonic-string-reader
1806 (sbcl-package->cl-source-package sbcl-pythonic-string-reader))
1807
1808(define-public ecl-pythonic-string-reader
1809 (sbcl-package->ecl-package sbcl-pythonic-string-reader))
1810
1811;; SLIME does not have a ASDF system definition to build all of Swank. As a
1812;; result, the asdf-build-system/sbcl will produce an almost empty package.
1813;; Some work was done to fix this at
1814;; https://github.com/sionescu/slime/tree/swank-asdf but it was never merged
1815;; and is now lagging behind. Building SBCL fasls might not be worth the
1816;; hassle, so let's just ship the source then.
1817(define-public cl-slime-swank
1818 (package
1819 (name "cl-slime-swank")
1820 (version "2.24")
1821 (source
1822 (origin
1823 (file-name (string-append name "-" version ".tar.gz"))
1824 (method git-fetch)
1825 (uri (git-reference
1826 (url "https://github.com/slime/slime/")
1827 (commit (string-append "v" version))))
1828 (sha256
1829 (base32
1830 "0js24x42m7b5iymb4rxz501dff19vav5pywnzv50b673rbkaaqvh"))))
1831 (build-system asdf-build-system/source)
1832 (home-page "https://github.com/slime/slime")
1833 (synopsis "Common Lisp Swank server")
1834 (description
1835 "This is only useful if you want to start a Swank server in a Lisp
1836processes that doesn't run under Emacs. Lisp processes created by
1837@command{M-x slime} automatically start the server.")
1838 (license (list license:gpl2+ license:public-domain))))
1839
1840(define-public sbcl-slime-swank
1841 (deprecated-package "sbcl-slime-swank" cl-slime-swank))
1842
1843(define-public sbcl-mgl-pax
1844 (let ((commit "818448418d6b9de74620f606f5b23033c6082769"))
1845 (package
1846 (name "sbcl-mgl-pax")
1847 (version (git-version "0.0.0" "1" commit))
1848 (source
1849 (origin
1850 (method git-fetch)
1851 (uri (git-reference
1852 (url "https://github.com/melisgl/mgl-pax")
1853 (commit commit)))
1854 (sha256
1855 (base32
1856 "1p97zfkh130bdxqqxwaw2j9psv58751wakx7czbfpq410lg7dd7i"))
1857 (file-name (git-file-name "mgl-pax" version))))
1858 (build-system asdf-build-system/sbcl)
1859 (inputs
1860 `(("3bmd" ,sbcl-3bmd)
1861 ("3bmd-ext-code-blocks" ,sbcl-3bmd-ext-code-blocks)
1862 ("babel" ,sbcl-babel)
1863 ("cl-fad" ,sbcl-cl-fad)
1864 ("ironclad" ,sbcl-ironclad)
1865 ("named-readtables" ,sbcl-named-readtables)
7e23dcc7
GLV
1866 ("pythonic-string-reader" ,sbcl-pythonic-string-reader)))
1867 (propagated-inputs
1868 ;; Packages having mgl-pax as input complain that it can't find
1869 ;; swank if we put it in inputs, so let's put it in propageted-inputs.
1870 `(("swank" ,cl-slime-swank)))
88f06fd0
PN
1871 (synopsis "Exploratory programming environment and documentation generator")
1872 (description
1873 "PAX provides an extremely poor man's Explorable Programming
1874environment. Narrative primarily lives in so called sections that mix markdown
1875docstrings with references to functions, variables, etc, all of which should
1876probably have their own docstrings.
1877
1878The primary focus is on making code easily explorable by using SLIME's
1879@command{M-.} (@command{slime-edit-definition}). See how to enable some
1880fanciness in Emacs Integration. Generating documentation from sections and all
1881the referenced items in Markdown or HTML format is also implemented.
1882
1883With the simplistic tools provided, one may accomplish similar effects as with
1884Literate Programming, but documentation is generated from code, not vice versa
1885and there is no support for chunking yet. Code is first, code must look
1886pretty, documentation is code.")
1887 (home-page "http://quotenil.com/")
1888 (license license:expat))))
1889
1890(define-public cl-mgl-pax
1891 (sbcl-package->cl-source-package sbcl-mgl-pax))
1892
1893(define-public ecl-mgl-pax
1894 (sbcl-package->ecl-package sbcl-mgl-pax))
1895
1896(define-public sbcl-lisp-unit
1897 (let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
1898 (package
1899 (name "sbcl-lisp-unit")
1900 (version (git-version "0.0.0" "1" commit))
1901 (source
1902 (origin
1903 (method git-fetch)
1904 (uri (git-reference
1905 (url "https://github.com/OdonataResearchLLC/lisp-unit")
1906 (commit commit)))
1907 (sha256
1908 (base32
1909 "0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
1910 (file-name (git-file-name "lisp-unit" version))))
1911 (build-system asdf-build-system/sbcl)
1912 (synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
1913 (description
1914 "@command{lisp-unit} is a Common Lisp library that supports unit
1915testing. It is an extension of the library written by Chris Riesbeck.")
1916 (home-page "https://github.com/OdonataResearchLLC/lisp-unit")
1917 (license license:expat))))
1918
1919(define-public cl-lisp-unit
1920 (sbcl-package->cl-source-package sbcl-lisp-unit))
1921
1922(define-public ecl-lisp-unit
1923 (sbcl-package->ecl-package sbcl-lisp-unit))
1924
1925(define-public sbcl-anaphora
1926 (package
1927 (name "sbcl-anaphora")
1928 (version "0.9.6")
1929 (source
1930 (origin
1931 (method git-fetch)
1932 (uri (git-reference
1933 (url "https://github.com/tokenrove/anaphora")
1934 (commit version)))
1935 (sha256
1936 (base32
1937 "19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
1938 (file-name (git-file-name "anaphora" version))))
1939 (build-system asdf-build-system/sbcl)
1940 (native-inputs
1941 `(("rt" ,sbcl-rt)))
1942 (synopsis "The anaphoric macro collection from Hell")
1943 (description
1944 "Anaphora is the anaphoric macro collection from Hell: it includes many
1945new fiends in addition to old friends like @command{aif} and
1946@command{awhen}.")
1947 (home-page "https://github.com/tokenrove/anaphora")
1948 (license license:public-domain)))
1949
1950(define-public cl-anaphora
1951 (sbcl-package->cl-source-package sbcl-anaphora))
1952
1953(define-public ecl-anaphora
1954 (sbcl-package->ecl-package sbcl-anaphora))
1955
1956(define-public sbcl-lift
1957 (let ((commit "7d49a66c62759535624037826891152223d4206c"))
1958 (package
1959 (name "sbcl-lift")
1960 (version (git-version "1.7.1" "1" commit))
1961 (source
1962 (origin
1963 (method git-fetch)
1964 (uri (git-reference
1965 (url "https://github.com/gwkkwg/lift")
1966 (commit commit)))
1967 (sha256
1968 (base32
1969 "127v5avpz1i4m0lkaxqrq8hrl69rdazqaxf6s8awf0nd7wj2g4dp"))
1970 (file-name (git-file-name "lift" version))
1971 (modules '((guix build utils)))
1972 (snippet
1973 ;; Don't keep the bundled website
1974 `(begin
1975 (delete-file-recursively "website")
1976 #t))))
1977 (build-system asdf-build-system/sbcl)
1978 (arguments
1979 ;; The tests require a debugger, but we run with the debugger disabled.
1980 '(#:tests? #f))
1981 (synopsis "LIsp Framework for Testing")
1982 (description
1983 "The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
1984Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
1985testcases are organized into hierarchical testsuites each of which can have
1986its own fixture. When run, a testcase can succeed, fail, or error. LIFT
1987supports randomized testing, benchmarking, profiling, and reporting.")
1988 (home-page "https://github.com/gwkkwg/lift")
1989 (license license:expat))))
1990
1991(define-public cl-lift
1992 (sbcl-package->cl-source-package sbcl-lift))
1993
1994(define-public ecl-lift
1995 (sbcl-package->ecl-package sbcl-lift))
1996
1997(define-public sbcl-let-plus
1998 (let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
1999 (package
2000 (name "sbcl-let-plus")
2001 (version (git-version "0.0.0" "1" commit))
2002 (source
2003 (origin
2004 (method git-fetch)
2005 (uri (git-reference
2006 (url "https://github.com/sharplispers/let-plus")
2007 (commit commit)))
2008 (sha256
2009 (base32
2010 "0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
2011 (file-name (git-file-name "let-plus" version))))
2012 (build-system asdf-build-system/sbcl)
2013 (inputs
2014 `(("alexandria" ,sbcl-alexandria)
2015 ("anaphora" ,sbcl-anaphora)))
2016 (native-inputs
2017 `(("lift" ,sbcl-lift)))
2018 (synopsis "Destructuring extension of let*")
2019 (description
2020 "This library implements the let+ macro, which is a dectructuring
2021extension of let*. It features:
2022
2023@itemize
2024@item Clean, consistent syntax and small implementation (less than 300 LOC,
2025not counting tests)
2026@item Placeholder macros allow editor hints and syntax highlighting
2027@item @command{&ign} for ignored values (in forms where that makes sense)
2028@item Very easy to extend
2029@end itemize\n")
2030 (home-page "https://github.com/sharplispers/let-plus")
2031 (license license:boost1.0))))
2032
2033(define-public cl-let-plus
2034 (sbcl-package->cl-source-package sbcl-let-plus))
2035
2036(define-public ecl-let-plus
2037 (sbcl-package->ecl-package sbcl-let-plus))
2038
2039(define-public sbcl-cl-colors
2040 (let ((commit "827410584553f5c717eec6182343b7605f707f75"))
2041 (package
2042 (name "sbcl-cl-colors")
2043 (version (git-version "0.0.0" "1" commit))
2044 (source
2045 (origin
2046 (method git-fetch)
2047 (uri (git-reference
2048 (url "https://github.com/tpapp/cl-colors")
2049 (commit commit)))
2050 (sha256
2051 (base32
2052 "0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
2053 (file-name (git-file-name "cl-colors" version))))
2054 (build-system asdf-build-system/sbcl)
2055 (inputs
2056 `(("alexandria" ,sbcl-alexandria)
2057 ("let-plus" ,sbcl-let-plus)))
2058 (synopsis "Simple color library for Common Lisp")
2059 (description
2060 "This is a very simple color library for Common Lisp, providing
2061
2062@itemize
2063@item Types for representing colors in HSV and RGB spaces.
2064@item Simple conversion functions between the above types (and also
2065hexadecimal representation for RGB).
2066@item Some predefined colors (currently X11 color names – of course the
2067library does not depend on X11).Because color in your terminal is nice.
2068@end itemize
2069
2070This library is no longer supported by its author.")
2071 (home-page "https://github.com/tpapp/cl-colors")
2072 (license license:boost1.0))))
2073
2074(define-public cl-colors
2075 (sbcl-package->cl-source-package sbcl-cl-colors))
2076
2077(define-public ecl-cl-colors
2078 (sbcl-package->ecl-package sbcl-cl-colors))
2079
2080(define-public sbcl-cl-ansi-text
2081 (let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
2082 (package
2083 (name "sbcl-cl-ansi-text")
2084 (version (git-version "1.0.0" "1" commit))
2085 (source
2086 (origin
2087 (method git-fetch)
2088 (uri (git-reference
2089 (url "https://github.com/pnathan/cl-ansi-text")
2090 (commit commit)))
2091 (sha256
2092 (base32
2093 "11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
2094 (file-name (git-file-name "cl-ansi-text" version))))
2095 (build-system asdf-build-system/sbcl)
2096 (inputs
2097 `(("alexandria" ,sbcl-alexandria)
2098 ("cl-colors" ,sbcl-cl-colors)))
2099 (native-inputs
2100 `(("fiveam" ,sbcl-fiveam)))
2101 (synopsis "ANSI terminal color implementation for Common Lisp")
2102 (description
2103 "@command{cl-ansi-text} provides utilities which enable printing to an
2104ANSI terminal with colored text. It provides the macro @command{with-color}
2105which causes everything printed in the body to be displayed with the provided
2106color. It further provides functions which will print the argument with the
2107named color.")
2108 (home-page "https://github.com/pnathan/cl-ansi-text")
2109 (license license:llgpl))))
2110
2111(define-public cl-ansi-text
2112 (sbcl-package->cl-source-package sbcl-cl-ansi-text))
2113
2114(define-public ecl-cl-ansi-text
2115 (sbcl-package->ecl-package sbcl-cl-ansi-text))
2116
2117(define-public sbcl-prove-asdf
2118 (let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
2119 (package
2120 (name "sbcl-prove-asdf")
2121 (version (git-version "1.0.0" "1" commit))
2122 (source
2123 (origin
2124 (method git-fetch)
2125 (uri (git-reference
2126 (url "https://github.com/fukamachi/prove")
2127 (commit commit)))
2128 (sha256
2129 (base32
2130 "07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
2131 (file-name (git-file-name "prove" version))))
2132 (build-system asdf-build-system/sbcl)
2133 (arguments
2134 `(#:asd-file "prove-asdf.asd"))
2135 (synopsis "Test requirement for the Common Lisp 'prove' library")
2136 (description
2137 "Test requirement for the Common Lisp @command{prove} library.")
2138 (home-page "https://github.com/fukamachi/prove")
2139 (license license:expat))))
2140
2141(define-public cl-prove-asdf
2142 (sbcl-package->cl-source-package sbcl-prove-asdf))
2143
2144(define-public ecl-prove-asdf
2145 (sbcl-package->ecl-package sbcl-prove-asdf))
2146
2147(define-public sbcl-prove
2148 (package
2149 (inherit sbcl-prove-asdf)
2150 (name "sbcl-prove")
2151 (inputs
2152 `(("alexandria" ,sbcl-alexandria)
2153 ("cl-ppcre" ,sbcl-cl-ppcre)
2154 ("cl-ansi-text" ,sbcl-cl-ansi-text)))
2155 (native-inputs
2156 `(("prove-asdf" ,sbcl-prove-asdf)))
2157 (arguments
2158 `(#:asd-file "prove.asd"))
2159 (synopsis "Yet another unit testing framework for Common Lisp")
2160 (description
2161 "This project was originally called @command{cl-test-more}.
2162@command{prove} is yet another unit testing framework for Common Lisp. The
2163advantages of @command{prove} are:
2164
2165@itemize
2166@item Various simple functions for testing and informative error messages
2167@item ASDF integration
2168@item Extensible test reporters
2169@item Colorizes the report if it's available (note for SLIME)
2170@item Reports test durations
2171@end itemize\n")))
2172
2173(define-public cl-prove
2174 (sbcl-package->cl-source-package sbcl-prove))
2175
2176(define-public ecl-prove
2177 (sbcl-package->ecl-package sbcl-prove))
2178
2179(define-public sbcl-proc-parse
2180 (let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
2181 (package
2182 (name "sbcl-proc-parse")
2183 (version (git-version "0.0.0" "1" commit))
2184 (source
2185 (origin
2186 (method git-fetch)
2187 (uri (git-reference
2188 (url "https://github.com/fukamachi/proc-parse")
2189 (commit commit)))
2190 (sha256
2191 (base32
2192 "06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
2193 (file-name (git-file-name "proc-parse" version))))
2194 (build-system asdf-build-system/sbcl)
2195 (inputs
2196 `(("alexandria" ,sbcl-alexandria)
2197 ("babel" ,sbcl-babel)))
2198 (native-inputs
2199 `(("prove" ,sbcl-prove)
2200 ("prove-asdf" ,sbcl-prove-asdf)))
2201 (arguments
2202 ;; TODO: Tests don't find "proc-parse-test", why?
2203 `(#:tests? #f))
2204 (synopsis "Procedural vector parser")
2205 (description
2206 "This is a string/octets parser library for Common Lisp with speed and
2207readability in mind. Unlike other libraries, the code is not a
2208pattern-matching-like, but a char-by-char procedural parser.")
2209 (home-page "https://github.com/fukamachi/proc-parse")
2210 (license license:bsd-2))))
2211
2212(define-public cl-proc-parse
2213 (sbcl-package->cl-source-package sbcl-proc-parse))
2214
2215(define-public ecl-proc-parse
2216 (sbcl-package->ecl-package sbcl-proc-parse))
2217
2218(define-public sbcl-parse-float
2219 (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
2220 (package
2221 (name "sbcl-parse-float")
2222 (version (git-version "0.0.0" "1" commit))
2223 (source
2224 (origin
2225 (method git-fetch)
2226 (uri (git-reference
2227 (url "https://github.com/soemraws/parse-float")
2228 (commit commit)))
2229 (sha256
2230 (base32
2231 "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
2232 (file-name (git-file-name "proc-parse" version))))
2233 (build-system asdf-build-system/sbcl)
2234 (inputs
2235 `(("alexandria" ,sbcl-alexandria)
2236 ("babel" ,sbcl-babel)))
2237 (native-inputs
2238 `(("prove" ,sbcl-prove)
2239 ("prove-asdf" ,sbcl-prove-asdf)))
2240 (arguments
2241 ;; TODO: Tests don't find "proc-parse-test", why?
2242 `(#:tests? #f))
2243 (synopsis "Parse a floating point value from a string in Common Lisp")
2244 (description
2245 "This package exports the following function to parse floating-point
2246values from a string in Common Lisp.")
2247 (home-page "https://github.com/soemraws/parse-float")
2248 (license license:public-domain))))
2249
2250(define-public cl-parse-float
2251 (sbcl-package->cl-source-package sbcl-parse-float))
2252
2253(define-public ecl-parse-float
2254 (sbcl-package->ecl-package sbcl-parse-float))
2255
2256(define-public sbcl-ascii-strings
2257 (let ((revision "1")
2258 (changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
2259 (package
2260 (name "sbcl-ascii-strings")
2261 (version (string-append "0-" revision "." (string-take changeset 7)))
2262 (source
2263 (origin
2264 (method hg-fetch)
2265 (uri (hg-reference
2266 (url "https://bitbucket.org/vityok/cl-string-match/")
2267 (changeset changeset)))
2268 (sha256
2269 (base32
2270 "01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
2271 (file-name (git-file-name "cl-string-match" version))))
2272 (build-system asdf-build-system/sbcl)
2273 (inputs
2274 `(("alexandria" ,sbcl-alexandria)
2275 ("babel" ,sbcl-babel)))
2276 (arguments
2277 `(#:asd-file "ascii-strings.asd"))
2278 (synopsis "Operations on ASCII strings")
2279 (description
2280 "Operations on ASCII strings. Essentially this can be any kind of
2281single-byte encoded strings.")
2282 (home-page "https://bitbucket.org/vityok/cl-string-match/")
2283 (license license:bsd-3))))
2284
2285(define-public cl-ascii-strings
2286 (sbcl-package->cl-source-package sbcl-ascii-strings))
2287
2288(define-public ecl-ascii-strings
2289 (sbcl-package->ecl-package sbcl-ascii-strings))
2290
2291(define-public sbcl-simple-scanf
2292 (package
2293 (inherit sbcl-ascii-strings)
2294 (name "sbcl-simple-scanf")
2295 (inputs
2296 `(("alexandria" ,sbcl-alexandria)
2297 ("iterate" ,sbcl-iterate)
2298 ("proc-parse" ,sbcl-proc-parse)
2299 ("parse-float" ,sbcl-parse-float)))
2300 (arguments
2301 `(#:asd-file "simple-scanf.asd"))
2302 (synopsis "Simple scanf-like functionality implementation")
2303 (description
2304 "A simple scanf-like functionality implementation.")))
2305
2306(define-public cl-simple-scanf
2307 (sbcl-package->cl-source-package sbcl-simple-scanf))
2308
2309(define-public ecl-simple-scanf
2310 (sbcl-package->ecl-package sbcl-simple-scanf))
2311
2312(define-public sbcl-cl-string-match
2313 (package
2314 (inherit sbcl-ascii-strings)
2315 (name "sbcl-cl-string-match")
2316 (inputs
2317 `(("alexandria" ,sbcl-alexandria)
2318 ("ascii-strings" ,sbcl-ascii-strings)
2319 ("yacc" ,sbcl-cl-yacc)
2320 ("jpl-util" ,sbcl-jpl-util)
2321 ("jpl-queues" ,sbcl-jpl-queues)
2322 ("mgl-pax" ,sbcl-mgl-pax)
2323 ("iterate" ,sbcl-iterate)))
2324 ;; TODO: Tests are not evaluated properly.
2325 (native-inputs
2326 ;; For testing:
2327 `(("lisp-unit" ,sbcl-lisp-unit)
2328 ("simple-scanf" ,sbcl-simple-scanf)))
2329 (arguments
2330 `(#:tests? #f
2331 #:asd-file "cl-string-match.asd"))
2332 (synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
2333 (description
2334 "@command{cl-strings} is a small, portable, dependency-free set of
2335utilities that make it even easier to manipulate text in Common Lisp. It has
2336100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")))
2337
2338(define-public cl-string-match
2339 (sbcl-package->cl-source-package sbcl-cl-string-match))
2340
2341(define-public ecl-cl-string-match
2342 (sbcl-package->ecl-package sbcl-cl-string-match))
2343
2344(define-public sbcl-ptester
d9d8e3c2
GLV
2345 (let ((commit "fe69fde54f4bce00ce577feb918796c293fc7253")
2346 (revision "1"))
2347 (package
2348 (name "sbcl-ptester")
2349 (version (git-version "2.1.3" revision commit))
2350 (source
2351 (origin
2352 (method git-fetch)
2353 (uri (git-reference
2354 (url "http://git.kpe.io/ptester.git")
2355 (commit commit)))
2356 (file-name (git-file-name name version))
2357 (sha256
2358 (base32 "1l0lfl7cdnr2qf4zh38hi4llxg22c49zkm639bdkmvlkzwj3ndwf"))))
2359 (build-system asdf-build-system/sbcl)
2360 (home-page "http://quickdocs.org/ptester/")
2361 (synopsis "Portable test harness package")
2362 (description
2363 "@command{ptester} is a portable testing framework based on Franz's
88f06fd0 2364tester module.")
d9d8e3c2 2365 (license license:llgpl))))
88f06fd0
PN
2366
2367(define-public cl-ptester
2368 (sbcl-package->cl-source-package sbcl-ptester))
2369
2370(define-public ecl-ptester
2371 (sbcl-package->ecl-package sbcl-ptester))
2372
2373(define-public sbcl-puri
ff6cf9fa
GLV
2374 (let ((commit "ef5afb9e5286c8e952d4344f019c1a636a717b97")
2375 (revision "1"))
2376 (package
2377 (name "sbcl-puri")
2378 (version (git-version "1.5.7" revision commit))
2379 (source
2380 (origin
2381 (method git-fetch)
2382 (uri (git-reference
2383 (url "http://git.kpe.io/puri.git")
2384 (commit commit)))
2385 (file-name (git-file-name name version))
2386 (sha256
2387 (base32 "1vm25pdl92laj72p5vyd538kf3cjy2655z6bdc99h20ana2p231s"))))
2388 (build-system asdf-build-system/sbcl)
2389 (native-inputs
2390 `(("ptester" ,sbcl-ptester)))
2391 (home-page "http://quickdocs.org/puri/")
2392 (synopsis "Portable URI Library")
2393 (description
2394 "This is a portable Universal Resource Identifier library for Common
2395Lisp programs. It parses URI according to the RFC 2396 specification.")
2396 (license license:llgpl))))
88f06fd0
PN
2397
2398(define-public cl-puri
2399 (sbcl-package->cl-source-package sbcl-puri))
2400
2401(define-public ecl-puri
2402 (sbcl-package->ecl-package sbcl-puri))
2403
2404(define-public sbcl-queues
2405 (let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
2406 (package
2407 (name "sbcl-queues")
2408 (version (git-version "0.0.0" "1" commit))
2409 (source
2410 (origin
2411 (method git-fetch)
2412 (uri (git-reference
2413 (url "https://github.com/oconnore/queues")
2414 (commit commit)))
2415 (file-name (git-file-name "queues" version))
2416 (sha256
2417 (base32
2418 "0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
2419 (build-system asdf-build-system/sbcl)
2420 (home-page "https://github.com/oconnore/queues")
2421 (synopsis "Common Lisp queue library")
2422 (description
2423 "This is a simple queue library for Common Lisp with features such as
2424non-consing thread safe queues and fibonacci priority queues.")
2425 (license license:expat))))
2426
2427(define-public cl-queues
2428 (sbcl-package->cl-source-package sbcl-queues))
2429
2430(define-public ecl-queues
2431 (sbcl-package->ecl-package sbcl-queues))
2432
2433(define-public sbcl-queues.simple-queue
2434 (package
2435 (inherit sbcl-queues)
2436 (name "sbcl-queues.simple-queue")
2437 (inputs
2438 `(("sbcl-queues" ,sbcl-queues)))
2439 (arguments
2440 `(#:asd-file "queues.simple-queue.asd"))
2441 (synopsis "Simple queue implementation")
2442 (description
2443 "This is a simple queue library for Common Lisp with features such as
2444non-consing thread safe queues and fibonacci priority queues.")
2445 (license license:expat)))
2446
2447(define-public cl-queues.simple-queue
2448 (sbcl-package->cl-source-package sbcl-queues.simple-queue))
2449
2450(define-public ecl-queues.simple-queue
2451 (sbcl-package->ecl-package sbcl-queues.simple-queue))
2452
2453(define-public sbcl-queues.simple-cqueue
2454 (package
2455 (inherit sbcl-queues)
2456 (name "sbcl-queues.simple-cqueue")
2457 (inputs
2458 `(("sbcl-queues" ,sbcl-queues)
2459 ("sbcl-queues.simple-queue" ,sbcl-queues.simple-queue)
2460 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2461 (arguments
2462 `(#:asd-file "queues.simple-cqueue.asd"))
2463 (synopsis "Thread safe queue implementation")
2464 (description
2465 "This is a simple queue library for Common Lisp with features such as
2466non-consing thread safe queues and fibonacci priority queues.")
2467 (license license:expat)))
2468
2469(define-public cl-queues.simple-cqueue
2470 (sbcl-package->cl-source-package sbcl-queues.simple-cqueue))
2471
2472(define-public ecl-queues.simple-cqueue
2473 (sbcl-package->ecl-package sbcl-queues.simple-cqueue))
2474
2475(define-public sbcl-queues.priority-queue
2476 (package
2477 (inherit sbcl-queues)
2478 (name "sbcl-queues.priority-queue")
2479 (inputs
2480 `(("sbcl-queues" ,sbcl-queues)))
2481 (arguments
2482 `(#:asd-file "queues.priority-queue.asd"))
2483 (synopsis "Priority queue (Fibonacci) implementation")
2484 (description
2485 "This is a simple queue library for Common Lisp with features such as
2486non-consing thread safe queues and fibonacci priority queues.")
2487 (license license:expat)))
2488
2489(define-public cl-queues.priority-queue
2490 (sbcl-package->cl-source-package sbcl-queues.priority-queue))
2491
2492(define-public ecl-queues.priority-queue
2493 (sbcl-package->ecl-package sbcl-queues.priority-queue))
2494
2495(define-public sbcl-queues.priority-cqueue
2496 (package
2497 (inherit sbcl-queues)
2498 (name "sbcl-queues.priority-cqueue")
2499 (inputs
2500 `(("sbcl-queues" ,sbcl-queues)
2501 ("sbcl-queues.priority-queue" ,sbcl-queues.priority-queue)
2502 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2503 (arguments
2504 `(#:asd-file "queues.priority-cqueue.asd"))
2505 (synopsis "Thread safe fibonacci priority queue implementation")
2506 (description
2507 "This is a simple queue library for Common Lisp with features such as
2508non-consing thread safe queues and fibonacci priority queues.")
2509 (license license:expat)))
2510
2511(define-public cl-queues.priority-cqueue
2512 (sbcl-package->cl-source-package sbcl-queues.priority-cqueue))
2513
2514(define-public ecl-queues.priority-cqueue
2515 (sbcl-package->ecl-package sbcl-queues.priority-cqueue))
2516
2517(define sbcl-cffi-bootstrap
2518 (package
2519 (name "sbcl-cffi-bootstrap")
237d58c3 2520 (version "0.21.0")
88f06fd0
PN
2521 (source
2522 (origin
2523 (method git-fetch)
2524 (uri (git-reference
2525 (url "https://github.com/cffi/cffi.git")
2526 (commit (string-append "v" version))))
2527 (file-name (git-file-name "cffi-bootstrap" version))
2528 (sha256
237d58c3 2529 (base32 "1qalargz9bhp850qv60ffwpdqi4xirzar4l3g6qcg8yc6xqf2cjk"))))
88f06fd0
PN
2530 (build-system asdf-build-system/sbcl)
2531 (inputs
2532 `(("libffi" ,libffi)
2533 ("alexandria" ,sbcl-alexandria)
2534 ("babel" ,sbcl-babel)
2535 ("trivial-features" ,sbcl-trivial-features)))
2536 (native-inputs
2537 `(("pkg-config" ,pkg-config)))
2538 (arguments
2539 '(#:phases
2540 (modify-phases %standard-phases
2541 (add-after 'unpack 'fix-paths
2542 (lambda* (#:key inputs #:allow-other-keys)
2543 (substitute* "libffi/libffi.lisp"
2544 (("libffi.so.6" all) (string-append
2545 (assoc-ref inputs "libffi")
2546 "/lib/" all)))
2547 (substitute* "toolchain/c-toolchain.lisp"
2548 (("\"cc\"") (format #f "~S" (which "gcc")))))))
2549 #:asd-system-name "cffi"
2550 #:tests? #f))
2551 (home-page "https://common-lisp.net/project/cffi/")
2552 (synopsis "Common Foreign Function Interface for Common Lisp")
2553 (description "The Common Foreign Function Interface (CFFI)
2554purports to be a portable foreign function interface for Common Lisp.
2555The CFFI library is composed of a Lisp-implementation-specific backend
2556in the CFFI-SYS package, and a portable frontend in the CFFI
2557package.")
2558 (license license:expat)))
2559
2560(define-public sbcl-cffi-toolchain
2561 (package
2562 (inherit sbcl-cffi-bootstrap)
2563 (name "sbcl-cffi-toolchain")
2564 (inputs
2565 `(("libffi" ,libffi)
2566 ("sbcl-cffi" ,sbcl-cffi-bootstrap)))
2567 (arguments
2568 (substitute-keyword-arguments (package-arguments sbcl-cffi-bootstrap)
2569 ((#:asd-system-name _) #f)
2570 ((#:tests? _) #t)))))
2571
2572(define-public sbcl-cffi-libffi
2573 (package
2574 (inherit sbcl-cffi-toolchain)
2575 (name "sbcl-cffi-libffi")
2576 (inputs
2577 `(("cffi" ,sbcl-cffi-bootstrap)
2578 ("cffi-grovel" ,sbcl-cffi-grovel)
2579 ("trivial-features" ,sbcl-trivial-features)
2580 ("libffi" ,libffi)))))
2581
2582(define-public sbcl-cffi-grovel
2583 (package
2584 (inherit sbcl-cffi-toolchain)
2585 (name "sbcl-cffi-grovel")
2586 (inputs
2587 `(("libffi" ,libffi)
2588 ("cffi" ,sbcl-cffi-bootstrap)
2589 ("cffi-toolchain" ,sbcl-cffi-toolchain)
2590 ("alexandria" ,sbcl-alexandria)))
2591 (arguments
2592 (substitute-keyword-arguments (package-arguments sbcl-cffi-toolchain)
2593 ((#:phases phases)
2594 `(modify-phases ,phases
2595 (add-after 'build 'install-headers
2596 (lambda* (#:key outputs #:allow-other-keys)
2597 (install-file "grovel/common.h"
2598 (string-append
2599 (assoc-ref outputs "out")
2600 "/include/grovel"))))))))))
2601
2602(define-public sbcl-cffi
2603 (package
2604 (inherit sbcl-cffi-toolchain)
2605 (name "sbcl-cffi")
2606 (inputs (package-inputs sbcl-cffi-bootstrap))
2607 (native-inputs
2608 `(("cffi-grovel" ,sbcl-cffi-grovel)
2609 ("cffi-libffi" ,sbcl-cffi-libffi)
2610 ("rt" ,sbcl-rt)
2611 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2612 ,@(package-native-inputs sbcl-cffi-bootstrap)))))
2613
2614(define-public cl-cffi
2615 (sbcl-package->cl-source-package sbcl-cffi))
2616
25cefc87
GLV
2617(define-public sbcl-cffi-uffi-compat
2618 (package
2619 (inherit sbcl-cffi-toolchain)
2620 (name "sbcl-cffi-uffi-compat")
2621 (native-inputs
2622 `(,@(package-inputs sbcl-cffi-bootstrap))) ; For fix-paths phase
2623 (inputs
2624 `(("cffi" ,sbcl-cffi)))
2625 (synopsis "UFFI Compatibility Layer for CFFI")))
2626
2627(define-public cl-cffi-uffi-compat
2628 (sbcl-package->cl-source-package sbcl-cffi-uffi-compat))
2629
88f06fd0
PN
2630(define-public sbcl-cl-sqlite
2631 (let ((commit "c738e66d4266ef63a1debc4ef4a1b871a068c112"))
2632 (package
2633 (name "sbcl-cl-sqlite")
2634 (version (git-version "0.2" "1" commit))
2635 (source
2636 (origin
2637 (method git-fetch)
2638 (uri (git-reference
2639 (url "https://github.com/dmitryvk/cl-sqlite")
2640 (commit commit)))
2641 (file-name (git-file-name "cl-sqlite" version))
2642 (sha256
2643 (base32
2644 "1ng45k1hdb84sqjryrfx93g66bsbybmpy301wd0fdybnc5jzr36q"))))
2645 (build-system asdf-build-system/sbcl)
2646 (inputs
2647 `(("iterate" ,sbcl-iterate)
2648 ("cffi" ,sbcl-cffi)
2649 ("sqlite" ,sqlite)))
2650 (native-inputs
2651 `(("fiveam" ,sbcl-fiveam)
2652 ("bordeaux-threads" ,sbcl-bordeaux-threads)))
2653 (arguments
2654 `(#:tests? #f ; Upstream seems to have issues with tests: https://github.com/dmitryvk/cl-sqlite/issues/7
2655 #:asd-file "sqlite.asd"
2656 #:asd-system-name "sqlite"
2657 #:phases
2658 (modify-phases %standard-phases
2659 (add-after 'unpack 'fix-paths
2660 (lambda* (#:key inputs #:allow-other-keys)
2661 (substitute* "sqlite-ffi.lisp"
2662 (("libsqlite3" all) (string-append
2663 (assoc-ref inputs "sqlite")"/lib/" all))))))))
2664 (home-page "https://common-lisp.net/project/cl-sqlite/")
2665 (synopsis "Common Lisp binding for SQLite")
2666 (description
2667 "The @command{cl-sqlite} package is an interface to the SQLite embedded
2668relational database engine.")
2669 (license license:public-domain))))
2670
2671(define-public cl-sqlite
2672 (sbcl-package->cl-source-package sbcl-cl-sqlite))
2673
2674(define-public sbcl-parenscript
a84b7a4a
PN
2675 ;; Source archives are overwritten on every release, we use the Git repo instead.
2676 (let ((commit "7a1ac46353cecd144fc91915ba9f122aafcf4766"))
88f06fd0
PN
2677 (package
2678 (name "sbcl-parenscript")
a84b7a4a 2679 (version (git-version "2.7.1" "1" commit))
88f06fd0
PN
2680 (source
2681 (origin
2682 (method git-fetch)
2683 (uri (git-reference
2684 (url "https://gitlab.common-lisp.net/parenscript/parenscript")
2685 (commit commit)))
2686 (file-name (git-file-name "parenscript" version))
2687 (sha256
2688 (base32
a84b7a4a 2689 "0c22lqarrpbq82dg1sb3y6mp6w2faczp34ymzhnmff88yfq1xzsf"))))
88f06fd0
PN
2690 (build-system asdf-build-system/sbcl)
2691 (inputs
2692 `(("cl-ppcre" ,sbcl-cl-ppcre)
2693 ("anaphora" ,sbcl-anaphora)
2694 ("named-readtables" ,sbcl-named-readtables)))
2695 (home-page "https://common-lisp.net/project/parenscript/")
2696 (synopsis "Translator from a subset of Common Lisp to JavaScript")
2697 (description
2698 "Parenscript is a translator from an extended subset of Common Lisp to
2699JavaScript. Parenscript code can run almost identically on both the
2700browser (as JavaScript) and server (as Common Lisp).
2701
2702Parenscript code is treated the same way as Common Lisp code, making the full
2703power of Lisp macros available for JavaScript. This provides a web
2704development environment that is unmatched in its ability to reduce code
2705duplication and provide advanced meta-programming facilities to web
2706developers.
2707
2708At the same time, Parenscript is different from almost all other \"language
2709X\" to JavaScript translators in that it imposes almost no overhead:
2710
2711@itemize
2712@item No run-time dependencies: Any piece of Parenscript code is runnable
2713as-is. There are no JavaScript files to include.
2714@item Native types: Parenscript works entirely with native JavaScript data
2715types. There are no new types introduced, and object prototypes are not
2716touched.
2717@item Native calling convention: Any JavaScript code can be called without the
2718need for bindings. Likewise, Parenscript can be used to make efficient,
2719self-contained JavaScript libraries.
2720@item Readable code: Parenscript generates concise, formatted, idiomatic
2721JavaScript code. Identifier names are preserved. This enables seamless
2722debugging in tools like Firebug.
2723@item Efficiency: Parenscript introduces minimal overhead for advanced Common
2724Lisp features. The generated code is almost as fast as hand-written
2725JavaScript.
2726@end itemize\n")
2727 (license license:bsd-3))))
2728
2729(define-public cl-parenscript
2730 (sbcl-package->cl-source-package sbcl-parenscript))
2731
2732(define-public ecl-parenscript
2733 (sbcl-package->ecl-package sbcl-parenscript))
2734
2735(define-public sbcl-cl-json
2736 (let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
2737 (package
2738 (name "sbcl-cl-json")
2739 (version (git-version "0.5" "1" commit))
2740 (source
2741 (origin
2742 (method git-fetch)
2743 (uri (git-reference
2744 (url "https://github.com/hankhero/cl-json")
2745 (commit commit)))
2746 (file-name (git-file-name "cl-json" version))
2747 (sha256
2748 (base32
2749 "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
2750 (build-system asdf-build-system/sbcl)
2751 (native-inputs
2752 `(("fiveam" ,sbcl-fiveam)))
2753 (home-page "https://github.com/hankhero/cl-json")
2754 (synopsis "JSON encoder and decoder for Common-Lisp")
2755 (description
2756 "@command{cl-json} provides an encoder of Lisp objects to JSON format
2757and a corresponding decoder of JSON data to Lisp objects. Both the encoder
2758and the decoder are highly customizable; at the same time, the default
2759settings ensure a very simple mode of operation, similar to that provided by
2760@command{yason} or @command{st-json}.")
2761 (license license:expat))))
2762
2763(define-public cl-json
2764 (sbcl-package->cl-source-package sbcl-cl-json))
2765
2766(define-public ecl-cl-json
2767 (sbcl-package->ecl-package sbcl-cl-json))
2768
2769(define-public sbcl-unix-opts
2770 (package
2771 (name "sbcl-unix-opts")
2772 (version "0.1.7")
2773 (source
2774 (origin
2775 (method git-fetch)
2776 (uri (git-reference
2777 (url "https://github.com/libre-man/unix-opts")
2778 (commit version)))
2779 (file-name (git-file-name "unix-opts" version))
2780 (sha256
2781 (base32
2782 "08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
2783 (build-system asdf-build-system/sbcl)
2784 (home-page "https://github.com/hankhero/cl-json")
2785 (synopsis "Unix-style command line options parser")
2786 (description
2787 "This is a minimalistic parser of command line options. The main
2788advantage of the library is the ability to concisely define command line
2789options once and then use this definition for parsing and extraction of
2790command line arguments, as well as printing description of command line
2791options (you get --help for free). This way you don't need to repeat
102fc7bc
VC
2792yourself. Also, @command{unix-opts} doesn't depend on anything and
2793precisely controls the behavior of the parser via Common Lisp restarts.")
88f06fd0
PN
2794 (license license:expat)))
2795
2796(define-public cl-unix-opts
2797 (sbcl-package->cl-source-package sbcl-unix-opts))
2798
2799(define-public ecl-unix-opts
2800 (sbcl-package->ecl-package sbcl-unix-opts))
2801
2802(define-public sbcl-trivial-garbage
2803 (package
2804 (name "sbcl-trivial-garbage")
2805 (version "0.21")
2806 (source
2807 (origin
2808 (method git-fetch)
2809 (uri (git-reference
2810 (url "https://github.com/trivial-garbage/trivial-garbage.git")
2811 (commit (string-append "v" version))))
2812 (file-name (git-file-name "trivial-garbage" version))
2813 (sha256
2814 (base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
2815 (build-system asdf-build-system/sbcl)
2816 (native-inputs
2817 `(("rt" ,sbcl-rt)))
2818 (home-page "https://common-lisp.net/project/trivial-garbage/")
2819 (synopsis "Portable GC-related APIs for Common Lisp")
2820 (description "@command{trivial-garbage} provides a portable API to
2821finalizers, weak hash-tables and weak pointers on all major implementations of
2822the Common Lisp programming language.")
2823 (license license:public-domain)))
2824
2825(define-public cl-trivial-garbage
2826 (sbcl-package->cl-source-package sbcl-trivial-garbage))
2827
2828(define-public ecl-trivial-garbage
2829 (sbcl-package->ecl-package sbcl-trivial-garbage))
2830
2831(define-public sbcl-closer-mop
d4c04565 2832 (let ((commit "19c9d33f576e10715fd79cc1d4f688dab0f241d6"))
88f06fd0
PN
2833 (package
2834 (name "sbcl-closer-mop")
d4c04565 2835 (version (git-version "1.0.0" "2" commit))
88f06fd0
PN
2836 (source
2837 (origin
2838 (method git-fetch)
2839 (uri (git-reference
2840 (url "https://github.com/pcostanza/closer-mop")
2841 (commit commit)))
2842 (sha256
d4c04565 2843 (base32 "1w3x087wvlwkd6swfdgbvjfs6kazf0la8ax4pjfzikwjch4snn2c"))
88f06fd0
PN
2844 (file-name (git-file-name "closer-mop" version ))))
2845 (build-system asdf-build-system/sbcl)
2846 (home-page "https://github.com/pcostanza/closer-mop")
2847 (synopsis "Rectifies absent or incorrect CLOS MOP features")
2848 (description "Closer to MOP is a compatibility layer that rectifies many
2849of the absent or incorrect CLOS MOP features across a broad range of Common
2850Lisp implementations.")
2851 (license license:expat))))
2852
2853(define-public cl-closer-mop
2854 (sbcl-package->cl-source-package sbcl-closer-mop))
2855
2856(define-public ecl-closer-mop
2857 (sbcl-package->ecl-package sbcl-closer-mop))
2858
2859(define sbcl-cl-cffi-gtk-boot0
1addc201 2860 (let ((commit "412d17214e092220c65a5660f5cbbd9cb69b8fe4"))
88f06fd0
PN
2861 (package
2862 (name "sbcl-cl-cffi-gtk-boot0")
2863 (version (git-version "0.11.2" "1" commit))
2864 (source
2865 (origin
2866 (method git-fetch)
2867 (uri (git-reference
2868 (url "https://github.com/Ferada/cl-cffi-gtk/")
2869 (commit commit)))
2870 (file-name (git-file-name "cl-cffi-gtk" version))
2871 (sha256
2872 (base32
1addc201 2873 "0n997yhcnzk048nalx8ys62ja2ac8iv4mbn3mb55iapl0321hghn"))))
88f06fd0
PN
2874 (build-system asdf-build-system/sbcl)
2875 (inputs
2876 `(("iterate" ,sbcl-iterate)
2877 ("cffi" ,sbcl-cffi)
2878 ("trivial-features" ,sbcl-trivial-features)))
2879 (home-page "https://github.com/Ferada/cl-cffi-gtk/")
2880 (synopsis "Common Lisp binding for GTK+3")
2881 (description
2882 "@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
2883is a library for creating graphical user interfaces.")
2884 (license license:lgpl3))))
2885
2886(define-public sbcl-cl-cffi-gtk-glib
2887 (package
2888 (inherit sbcl-cl-cffi-gtk-boot0)
2889 (name "sbcl-cl-cffi-gtk-glib")
2890 (inputs
2891 `(("glib" ,glib)
1addc201 2892 ("bordeaux-threads" ,sbcl-bordeaux-threads)
88f06fd0
PN
2893 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2894 (arguments
2895 `(#:asd-file "glib/cl-cffi-gtk-glib.asd"
2896 #:phases
2897 (modify-phases %standard-phases
2898 (add-after 'unpack 'fix-paths
2899 (lambda* (#:key inputs #:allow-other-keys)
2900 (substitute* "glib/glib.init.lisp"
1addc201
PN
2901 (("libglib|libgthread" all)
2902 (string-append (assoc-ref inputs "glib") "/lib/" all))))))))))
88f06fd0
PN
2903
2904(define-public sbcl-cl-cffi-gtk-gobject
2905 (package
2906 (inherit sbcl-cl-cffi-gtk-boot0)
2907 (name "sbcl-cl-cffi-gtk-gobject")
2908 (inputs
2909 `(("glib" ,glib)
2910 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2911 ("trivial-garbage" ,sbcl-trivial-garbage)
2912 ("bordeaux-threads" ,sbcl-bordeaux-threads)
2913 ("closer-mop" ,sbcl-closer-mop)
2914 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2915 (arguments
2916 `(#:asd-file "gobject/cl-cffi-gtk-gobject.asd"
2917 #:phases
2918 (modify-phases %standard-phases
2919 (add-after 'unpack 'fix-paths
2920 (lambda* (#:key inputs #:allow-other-keys)
2921 (substitute* "gobject/gobject.init.lisp"
2922 (("libgobject" all) (string-append
eac71f54
PN
2923 (assoc-ref inputs "glib") "/lib/" all)))))
2924 (add-after 'install 'link-source
2925 ;; Since source is particularly heavy (16MiB+), let's reuse it
2926 ;; across the different components of cl-ffi-gtk.
2927 (lambda* (#:key inputs outputs #:allow-other-keys)
2928 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2929 "/share/common-lisp/sbcl-source/"
2930 "cl-cffi-gtk-glib"))
2931 (out-source (string-append (assoc-ref outputs "out")
2932 "/share/common-lisp/sbcl-source/"
2933 "cl-cffi-gtk-gobject")))
2934 (delete-file-recursively out-source)
2935 (symlink glib-source out-source)
2936 #t))))))))
88f06fd0
PN
2937
2938(define-public sbcl-cl-cffi-gtk-gio
2939 (package
2940 (inherit sbcl-cl-cffi-gtk-boot0)
2941 (name "sbcl-cl-cffi-gtk-gio")
2942 (inputs
2943 `(("glib" ,glib)
2944 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2945 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2946 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2947 (arguments
2948 `(#:asd-file "gio/cl-cffi-gtk-gio.asd"
2949 #:phases
2950 (modify-phases %standard-phases
2951 (add-after 'unpack 'fix-paths
2952 (lambda* (#:key inputs #:allow-other-keys)
2953 (substitute* "gio/gio.init.lisp"
2954 (("libgio" all)
2955 (string-append
6a7f3668
PN
2956 (assoc-ref inputs "glib") "/lib/" all)))))
2957 (add-after 'install 'link-source
2958 ;; Since source is particularly heavy (16MiB+), let's reuse it
2959 ;; across the different components of cl-ffi-gtk.
2960 (lambda* (#:key inputs outputs #:allow-other-keys)
2961 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2962 "/share/common-lisp/sbcl-source/"
2963 "cl-cffi-gtk-glib"))
2964 (out-source (string-append (assoc-ref outputs "out")
2965 "/share/common-lisp/sbcl-source/"
2966 "cl-cffi-gtk-gio")))
2967 (delete-file-recursively out-source)
2968 (symlink glib-source out-source)
2969 #t))))))))
88f06fd0
PN
2970
2971(define-public sbcl-cl-cffi-gtk-cairo
2972 (package
2973 (inherit sbcl-cl-cffi-gtk-boot0)
2974 (name "sbcl-cl-cffi-gtk-cairo")
2975 (inputs
2976 `(("cairo" ,cairo)
2977 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
2978 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
2979 (arguments
2980 `(#:asd-file "cairo/cl-cffi-gtk-cairo.asd"
2981 #:phases
2982 (modify-phases %standard-phases
2983 (add-after 'unpack 'fix-paths
2984 (lambda* (#:key inputs #:allow-other-keys)
2985 (substitute* "cairo/cairo.init.lisp"
2986 (("libcairo" all)
2987 (string-append
8f46a9d6
PN
2988 (assoc-ref inputs "cairo") "/lib/" all)))))
2989 (add-after 'install 'link-source
2990 ;; Since source is particularly heavy (16MiB+), let's reuse it
2991 ;; across the different components of cl-ffi-gtk.
2992 (lambda* (#:key inputs outputs #:allow-other-keys)
2993 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
2994 "/share/common-lisp/sbcl-source/"
2995 "cl-cffi-gtk-glib"))
2996 (out-source (string-append (assoc-ref outputs "out")
2997 "/share/common-lisp/sbcl-source/"
2998 "cl-cffi-gtk-cairo")))
2999 (delete-file-recursively out-source)
3000 (symlink glib-source out-source)
3001 #t))))))))
88f06fd0
PN
3002
3003(define-public sbcl-cl-cffi-gtk-pango
3004 (package
3005 (inherit sbcl-cl-cffi-gtk-boot0)
3006 (name "sbcl-cl-cffi-gtk-pango")
3007 (inputs
3008 `(("pango" ,pango)
3009 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
3010 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3011 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
3012 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3013 (arguments
3014 `(#:asd-file "pango/cl-cffi-gtk-pango.asd"
3015 #:phases
3016 (modify-phases %standard-phases
3017 (add-after 'unpack 'fix-paths
3018 (lambda* (#:key inputs #:allow-other-keys)
3019 (substitute* "pango/pango.init.lisp"
3020 (("libpango" all)
3021 (string-append
d27f033f
PN
3022 (assoc-ref inputs "pango") "/lib/" all)))))
3023 (add-after 'install 'link-source
3024 ;; Since source is particularly heavy (16MiB+), let's reuse it
3025 ;; across the different components of cl-ffi-gtk.
3026 (lambda* (#:key inputs outputs #:allow-other-keys)
3027 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3028 "/share/common-lisp/sbcl-source/"
3029 "cl-cffi-gtk-glib"))
3030 (out-source (string-append (assoc-ref outputs "out")
3031 "/share/common-lisp/sbcl-source/"
3032 "cl-cffi-gtk-pango")))
3033 (delete-file-recursively out-source)
3034 (symlink glib-source out-source)
3035 #t))))))))
88f06fd0
PN
3036
3037(define-public sbcl-cl-cffi-gtk-gdk-pixbuf
3038 (package
3039 (inherit sbcl-cl-cffi-gtk-boot0)
3040 (name "sbcl-cl-cffi-gtk-gdk-pixbuf")
3041 (inputs
3042 `(("gdk-pixbuf" ,gdk-pixbuf)
3043 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
2666a336 3044 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
88f06fd0
PN
3045 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3046 (arguments
3047 `(#:asd-file "gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
3048 #:phases
3049 (modify-phases %standard-phases
3050 (add-after 'unpack 'fix-paths
3051 (lambda* (#:key inputs #:allow-other-keys)
3052 (substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
3053 (("libgdk_pixbuf" all)
3054 (string-append
2666a336
PN
3055 (assoc-ref inputs "gdk-pixbuf") "/lib/" all)))))
3056 (add-after 'install 'link-source
3057 ;; Since source is particularly heavy (16MiB+), let's reuse it
3058 ;; across the different components of cl-ffi-gtk.
3059 (lambda* (#:key inputs outputs #:allow-other-keys)
3060 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3061 "/share/common-lisp/sbcl-source/"
3062 "cl-cffi-gtk-glib"))
3063 (out-source (string-append (assoc-ref outputs "out")
3064 "/share/common-lisp/sbcl-source/"
3065 "cl-cffi-gtk-gdk-pixbuf")))
3066 (delete-file-recursively out-source)
3067 (symlink glib-source out-source)
3068 #t))))))))
88f06fd0
PN
3069
3070(define-public sbcl-cl-cffi-gtk-gdk
3071 (package
3072 (inherit sbcl-cl-cffi-gtk-boot0)
3073 (name "sbcl-cl-cffi-gtk-gdk")
3074 (inputs
3075 `(("gtk" ,gtk+)
80d8c00c 3076 ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
88f06fd0
PN
3077 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3078 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
3079 ("cl-cffi-gtk-gdk-pixbuf" ,sbcl-cl-cffi-gtk-gdk-pixbuf)
3080 ("cl-cffi-gtk-cairo" ,sbcl-cl-cffi-gtk-cairo)
3081 ("cl-cffi-gtk-pango" ,sbcl-cl-cffi-gtk-pango)
3082 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3083 (arguments
3084 `(#:asd-file "gdk/cl-cffi-gtk-gdk.asd"
3085 #:phases
3086 (modify-phases %standard-phases
3087 (add-after 'unpack 'fix-paths
3088 (lambda* (#:key inputs #:allow-other-keys)
3089 (substitute* "gdk/gdk.init.lisp"
3090 (("libgdk" all)
3091 (string-append
3092 (assoc-ref inputs "gtk") "/lib/" all)))
3093 (substitute* "gdk/gdk.package.lisp"
3094 (("libgtk" all)
3095 (string-append
80d8c00c
PN
3096 (assoc-ref inputs "gtk") "/lib/" all)))))
3097 (add-after 'install 'link-source
3098 ;; Since source is particularly heavy (16MiB+), let's reuse it
3099 ;; across the different components of cl-ffi-gtk.
3100 (lambda* (#:key inputs outputs #:allow-other-keys)
3101 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3102 "/share/common-lisp/sbcl-source/"
3103 "cl-cffi-gtk-glib"))
3104 (out-source (string-append (assoc-ref outputs "out")
3105 "/share/common-lisp/sbcl-source/"
3106 "cl-cffi-gtk-gdk")))
3107 (delete-file-recursively out-source)
3108 (symlink glib-source out-source)
3109 #t))))))))
88f06fd0
PN
3110
3111(define-public sbcl-cl-cffi-gtk
3112 (package
3113 (inherit sbcl-cl-cffi-gtk-boot0)
3114 (name "sbcl-cl-cffi-gtk")
3115 (inputs
3116 `(("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
3117 ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
3118 ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
3119 ("cl-cffi-gtk-gdk" ,sbcl-cl-cffi-gtk-gdk)
3120 ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
3121 (native-inputs
3122 `(("fiveam" ,sbcl-fiveam)))
3123 (arguments
3124 `(#:asd-file "gtk/cl-cffi-gtk.asd"
3125 #:test-asd-file "test/cl-cffi-gtk-test.asd"
3126 ;; TODO: Tests fail with memory fault.
3127 ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
143eaa82
PN
3128 #:tests? #f
3129 #:phases
3130 (modify-phases %standard-phases
3131 (add-after 'install 'link-source
3132 ;; Since source is particularly heavy (16MiB+), let's reuse it
3133 ;; across the different components of cl-ffi-gtk.
3134 (lambda* (#:key inputs outputs #:allow-other-keys)
3135 (let ((glib-source (string-append (assoc-ref inputs "cl-cffi-gtk-glib")
3136 "/share/common-lisp/sbcl-source/"
3137 "cl-cffi-gtk-glib"))
3138 (out-source (string-append (assoc-ref outputs "out")
3139 "/share/common-lisp/sbcl-source/"
3140 "cl-cffi-gtk")))
3141 (delete-file-recursively out-source)
3142 (symlink glib-source out-source)
3143 #t))))))))
88f06fd0
PN
3144
3145(define-public cl-cffi-gtk
3146 (sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
3147
3148(define-public sbcl-cl-webkit
ec5c22c2 3149 (let ((commit "f93cb9697e8813068795fe4dc39ac950d814102d"))
88f06fd0
PN
3150 (package
3151 (name "sbcl-cl-webkit")
ec5c22c2 3152 (version (git-version "2.4" "3" commit))
88f06fd0
PN
3153 (source
3154 (origin
3155 (method git-fetch)
3156 (uri (git-reference
94aab844 3157 (url "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
3158 (commit commit)))
3159 (file-name (git-file-name "cl-webkit" version))
3160 (sha256
3161 (base32
ec5c22c2 3162 "1sjcw08kjpd5h83sms7zcq2nymddjygk9hm2rpgzrl524an9ziwc"))))
88f06fd0
PN
3163 (build-system asdf-build-system/sbcl)
3164 (inputs
3165 `(("cffi" ,sbcl-cffi)
3166 ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
3167 ("webkitgtk" ,webkitgtk)))
3168 (arguments
3169 `(#:asd-file "webkit2/cl-webkit2.asd"
3170 #:asd-system-name "cl-webkit2"
3171 #:phases
3172 (modify-phases %standard-phases
3173 (add-after 'unpack 'fix-paths
3174 (lambda* (#:key inputs #:allow-other-keys)
3175 (substitute* "webkit2/webkit2.init.lisp"
3176 (("libwebkit2gtk" all)
3177 (string-append
3178 (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
94aab844 3179 (home-page "https://github.com/joachifm/cl-webkit")
88f06fd0
PN
3180 (synopsis "Binding to WebKitGTK+ for Common Lisp")
3181 (description
3182 "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
3183currently targeting WebKit version 2. The WebKitGTK+ library adds web
3184browsing capabilities to an application, leveraging the full power of the
3185WebKit browsing engine.")
3186 (license license:expat))))
3187
3188(define-public cl-webkit
3189 (sbcl-package->cl-source-package sbcl-cl-webkit))
3190
3191(define-public sbcl-lparallel
3192 (package
3193 (name "sbcl-lparallel")
3194 (version "2.8.4")
3195 (source
3196 (origin
3197 (method git-fetch)
3198 (uri (git-reference
3199 (url "https://github.com/lmj/lparallel/")
3200 (commit (string-append "lparallel-" version))))
3201 (file-name (git-file-name "lparallel" version))
3202 (sha256
3203 (base32
3204 "0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
3205 (build-system asdf-build-system/sbcl)
3206 (inputs
3207 `(("alexandria" ,sbcl-alexandria)
3208 ("bordeaux-threads" ,sbcl-bordeaux-threads)
3209 ("trivial-garbage" ,sbcl-trivial-garbage)))
3210 (home-page "https://lparallel.org/")
3211 (synopsis "Parallelism for Common Lisp")
3212 (description
3213 "@command{lparallel} is a library for parallel programming in Common
3214Lisp, featuring:
3215
3216@itemize
3217@item a simple model of task submission with receiving queue,
3218@item constructs for expressing fine-grained parallelism,
3219@item asynchronous condition handling across thread boundaries,
3220@item parallel versions of map, reduce, sort, remove, and many others,
3221@item promises, futures, and delayed evaluation constructs,
3222@item computation trees for parallelizing interconnected tasks,
3223@item bounded and unbounded FIFO queues,
3224@item high and low priority tasks,
3225@item task killing by category,
3226@item integrated timeouts.
3227@end itemize\n")
3228 (license license:expat)))
3229
3230(define-public cl-lparallel
3231 (sbcl-package->cl-source-package sbcl-lparallel))
3232
3233(define-public ecl-lparallel
3234 (sbcl-package->ecl-package sbcl-lparallel))
3235
3236(define-public sbcl-cl-markup
3237 (let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
3238 (package
3239 (name "sbcl-cl-markup")
3240 (version (git-version "0.1" "1" commit))
3241 (source
3242 (origin
3243 (method git-fetch)
3244 (uri (git-reference
3245 (url "https://github.com/arielnetworks/cl-markup/")
3246 (commit commit)))
3247 (file-name (git-file-name "cl-markup" version))
3248 (sha256
3249 (base32
3250 "10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
3251 (build-system asdf-build-system/sbcl)
3252 (home-page "https://github.com/arielnetworks/cl-markup/")
3253 (synopsis "Markup generation library for Common Lisp")
3254 (description
3255 "A modern markup generation library for Common Lisp that features:
3256
3257@itemize
3258@item Fast (even faster through compiling the code)
3259@item Safety
3260@item Support for multiple document types (markup, xml, html, html5, xhtml)
3261@item Output with doctype
3262@item Direct output to stream
3263@end itemize\n")
3264 (license license:lgpl3+))))
3265
3266(define-public cl-markup
3267 (sbcl-package->cl-source-package sbcl-cl-markup))
3268
3269(define-public ecl-cl-markup
3270 (sbcl-package->ecl-package sbcl-cl-markup))
3271
3272(define-public sbcl-cl-css
3273 (let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
3274 (package
3275 (name "sbcl-cl-css")
3276 (version (git-version "0.1" "1" commit))
3277 (source
3278 (origin
3279 (method git-fetch)
3280 (uri (git-reference
3281 (url "https://github.com/inaimathi/cl-css/")
3282 (commit commit)))
3283 (file-name (git-file-name "cl-css" version))
3284 (sha256
3285 (base32
3286 "1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
3287 (build-system asdf-build-system/sbcl)
3288 (home-page "https://github.com/inaimathi/cl-css/")
3289 (synopsis "Non-validating, inline CSS generator for Common Lisp")
3290 (description
3291 "This is a dead-simple, non validating, inline CSS generator for Common
3292Lisp. Its goals are axiomatic syntax, simple implementation to support
3293portability, and boilerplate reduction in CSS.")
3294 (license license:expat))))
3295
3296(define-public cl-css
3297 (sbcl-package->cl-source-package sbcl-cl-css))
3298
3299(define-public ecl-cl-css
3300 (sbcl-package->ecl-package sbcl-cl-css))
3301
3302(define-public sbcl-portable-threads
3303 (let ((commit "c0e61a1faeb0583c80fd3f20b16cc4c555226920"))
3304 (package
3305 (name "sbcl-portable-threads")
3306 (version (git-version "2.3" "1" commit))
3307 (source
3308 (origin
3309 (method git-fetch)
3310 (uri (git-reference
3311 (url "https://github.com/binghe/portable-threads/")
3312 (commit commit)))
3313 (file-name (git-file-name "portable-threads" version))
3314 (sha256
3315 (base32
3316 "03fmxyarc0xf4kavwkfa0a2spkyfrz6hbgbi9y4q7ny5aykdyfaq"))))
3317 (build-system asdf-build-system/sbcl)
3318 (arguments
3319 `(;; Tests seem broken.
3320 #:tests? #f))
3321 (home-page "https://github.com/binghe/portable-threads")
3322 (synopsis "Portable threads (and scheduled and periodic functions) API for Common Lisp")
3323 (description
3324 "Portable Threads (and Scheduled and Periodic Functions) API for Common
3325Lisp (from GBBopen project).")
3326 (license license:asl2.0))))
3327
3328(define-public cl-portable-threads
3329 (sbcl-package->cl-source-package sbcl-portable-threads))
3330
3331(define-public ecl-portable-threada
3332 (sbcl-package->ecl-package sbcl-portable-threads))
3333
b23e6f5d 3334(define sbcl-usocket-boot0
88f06fd0
PN
3335 ;; usocket's test rely on usocket-server which depends on usocket itself.
3336 ;; We break this cyclic dependency with -boot0 that packages usocket.
b23e6f5d
GLV
3337 (package
3338 (name "sbcl-usocket-boot0")
3339 (version "0.8.3")
3340 (source
3341 (origin
3342 (method git-fetch)
3343 (uri (git-reference
3344 (url "https://github.com/usocket/usocket/")
3345 (commit (string-append "v" version))))
3346 (file-name (git-file-name "usocket" version))
3347 (sha256
3348 (base32
3349 "0x746wr2324l6bn7skqzgkzcbj5kd0zp2ck0c8rldrw0rzabg826"))))
3350 (build-system asdf-build-system/sbcl)
3351 (inputs
3352 `(("split-sequence" ,sbcl-split-sequence)))
3353 (arguments
3354 `(#:tests? #f
3355 #:asd-system-name "usocket"))
3356 (home-page "https://common-lisp.net/project/usocket/")
3357 (synopsis "Universal socket library for Common Lisp (server side)")
3358 (description
3359 "This library strives to provide a portable TCP/IP and UDP/IP socket
88f06fd0
PN
3360interface for as many Common Lisp implementations as possible, while keeping
3361the abstraction and portability layer as thin as possible.")
b23e6f5d 3362 (license license:expat)))
88f06fd0
PN
3363
3364(define-public sbcl-usocket-server
3365 (package
3366 (inherit sbcl-usocket-boot0)
3367 (name "sbcl-usocket-server")
3368 (inputs
b23e6f5d
GLV
3369 `(("bordeaux-threads" ,sbcl-bordeaux-threads)
3370 ("usocket" ,sbcl-usocket-boot0)))
88f06fd0
PN
3371 (arguments
3372 '(#:asd-system-name "usocket-server"))
3373 (synopsis "Universal socket library for Common Lisp (server side)")))
3374
3375(define-public cl-usocket-server
3376 (sbcl-package->cl-source-package sbcl-usocket-server))
3377
3378(define-public ecl-socket-server
3379 (sbcl-package->ecl-package sbcl-usocket-server))
3380
3381(define-public sbcl-usocket
3382 (package
3383 (inherit sbcl-usocket-boot0)
3384 (name "sbcl-usocket")
3385 (arguments
3386 ;; FIXME: Tests need network access?
3387 `(#:tests? #f))
3388 (native-inputs
3389 ;; Testing only.
3390 `(("usocket-server" ,sbcl-usocket-server)
3391 ("rt" ,sbcl-rt)))))
3392
3393(define-public cl-usocket
3394 (sbcl-package->cl-source-package sbcl-usocket))
3395
b23e6f5d 3396(define-public ecl-usocket
88f06fd0
PN
3397 (sbcl-package->ecl-package sbcl-usocket))
3398
3399(define-public sbcl-s-xml
3400 (package
3401 (name "sbcl-s-xml")
3402 (version "3")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri "https://common-lisp.net/project/s-xml/s-xml.tgz")
3407 (sha256
3408 (base32
3409 "061qcr0dzshsa38s5ma4ay924cwak2nq9gy59dw6v9p0qb58nzjf"))))
3410 (build-system asdf-build-system/sbcl)
3411 (home-page "https://common-lisp.net/project/s-xml/")
3412 (synopsis "Simple XML parser implemented in Common Lisp")
3413 (description
3414 "S-XML is a simple XML parser implemented in Common Lisp. This XML
3415parser implementation has the following features:
3416
3417@itemize
3418@item It works (handling many common XML usages).
3419@item It is very small (the core is about 700 lines of code, including
3420comments and whitespace).
3421@item It has a core API that is simple, efficient and pure functional, much
3422like that from SSAX (see also http://ssax.sourceforge.net).
3423@item It supports different DOM models: an XSML-based one, an LXML-based one
3424and a classic xml-element struct based one.
3425@item It is reasonably time and space efficient (internally avoiding garbage
3426generatation as much as possible).
3427@item It does support CDATA.
3428@item It should support the same character sets as your Common Lisp
3429implementation.
3430@item It does support XML name spaces.
3431@end itemize
3432
3433This XML parser implementation has the following limitations:
3434
3435@itemize
3436@item It does not support any special tags (like processing instructions).
3437@item It is not validating, even skips DTD's all together.
3438@end itemize\n")
3439 (license license:lgpl3+)))
3440
3441(define-public cl-s-xml
3442 (sbcl-package->cl-source-package sbcl-s-xml))
3443
3444(define-public ecl-s-xml
3445 (sbcl-package->ecl-package sbcl-s-xml))
3446
3447(define-public sbcl-s-xml-rpc
3448 (package
3449 (name "sbcl-s-xml-rpc")
3450 (version "7")
3451 (source
3452 (origin
3453 (method url-fetch)
3454 (uri "https://common-lisp.net/project/s-xml-rpc/s-xml-rpc.tgz")
3455 (sha256
3456 (base32
3457 "02z7k163d51v0pzk8mn1xb6h5s6x64gjqkslhwm3a5x26k2gfs11"))))
3458 (build-system asdf-build-system/sbcl)
3459 (inputs
3460 `(("s-xml" ,sbcl-s-xml)))
3461 (home-page "https://common-lisp.net/project/s-xml-rpc/")
3462 (synopsis "Implementation of XML-RPC in Common Lisp for both client and server")
3463 (description
3464 "S-XML-RPC is an implementation of XML-RPC in Common Lisp for both
3465client and server.")
3466 (license license:lgpl3+)))
3467
3468(define-public cl-s-xml-rpc
3469 (sbcl-package->cl-source-package sbcl-s-xml-rpc))
3470
3471(define-public ecl-s-xml-rpc
3472 (sbcl-package->ecl-package sbcl-s-xml-rpc))
3473
3474(define-public sbcl-trivial-clipboard
3475 (let ((commit "5af3415d1484e6d69a1b5c178f24680d9fd01796"))
3476 (package
3477 (name "sbcl-trivial-clipboard")
3478 (version (git-version "0.0.0.0" "2" commit))
3479 (source
3480 (origin
3481 (method git-fetch)
3482 (uri (git-reference
3483 (url "https://github.com/snmsts/trivial-clipboard")
3484 (commit commit)))
3485 (file-name (git-file-name "trivial-clipboard" version))
3486 (sha256
3487 (base32
3488 "1gb515z5yq6h5548pb1fwhmb0hhq1ssyb78pvxh4alq799xipxs9"))))
3489 (build-system asdf-build-system/sbcl)
3490 (inputs
3491 `(("xclip" ,xclip)))
3492 (native-inputs
3493 `(("fiveam" ,sbcl-fiveam)))
3494 (arguments
3495 `(#:phases
3496 (modify-phases %standard-phases
3497 (add-after 'unpack 'fix-paths
3498 (lambda* (#:key inputs #:allow-other-keys)
3499 (substitute* "src/text.lisp"
3500 (("\\(executable-find \"xclip\"\\)")
3501 (string-append "(executable-find \""
3502 (assoc-ref inputs "xclip")
3503 "/bin/xclip\")"))))))))
3504 (home-page "https://github.com/snmsts/trivial-clipboard")
3505 (synopsis "Access system clipboard in Common Lisp")
3506 (description
3507 "@command{trivial-clipboard} gives access to the system clipboard.")
3508 (license license:expat))))
3509
3510(define-public cl-trivial-clipboard
3511 (sbcl-package->cl-source-package sbcl-trivial-clipboard))
3512
3513(define-public ecl-trivial-clipboard
3514 (sbcl-package->ecl-package sbcl-trivial-clipboard))
3515
3516(define-public sbcl-trivial-backtrace
3517 (let ((commit "ca81c011b86424a381a7563cea3b924f24e6fbeb")
3518 (revision "1"))
3519 (package
3520 (name "sbcl-trivial-backtrace")
3521 (version (git-version "0.0.0" revision commit))
3522 (source
3523 (origin
3524 (method git-fetch)
3525 (uri (git-reference
3526 (url "https://github.com/gwkkwg/trivial-backtrace.git")
3527 (commit commit)))
3528 (file-name (git-file-name "trivial-backtrace" version))
3529 (sha256
3530 (base32 "10p41p43skj6cimdg8skjy7372s8v2xpkg8djjy0l8rm45i654k1"))))
3531 (build-system asdf-build-system/sbcl)
3532 (inputs
3533 `(("sbcl-lift" ,sbcl-lift)))
8dc2af3b
GLV
3534 (arguments
3535 `(#:phases
3536 (modify-phases %standard-phases
3537 (add-after 'check 'delete-test-results
3538 (lambda* (#:key outputs #:allow-other-keys)
3539 (let ((test-results (string-append (assoc-ref outputs "out")
3540 "/share/common-lisp/"
3541 (%lisp-type) "-source"
3542 "/trivial-backtrace"
3543 "/test-results")))
3544 (when (file-exists? test-results)
3545 (delete-file-recursively test-results)))
3546 #t)))))
88f06fd0
PN
3547 (home-page "https://common-lisp.net/project/trivial-backtrace/")
3548 (synopsis "Portable simple API to work with backtraces in Common Lisp")
3549 (description
3550 "On of the many things that didn't quite get into the Common Lisp
3551standard was how to get a Lisp to output its call stack when something has
3552gone wrong. As such, each Lisp has developed its own notion of what to
3553display, how to display it, and what sort of arguments can be used to
3554customize it. @code{trivial-backtrace} is a simple solution to generating a
3555backtrace portably.")
3556 (license license:expat))))
3557
3558(define-public cl-trivial-backtrace
3559 (sbcl-package->cl-source-package sbcl-trivial-backtrace))
3560
3561(define-public sbcl-rfc2388
3562 (let ((commit "591bcf7e77f2c222c43953a80f8c297751dc0c4e")
3563 (revision "1"))
3564 (package
3565 (name "sbcl-rfc2388")
3566 (version (git-version "0.0.0" revision commit))
3567 (source
3568 (origin
3569 (method git-fetch)
3570 (uri (git-reference
3571 (url "https://github.com/jdz/rfc2388.git")
3572 (commit commit)))
3573 (file-name (git-file-name "rfc2388" version))
3574 (sha256
3575 (base32 "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k"))))
3576 (build-system asdf-build-system/sbcl)
3577 (home-page "https://github.com/jdz/rfc2388/")
3578 (synopsis "An implementation of RFC 2388 in Common Lisp")
3579 (description
3580 "This package contains an implementation of RFC 2388, which is used to
3581process form data posted with HTTP POST method using enctype
3582\"multipart/form-data\".")
3583 (license license:bsd-2))))
3584
3585(define-public cl-rfc2388
3586 (sbcl-package->cl-source-package sbcl-rfc2388))
3587
3588(define-public sbcl-md5
3589 (package
3590 (name "sbcl-md5")
3591 (version "2.0.4")
3592 (source
3593 (origin
3594 (method url-fetch)
3595 (uri (string-append
3596 "https://github.com/pmai/md5/archive/release-" version ".tar.gz"))
3597 (sha256
3598 (base32 "19yl9n0pjdz5gw4qi711lka97xcd9f81ylg434hk7jwn9f2s6w11"))))
3599 (build-system asdf-build-system/sbcl)
3600 (home-page "https://github.com/pmai/md5")
3601 (synopsis
3602 "Common Lisp implementation of the MD5 Message-Digest Algorithm (RFC 1321)")
3603 (description
3604 "This package implements The MD5 Message-Digest Algorithm, as defined in
3605RFC 1321 by R. Rivest, published April 1992.")
3606 (license license:public-domain)))
3607
3608(define-public cl-md5
3609 (sbcl-package->cl-source-package sbcl-md5))
3610
3611(define-public sbcl-cl+ssl
3612 (let ((commit "141ae91416bc40f1618dc07e48429b84388aa599")
3613 (revision "1"))
3614 (package
3615 (name "sbcl-cl+ssl")
3616 (version (git-version "0.0.0" revision commit))
3617 (source
3618 (origin
3619 (method git-fetch)
3620 (uri (git-reference
3621 (url "https://github.com/cl-plus-ssl/cl-plus-ssl.git")
3622 (commit commit)))
3623 (file-name (git-file-name "cl+ssl" version))
3624 (sha256
3625 (base32 "1s0hg1h9sf8q89v0yrxmzg5f5sng29rgx3n21r9h9yql8351myan"))))
3626 (build-system asdf-build-system/sbcl)
3627 (arguments
3628 '(#:phases
3629 (modify-phases %standard-phases
3630 (add-after 'unpack 'fix-paths
3631 (lambda* (#:key inputs #:allow-other-keys)
3632 (substitute* "src/reload.lisp"
3633 (("libssl.so" all)
3634 (string-append
3635 (assoc-ref inputs "openssl") "/lib/" all))))))))
3636 (inputs
3637 `(("openssl" ,openssl)
3638 ("sbcl-cffi" ,sbcl-cffi)
3639 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
3640 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3641 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)
3642 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)
3643 ("sbcl-alexandria" ,sbcl-alexandria)
3644 ("sbcl-trivial-features" ,sbcl-trivial-features)))
113c9b97 3645 (home-page "https://common-lisp.net/project/cl-plus-ssl/")
88f06fd0
PN
3646 (synopsis "Common Lisp bindings to OpenSSL")
3647 (description
3648 "This library is a fork of SSL-CMUCL. The original SSL-CMUCL source
3649code was written by Eric Marsden and includes contributions by Jochen Schmidt.
3650Development into CL+SSL was done by David Lichteblau.")
3651 (license license:expat))))
3652
3653(define-public cl-cl+ssl
3654 (sbcl-package->cl-source-package sbcl-cl+ssl))
3655
3656(define-public sbcl-kmrcl
3657 (let ((version "1.109.0")
3658 (commit "5260068b2eb735af6796740c2db4955afac21636")
3659 (revision "1"))
3660 (package
3661 (name "sbcl-kmrcl")
3662 (version (git-version version revision commit))
3663 (source
3664 (origin
3665 (method git-fetch)
3666 (uri (git-reference
3667 (url "http://git.kpe.io/kmrcl.git/")
3668 (commit commit)))
3669 (file-name (git-file-name name version))
3670 (sha256
3671 (base32 "1va7xjgzfv674bpsli674i7zj3f7wg5kxic41kz18r6hh4n52dfv"))))
3672 (build-system asdf-build-system/sbcl)
3673 (arguments
3674 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed in a
3675 ;; nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
3676 '(#:tests? #f))
3677 (inputs
3678 `(("sbcl-rt" ,sbcl-rt)))
3679 (home-page "http://files.kpe.io/kmrcl/")
3680 (synopsis "General utilities for Common Lisp programs")
3681 (description
3682 "KMRCL is a collection of utilities used by a number of Kevin
3683Rosenberg's CL packages.")
3684 (license license:llgpl))))
3685
3686(define-public cl-kmrcl
3687 (sbcl-package->cl-source-package sbcl-kmrcl))
3688
3689(define-public sbcl-cl-base64
3690 (let ((version "3.3.3"))
3691 (package
3692 (name "sbcl-cl-base64")
3693 (version version)
3694 (source
3695 (origin
3696 (method git-fetch)
3697 (uri (git-reference
3698 (url "http://git.kpe.io/cl-base64.git")
3699 (commit (string-append "v" version))))
3700 (file-name (git-file-name "cl-base64" version))
3701 (sha256
3702 (base32 "1dw6j7n6gsd2qa0p0rbsjxj00acxx3i9ca1qkgl0liy8lpnwkypl"))))
3703 (build-system asdf-build-system/sbcl)
3704 (arguments
3705 ;; Tests fail with: :FORCE and :FORCE-NOT arguments not allowed
3706 ;; in a nested call to ASDF/OPERATE:OPERATE unless identically
3707 ;; to toplevel
3708 '(#:tests? #f))
3709 (inputs
3710 `(("sbcl-ptester" ,sbcl-ptester)
3711 ("sbcl-kmrcl" ,sbcl-kmrcl)))
3712 (home-page "http://files.kpe.io/cl-base64/")
3713 (synopsis
3714 "Common Lisp package to encode and decode base64 with URI support")
3715 (description
3716 "This package provides highly optimized base64 encoding and decoding.
3717Besides conversion to and from strings, integer conversions are supported.
3718Encoding with Uniform Resource Identifiers is supported by using a modified
3719encoding table that uses only URI-compatible characters.")
3720 (license license:bsd-3))))
3721
3722(define-public cl-base64
3723 (sbcl-package->cl-source-package sbcl-cl-base64))
3724
3725(define-public sbcl-chunga
3726 (package
3727 (name "sbcl-chunga")
3728 (version "1.1.7")
3729 (source
3730 (origin
3731 (method git-fetch)
3732 (uri (git-reference
3733 (url "https://github.com/edicl/chunga.git")
3734 (commit (string-append "v" version))))
3735 (file-name (git-file-name name version))
3736 (sha256
3737 (base32 "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd"))))
3738 (build-system asdf-build-system/sbcl)
3739 (inputs
3740 `(("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
3741 (home-page "https://edicl.github.io/chunga/")
3742 (synopsis "Portable chunked streams for Common Lisp")
3743 (description
3744 "Chunga implements streams capable of chunked encoding on demand as
3745defined in RFC 2616.")
3746 (license license:bsd-2)))
3747
3748(define-public cl-chunga
3749 (sbcl-package->cl-source-package sbcl-chunga))
3750
3751(define-public sbcl-cl-who
3752 (let ((version "1.1.4")
3753 (commit "2c08caa4bafba720409af9171feeba3f32e86d32")
3754 (revision "1"))
3755 (package
3756 (name "sbcl-cl-who")
3757 (version (git-version version revision commit))
3758 (source
3759 (origin
3760 (method git-fetch)
3761 (uri (git-reference
3762 (url "https://github.com/edicl/cl-who.git")
3763 (commit commit)))
3764 (file-name (git-file-name name version))
3765 (sha256
3766 (base32
3767 "0yjb6sr3yazm288m318kqvj9xk8rm9n1lpimgf65ymqv0i5agxsb"))))
3768 (build-system asdf-build-system/sbcl)
3769 (native-inputs
3770 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3771 (home-page "https://edicl.github.io/cl-who/")
3772 (synopsis "Yet another Lisp markup language")
3773 (description
3774 "There are plenty of Lisp Markup Languages out there - every Lisp
3775programmer seems to write at least one during his career - and CL-WHO (where
3776WHO means \"with-html-output\" for want of a better acronym) is probably just
3777as good or bad as the next one.")
3778 (license license:bsd-2))))
3779
3780(define-public cl-cl-who
3781 (sbcl-package->cl-source-package sbcl-cl-who))
3782
3783(define-public sbcl-chipz
3784 (let ((version "0.8")
3785 (commit "75dfbc660a5a28161c57f115adf74c8a926bfc4d")
3786 (revision "1"))
3787 (package
3788 (name "sbcl-chipz")
3789 (version (git-version version revision commit))
3790 (source
3791 (origin
3792 (method git-fetch)
3793 (uri (git-reference
3794 (url "https://github.com/froydnj/chipz.git")
3795 (commit commit)))
3796 (file-name (git-file-name name version))
3797 (sha256
3798 (base32
3799 "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"))))
3800 (build-system asdf-build-system/sbcl)
3801 (native-inputs
3802 `(("sbcl-flexi-streams" ,sbcl-flexi-streams)))
3803 (home-page "http://method-combination.net/lisp/chipz/")
3804 (synopsis
3805 "Common Lisp library for decompressing deflate, zlib, gzip, and bzip2
3806data")
3807 (description
3808 "DEFLATE data, defined in RFC1951, forms the core of popular
3809compression formats such as zlib (RFC 1950) and gzip (RFC 1952). As such,
3810Chipz also provides for decompressing data in those formats as well. BZIP2 is
3811the format used by the popular compression tool bzip2.")
3812 ;; The author describes it as "MIT-like"
3813 (license license:expat))))
3814
3815(define-public cl-chipz
3816 (sbcl-package->cl-source-package sbcl-chipz))
3817
3818(define-public sbcl-drakma
a2b6b973
GLV
3819 (package
3820 (name "sbcl-drakma")
3821 (version "2.0.7")
3822 (source
3823 (origin
3824 (method git-fetch)
3825 (uri (git-reference
3826 (url "https://github.com/edicl/drakma.git")
3827 (commit (string-append "v" version))))
3828 (file-name (git-file-name name version))
3829 (sha256
3830 (base32
3831 "1441idnyif9xzx3ln1p3fg36k2v9h4wasjqrzc8y52j61420qpci"))))
3832 (build-system asdf-build-system/sbcl)
3833 (inputs
3834 `(("sbcl-puri" ,sbcl-puri)
3835 ("sbcl-cl-base64" ,sbcl-cl-base64)
3836 ("sbcl-chunga" ,sbcl-chunga)
3837 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3838 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3839 ("sbcl-chipz" ,sbcl-chipz)
3840 ("sbcl-usocket" ,sbcl-usocket)
3841 ("sbcl-cl+ssl" ,sbcl-cl+ssl)))
3842 (native-inputs
3843 `(("sbcl-fiveam" ,sbcl-fiveam)))
3844 (home-page "https://edicl.github.io/drakma/")
3845 (synopsis "HTTP client written in Common Lisp")
3846 (description
3847 "Drakma is a full-featured HTTP client implemented in Common Lisp. It
88f06fd0
PN
3848knows how to handle HTTP/1.1 chunking, persistent connections, re-usable
3849sockets, SSL, continuable uploads, file uploads, cookies, and more.")
a2b6b973 3850 (license license:bsd-2)))
88f06fd0
PN
3851
3852(define-public cl-drakma
3853 (sbcl-package->cl-source-package sbcl-drakma))
3854
10ac723b
GLV
3855(define-public ecl-drakma
3856 (sbcl-package->ecl-package sbcl-drakma))
3857
88f06fd0
PN
3858(define-public sbcl-hunchentoot
3859 (package
3860 (name "sbcl-hunchentoot")
3861 (version "1.2.38")
3862 (source
3863 (origin
3864 (method git-fetch)
3865 (uri (git-reference
3866 (url "https://github.com/edicl/hunchentoot.git")
3867 (commit (string-append "v" version))))
3868 (file-name (git-file-name "hunchentoot" version))
3869 (sha256
3870 (base32 "1anpcad7w045m4rsjs1f3xdhjwx5cppq1h0vlb3q7dz81fi3i6yq"))))
3871 (build-system asdf-build-system/sbcl)
3872 (native-inputs
3873 `(("sbcl-cl-who" ,sbcl-cl-who)
3874 ("sbcl-drakma" ,sbcl-drakma)))
3875 (inputs
3876 `(("sbcl-chunga" ,sbcl-chunga)
3877 ("sbcl-cl-base64" ,sbcl-cl-base64)
3878 ("sbcl-cl-fad" ,sbcl-cl-fad)
3879 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
3880 ("sbcl-flexi-streams" ,sbcl-flexi-streams)
3881 ("sbcl-cl+ssl" ,sbcl-cl+ssl)
3882 ("sbcl-md5" ,sbcl-md5)
3883 ("sbcl-rfc2388" ,sbcl-rfc2388)
3884 ("sbcl-trivial-backtrace" ,sbcl-trivial-backtrace)
3885 ("sbcl-usocket" ,sbcl-usocket)))
3886 (home-page "https://edicl.github.io/hunchentoot/")
3887 (synopsis "Web server written in Common Lisp")
3888 (description
3889 "Hunchentoot is a web server written in Common Lisp and at the same
3890time a toolkit for building dynamic websites. As a stand-alone web server,
3891Hunchentoot is capable of HTTP/1.1 chunking (both directions), persistent
3892connections (keep-alive), and SSL.")
3893 (license license:bsd-2)))
3894
3895(define-public cl-hunchentoot
3896 (sbcl-package->cl-source-package sbcl-hunchentoot))
3897
3898(define-public sbcl-trivial-types
3899 (package
3900 (name "sbcl-trivial-types")
3901 (version "0.0.1")
3902 (source
3903 (origin
3904 (method git-fetch)
3905 (uri (git-reference
3906 (url "https://github.com/m2ym/trivial-types.git")
3907 (commit "ee869f2b7504d8aa9a74403641a5b42b16f47d88")))
3908 (file-name (git-file-name name version))
3909 (sha256
3910 (base32 "1s4cp9bdlbn8447q7w7f1wkgwrbvfzp20mgs307l5pxvdslin341"))))
3911 (build-system asdf-build-system/sbcl)
3912 (home-page "https://github.com/m2ym/trivial-types")
3913 (synopsis "Trivial type definitions for Common Lisp")
3914 (description
3915 "TRIVIAL-TYPES provides missing but important type definitions such as
3916PROPER-LIST, ASSOCIATION-LIST, PROPERTY-LIST and TUPLE.")
3917 (license license:llgpl)))
3918
3919(define-public cl-trivial-types
3920 (sbcl-package->cl-source-package sbcl-trivial-types))
3921
3922(define-public sbcl-cl-syntax
3923 (package
3924 (name "sbcl-cl-syntax")
3925 (version "0.0.3")
3926 (source
3927 (origin
3928 (method git-fetch)
3929 (uri (git-reference
3930 (url "https://github.com/m2ym/cl-syntax.git")
3931 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3932 (file-name (git-file-name "cl-syntax" version))
3933 (sha256
3934 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3935 (build-system asdf-build-system/sbcl)
3936 (arguments
3937 '(#:asd-file "cl-syntax.asd"
3938 #:asd-system-name "cl-syntax"))
3939 (inputs `(("sbcl-trivial-types" ,sbcl-trivial-types)
3940 ("sbcl-named-readtables" ,sbcl-named-readtables)))
3941 (home-page "https://github.com/m2ym/cl-syntax")
3942 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
3943 (description
3944 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and SLIME.")
3945 (license license:llgpl)))
3946
3947(define-public cl-syntax
3948 (sbcl-package->cl-source-package sbcl-cl-syntax))
3949
3950(define-public sbcl-cl-annot
3951 (let ((commit "c99e69c15d935eabc671b483349a406e0da9518d")
3952 (revision "1"))
3953 (package
3954 (name "sbcl-cl-annot")
3955 (version (git-version "0.0.0" revision commit))
3956 (source
3957 (origin
3958 (method git-fetch)
3959 (uri (git-reference
3960 (url "https://github.com/m2ym/cl-annot.git")
3961 (commit commit)))
3962 (file-name (git-file-name name version))
3963 (sha256
3964 (base32 "1wq1gs9jjd5m6iwrv06c2d7i5dvqsfjcljgbspfbc93cg5xahk4n"))))
3965 (build-system asdf-build-system/sbcl)
3966 (arguments
3967 '(#:asd-file "cl-annot.asd"
3968 #:asd-system-name "cl-annot"))
3969 (inputs
3970 `(("sbcl-alexandria" ,sbcl-alexandria)))
3971 (home-page "https://github.com/m2ym/cl-annot")
3972 (synopsis "Python-like Annotation Syntax for Common Lisp.")
3973 (description
3974 "@code{cl-annot} is an general annotation library for Common Lisp.")
3975 (license license:llgpl))))
3976
3977(define-public cl-annot
3978 (sbcl-package->cl-source-package sbcl-cl-annot))
3979
3980(define-public sbcl-cl-syntax-annot
3981 (package
3982 (name "sbcl-cl-syntax-annot")
3983 (version "0.0.3")
3984 (source
3985 (origin
3986 (method git-fetch)
3987 (uri (git-reference
3988 (url "https://github.com/m2ym/cl-syntax.git")
3989 (commit "03f0c329bbd55b8622c37161e6278366525e2ccc")))
3990 (file-name (git-file-name name version))
3991 (sha256
3992 (base32 "17ran8xp77asagl31xv8w819wafh6whwfc9p6dgx22ca537gyl4y"))))
3993 (build-system asdf-build-system/sbcl)
3994 (arguments
3995 '(#:asd-file "cl-syntax-annot.asd"
3996 #:asd-system-name "cl-syntax-annot"))
3997 (inputs
3998 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
3999 ("sbcl-cl-annot" ,sbcl-cl-annot)))
4000 (home-page "https://github.com/m2ym/cl-syntax")
4001 (synopsis "Reader Syntax Coventions for Common Lisp and SLIME")
4002 (description
4003 "CL-SYNTAX provides Reader Syntax Coventions for Common Lisp and
4004SLIME.")
4005 (license license:llgpl)))
4006
4007(define-public cl-syntax-annot
4008 (sbcl-package->cl-source-package sbcl-cl-syntax-annot))
4009
4010(define-public sbcl-cl-utilities
4011 (let ((commit "dce2d2f6387091ea90357a130fa6d13a6776884b")
4012 (revision "1"))
4013 (package
4014 (name "sbcl-cl-utilities")
4015 (version (git-version "0.0.0" revision commit))
4016 (source
4017 (origin
4018 (method url-fetch)
4019 (uri
4020 (string-append
4021 "https://gitlab.common-lisp.net/cl-utilities/cl-utilities/-/"
4022 "archive/" commit "/cl-utilities-" commit ".tar.gz"))
4023 (sha256
4024 (base32 "1r46v730yf96nk2vb24qmagv9x96xvd08abqwhf02ghgydv1a7z2"))))
4025 (build-system asdf-build-system/sbcl)
4026 (arguments
4027 '(#:asd-file "cl-utilities.asd"
4028 #:asd-system-name "cl-utilities"
4029 #:phases
4030 (modify-phases %standard-phases
4031 (add-after 'unpack 'fix-paths
4032 (lambda* (#:key inputs #:allow-other-keys)
4033 (substitute* "rotate-byte.lisp"
4034 (("in-package :cl-utilities)" all)
4035 "in-package :cl-utilities)\n\n#+sbcl\n(require :sb-rotate-byte)")))))))
4036 (home-page "http://common-lisp.net/project/cl-utilities")
4037 (synopsis "A collection of semi-standard utilities")
4038 (description
4039 "On Cliki.net <http://www.cliki.net/Common%20Lisp%20Utilities>, there
4040is a collection of Common Lisp Utilities, things that everybody writes since
4041they're not part of the official standard. There are some very useful things
4042there; the only problems are that they aren't implemented as well as you'd
4043like (some aren't implemented at all) and they aren't conveniently packaged
4044and maintained. It takes quite a bit of work to carefully implement utilities
4045for common use, commented and documented, with error checking placed
4046everywhere some dumb user might make a mistake.")
4047 (license license:public-domain))))
4048
4049(define-public cl-utilities
4050 (sbcl-package->cl-source-package sbcl-cl-utilities))
4051
4052(define-public sbcl-map-set
4053 (let ((commit "7b4b545b68b8")
4054 (revision "1"))
4055 (package
4056 (name "sbcl-map-set")
4057 (version (git-version "0.0.0" revision commit))
4058 (source
4059 (origin
4060 (method url-fetch)
4061 (uri (string-append
4062 "https://bitbucket.org/tarballs_are_good/map-set/get/"
4063 commit ".tar.gz"))
4064 (sha256
4065 (base32 "1sx5j5qdsy5fklspfammwb16kjrhkggdavm922a9q86jm5l0b239"))))
4066 (build-system asdf-build-system/sbcl)
4067 (home-page "https://bitbucket.org/tarballs_are_good/map-set")
4068 (synopsis "Set-like data structure")
4069 (description
4070 "Implementation of a set-like data structure with constant time
4071addition, removal, and random selection.")
4072 (license license:bsd-3))))
4073
4074(define-public cl-map-set
4075 (sbcl-package->cl-source-package sbcl-map-set))
4076
4077(define-public sbcl-quri
4078 (let ((commit "76b75103f21ead092c9f715512fa82441ef61185")
4079 (revision "1"))
4080 (package
4081 (name "sbcl-quri")
4082 (version (git-version "0.1.0" revision commit))
4083 (source
4084 (origin
4085 (method git-fetch)
4086 (uri (git-reference
4087 (url "https://github.com/fukamachi/quri.git")
4088 (commit commit)))
4089 (file-name (git-file-name name version))
4090 (sha256
4091 (base32 "1ccbxsgzdibmzq33mmbmmz9vwl6l03xh6nbpsh1hkdvdcl7q0a60"))))
4092 (build-system asdf-build-system/sbcl)
4093 (arguments
4094 ;; Tests fail with: Component QURI-ASD::QURI-TEST not found,
4095 ;; required by #<SYSTEM "quri">. Why?
4096 '(#:tests? #f))
4097 (native-inputs `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4098 ("sbcl-prove" ,sbcl-prove)))
4099 (inputs `(("sbcl-babel" ,sbcl-babel)
4100 ("sbcl-split-sequence" ,sbcl-split-sequence)
4101 ("sbcl-cl-utilities" ,sbcl-cl-utilities)
4102 ("sbcl-alexandria" ,sbcl-alexandria)))
4103 (home-page "https://github.com/fukamachi/quri")
4104 (synopsis "Yet another URI library for Common Lisp")
4105 (description
4106 "QURI (pronounced \"Q-ree\") is yet another URI library for Common
4107Lisp. It is intended to be a replacement of PURI.")
4108 (license license:bsd-3))))
4109
4110(define-public cl-quri
4111 (sbcl-package->cl-source-package sbcl-quri))
4112
4113(define-public sbcl-myway
4114 (let ((commit "286230082a11f879c18b93f17ca571c5f676bfb7")
4115 (revision "1"))
4116 (package
4117 (name "sbcl-myway")
4118 (version (git-version "0.1.0" revision commit))
4119 (source
4120 (origin
4121 (method git-fetch)
4122 (uri (git-reference
4123 (url "https://github.com/fukamachi/myway.git")
4124 (commit commit)))
4125 (file-name (git-file-name "myway" version))
4126 (sha256
4127 (base32 "0briia9bk3lbr0frnx39d1qg6i38dm4j6z9w3yga3d40k6df4a90"))))
4128 (build-system asdf-build-system/sbcl)
4129 (arguments
4130 ;; Tests fail with: Component MYWAY-ASD::MYWAY-TEST not found, required
4131 ;; by #<SYSTEM "myway">. Why?
4132 '(#:tests? #f))
4133 (native-inputs
4134 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4135 ("sbcl-prove" ,sbcl-prove)))
4136 (inputs
4137 `(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
4138 ("sbcl-quri" ,sbcl-quri)
4139 ("sbcl-map-set" ,sbcl-map-set)))
4140 (home-page "https://github.com/fukamachi/myway")
4141 (synopsis "Sinatra-compatible URL routing library for Common Lisp")
4142 (description "My Way is a Sinatra-compatible URL routing library.")
4143 (license license:llgpl))))
4144
4145(define-public cl-myway
4146 (sbcl-package->cl-source-package sbcl-myway))
4147
4148(define-public sbcl-xsubseq
4149 (let ((commit "5ce430b3da5cda3a73b9cf5cee4df2843034422b")
4150 (revision "1"))
4151 (package
4152 (name "sbcl-xsubseq")
4153 (version (git-version "0.0.1" revision commit))
4154 (source
4155 (origin
4156 (method git-fetch)
4157 (uri (git-reference
4158 (url "https://github.com/fukamachi/xsubseq")
4159 (commit commit)))
4160 (file-name (git-file-name name version))
4161 (sha256
4162 (base32 "1xz79q0p2mclf3sqjiwf6izdpb6xrsr350bv4mlmdlm6rg5r99px"))))
4163 (build-system asdf-build-system/sbcl)
4164 (arguments
4165 ;; Tests fail with: Component XSUBSEQ-ASD::XSUBSEQ-TEST not found,
4166 ;; required by #<SYSTEM "xsubseq">. Why?
4167 '(#:tests? #f))
4168 (native-inputs
4169 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4170 ("sbcl-prove" ,sbcl-prove)))
4171 (home-page "https://github.com/fukamachi/xsubseq")
4172 (synopsis "Efficient way to use \"subseq\"s in Common Lisp")
4173 (description
4174 "XSubseq provides functions to be able to handle \"subseq\"s more
4175effieiently.")
4176 (license license:bsd-2))))
4177
4178(define-public cl-xsubseq
4179 (sbcl-package->cl-source-package sbcl-xsubseq))
4180
4181(define-public sbcl-smart-buffer
4182 (let ((commit "09b9a9a0b3abaa37abe9a730f5aac2643dca4e62")
4183 (revision "1"))
4184 (package
4185 (name "sbcl-smart-buffer")
4186 (version (git-version "0.0.1" revision commit))
4187 (source
4188 (origin
4189 (method git-fetch)
4190 (uri (git-reference
4191 (url "https://github.com/fukamachi/smart-buffer")
4192 (commit commit)))
4193 (file-name (git-file-name name version))
4194 (sha256
4195 (base32 "0qz1zzxx0wm5ff7gpgsq550a59p0qj594zfmm2rglj97dahj54l7"))))
4196 (build-system asdf-build-system/sbcl)
4197 (arguments
4198 ;; Tests fail with: Component SMART-BUFFER-ASD::SMART-BUFFER-TEST not
4199 ;; found, required by #<SYSTEM "smart-buffer">. Why?
4200 `(#:tests? #f))
4201 (native-inputs
4202 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4203 ("sbcl-prove" ,sbcl-prove)))
4204 (inputs
4205 `(("sbcl-xsubseq" ,sbcl-xsubseq)
4206 ("sbcl-flexi-streams" ,sbcl-flexi-streams)))
4207 (home-page "https://github.com/fukamachi/smart-buffer")
4208 (synopsis "Smart octets buffer")
4209 (description
4210 "Smart-buffer provides an output buffer which changes the destination
4211depending on content size.")
4212 (license license:bsd-3))))
4213
4214(define-public cl-smart-buffer
4215 (sbcl-package->cl-source-package sbcl-smart-buffer))
4216
4217(define-public sbcl-fast-http
4218 (let ((commit "f9e7597191bae380503e20724fd493a24d024935")
4219 (revision "1"))
4220 (package
4221 (name "sbcl-fast-http")
4222 (version (git-version "0.2.0" revision commit))
4223 (source
4224 (origin
4225 (method git-fetch)
4226 (uri (git-reference
4227 (url "https://github.com/fukamachi/fast-http")
4228 (commit commit)))
4229 (file-name (git-file-name name version))
4230 (sha256
4231 (base32 "0qdmwv2zm0sizxdb8nnclgwl0nfjcbjaimbakavikijw7lr9b4jp"))))
4232 (build-system asdf-build-system/sbcl)
4233 (arguments
4234 ;; Tests fail with: Component FAST-HTTP-ASD::FAST-HTTP-TEST not found,
4235 ;; required by #<SYSTEM "fast-http">. Why?
4236 `(#:tests? #f))
4237 (native-inputs
4238 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4239 ("sbcl-prove" ,sbcl-prove)))
4240 (inputs
4241 `(("sbcl-alexandria" ,sbcl-alexandria)
4242 ("sbcl-proc-parse" ,sbcl-proc-parse)
4243 ("sbcl-xsubseq" ,sbcl-xsubseq)
4244 ("sbcl-smart-buffer" ,sbcl-smart-buffer)
4245 ("sbcl-cl-utilities" ,sbcl-cl-utilities)))
4246 (home-page "https://github.com/fukamachi/fast-http")
4247 (synopsis "HTTP request/response parser for Common Lisp")
4248 (description
4249 "@code{fast-http} is a HTTP request/response protocol parser for Common
4250Lisp.")
4251 ;; Author specified the MIT license
4252 (license license:expat))))
4253
4254(define-public cl-fast-http
4255 (sbcl-package->cl-source-package sbcl-fast-http))
4256
4257(define-public sbcl-static-vectors
ba55cbda
GLV
4258 (package
4259 (name "sbcl-static-vectors")
4260 (version "1.8.4")
4261 (source
4262 (origin
88f06fd0
PN
4263 (method git-fetch)
4264 (uri (git-reference
4265 (url "https://github.com/sionescu/static-vectors.git")
ba55cbda 4266 (commit (string-append "v" version))))
88f06fd0
PN
4267 (file-name (git-file-name name version))
4268 (sha256
ba55cbda
GLV
4269 (base32 "0qvf9z6bhwhm8n45fjwkm7j8dcb58szfvndky65cyn4lpdval7m1"))))
4270 (native-inputs
4271 `(("sbcl-fiveam" ,sbcl-fiveam)))
4272 (inputs
4273 `(("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
4274 ("sbcl-cffi" ,sbcl-cffi)))
4275 (build-system asdf-build-system/sbcl)
6b40dbff 4276 (home-page "https://github.com/sionescu/static-vectors")
ba55cbda
GLV
4277 (synopsis "Allocate SIMPLE-ARRAYs in static memory")
4278 (description
4279 "With @code{static-vectors}, you can create vectors allocated in static
88f06fd0 4280memory.")
ba55cbda 4281 (license license:expat)))
88f06fd0
PN
4282
4283(define-public cl-static-vectors
4284 (sbcl-package->cl-source-package sbcl-static-vectors))
4285
f6a6f085
GLV
4286(define-public ecl-static-vectors
4287 (sbcl-package->ecl-package sbcl-static-vectors))
4288
88f06fd0
PN
4289(define-public sbcl-marshal
4290 (let ((commit "eff1b15f2b0af2f26f71ad6a4dd5c4beab9299ec")
4291 (revision "1"))
4292 (package
4293 (name "sbcl-marshal")
4294 (version (git-version "1.3.0" revision commit))
4295 (source
4296 (origin
4297 (method git-fetch)
4298 (uri (git-reference
4299 (url "https://github.com/wlbr/cl-marshal.git")
4300 (commit commit)))
4301 (file-name (git-file-name name version))
4302 (sha256
4303 (base32 "08qs6fhk38xpkkjkpcj92mxx0lgy4ygrbbzrmnivdx281syr0gwh"))))
4304 (build-system asdf-build-system/sbcl)
4305 (home-page "https://github.com/wlbr/cl-marshal")
4306 (synopsis "Simple (de)serialization of Lisp datastructures")
4307 (description
4308 "Simple and fast marshalling of Lisp datastructures. Convert any object
4309into a string representation, put it on a stream an revive it from there.
4310Only minimal changes required to make your CLOS objects serializable.")
4311 (license license:expat))))
4312
4313(define-public cl-marshal
4314 (sbcl-package->cl-source-package sbcl-marshal))
4315
4316(define-public sbcl-checkl
4317 (let ((commit "80328800d047fef9b6e32dfe6bdc98396aee3cc9")
4318 (revision "1"))
4319 (package
4320 (name "sbcl-checkl")
4321 (version (git-version "0.0.0" revision commit))
4322 (source
4323 (origin
4324 (method git-fetch)
4325 (uri (git-reference
4326 (url "https://github.com/rpav/CheckL.git")
4327 (commit commit)))
4328 (file-name (git-file-name name version))
4329 (sha256
4330 (base32 "0bpisihx1gay44xmyr1dmhlwh00j0zzi04rp9fy35i95l2r4xdlx"))))
4331 (build-system asdf-build-system/sbcl)
4332 (arguments
4333 ;; Error while trying to load definition for system checkl-test from
4334 ;; pathname [...]/checkl-test.asd: The function CHECKL:DEFINE-TEST-OP
4335 ;; is undefined.
4336 '(#:tests? #f))
4337 (native-inputs
4338 `(("sbcl-fiveam" ,sbcl-fiveam)))
4339 (inputs
4340 `(("sbcl-marshal" ,sbcl-marshal)))
4341 (home-page "https://github.com/rpav/CheckL/")
4342 (synopsis "Dynamic testing for Common Lisp")
4343 (description
4344 "CheckL lets you write tests dynamically, it checks resulting values
4345against the last run.")
4346 ;; The author specifies both LLGPL and "BSD", but the "BSD" license
4347 ;; isn't specified anywhere, so I don't know which kind. LLGPL is the
4348 ;; stronger of the two and so I think only listing this should suffice.
4349 (license license:llgpl))))
4350
4351(define-public cl-checkl
4352 (sbcl-package->cl-source-package sbcl-checkl))
4353
4354(define-public sbcl-fast-io
4355 (let ((commit "dc3a71db7e9b756a88781ae9c342fe9d4bbab51c")
4356 (revision "1"))
4357 (package
4358 (name "sbcl-fast-io")
4359 (version (git-version "1.0.0" revision commit))
4360 (source
4361 (origin
4362 (method git-fetch)
4363 (uri (git-reference
4364 (url "https://github.com/rpav/fast-io.git")
4365 (commit commit)))
4366 (file-name (git-file-name name version))
4367 (sha256
4368 (base32 "1jsp6xvi26ln6fdy5j5zi05xvan8jsqdhisv552dy6xg6ws8i1yq"))))
4369 (build-system asdf-build-system/sbcl)
4370 (arguments
4371 ;; Error while trying to load definition for system fast-io-test from
4372 ;; pathname [...]/fast-io-test.asd: The function CHECKL:DEFINE-TEST-OP
4373 ;; is undefined.
4374 '(#:tests? #f))
4375 (native-inputs
4376 `(("sbcl-fiveam" ,sbcl-fiveam)
4377 ("sbcl-checkl" ,sbcl-checkl)))
4378 (inputs
4379 `(("sbcl-alexandria" ,sbcl-alexandria)
4380 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)
4381 ("sbcl-static-vectors" ,sbcl-static-vectors)))
4382 (home-page "https://github.com/rpav/fast-io")
4383 (synopsis "Fast octet-vector/stream I/O for Common Lisp")
4384 (description
4385 "Fast-io is about improving performance to octet-vectors and octet
4386streams (though primarily the former, while wrapping the latter).")
4387 ;; Author specifies this as NewBSD which is an alias
4388 (license license:bsd-3))))
4389
4390(define-public cl-fast-io
4391 (sbcl-package->cl-source-package sbcl-fast-io))
4392
4393(define-public sbcl-jonathan
4394 (let ((commit "1f448b4f7ac8265e56e1c02b32ce383e65316300")
4395 (revision "1"))
4396 (package
4397 (name "sbcl-jonathan")
4398 (version (git-version "0.1.0" revision commit))
4399 (source
4400 (origin
4401 (method git-fetch)
4402 (uri (git-reference
4403 (url "https://github.com/Rudolph-Miller/jonathan.git")
4404 (commit commit)))
4405 (file-name (git-file-name name version))
4406 (sha256
4407 (base32 "14x4iwz3mbag5jzzzr4sb6ai0m9r4q4kyypbq32jmsk2dx1hi807"))))
4408 (build-system asdf-build-system/sbcl)
4409 (arguments
4410 ;; Tests fail with: Component JONATHAN-ASD::JONATHAN-TEST not found,
4411 ;; required by #<SYSTEM "jonathan">. Why?
4412 `(#:tests? #f))
4413 (native-inputs
4414 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4415 ("sbcl-prove" ,sbcl-prove)))
4416 (inputs
4417 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4418 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4419 ("sbcl-fast-io" ,sbcl-fast-io)
4420 ("sbcl-proc-parse" ,sbcl-proc-parse)
4421 ("sbcl-cl-ppcre" ,sbcl-cl-ppcre)))
46a5d07e 4422 (home-page "https://rudolph-miller.github.io/jonathan/overview.html")
88f06fd0
PN
4423 (synopsis "JSON encoder and decoder")
4424 (description
4425 "High performance JSON encoder and decoder. Currently support: SBCL,
4426CCL.")
4427 ;; Author specifies the MIT license
4428 (license license:expat))))
4429
4430(define-public cl-jonathan
4431 (sbcl-package->cl-source-package sbcl-jonathan))
4432
4433(define-public sbcl-http-body
4434 (let ((commit "dd01dc4f5842e3d29728552e5163acce8386eb73")
4435 (revision "1"))
4436 (package
4437 (name "sbcl-http-body")
4438 (version (git-version "0.1.0" revision commit))
4439 (source
4440 (origin
4441 (method git-fetch)
4442 (uri (git-reference
4443 (url "https://github.com/fukamachi/http-body")
4444 (commit commit)))
4445 (file-name (git-file-name name version))
4446 (sha256
4447 (base32 "1jd06snjvxcprhapgfq8sx0y5lrldkvhf206ix6d5a23dd6zcmr0"))))
4448 (build-system asdf-build-system/sbcl)
4449 (arguments
4450 ;; Tests fail with: Component HTTP-BODY-ASD::HTTP-BODY-TEST not
4451 ;; found, required by #<SYSTEM "http-body">. Why?
4452 `(#:tests? #f))
4453 (native-inputs
4454 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4455 ("sbcl-prove" ,sbcl-prove)))
4456 (inputs
4457 `(("sbcl-fast-http" ,sbcl-fast-http)
4458 ("sbcl-jonathan" ,sbcl-jonathan)
4459 ("sbcl-quri" ,sbcl-quri)))
4460 (home-page "https://github.com/fukamachi/http-body")
4461 (synopsis "HTTP POST data parser")
4462 (description
4463 "HTTP-Body parses HTTP POST data and returns POST parameters. It
4464supports application/x-www-form-urlencoded, application/json, and
4465multipart/form-data.")
4466 (license license:bsd-2))))
4467
4468(define-public cl-http-body
4469 (sbcl-package->cl-source-package sbcl-http-body))
4470
4471(define-public sbcl-circular-streams
4472 (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df")
4473 (revision "1"))
4474 (package
4475 (name "sbcl-circular-streams")
4476 (version (git-version "0.1.0" revision commit))
4477 (source
4478 (origin
4479 (method git-fetch)
4480 (uri (git-reference
4481 (url "https://github.com/fukamachi/circular-streams")
4482 (commit commit)))
4483 (file-name (git-file-name name version))
4484 (sha256
4485 (base32 "1wpw6d5cciyqcf92f7mvihak52pd5s47kk4qq6f0r2z2as68p5rs"))))
4486 (build-system asdf-build-system/sbcl)
4487 (arguments
4488 ;; The tests depend on cl-test-more which is now prove. Prove
4489 ;; tests aren't working for some reason.
4490 `(#:tests? #f))
4491 (inputs
4492 `(("sbcl-fast-io" ,sbcl-fast-io)
4493 ("sbcl-trivial-gray-streams" ,sbcl-trivial-gray-streams)))
4494 (home-page "https://github.com/fukamachi/circular-streams")
4495 (synopsis "Circularly readable streams for Common Lisp")
4496 (description
4497 "Circular-Streams allows you to read streams circularly by wrapping real
4498streams. Once you reach end-of-file of a stream, it's file position will be
4499reset to 0 and you're able to read it again.")
4500 (license license:llgpl))))
4501
4502(define-public cl-circular-streams
4503 (sbcl-package->cl-source-package sbcl-circular-streams))
4504
4505(define-public sbcl-lack-request
4506 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4507 (revision "1"))
4508 (package
4509 (name "sbcl-lack-request")
4510 (version (git-version "0.1.0" revision commit))
4511 (source
4512 (origin
4513 (method git-fetch)
4514 (uri (git-reference
4515 (url "https://github.com/fukamachi/lack.git")
4516 (commit commit)))
4517 (file-name (git-file-name "lack-request" version))
4518 (sha256
4519 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4520 (build-system asdf-build-system/sbcl)
4521 (arguments
4522 '(#:asd-file "lack-request.asd"
4523 #:asd-system-name "lack-request"
4524 #:test-asd-file "t-lack-request.asd"
4525 ;; XXX: Component :CLACK-TEST not found
4526 #:tests? #f))
4527 (native-inputs
4528 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4529 ("sbcl-prove" ,sbcl-prove)))
4530 (inputs
4531 `(("sbcl-quri" ,sbcl-quri)
4532 ("sbcl-http-body" ,sbcl-http-body)
4533 ("sbcl-circular-streams" ,sbcl-circular-streams)))
4534 (home-page "https://github.com/fukamachi/lack")
4535 (synopsis "Lack, the core of Clack")
4536 (description
4537 "Lack is a Common Lisp library which allows web applications to be
4538constructed of modular components. It was originally a part of Clack, however
4539it's going to be rewritten as an individual project since Clack v2 with
4540performance and simplicity in mind.")
4541 (license license:llgpl))))
4542
4543(define-public cl-lack-request
4544 (sbcl-package->cl-source-package sbcl-lack-request))
4545
4546(define-public sbcl-local-time
4547 (let ((commit "beac054eef428552b63d4ae7820c32ffef9a3015")
4548 (revision "1"))
4549 (package
4550 (name "sbcl-local-time")
4551 (version (git-version "1.0.6" revision commit))
4552 (source
4553 (origin
4554 (method git-fetch)
4555 (uri (git-reference
4556 (url "https://github.com/dlowe-net/local-time.git")
4557 (commit commit)))
4558 (file-name (git-file-name name version))
4559 (sha256
4560 (base32 "0xhkmgxh41dg2wwlsp0h2l41jp144xn4gpxhh0lna6kh0560w2cc"))))
4561 (build-system asdf-build-system/sbcl)
4562 (arguments
4563 ;; TODO: Component :STEFIL not found, required by #<SYSTEM
4564 ;; "local-time/test">
4565 '(#:tests? #f))
4566 (native-inputs
4567 `(("stefil" ,sbcl-hu.dwim.stefil)))
4568 (inputs
4569 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
4570 (home-page "https://common-lisp.net/project/local-time/")
4571 (synopsis "Time manipulation library for Common Lisp")
4572 (description
4573 "The LOCAL-TIME library is a Common Lisp library for the manipulation of
4574dates and times. It is based almost entirely upon Erik Naggum's paper \"The
4575Long Painful History of Time\".")
4576 (license license:expat))))
4577
4578(define-public cl-local-time
4579 (sbcl-package->cl-source-package sbcl-local-time))
4580
4581(define-public sbcl-lack-response
4582 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4583 (revision "1"))
4584 (package
4585 (name "sbcl-lack-response")
4586 (version (git-version "0.1.0" revision commit))
4587 (source
4588 (origin
4589 (method git-fetch)
4590 (uri (git-reference
4591 (url "https://github.com/fukamachi/lack.git")
4592 (commit commit)))
4593 (file-name (git-file-name name version))
4594 (sha256
4595 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4596 (build-system asdf-build-system/sbcl)
4597 (arguments
4598 '(#:asd-file "lack-response.asd"
4599 #:asd-system-name "lack-response"
4600 ;; XXX: no tests for lack-response.
4601 #:tests? #f))
4602 (native-inputs
4603 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4604 ("sbcl-prove" ,sbcl-prove)))
4605 (inputs
4606 `(("sbcl-quri" ,sbcl-quri)
4607 ("sbcl-http-body" ,sbcl-http-body)
4608 ("sbcl-circular-streams" ,sbcl-circular-streams)
4609 ("sbcl-local-time" ,sbcl-local-time)))
4610 (home-page "https://github.com/fukamachi/lack")
4611 (synopsis "Lack, the core of Clack")
4612 (description
4613 "Lack is a Common Lisp library which allows web applications to be
4614constructed of modular components. It was originally a part of Clack, however
4615it's going to be rewritten as an individual project since Clack v2 with
4616performance and simplicity in mind.")
4617 (license license:llgpl))))
4618
4619(define-public cl-lack-response
4620 (sbcl-package->cl-source-package sbcl-lack-response))
4621
4622(define-public sbcl-lack-component
4623 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4624 (revision "1"))
4625 (package
4626 (name "sbcl-lack-component")
4627 (version (git-version "0.0.0" revision commit))
4628 (source
4629 (origin
4630 (method git-fetch)
4631 (uri (git-reference
4632 (url "https://github.com/fukamachi/lack.git")
4633 (commit commit)))
4634 (file-name (git-file-name "lack-component" version))
4635 (sha256
4636 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4637 (build-system asdf-build-system/sbcl)
4638 (arguments
4639 '(#:asd-file "lack-component.asd"
4640 #:asd-system-name "lack-component"
4641 #:test-asd-file "t-lack-component.asd"
4642 ;; XXX: Component :LACK-TEST not found
4643 #:tests? #f))
4644 (native-inputs
4645 `(("prove-asdf" ,sbcl-prove-asdf)))
4646 (home-page "https://github.com/fukamachi/lack")
4647 (synopsis "Lack, the core of Clack")
4648 (description
4649 "Lack is a Common Lisp library which allows web applications to be
4650constructed of modular components. It was originally a part of Clack, however
4651it's going to be rewritten as an individual project since Clack v2 with
4652performance and simplicity in mind.")
4653 (license license:llgpl))))
4654
4655(define-public cl-lack-component
4656 (sbcl-package->cl-source-package sbcl-lack-component))
4657
4658(define-public sbcl-lack-util
4659 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4660 (revision "1"))
4661 (package
4662 (name "sbcl-lack-util")
4663 (version (git-version "0.1.0" revision commit))
4664 (source
4665 (origin
4666 (method git-fetch)
4667 (uri (git-reference
4668 (url "https://github.com/fukamachi/lack.git")
4669 (commit commit)))
4670 (file-name (git-file-name "lack-util" version))
4671 (sha256
4672 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4673 (build-system asdf-build-system/sbcl)
4674 (arguments
4675 '(#:asd-file "lack-util.asd"
4676 #:asd-system-name "lack-util"
4677 #:test-asd-file "t-lack-util.asd"
4678 ;; XXX: Component :LACK-TEST not found
4679 #:tests? #f))
4680 (native-inputs
4681 `(("prove-asdf" ,sbcl-prove-asdf)))
4682 (inputs
4683 `(("sbcl-ironclad" ,sbcl-ironclad)))
4684 (home-page "https://github.com/fukamachi/lack")
4685 (synopsis "Lack, the core of Clack")
4686 (description
4687 "Lack is a Common Lisp library which allows web applications to be
4688constructed of modular components. It was originally a part of Clack, however
4689it's going to be rewritten as an individual project since Clack v2 with
4690performance and simplicity in mind.")
4691 (license license:llgpl))))
4692
4693(define-public cl-lack-util
4694 (sbcl-package->cl-source-package sbcl-lack-util))
4695
4696(define-public sbcl-lack-middleware-backtrace
4697 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4698 (revision "1"))
4699 (package
4700 (name "sbcl-lack-middleware-backtrace")
4701 (version (git-version "0.1.0" revision commit))
4702 (source
4703 (origin
4704 (method git-fetch)
4705 (uri (git-reference
4706 (url "https://github.com/fukamachi/lack.git")
4707 (commit commit)))
4708 (file-name (git-file-name "lack-middleware-backtrace" version))
4709 (sha256
4710 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4711 (build-system asdf-build-system/sbcl)
4712 (arguments
4713 '(#:asd-file "lack-middleware-backtrace.asd"
4714 #:asd-system-name "lack-middleware-backtrace"
4715 #:test-asd-file "t-lack-middleware-backtrace.asd"
4716 ;; XXX: Component :LACK not found
4717 #:tests? #f))
4718 (native-inputs
4719 `(("prove-asdf" ,sbcl-prove-asdf)))
4720 (home-page "https://github.com/fukamachi/lack")
4721 (synopsis "Lack, the core of Clack")
4722 (description
4723 "Lack is a Common Lisp library which allows web applications to be
4724constructed of modular components. It was originally a part of Clack, however
4725it's going to be rewritten as an individual project since Clack v2 with
4726performance and simplicity in mind.")
4727 (license license:llgpl))))
4728
4729(define-public cl-lack-middleware-backtrace
4730 (sbcl-package->cl-source-package sbcl-lack-middleware-backtrace))
4731
4732(define-public sbcl-trivial-mimes
4733 (let ((commit "303f8ac0aa6ca0bc139aa3c34822e623c3723fab")
4734 (revision "1"))
4735 (package
4736 (name "sbcl-trivial-mimes")
4737 (version (git-version "1.1.0" revision commit))
4738 (source
4739 (origin
4740 (method git-fetch)
4741 (uri (git-reference
4742 (url "https://github.com/Shinmera/trivial-mimes.git")
4743 (commit commit)))
4744 (file-name (git-file-name name version))
4745 (sha256
4746 (base32 "17jxgl47r695bvsb7wi3n2ws5rp1zzgvw0zii8cy5ggw4b4ayv6m"))))
4747 (build-system asdf-build-system/sbcl)
4748 (arguments
4749 '(#:phases
4750 (modify-phases %standard-phases
4751 (add-after
4752 'unpack 'fix-paths
4753 (lambda* (#:key inputs #:allow-other-keys)
4754 (let ((anchor "#p\"/etc/mime.types\""))
4755 (substitute* "mime-types.lisp"
4756 ((anchor all)
4757 (string-append
4758 anchor "\n"
4759 "(asdf:system-relative-pathname :trivial-mimes "
4760 "\"../../share/common-lisp/" (%lisp-type)
4761 "-source/trivial-mimes/mime.types\")")))))))))
4762 (native-inputs
4763 `(("stefil" ,sbcl-hu.dwim.stefil)))
4764 (inputs
4765 `(("sbcl-cl-fad" ,sbcl-cl-fad)))
917c28d2 4766 (home-page "https://shinmera.github.io/trivial-mimes/")
88f06fd0
PN
4767 (synopsis "Tiny Common Lisp library to detect mime types in files")
4768 (description
4769 "This is a teensy library that provides some functions to determine the
4770mime-type of a file.")
4771 (license license:artistic2.0))))
4772
4773(define-public cl-trivial-mimes
4774 (sbcl-package->cl-source-package sbcl-trivial-mimes))
4775
4776(define-public ecl-trivial-mimes
4777 (sbcl-package->ecl-package sbcl-trivial-mimes))
4778
4779(define-public sbcl-lack-middleware-static
4780 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4781 (revision "1"))
4782 (package
4783 (name "sbcl-lack-middleware-static")
4784 (version (git-version "0.1.0" revision commit))
4785 (source
4786 (origin
4787 (method git-fetch)
4788 (uri (git-reference
4789 (url "https://github.com/fukamachi/lack.git")
4790 (commit commit)))
4791 (file-name (git-file-name "lack-middleware-static" version))
4792 (sha256
4793 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4794 (build-system asdf-build-system/sbcl)
4795 (arguments
4796 '(#:asd-file "lack-middleware-static.asd"
4797 #:asd-system-name "lack-middleware-static"
4798 #:test-asd-file "t-lack-middleware-static.asd"
4799 ;; XXX: Component :LACK not found
4800 #:tests? #f))
4801 (native-inputs
4802 `(("prove-asdf" ,sbcl-prove-asdf)))
4803 (inputs
4804 `(("sbcl-ironclad" ,sbcl-ironclad)
4805 ("sbcl-trivial-mimes" ,sbcl-trivial-mimes)
4806 ("sbcl-local-time" ,sbcl-local-time)))
4807 (home-page "https://github.com/fukamachi/lack")
4808 (synopsis "Lack, the core of Clack")
4809 (description
4810 "Lack is a Common Lisp library which allows web applications to be
4811constructed of modular components. It was originally a part of Clack, however
4812it's going to be rewritten as an individual project since Clack v2 with
4813performance and simplicity in mind.")
4814 (license license:llgpl))))
4815
4816(define-public cl-lack-middleware-static
4817 (sbcl-package->cl-source-package sbcl-lack-middleware-static))
4818
4819(define-public sbcl-lack
4820 (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
4821 (revision "1"))
4822 (package
4823 (name "sbcl-lack")
4824 (version (git-version "0.1.0" revision commit))
4825 (source
4826 (origin
4827 (method git-fetch)
4828 (uri (git-reference
4829 (url "https://github.com/fukamachi/lack.git")
4830 (commit commit)))
4831 (file-name (git-file-name "lack" version))
4832 (sha256
4833 (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
4834 (build-system asdf-build-system/sbcl)
4835 (arguments
4836 '(#:test-asd-file "t-lack.asd"
4837 ;; XXX: Component :CLACK not found
4838 #:tests? #f))
4839 (native-inputs
4840 `(("prove-asdf" ,sbcl-prove-asdf)))
4841 (inputs
4842 `(("sbcl-lack-component" ,sbcl-lack-component)
4843 ("sbcl-lack-util" ,sbcl-lack-util)))
4844 (home-page "https://github.com/fukamachi/lack")
4845 (synopsis "Lack, the core of Clack")
4846 (description
4847 "Lack is a Common Lisp library which allows web applications to be
4848constructed of modular components. It was originally a part of Clack, however
4849it's going to be rewritten as an individual project since Clack v2 with
4850performance and simplicity in mind.")
4851 (license license:llgpl))))
4852
4853(define-public cl-lack
4854 (sbcl-package->cl-source-package sbcl-lack))
4855
4856(define-public sbcl-ningle
4857 (let ((commit "50bd4f09b5a03a7249bd4d78265d6451563b25ad")
4858 (revision "1"))
4859 (package
4860 (name "sbcl-ningle")
4861 (version (git-version "0.3.0" revision commit))
4862 (source
4863 (origin
4864 (method git-fetch)
4865 (uri (git-reference
4866 (url "https://github.com/fukamachi/ningle.git")
4867 (commit commit)))
4868 (file-name (git-file-name name version))
4869 (sha256
4870 (base32 "1bsl8cnxhacb8p92z9n89vhk1ikmij5zavk0m2zvmj7iqm79jzgw"))))
4871 (build-system asdf-build-system/sbcl)
4872 (arguments
4873 ;; TODO: pull in clack-test
4874 '(#:tests? #f
4875 #:phases
4876 (modify-phases %standard-phases
4877 (delete 'cleanup-files)
4878 (delete 'cleanup)
4879 (add-before 'cleanup 'combine-fasls
4880 (lambda* (#:key outputs #:allow-other-keys)
4881 (let* ((out (assoc-ref outputs "out"))
4882 (lib (string-append out "/lib/sbcl"))
4883 (ningle-path (string-append lib "/ningle"))
4884 (fasl-files (find-files out "\\.fasl$")))
4885 (mkdir-p ningle-path)
4886 (let ((fasl-path (lambda (name)
4887 (string-append ningle-path
4888 "/"
4889 (basename name)
4890 "--system.fasl"))))
4891 (for-each (lambda (file)
4892 (rename-file file
4893 (fasl-path
4894 (basename file ".fasl"))))
4895 fasl-files))
4896 fasl-files)
4897 #t)))))
4898 (native-inputs
4899 `(("sbcl-prove-asdf" ,sbcl-prove-asdf)
4900 ("sbcl-prove" ,sbcl-prove)))
4901 (inputs
4902 `(("sbcl-cl-syntax" ,sbcl-cl-syntax)
4903 ("sbcl-cl-syntax-annot" ,sbcl-cl-syntax-annot)
4904 ("sbcl-myway" ,sbcl-myway)
4905 ("sbcl-lack-request" ,sbcl-lack-request)
4906 ("sbcl-lack-response" ,sbcl-lack-response)
4907 ("sbcl-lack-component" ,sbcl-lack-component)
4908 ("sbcl-alexandria" ,sbcl-alexandria)
4909 ("sbcl-babel" ,sbcl-babel)))
f13695ec 4910 (home-page "https://8arrow.org/ningle/")
88f06fd0
PN
4911 (synopsis "Super micro framework for Common Lisp")
4912 (description
4913 "Ningle is a lightweight web application framework for Common Lisp.")
4914 (license license:llgpl))))
4915
4916(define-public cl-ningle
4917 (sbcl-package->cl-source-package sbcl-ningle))
4918
4919(define-public sbcl-clack
4920 (let ((commit "e3e032843bb1220ab96263c411aa7f2feb4746e0")
4921 (revision "1"))
4922 (package
4923 (name "sbcl-clack")
4924 (version (git-version "2.0.0" revision commit))
4925 (source
4926 (origin
4927 (method git-fetch)
4928 (uri (git-reference
4929 (url "https://github.com/fukamachi/clack.git")
4930 (commit commit)))
4931 (file-name (git-file-name name version))
4932 (sha256
4933 (base32 "1ymzs6qyrwhlj6cgqsnpyn6g5cbp7a3s1vgxwna20y2q7y4iacy0"))))
4934 (build-system asdf-build-system/sbcl)
4935 (inputs
4936 `(("sbcl-lack" ,sbcl-lack)
4937 ("sbcl-lack-middleware-backtrace" ,sbcl-lack-middleware-backtrace)
4938 ("sbcl-bordeaux-threads" ,sbcl-bordeaux-threads)))
4939 (home-page "https://github.com/fukamachi/clack")
4940 (synopsis "Web Application Environment for Common Lisp")
4941 (description
4942 "Clack is a web application environment for Common Lisp inspired by
4943Python's WSGI and Ruby's Rack.")
4944 (license license:llgpl))))
4945
4946(define-public cl-clack
4947 (sbcl-package->cl-source-package sbcl-clack))
4948
4949(define-public sbcl-log4cl
4950 (let ((commit "611e094458504b938d49de904eab141285328c7c")
4951 (revision "1"))
4952 (package
4953 (name "sbcl-log4cl")
4954 (build-system asdf-build-system/sbcl)
4955 (version "1.1.2")
4956 (source
4957 (origin
4958 (method git-fetch)
4959 (uri (git-reference
4960 (url "https://github.com/sharplispers/log4cl")
4961 (commit commit)))
4962 (file-name (git-file-name name version))
4963 (sha256
4964 (base32
4965 "08jly0s0g26b56hhpfizxsb4j0yvbh946sd205gr42dkzv8l7dsc"))))
4966 ;; FIXME: tests require stefil, sbcl-hu.dwim.stefil wont work
4967 (arguments
4968 `(#:tests? #f))
4969 (inputs `(("bordeaux-threads" ,sbcl-bordeaux-threads)))
4970 (synopsis "Common Lisp logging framework, modeled after Log4J")
4971 (home-page "https://github.com/7max/log4cl")
4972 (description "This is a Common Lisp logging framework that can log at
4973various levels and mix text with expressions.")
4974 (license license:asl2.0))))
4975
4976(define-public cl-log4cl
4977 (sbcl-package->cl-source-package sbcl-log4cl))
4978
4979(define-public ecl-log4cl
4980 (sbcl-package->ecl-package sbcl-log4cl))
4981
4982(define-public sbcl-find-port
4983 (let ((commit "00c96a25af93a0f8681d34ec548861f2d7485478")
4984 (revision "1"))
4985 (package
4986 (name "sbcl-find-port")
4987 (build-system asdf-build-system/sbcl)
4988 (version "0.1")
4989 (home-page "https://github.com/eudoxia0/find-port")
4990 (source
4991 (origin
4992 (method git-fetch)
4993 (uri (git-reference
4994 (url home-page)
4995 (commit commit)))
4996 (file-name (git-file-name name version))
4997 (sha256
4998 (base32
4999 "0d6dzbb45jh0rx90wgs6v020k2xa87mvzas3mvfzvivjvqqlpryq"))))
5000 (native-inputs
5001 `(("fiveam" ,sbcl-fiveam)))
5002 (inputs
5003 `(("sbcl-usocket" ,sbcl-usocket)))
5004 (synopsis "Find open ports programmatically in Common Lisp")
5005 (description "This is a small Common Lisp library that finds an open
5006port within a range.")
5007 (license license:expat))))
5008
5009(define-public cl-find-port
5010 (sbcl-package->cl-source-package sbcl-find-port))
5011
5012(define-public ecl-find-port
5013 (sbcl-package->ecl-package sbcl-find-port))
5014
5015(define-public sbcl-clunit
5016 (let ((commit "6f6d72873f0e1207f037470105969384f8380628")
5017 (revision "1"))
5018 (package
5019 (name "sbcl-clunit")
5020 (version (git-version "0.2.3" revision commit))
5021 (source
5022 (origin
5023 (method git-fetch)
5024 (uri (git-reference
5025 (url "https://github.com/tgutu/clunit.git")
5026 (commit commit)))
5027 (file-name (git-file-name name version))
5028 (sha256
5029 (base32
5030 "1idf2xnqzlhi8rbrqmzpmb3i1l6pbdzhhajkmhwbp6qjkmxa4h85"))))
5031 (build-system asdf-build-system/sbcl)
5032 (synopsis "CLUnit is a Common Lisp unit testing framework")
5033 (description
5034 "CLUnit is a Common Lisp unit testing framework. It is designed
5035to be easy to use so that you can quickly start testing. CLUnit
5036provides a rich set of features aimed at improving your unit testing
5037experience.")
b4034d1b 5038 (home-page "https://tgutu.github.io/clunit/")
88f06fd0
PN
5039 ;; MIT License
5040 (license license:expat))))
5041
5042(define-public cl-clunit
5043 (sbcl-package->cl-source-package sbcl-clunit))
5044
5045(define-public ecl-clunit
5046 (sbcl-package->ecl-package sbcl-clunit))
5047
5048(define-public sbcl-py4cl
5049 (let ((commit "4c8a2b0814fd311f978964f825ce012290f60136")
5050 (revision "1"))
5051 (package
5052 (name "sbcl-py4cl")
5053 (version (git-version "0.0.0" revision commit))
5054 (source
5055 (origin
5056 (method git-fetch)
5057 (uri (git-reference
5058 (url "https://github.com/bendudson/py4cl.git")
5059 (commit commit)))
5060 (file-name (git-file-name name version))
5061 (sha256
5062 (base32
5063 "15mk7qdqjkj56gdnbyrdyz6r7m1h26ldvn6ch96pmvg5vmr1m45r"))
5064 (modules '((guix build utils)))))
5065 (build-system asdf-build-system/sbcl)
5066 (native-inputs
5067 `(("sbcl-clunit" ,sbcl-clunit)))
5068 (inputs
5069 `(("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
5070 (propagated-inputs
5071 ;; This package doesn't do anything without python available
5072 `(("python" ,python)
5073 ;; For multi-dimensional array support
5074 ("python-numpy" ,python-numpy)))
5075 (arguments
5076 '(#:phases
5077 (modify-phases %standard-phases
5078 (add-after 'unpack 'replace-*base-directory*-var
5079 (lambda* (#:key outputs #:allow-other-keys)
5080 ;; In the ASD, the author makes an attempt to
5081 ;; programatically determine the location of the
5082 ;; source-code so lisp can call into "py4cl.py". We can
5083 ;; hard-code this since we know where this file will
5084 ;; reside.
5085 (substitute* "src/callpython.lisp"
5086 (("py4cl/config:\\*base-directory\\*")
5087 (string-append
5088 "\""
5089 (assoc-ref outputs "out")
5090 "/share/common-lisp/sbcl-source/py4cl/"
5091 "\""))))))))
5092 (synopsis "Call python from Common Lisp")
5093 (description
5094 "Py4CL is a bridge between Common Lisp and Python, which enables Common
5095Lisp to interact with Python code. It uses streams to communicate with a
5096separate python process, the approach taken by cl4py. This is different to
5097the CFFI approach used by burgled-batteries, but has the same goal.")
5098 (home-page "https://github.com/bendudson/py4cl")
5099 ;; MIT License
5100 (license license:expat))))
5101
5102(define-public cl-py4cl
5103 (sbcl-package->cl-source-package sbcl-py4cl))
5104
5105(define-public ecl-py4cl
5106 (sbcl-package->ecl-package sbcl-py4cl))
5107
5108(define-public sbcl-parse-declarations
1fce78c4
GLV
5109 (let ((commit "549aebbfb9403a7fe948654126b9c814f443f4f2")
5110 (revision "1"))
5111 (package
5112 (name "sbcl-parse-declarations")
5113 (version (git-version "1.0.0" revision commit))
5114 (source
5115 (origin
5116 (method git-fetch)
5117 (uri (git-reference
5118 (url (string-append
5119 "https://gitlab.common-lisp.net/parse-declarations/"
5120 "parse-declarations.git"))
5121 (commit commit)))
5122 (file-name (git-file-name name version))
5123 (sha256
5124 (base32 "03g5qks4c59nmxa48pbslxkfh77h8hn8566jddp6m9pl15dzzpxd"))))
5125 (build-system asdf-build-system/sbcl)
5126 (arguments
5127 `(#:asd-file "parse-declarations-1.0.asd"
5128 #:asd-system-name "parse-declarations-1.0"))
5129 (home-page "https://common-lisp.net/project/parse-declarations/")
5130 (synopsis "Parse, filter, and build declarations")
5131 (description
5132 "Parse-Declarations is a Common Lisp library to help writing
88f06fd0
PN
5133macros which establish bindings. To be semantically correct, such
5134macros must take user declarations into account, as these may affect
5135the bindings they establish. Yet the ANSI standard of Common Lisp does
5136not provide any operators to work with declarations in a convenient,
5137high-level way. This library provides such operators.")
1fce78c4
GLV
5138 ;; MIT License
5139 (license license:expat))))
88f06fd0
PN
5140
5141(define-public cl-parse-declarations
5142 (sbcl-package->cl-source-package sbcl-parse-declarations))
5143
5144(define-public ecl-parse-declarations
5145 (sbcl-package->ecl-package sbcl-parse-declarations))
5146
5147(define-public sbcl-cl-quickcheck
5148 (let ((commit "807b2792a30c883a2fbecea8e7db355b50ba662f")
5149 (revision "1"))
5150 (package
5151 (name "sbcl-cl-quickcheck")
5152 (version (git-version "0.0.4" revision commit))
5153 (source
5154 (origin
5155 (method git-fetch)
5156 (uri (git-reference
5157 (url "https://github.com/mcandre/cl-quickcheck.git")
5158 (commit commit)))
5159 (file-name (git-file-name name version))
5160 (sha256
5161 (base32
5162 "165lhypq5xkcys6hvzb3jq7ywnmqvzaflda29qk2cbs3ggas4767"))))
5163 (build-system asdf-build-system/sbcl)
5164 (synopsis
5165 "Common Lisp port of the QuickCheck unit test framework")
5166 (description
5167 "Common Lisp port of the QuickCheck unit test framework")
5168 (home-page "https://github.com/mcandre/cl-quickcheck")
5169 ;; MIT
5170 (license license:expat))))
5171
5172(define-public cl-cl-quickcheck
5173 (sbcl-package->cl-source-package sbcl-cl-quickcheck))
5174
5175(define-public ecl-cl-quickcheck
5176 (sbcl-package->ecl-package sbcl-cl-quickcheck))
5177
5178(define-public sbcl-burgled-batteries3
839fa4cd
MB
5179 (let ((commit "f65f454d13bb6c40e17e9ec62e41eb5069e09760")
5180 (revision "2"))
88f06fd0
PN
5181 (package
5182 (name "sbcl-burgled-batteries3")
5183 (version (git-version "0.0.0" revision commit))
5184 (source
5185 (origin
5186 (method git-fetch)
5187 (uri (git-reference
5188 (url "https://github.com/snmsts/burgled-batteries3.git")
5189 (commit commit)))
5190 (file-name (git-file-name name version))
5191 (sha256
5192 (base32
839fa4cd 5193 "1nzn7jawrfajyzwfnzrg2cmn9xxadcqh4szbpg0jggkhdkdzz4wa"))))
88f06fd0
PN
5194 (build-system asdf-build-system/sbcl)
5195 (arguments
839fa4cd
MB
5196 `(#:tests? #f
5197 #:modules (((guix build python-build-system) #:select (python-version))
5198 ,@%asdf-build-system-modules)
5199 #:imported-modules ((guix build python-build-system)
5200 ,@%asdf-build-system-modules)
88f06fd0 5201 #:phases
839fa4cd 5202 (modify-phases (@ (guix build asdf-build-system) %standard-phases)
88f06fd0
PN
5203 (add-after 'unpack 'set-*cpython-include-dir*-var
5204 (lambda* (#:key inputs #:allow-other-keys)
839fa4cd
MB
5205 (let ((python (assoc-ref inputs "python")))
5206 (setenv "BB_PYTHON3_INCLUDE_DIR"
5207 (string-append python "/include/python"
5208 (python-version python)
5209 "m"))
5210 (setenv "BB_PYTHON3_DYLIB"
5211 (string-append python "/lib/libpython3.so"))
5212 #t))))))
88f06fd0 5213 (native-inputs
3d280dae 5214 `(("sbcl-cl-fad" ,sbcl-cl-fad)
88f06fd0
PN
5215 ("sbcl-lift" ,sbcl-lift)
5216 ("sbcl-cl-quickcheck" ,sbcl-cl-quickcheck)))
5217 (inputs
3d280dae
MB
5218 `(("python" ,python)
5219 ("sbcl-cffi" ,sbcl-cffi)
88f06fd0
PN
5220 ("sbcl-cffi-grovel" ,sbcl-cffi-grovel)
5221 ("sbcl-alexandria" , sbcl-alexandria)
5222 ("sbcl-parse-declarations-1.0" ,sbcl-parse-declarations)
5223 ("sbcl-trivial-garbage" ,sbcl-trivial-garbage)))
5224 (synopsis "Bridge between Python and Lisp (FFI bindings, etc.)")
5225 (description
5226 "This package provides a shim between Python3 (specifically, the
5227CPython implementation of Python) and Common Lisp.")
5228 (home-page "https://github.com/snmsts/burgled-batteries3")
88f06fd0
PN
5229 (license license:expat))))
5230
5231(define-public cl-burgled-batteries3
5232 (sbcl-package->cl-source-package sbcl-burgled-batteries3))
5233
5234(define-public ecl-burgled-batteries3
5235 (sbcl-package->ecl-package sbcl-burgled-batteries3))
5236
5237(define-public sbcl-metabang-bind
5238 (let ((commit "c93b7f7e1c18c954c2283efd6a7fdab36746ab5e")
5239 (revision "1"))
5240 (package
5241 (name "sbcl-metabang-bind")
5242 (version (git-version "0.8.0" revision commit))
5243 (source
5244 (origin
5245 (method git-fetch)
5246 (uri (git-reference
5247 (url "https://github.com/gwkkwg/metabang-bind.git")
5248 (commit commit)))
5249 (file-name (git-file-name name version))
5250 (sha256
5251 (base32
5252 "0hd0kr91795v77akpbcyqiss9p0p7ypa9dznrllincnmgvsxlmf0"))))
5253 (build-system asdf-build-system/sbcl)
5254 (native-inputs
5255 `(("sbcl-lift" ,sbcl-lift)))
5256 (synopsis "Macro that generalizes @code{multiple-value-bind} etc.")
5257 (description
5258 "Bind extends the idea of of let and destructing to provide a uniform
5259syntax for all your accessor needs. It combines @code{let},
5260@code{destructuring-bind}, @code{with-slots}, @code{with-accessors}, structure
5261editing, property or association-lists, and @code{multiple-value-bind} and a
5262whole lot more into a single form.")
5263 (home-page "https://common-lisp.net/project/metabang-bind/")
5264 ;; MIT License
5265 (license license:expat))))
5266
5267(define-public cl-metabang-bind
5268 (sbcl-package->cl-source-package sbcl-metabang-bind))
5269
5270(define-public ecl-metabang-bind
5271 (sbcl-package->ecl-package sbcl-metabang-bind))
5272
5273(define-public sbcl-fare-utils
5274 (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
5275 (revision "1"))
5276 (package
5277 (name "sbcl-fare-utils")
5278 (version (git-version "1.0.0.5" revision commit))
5279 (source
5280 (origin
5281 (method git-fetch)
5282 (uri
5283 (git-reference
5284 (url
5285 "https://gitlab.common-lisp.net/frideau/fare-utils.git")
5286 (commit commit)))
5287 (file-name (git-file-name name version))
5288 (sha256
5289 (base32
5290 "01wsr1aap3jdzhn4hrqjbhsjx6qci9dbd3gh4gayv1p49rbg8aqr"))))
5291 (build-system asdf-build-system/sbcl)
5292 (arguments
5293 `(#:test-asd-file "test/fare-utils-test.asd"))
5294 (native-inputs
5295 `(("sbcl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
5296 (synopsis "Collection of utilities and data structures")
5297 (description
5298 "fare-utils is a small collection of utilities. It contains a lot of
5299basic everyday functions and macros.")
5300 (home-page "https://gitlab.common-lisp.net/frideau/fare-utils")
5301 ;; MIT License
5302 (license license:expat))))
5303
5304(define-public cl-fare-utils
5305 (sbcl-package->cl-source-package sbcl-fare-utils))
5306
5307(define-public ecl-fare-utils
5308 (sbcl-package->ecl-package sbcl-fare-utils))
5309
5310(define-public sbcl-trivial-utf-8
5311 (let ((commit "4d427cfbb1c452436a0efb71c3205c9da67f718f")
5312 (revision "1"))
5313 (package
5314 (name "sbcl-trivial-utf-8")
5315 (version (git-version "0.0.0" revision commit))
5316 (source
5317 (origin
5318 (method git-fetch)
5319 (uri
5320 (git-reference
5321 (url (string-append "https://gitlab.common-lisp.net/"
5322 "trivial-utf-8/trivial-utf-8.git"))
5323 (commit commit)))
5324 (file-name (git-file-name name version))
5325 (sha256
5326 (base32
5327 "1jz27gz8gvqdmvp3k9bxschs6d5b3qgk94qp2bj6nv1d0jc3m1l1"))))
5328 (arguments
5329 ;; Guix incorrectly assumes the "8" is part of the version
5330 ;; number and lobs it off.
5331 `(#:asd-file "trivial-utf-8.asd"
5332 #:asd-system-name "trivial-utf-8"))
5333 (build-system asdf-build-system/sbcl)
5334 (synopsis "UTF-8 input/output library")
5335 (description
5336 "The Babel library solves a similar problem while understanding more
5337encodings. Trivial UTF-8 was written before Babel existed, but for new
5338projects you might be better off going with Babel. The one plus that Trivial
5339UTF-8 has is that it doesn't depend on any other libraries.")
5340 (home-page "https://common-lisp.net/project/trivial-utf-8/")
5341 (license license:bsd-3))))
5342
5343(define-public cl-trivial-utf-8
5344 (sbcl-package->cl-source-package sbcl-trivial-utf-8))
5345
5346(define-public ecl-trivial-utf-8
5347 (sbcl-package->ecl-package sbcl-trivial-utf-8))
5348
5349(define-public sbcl-idna
5350 (package
5351 (name "sbcl-idna")
5352 (build-system asdf-build-system/sbcl)
5353 (version "0.2.2")
5354 (home-page "https://github.com/antifuchs/idna")
5355 (source
5356 (origin
5357 (method git-fetch)
5358 (uri (git-reference
5359 (url home-page)
5360 (commit version)))
5361 (file-name (git-file-name name version))
5362 (sha256
5363 (base32
5364 "00nbr3mffxhlq14gg9d16pa6691s4qh35inyw76v906s77khm5a2"))))
5365 (inputs
5366 `(("split-sequence" ,sbcl-split-sequence)))
5367 (synopsis "IDNA string encoding and decoding routines for Common Lisp")
5368 (description "This Common Lisp library provides string encoding and
5369decoding routines for IDNA, the International Domain Names in Applications.")
5370 (license license:expat)))
5371
5372(define-public cl-idna
5373 (sbcl-package->cl-source-package sbcl-idna))
5374
5375(define-public ecl-idna
5376 (sbcl-package->ecl-package sbcl-idna))
5377
5378(define-public sbcl-swap-bytes
5379 (package
5380 (name "sbcl-swap-bytes")
5381 (build-system asdf-build-system/sbcl)
dbf6de58 5382 (version "1.2")
88f06fd0
PN
5383 (home-page "https://github.com/sionescu/swap-bytes")
5384 (source
5385 (origin
5386 (method git-fetch)
5387 (uri (git-reference
5388 (url home-page)
5389 (commit (string-append "v" version))))
5390 (file-name (git-file-name name version))
5391 (sha256
5392 (base32
dbf6de58 5393 "1hw1v1lw26rifyznpnj1csphha9jgzwpiic16ni3pvs6hcsni9rz"))))
88f06fd0
PN
5394 (inputs
5395 `(("trivial-features" ,sbcl-trivial-features)))
5396 (native-inputs
5397 `(("fiveam" ,sbcl-fiveam)))
88f06fd0
PN
5398 (synopsis "Efficient endianness conversion for Common Lisp")
5399 (description "This Common Lisp library provides optimized byte-swapping
5400primitives. The library can change endianness of unsigned integers of length
54011/2/4/8. Very useful in implementing various network protocols and file
5402formats.")
5403 (license license:expat)))
5404
5405(define-public cl-swap-bytes
5406 (sbcl-package->cl-source-package sbcl-swap-bytes))
5407
5408(define-public ecl-swap-bytes
5409 (sbcl-package->ecl-package sbcl-swap-bytes))
5410
5411(define-public sbcl-iolib.asdf
5412 ;; Latest release is from June 2017.
53c4a0da
PN
5413 (let ((commit "7f5ea3a8457a29d224b24653c2b3657fb1898021")
5414 (revision "2"))
88f06fd0
PN
5415 (package
5416 (name "sbcl-iolib.asdf")
5417 (build-system asdf-build-system/sbcl)
53c4a0da 5418 (version (git-version "0.8.3" revision commit))
88f06fd0
PN
5419 (home-page "https://github.com/sionescu/iolib")
5420 (source
5421 (origin
5422 (method git-fetch)
5423 (uri (git-reference
5424 (url home-page)
5425 (commit commit)))
5426 (file-name (git-file-name name version))
5427 (sha256
5428 (base32
53c4a0da 5429 "1bg5w7lm61hqk4b0svmri8a590q36z76jfa0sdgzb39r98c04w12"))))
88f06fd0
PN
5430 (inputs
5431 `(("alexandria" ,sbcl-alexandria)))
5432 (arguments
5433 '(#:asd-file "iolib.asdf.asd"))
5434 (synopsis "ASDF component classes for IOLib, a Common Lisp I/O library")
5435 (description "IOlib is to be a better and more modern I/O library than
5436the standard Common Lisp library. It contains a socket library, a DNS
5437resolver, an I/O multiplexer(which supports @code{select(2)}, @code{epoll(4)}
5438and @code{kqueue(2)}), a pathname library and file-system utilities.")
5439 (license license:expat))))
5440
5441(define-public sbcl-iolib.conf
5442 (package
5443 (inherit sbcl-iolib.asdf)
5444 (name "sbcl-iolib.conf")
5445 (inputs
5446 `(("iolib.asdf" ,sbcl-iolib.asdf)))
5447 (arguments
5448 '(#:asd-file "iolib.conf.asd"))
5449 (synopsis "Compile-time configuration for IOLib, a Common Lisp I/O library")))
5450
5451(define-public sbcl-iolib.common-lisp
5452 (package
5453 (inherit sbcl-iolib.asdf)
5454 (name "sbcl-iolib.common-lisp")
5455 (inputs
5456 `(("iolib.asdf" ,sbcl-iolib.asdf)
5457 ("iolib.conf" ,sbcl-iolib.conf)))
5458 (arguments
5459 '(#:asd-file "iolib.common-lisp.asd"))
5460 (synopsis "Slightly modified Common Lisp for IOLib, a Common Lisp I/O library")))
5461
5462(define-public sbcl-iolib.base
5463 (package
5464 (inherit sbcl-iolib.asdf)
5465 (name "sbcl-iolib.base")
5466 (inputs
5467 `(("iolib.asdf" ,sbcl-iolib.asdf)
5468 ("iolib.conf" ,sbcl-iolib.conf)
5469 ("iolib.common-lisp" ,sbcl-iolib.common-lisp)
5470 ("split-sequence" ,sbcl-split-sequence)))
5471 (arguments
5472 '(#:asd-file "iolib.base.asd"))
5473 (synopsis "Base package for IOLib, a Common Lisp I/O library")))
5474
5475(define-public sbcl-iolib.grovel
5476 (package
5477 (inherit sbcl-iolib.asdf)
5478 (name "sbcl-iolib.grovel")
5479 (inputs
5480 `(("iolib.asdf" ,sbcl-iolib.asdf)
5481 ("iolib.conf" ,sbcl-iolib.conf)
5482 ("iolib.base", sbcl-iolib.base)
5483 ("cffi", sbcl-cffi)))
5484 (arguments
5485 '(#:asd-file "iolib.grovel.asd"
5486 #:phases
5487 (modify-phases %standard-phases
5488 (add-after 'install 'install-header
5489 (lambda* (#:key outputs #:allow-other-keys)
5490 ;; This header is required by sbcl-iolib.
5491 (install-file "src/grovel/grovel-common.h"
5492 (string-append (assoc-ref outputs "out")
5493 "/lib/sbcl"))
5494 #t)))))
5495 (synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))
5496
af5c4eff 5497(define sbcl-iolib+syscalls
88f06fd0
PN
5498 (package
5499 (inherit sbcl-iolib.asdf)
af5c4eff 5500 (name "sbcl-iolib+syscalls")
88f06fd0
PN
5501 (inputs
5502 `(("iolib.asdf" ,sbcl-iolib.asdf)
5503 ("iolib.conf" ,sbcl-iolib.conf)
53c4a0da 5504 ("cffi-grovel" ,sbcl-cffi-grovel)
88f06fd0
PN
5505 ("iolib.base" ,sbcl-iolib.base)
5506 ("bordeaux-threads" ,sbcl-bordeaux-threads)
5507 ("idna" ,sbcl-idna)
5508 ("swap-bytes" ,sbcl-swap-bytes)
5509 ("libfixposix" ,libfixposix)
5510 ("cffi" ,sbcl-cffi)))
5511 (native-inputs
5512 `(("fiveam" ,sbcl-fiveam)))
5513 (arguments
5514 '(#:asd-file "iolib.asd"
af5c4eff 5515 #:asd-system-name "iolib/syscalls"
88f06fd0
PN
5516 #:phases
5517 (modify-phases %standard-phases
5518 (add-after 'unpack 'fix-paths
5519 (lambda* (#:key inputs #:allow-other-keys)
5520 (substitute* "src/syscalls/ffi-functions-unix.lisp"
5521 (("\\(:default \"libfixposix\"\\)")
5522 (string-append
5523 "(:default \""
5524 (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
5525 ;; Socket tests need Internet access, disable them.
53c4a0da 5526 (substitute* "iolib.asd"
88f06fd0
PN
5527 (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
5528 "")))))))
5529 (synopsis "Common Lisp I/O library")))
5530
88f06fd0
PN
5531(define sbcl-iolib+multiplex
5532 (package
af5c4eff 5533 (inherit sbcl-iolib+syscalls)
88f06fd0 5534 (name "sbcl-iolib+multiplex")
af5c4eff
PN
5535 (inputs
5536 `(("iolib+syscalls" ,sbcl-iolib+syscalls)
5537 ,@(package-inputs sbcl-iolib+syscalls)))
88f06fd0 5538 (arguments
af5c4eff 5539 (substitute-keyword-arguments (package-arguments sbcl-iolib+syscalls)
88f06fd0
PN
5540 ((#:asd-system-name _) "iolib/multiplex")))))
5541
88f06fd0
PN
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))