;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018, 2020, 2021 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
;;; Copyright © 2020 Dimakis Dimakakos <me@bendersteed.tech>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020, 2021 Adam Kandur <rndd@tuta.io>
;;; Copyright © 2020, 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Aurora <rind38@disroot.org>
;;; Copyright © 2021 Matthew Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 André A. Gomes <andremegafone@gmail.com>
;;; Copyright © 2021 Cage <cage-dev@twistfold.it>
;;; Copyright © 2021 Cameron Chaparro <cameron@cameronchaparro.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
;;; This file only contains Common Lisp libraries.
;;; Common Lisp compilers and tooling go to lisp.scm.
;;; Common Lisp applications should go to the most appropriate file,
;;; e.g. StumpWM is in wm.scm.
(define-module (gnu packages lisp-xyz)
#:use-module (gnu packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module (guix utils)
#:use-module (guix build-system asdf)
#:use-module (guix build-system trivial)
#:use-module (gnu packages base)
#:use-module (gnu packages c)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages enchant)
#:use-module (gnu packages file)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
#:use-module (gnu packages lisp)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sdl)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xdisorg)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-19))
(define-public sbcl-alexandria
(package
(name "sbcl-alexandria")
(version "1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.common-lisp.net/alexandria/alexandria.git")
(commit (string-append "v" version))))
(sha256
(base32
"0bcqs0z9xlqgjz43qzgq9i07vdlnjllpm1wwa37wpkg0w975r712"))
(file-name (git-file-name name version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("rt" ,sbcl-rt)))
(synopsis "Collection of portable utilities for Common Lisp")
(description
"Alexandria is a collection of portable utilities. It does not contain
conceptual extensions to Common Lisp. It is conservative in scope, and
portable between implementations.")
(home-page "https://common-lisp.net/project/alexandria/")
(license license:public-domain)))
(define-public cl-alexandria
(sbcl-package->cl-source-package sbcl-alexandria))
(define-public ecl-alexandria
(sbcl-package->ecl-package sbcl-alexandria))
(define-public sbcl-bodge-utilities
(let ((commit "6304bac4abe06d53579e2c0fc4437d14ff077d9f")
(revision "1"))
(package
(name "sbcl-bodge-utilities")
(version (git-version "1.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/borodust/bodge-utilities")
(commit commit)))
(file-name (git-file-name "bodge-utilities" version))
(sha256
(base32 "1z1blj05q71vzh323qwyn9p3xs7v0mq2yhwfyzza5libp37wqm3c"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("cffi" ,sbcl-cffi)
("claw" ,sbcl-claw)
("dissect" ,sbcl-dissect)
("local-time" ,sbcl-local-time)
("log4cl" ,sbcl-log4cl)
("split-sequence" ,sbcl-split-sequence)
("static-vectors" ,sbcl-static-vectors)
("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
(home-page "https://github.com/borodust/bodge-utilities")
(synopsis "Common Lisp utilities library for CL-BODGE")
(description
"This Common Lisp library provides utilities for the @emph{Bodge} library
collection.")
(license license:expat))))
(define-public ecl-bodge-utilities
(sbcl-package->ecl-package sbcl-bodge-utilities))
(define-public cl-bodge-utilities
(sbcl-package->cl-source-package sbcl-bodge-utilities))
(define-public sbcl-bodge-queue
(let ((commit "948c9a501dcd412689952d09eb7453ec2722336a")
(revision "0"))
(package
(name "sbcl-bodge-queue")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/borodust/bodge-queue")
(commit commit)))
(file-name (git-file-name "bodge-queue" version))
(sha256
(base32 "148hjikqk8v2m30mj15xh89zni6szf9z3prav580qk9dqr8djjdr"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(home-page "https://github.com/borodust/bodge-queue")
(synopsis "Simple queue for Common Lisp")
(description "This Common Lisp library provides a simple FIFO
implementation with no external dependencies.")
(license license:expat))))
(define-public cl-bodge-queue
(sbcl-package->cl-source-package sbcl-bodge-queue))
(define-public ecl-bodge-queue
(sbcl-package->ecl-package sbcl-bodge-queue))
(define-public sbcl-golden-utils
(let ((commit "62a5cb948a011eb26e7a89f56d5839a3334b4100")
(revision "2"))
(package
(name "sbcl-golden-utils")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.mfiano.net/mfiano/golden-utils")
(commit commit)))
(file-name (git-file-name "golden-utils" version))
(sha256
(base32 "13mvxqwd1nmpq8h5hb1s60wyqdj7ji4haxrqr0sy3csyqa8aq2j8"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)))
(home-page "https://git.mfiano.net/mfiano/golden-utils")
(synopsis "Common Lisp utility library")
(description
"This is a Common Lisp library providing various utilities.")
(license license:expat))))
(define-public ecl-golden-utils
(sbcl-package->ecl-package sbcl-golden-utils))
(define-public cl-golden-utils
(sbcl-package->cl-source-package sbcl-golden-utils))
(define-public sbcl-asdf-finalizers
(let ((commit "7f537f6c598b662ae987c6acc268dd27c25977e0")
(revision "1"))
(package
(name "sbcl-asdf-finalizers")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.common-lisp.net/asdf/asdf-finalizers")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1w56c9yjjydjshsgqxz57qlp2v3r4ilbisnsgiqphvxnhvd41y0v"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fare-utils" ,sbcl-fare-utils)
("hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
(arguments
`(#:asd-files '("asdf-finalizers.asd"
"list-of.asd"
"asdf-finalizers-test.asd")
#:asd-systems '("asdf-finalizers"
"list-of")))
(home-page "https://gitlab.common-lisp.net/asdf/asdf-finalizers")
(synopsis "Enforced calling of finalizers for Lisp code")
(description "This library allows you to implement and enforce proper
finalization of compile-time constructs while building Lisp source files.
It produces two systems: asdf-finalizers and list-of.")
(license license:expat))))
(define-public ecl-asdf-finalizers
(sbcl-package->ecl-package sbcl-asdf-finalizers))
(define-public cl-asdf-finalizers
(sbcl-package->cl-source-package sbcl-asdf-finalizers))
(define-public sbcl-net.didierverna.asdf-flv
(package
(name "sbcl-net.didierverna.asdf-flv")
(version "2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/didierverna/asdf-flv")
(commit (string-append "version-" version))))
(file-name (git-file-name "asdf-flv" version))
(sha256
(base32 "1fi2y4baxan103jbg4idjddzihy03kwnj2mzbwrknw4d4x7xlgwj"))))
(build-system asdf-build-system/sbcl)
(synopsis "Common Lisp ASDF extension to provide support for file-local variables")
(description "ASDF-FLV provides support for file-local variables through
ASDF. A file-local variable behaves like @code{*PACKAGE*} and
@code{*READTABLE*} with respect to @code{LOAD} and @code{COMPILE-FILE}: a new
dynamic binding is created before processing the file, so that any
modification to the variable becomes essentially file-local.
In order to make one or several variables file-local, use the macros
@code{SET-FILE-LOCAL-VARIABLE(S)}.")
(home-page "https://www.lrde.epita.fr/~didier/software/lisp/misc.php#asdf-flv")
(license (license:non-copyleft
"https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html"
"GNU All-Permissive License"))))
(define-public cl-net.didierverna.asdf-flv
(sbcl-package->cl-source-package sbcl-net.didierverna.asdf-flv))
(define-public ecl-net.didierverna.asdf-flv
(sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv))
(define-public sbcl-command-line-arguments
(let ((commit "fbac862fb01c0e368141204f3f639920462c23fe")
(revision "1"))
(package
(name "sbcl-command-line-arguments")
(version (git-version "2.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fare/command-line-arguments")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "054m1ikndzqf72mb9ajaa64136cwr3bgag4yfbi1574a9vq75mjq"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/fare/command-line-arguments")
(synopsis "Trivial command-line argument parsing library for Common Lisp")
(description "This is a library to abstract away the parsing of
Unix-style command-line arguments. Use it in conjunction with asdf:program-op
or cl-launch for portable processing of command-line arguments.")
(license license:expat))))
(define-public ecl-command-line-arguments
(sbcl-package->ecl-package sbcl-command-line-arguments))
(define-public cl-command-line-arguments
(sbcl-package->cl-source-package sbcl-command-line-arguments))
(define-public sbcl-fiveam
(package
(name "sbcl-fiveam")
(version "1.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sionescu/fiveam")
(commit (string-append "v" version))))
(file-name (git-file-name "fiveam" version))
(sha256
(base32 "1q3d38pwafnwnw42clq0f8g5xw7pbzr287jl9jsqmb1vb0n1vrli"))))
(inputs
`(("alexandria" ,sbcl-alexandria)
("net.didierverna.asdf-flv" ,sbcl-net.didierverna.asdf-flv)
("trivial-backtrace" ,sbcl-trivial-backtrace)))
(build-system asdf-build-system/sbcl)
(synopsis "Common Lisp testing framework")
(description "FiveAM is a simple (as far as writing and running tests
goes) regression testing framework. It has been designed with Common Lisp's
interactive development model in mind.")
(home-page "https://common-lisp.net/project/fiveam/")
(license license:bsd-3)))
(define-public cl-fiveam
(sbcl-package->cl-source-package sbcl-fiveam))
(define-public ecl-fiveam
(sbcl-package->ecl-package sbcl-fiveam))
(define-public sbcl-cl-irc
(let ((commit "963823537c7bfcda2edd4c44d172192da6722175")
(revision "0"))
(package
(name "sbcl-cl-irc")
(version (git-version "0.9.2" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://salsa.debian.org/common-lisp-team/cl-irc.git")
(commit commit)))
(file-name (git-file-name "cl-irc" version))
(sha256
(base32 "1b3nqbb4pj377lxl47rfgrs82pidadnrc65l48bk553c2f59b52w"))))
(build-system asdf-build-system/sbcl)
(native-inputs
;; Tests only.
`(("rt" ,sbcl-rt)))
(inputs
`(("cl+ssl" ,sbcl-cl+ssl)
("flexi-streams" ,sbcl-flexi-streams)
("split-sequence" ,sbcl-split-sequence)
("usocket" ,sbcl-usocket)))
(arguments
`(#:asd-systems '("cl-irc") ;; Some inexisting "c" system is
;; found by guix otherwise.
#:asd-files '("cl-irc.asd")
#:test-asd-file "test/cl-irc-test.asd"))
(synopsis "IRC client library for Common Lisp")
(description "@code{cl-irc} is a Common Lisp IRC client library that
features (partial) DCC, CTCP and all relevant commands from the IRC
RFCs (RFC2810, RFC2811 and RFC2812).
Features:
@itemize
@item implements all commands in the RFCs
@item extra convenience commands such as op/deop, ban, ignore, etc.
@item partial DCC SEND/CHAT support
@item event driven model with hooks makes interfacing easy
@item the user can keep multiple connections
@item all CTCP commands
@end itemize\n")
(home-page "https://common-lisp.net/project/cl-irc/")
(license license:bsd-2))))
(define-public cl-irc
(sbcl-package->cl-source-package sbcl-cl-irc))
(define-public ecl-cl-irc
(sbcl-package->ecl-package sbcl-cl-irc))
(define-public sbcl-trivial-timeout
(let ((commit "feb869357f40f5e109570fb40abad215fb370c6c")
(revision "1"))
(package
(name "sbcl-trivial-timeout")
(version (git-version "0.1.5" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gwkkwg/trivial-timeout/")
(commit commit)))
(file-name (git-file-name "trivial-timeout" version))
(sha256
(base32 "1kninxwvvih9nhh7a9y8lfgi7pdr76675y1clw4ss17vz8fbim5p"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("lift" ,sbcl-lift)))
(arguments
;; NOTE: (Sharlatan-20210202T231437+0000): Due to the age of this library
;; tests use some deprecated functionality and keep failing.
`(#:tests? #f))
(home-page "https://github.com/gwkkwg/trivial-timeout/")
(synopsis "Timeout library for Common Lisp")
(description
"This library provides an OS and implementation independent access to
timeouts.")
(license license:expat))))
(define-public ecl-trivial-timeout
(sbcl-package->ecl-package sbcl-trivial-timeout))
(define-public cl-trivial-timeout
(sbcl-package->cl-source-package sbcl-trivial-timeout))
(define-public sbcl-bordeaux-threads
(package
(name "sbcl-bordeaux-threads")
(version "0.8.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sionescu/bordeaux-threads")
(commit (string-append "v" version))))
(sha256
(base32 "19i443fz3488v1pbbr9x24y8h8vlyhny9vj6c9jk5prm702awrp6"))
(file-name
(git-file-name "bordeaux-threads" version))))
(inputs `(("alexandria" ,sbcl-alexandria)))
(native-inputs `(("fiveam" ,sbcl-fiveam)))
(build-system asdf-build-system/sbcl)
(synopsis "Portable shared-state concurrency library for Common Lisp")
(description "BORDEAUX-THREADS is a proposed standard for a minimal
MP/Threading interface. It is similar to the CLIM-SYS threading and lock
support.")
(home-page "https://common-lisp.net/project/bordeaux-threads/")
(license license:x11)))
(define-public cl-bordeaux-threads
(sbcl-package->cl-source-package sbcl-bordeaux-threads))
(define-public ecl-bordeaux-threads
(sbcl-package->ecl-package sbcl-bordeaux-threads))
(define-public sbcl-trivial-gray-streams
(let ((revision "1")
(commit "ebd59b1afed03b9dc8544320f8f432fdf92ab010"))
(package
(name "sbcl-trivial-gray-streams")
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/trivial-gray-streams/trivial-gray-streams")
(commit commit)))
(sha256
(base32 "0b1pxlccmnagk9cbh4cy8s5k66g3x0gwib5shjwr24xvrji6lp94"))
(file-name
(string-append "trivial-gray-streams-" version "-checkout"))))
(build-system asdf-build-system/sbcl)
(synopsis "Compatibility layer for Gray streams implementations")
(description "Gray streams is an interface proposed for inclusion with
ANSI CL by David N. Gray. The proposal did not make it into ANSI CL, but most
popular CL implementations implement it. This package provides an extremely
thin compatibility layer for gray streams.")
(home-page "https://www.cliki.net/trivial-gray-streams")
(license license:x11))))
(define-public cl-trivial-gray-streams
(sbcl-package->cl-source-package sbcl-trivial-gray-streams))
(define-public ecl-trivial-gray-streams
(sbcl-package->ecl-package sbcl-trivial-gray-streams))
(define-public sbcl-fiasco
(let ((commit "d62f7558b21addc89f87e306f65d7f760632655f")
(revision "1"))
(package
(name "sbcl-fiasco")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joaotavora/fiasco")
(commit commit)))
(file-name (git-file-name "fiasco" version))
(sha256
(base32
"1zwxs3d6iswayavcmb49z2892xhym7n556d8dnmvalc32pm9bkjh"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
(synopsis "Simple and powerful test framework for Common Lisp")
(description "A Common Lisp test framework that treasures your failures,
logical continuation of Stefil. It focuses on interactive debugging.")
(home-page "https://github.com/joaotavora/fiasco")
;; LICENCE specifies this is public-domain unless the legislation
;; doesn't allow or recognize it. In that case it falls back to a
;; permissive licence.
(license (list license:public-domain
(license:x11-style "file://LICENCE"))))))
(define-public cl-fiasco
(sbcl-package->cl-source-package sbcl-fiasco))
(define-public ecl-fiasco
(sbcl-package->ecl-package sbcl-fiasco))
(define-public sbcl-flexi-streams
(package
(name "sbcl-flexi-streams")
(version "1.0.18")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/edicl/flexi-streams")
(commit (string-append "v" version))))
(file-name (git-file-name "flexi-streams" version))
(sha256
(base32 "0bjv7fd2acknidc5dyi3h85pn10krxv5jyxs1xg8jya2rlfv7f1j"))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files "."))
#t)))))
(inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
(synopsis "Implementation of virtual bivalent streams for Common Lisp")
(description "Flexi-streams is an implementation of \"virtual\" bivalent
streams that can be layered atop real binary or bivalent streams and that can
be used to read and write character data in various single- or multi-octet
encodings which can be changed on the fly. It also supplies in-memory binary
streams which are similar to string streams.")
(home-page "http://weitz.de/flexi-streams/")
(license license:bsd-3)))
(define-public cl-flexi-streams
(sbcl-package->cl-source-package sbcl-flexi-streams))
(define-public ecl-flexi-streams
(sbcl-package->ecl-package sbcl-flexi-streams))
(define-public sbcl-cl-abnf
;; There are no releases
(let ((commit "ba1fbb104dedbdaddb1ef93d2e4da711bd96cd70")
(revision "1"))
(package
(name "sbcl-cl-abnf")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dimitri/cl-abnf")
(commit commit)))
(file-name (git-file-name "cl-abnf" version))
(sha256
(base32 "0f09nsndxa90acm71zd4qdnp40v705a4sqm04mnv9x76h6dlggmz"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cl-ppcre" ,sbcl-cl-ppcre)
("esrap" ,sbcl-esrap)))
(arguments
`(#:asd-systems '("abnf")))
(home-page "https://github.com/dimitri/cl-abnf")
(synopsis "ABNF parser generator for Common Lisp")
(description "This Common Lisp library implements a parser generator for
the ABNF grammar format as described in RFC2234. The generated parser is a
regular expression scanner provided by the cl-ppcre lib, which means that we
can't parse recursive grammar definition. One such definition is the ABNF
definition as given by the RFC. Fortunately, as you have this lib, you most
probably don't need to generate another parser to handle that particular ABNF
grammar.")
(license license:expat))))
(define-public cl-abnf
(sbcl-package->cl-source-package sbcl-cl-abnf))
(define-public ecl-cl-abnf
(sbcl-package->ecl-package sbcl-cl-abnf))
(define-public sbcl-cl-ppcre
(package
(name "sbcl-cl-ppcre")
(version "2.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/edicl/cl-ppcre")
(commit (string-append "v" version))))
(file-name (git-file-name "cl-ppcre" version))
(sha256
(base32 "0dwvr29diqzcg5n6jvbk2rnd90i05l7n828hhw99khmqd0kz7xsi"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("flexi-streams" ,sbcl-flexi-streams)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-ppcre-unicode
;; cl-ppcre and cl-ppcre-unicode are put in different packages
;; to work around the circular dependency between edicl/cl-ppcre
;; and edicl/cl-unicode.
(lambda _
(delete-file "cl-ppcre-unicode.asd")
#t)))))
(synopsis "Portable regular expression library for Common Lisp")
(description "CL-PPCRE is a portable regular expression library for Common
Lisp, which is compatible with perl. It is pretty fast, thread-safe, and
compatible with ANSI-compliant Common Lisp implementations.")
(home-page "http://weitz.de/cl-ppcre/")
(license license:bsd-2)))
(define-public cl-ppcre
(sbcl-package->cl-source-package sbcl-cl-ppcre))
(define-public ecl-cl-ppcre
(sbcl-package->ecl-package sbcl-cl-ppcre))
(define-public sbcl-parse
(let ((commit "2351ee78acac065fcf10b8713d3f404e2e910786")
(revision "1"))
(package
(name "sbcl-parse")
(version (git-version "1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/massung/parse")
(commit commit)))
(file-name (git-file-name "parse" version))
(sha256
(base32 "0l18yabyh7jizm5lgvra0jxi8s1cfwghidi6ix1pyixjkdbjlmvy"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/massung/parse")
(synopsis "Monadic parsing for Common Lisp")
(description
"PARSE is a simple token parsing library for Common Lisp.")
(license license:asl2.0))))
(define-public ecl-parse
(sbcl-package->ecl-package sbcl-parse))
(define-public cl-parse
(sbcl-package->cl-source-package sbcl-parse))
(define-public sbcl-re
(let ((commit "cfbc1f482970221e80d445080a188fd5c755cd2c")
(revision "1"))
(package
(name "sbcl-re")
(version (git-version "1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/massung/re")
(commit commit)))
(file-name (git-file-name "re" version))
(sha256
(base32 "1y2gq2sckspnq8118bix55p2j43dk9qn3p8a2rplp1ip2qxqbb1i"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("parse" ,sbcl-parse)))
(home-page "https://github.com/massung/re")
(synopsis "Lua-style Pattern Matching for Common Lisp")
(description
"RE is a small, portable, lightweight, and quick, regular
expression library for Common Lisp. It is a non-recursive, backtracing VM.")
(license license:asl2.0))))
(define-public ecl-re
(sbcl-package->ecl-package sbcl-re))
(define-public cl-re
(sbcl-package->cl-source-package sbcl-re))
(define-public sbcl-ubiquitous
(let ((commit "35eb7bd9e1b3daee1705f6b41260775180cce8af")
(revision "1"))
(package
(name "sbcl-ubiquitous")
(version (git-version "2.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Shinmera/ubiquitous")
(commit commit)))
(file-name (git-file-name "ubiquitous" version))
(sha256
(base32 "1xlkaqmjcpkiv2xl2s2pvvrv976dlc846wm16s1lj62iy1315i49"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)))
(arguments
'(#:asd-systems '("ubiquitous"
"ubiquitous-concurrent")))
(home-page "https://shinmera.github.io/ubiquitous/")
(synopsis "Application configuration mechanism for Common Lisp")
(description
"@code{UBIQUITOUS} is a very easy-to-use library for persistent
configuration storage. It automatically takes care of finding a suitable place
to save your data, and provides simple functions to access and modify the data
within.")
(license license:zlib))))
(define-public ecl-ubiquitous
(sbcl-package->ecl-package sbcl-ubiquitous))
(define-public cl-ubiquitous
(sbcl-package->cl-source-package sbcl-ubiquitous))
(define-public sbcl-uax-15
(package
(name "sbcl-uax-15")
(version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sabracrolleton/uax-15")
(commit (string-append "v" version))))
(file-name (git-file-name "uax-15" version))
(sha256
(base32 "0p2ckw7mzxhwa9vbwj2q2dzayz9dl94d9yqd2ynp0pc5v8i0n2fr"))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:asd-systems
'("uax-15")))
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(inputs
`(("cl-ppcre" ,sbcl-cl-ppcre)
("split-sequence" ,sbcl-split-sequence)))
(home-page "https://github.com/sabracrolleton/uax-15")
(synopsis "Common Lisp implementation of unicode normalization functions")
(description
"This package provides supports for unicode normalization, RFC8264 and
RFC7564.")
(license license:expat)))
(define-public cl-uax-15
(sbcl-package->cl-source-package sbcl-uax-15))
(define-public ecl-uax-15
(sbcl-package->ecl-package sbcl-uax-15))
(define-public sbcl-cl-unicode
(package
(name "sbcl-cl-unicode")
(version "0.1.6")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/edicl/cl-unicode")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ykx2s9lqfl74p1px0ik3l2izd1fc9jd1b4ra68s5x34rvjy0hza"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("flexi-streams" ,sbcl-flexi-streams)))
(inputs
`(("cl-ppcre" ,sbcl-cl-ppcre)))
(home-page "http://weitz.de/cl-unicode/")
(synopsis "Portable Unicode library for Common Lisp")
(description "CL-UNICODE is a portable Unicode library Common Lisp, which
is compatible with perl. It is pretty fast, thread-safe, and compatible with
ANSI-compliant Common Lisp implementations.")
(license license:bsd-2)))
(define-public ecl-cl-unicode
(sbcl-package->ecl-package sbcl-cl-unicode))
(define-public cl-unicode
(sbcl-package->cl-source-package sbcl-cl-unicode))
(define-public sbcl-cl-ppcre-unicode
(package (inherit sbcl-cl-ppcre)
(name "sbcl-cl-ppcre-unicode")
(inputs
`(("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
("sbcl-cl-unicode" ,sbcl-cl-unicode)))
(arguments
`(#:tests? #f ; tests fail with "Component :CL-PPCRE-TEST not found"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-ppcre
;; cl-ppcre and cl-ppcre-unicode are put in different packages
;; to work around the circular dependency between edicl/cl-ppcre
;; and edicl/cl-unicode.
(lambda _
(delete-file "cl-ppcre.asd")
#t)))))))
(define-public cl-ppcre-unicode
(sbcl-package->cl-source-package sbcl-cl-ppcre-unicode))
(define-public ecl-cl-ppcre-unicode
(sbcl-package->ecl-package sbcl-cl-ppcre-unicode))
(define-public sbcl-zpb-ttf
(package
(name "sbcl-zpb-ttf")
(version "1.0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/xach/zpb-ttf")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1wh66vjijzqlydnrihynpwp6796917xwrh0i9li93c17kyxa74ih"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/xach/zpb-ttf")
(synopsis "TrueType font file access for Common Lisp")
(description
"ZPB-TTF is a TrueType font file parser that provides an interface for
reading typographic metrics, glyph outlines, and other information from the
file.")
(license license:bsd-2)))
(define-public ecl-zpb-ttf
(sbcl-package->ecl-package sbcl-zpb-ttf))
(define-public cl-zpb-ttf
(sbcl-package->cl-source-package sbcl-zpb-ttf))
(define-public sbcl-cl-vectors
(package
(name "sbcl-cl-vectors")
(version "0.1.5")
(source
(origin
(method url-fetch)
(uri (string-append "http://projects.tuxee.net/cl-vectors/"
"files/cl-vectors-" version ".tar.gz"))
(sha256
(base32
"04lhwi0kq8pkwhgd885pk80m1cp9sfvjjn5zj70s1dnckibhdmqh"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("zpb-ttf" ,sbcl-zpb-ttf)))
(arguments
'(#:asd-systems '("cl-vectors"
"cl-paths-ttf")))
(home-page "http://projects.tuxee.net/cl-vectors/")
(synopsis "Create, transform and render anti-aliased vectorial paths")
(description
"This is a pure Common Lisp library to create, transform and render
anti-aliased vectorial paths.")
(license license:expat)))
(define-public ecl-cl-vectors
(sbcl-package->ecl-package sbcl-cl-vectors))
(define-public cl-vectors
(sbcl-package->cl-source-package sbcl-cl-vectors))
(define-public sbcl-spatial-trees
;; There have been no releases.
(let ((commit "81fdad0a0bf109c80a53cc96eca2e093823400ba")
(revision "1"))
(package
(name "sbcl-spatial-trees")
(version (git-version "0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rpav/spatial-trees")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"11rhc6h501dwcik2igkszz7b9n515cr99m5pjh4r2qfwgiri6ysa"))))
(build-system asdf-build-system/sbcl)
(arguments
'(#:tests? #f ; spatial-trees.test requires spatial-trees.nns
#:test-asd-file "spatial-trees.test.asd"))
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(home-page "https://github.com/rpav/spatial-trees")
(synopsis "Dynamic index data structures for spatially-extended data")
(description
"Spatial-trees is a set of dynamic index data structures for
spatially-extended data.")
(license license:bsd-3))))
(define-public ecl-spatial-trees
(sbcl-package->ecl-package sbcl-spatial-trees))
(define-public cl-spatial-trees
(sbcl-package->cl-source-package sbcl-spatial-trees))
(define-public sbcl-flexichain
;; There are no releases.
(let ((commit "13d2a6c505ed0abfcd4c4ec7d7145059b06855d6")
(revision "1"))
(package
(name "sbcl-flexichain")
(version "1.5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/robert-strandh/Flexichain")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0pfyvhsfbjd2sjb30grfs52r51a428xglv7bwydvpg2lc117qimg"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/robert-strandh/Flexichain.git")
(synopsis "Dynamically add elements to or remove them from sequences")
(description
"This package provides an implementation of the flexichain protocol,
allowing client code to dynamically add elements to, and delete elements from
a sequence (or chain) of such elements.")
(license license:lgpl2.1+))))
(define-public ecl-flexichain
(sbcl-package->ecl-package sbcl-flexichain))
(define-public cl-flexichain
(sbcl-package->cl-source-package sbcl-flexichain))
(define-public sbcl-cl-pdf
;; There are no releases
(let ((commit "752e337e6d6fc206f09d091a982e7f8e5c404e4e")
(revision "1"))
(package
(name "sbcl-cl-pdf")
(version (git-version "0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mbattyani/cl-pdf")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1cg3k3m3r11ipb8j008y8ipynj97l3xjlpi2knqc9ndmx4r3kb1r"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("iterate" ,sbcl-iterate)
("zpb-ttf" ,sbcl-zpb-ttf)))
(home-page "https://github.com/mbattyani/cl-pdf")
(synopsis "Common Lisp library for generating PDF files")
(description
"CL-PDF is a cross-platform Common Lisp library for generating PDF
files.")
(license license:bsd-2))))
(define-public ecl-cl-pdf
(sbcl-package->ecl-package sbcl-cl-pdf))
(define-public cl-pdf
(sbcl-package->cl-source-package sbcl-cl-pdf))
(define-public sbcl-clx
(package
(name "sbcl-clx")
(version "0.7.5")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/sharplispers/clx")
(commit version)))
(sha256
(base32
"1vi67z9hpj5rr4xcmfbfwzmlcc0ah7hzhrmfid6lqdkva238v2wf"))
(file-name (string-append "clx-" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiasco" ,sbcl-fiasco)))
(home-page "https://www.cliki.net/portable-clx")
(synopsis "X11 client library for Common Lisp")
(description "CLX is an X11 client library for Common Lisp. The code was
originally taken from a CMUCL distribution, was modified somewhat in order to
make it compile and run under SBCL, then a selection of patches were added
from other CLXes around the net.")
(license license:x11)))
(define-public cl-clx
(sbcl-package->cl-source-package sbcl-clx))
(define-public ecl-clx
(sbcl-package->ecl-package sbcl-clx))
(define-public sbcl-clx-truetype
(let ((commit "c6e10a918d46632324d5863a8ed067a83fc26de8")
(revision "1"))
(package
(name "sbcl-clx-truetype")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/l04m33/clx-truetype")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"079hyp92cjkdfn6bhkxsrwnibiqbz4y4af6nl31lzw6nm91j5j37"))
(modules '((guix build utils)))
(snippet
'(begin
(substitute* "package.lisp"
((":export") ":export\n :+font-cache-filename+"))
#t))))
(build-system asdf-build-system/sbcl)
(inputs
`(("clx" ,sbcl-clx)
("zpb-ttf" ,sbcl-zpb-ttf)
("cl-vectors" ,sbcl-cl-vectors)
("cl-fad" ,sbcl-cl-fad)
("cl-store" ,sbcl-cl-store)
("trivial-features" ,sbcl-trivial-features)))
(home-page "https://github.com/l04m33/clx-truetype")
(synopsis "Antialiased TrueType font rendering using CLX and XRender")
(description "CLX-TrueType is pure common lisp solution for
antialiased TrueType font rendering using CLX and XRender extension.")
(license license:expat))))
(define-public cl-clx-truetype
(sbcl-package->cl-source-package sbcl-clx-truetype))
(define-public ecl-clx-truetype
(sbcl-package->ecl-package sbcl-clx-truetype))
(define-public sbcl-slynk
(let ((commit "fb84318c08f59bc786e047006fc81e2ace568309"))
(package
(name "sbcl-slynk")
(version (git-version "1.0.43" "4" commit))
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/joaotavora/sly")
(commit commit)))
(sha256
(base32 "0z123k9ak7yjb9bxb5qx48f33ma8066rhkqh8xc14z7shk75jybj"))
(file-name (git-file-name "slynk" version))))
(build-system asdf-build-system/sbcl)
(outputs '("out" "image"))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'create-asdf-configuration 'build-image
(lambda* (#:key outputs #:allow-other-keys)
(build-image (string-append
(assoc-ref %outputs "image")
"/bin/slynk")
%outputs
#:dependencies '("slynk"
"slynk/arglists"
"slynk/fancy-inspector"
"slynk/package-fu"
"slynk/mrepl"
"slynk/trace-dialog"
"slynk/profiler"
"slynk/stickers"
"slynk/indentation"
"slynk/retro"))
#t)))))
(synopsis "Common Lisp IDE for Emacs")
(description "SLY is a fork of SLIME, an IDE backend for Common Lisp.
It also features a completely redesigned REPL based on Emacs's own
full-featured @code{comint-mode}, live code annotations, and a consistent interactive
button interface. Everything can be copied to the REPL. One can create
multiple inspectors with independent history.")
(home-page "https://github.com/joaotavora/sly")
(license license:public-domain)
(properties `((cl-source-variant . ,(delay cl-slynk)))))))
(define-public cl-slynk
(sbcl-package->cl-source-package sbcl-slynk))
(define-public ecl-slynk
(let ((pkg (sbcl-package->ecl-package sbcl-slynk)))
(package
(inherit pkg)
(outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments pkg)
((#:phases phases)
`(modify-phases ,phases
(delete 'build-image))))))))
(define-public sbcl-parse-js
(let ((commit "fbadc6029bec7039602abfc06c73bb52970998f6")
(revision "1"))
(package
(name "sbcl-parse-js")
(version (string-append "0.0.0-" revision "." (string-take commit 9)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://marijn.haverbeke.nl/git/parse-js")
(commit commit)))
(file-name (string-append name "-" commit "-checkout"))
(sha256
(base32
"1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))
(build-system asdf-build-system/sbcl)
(home-page "https://marijnhaverbeke.nl/parse-js/")
(synopsis "Parse JavaScript")
(description "Parse-js is a Common Lisp package for parsing
JavaScript (ECMAScript 3). It has basic support for ECMAScript 5.")
(license license:zlib))))
(define-public cl-parse-js
(sbcl-package->cl-source-package sbcl-parse-js))
(define-public ecl-parse-js
(sbcl-package->ecl-package sbcl-parse-js))
(define-public sbcl-parse-number
(package
(name "sbcl-parse-number")
(version "1.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharplispers/parse-number/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0sk06ib1bhqv9y39vwnnw44vmbc4b0kvqm37xxmkxd4dwchq82d7"))))
(build-system asdf-build-system/sbcl)
(home-page "https://www.cliki.net/PARSE-NUMBER")
(synopsis "Parse numbers")
(description "@code{parse-number} is a library of functions for parsing
strings into one of the standard Common Lisp number types without using the
reader. @code{parse-number} accepts an arbitrary string and attempts to parse
the string into one of the standard Common Lisp number types, if possible, or
else @code{parse-number} signals an error of type @code{invalid-number}.")
(license license:bsd-3)))
(define-public cl-parse-number
(sbcl-package->cl-source-package sbcl-parse-number))
(define-public ecl-parse-number
(sbcl-package->ecl-package sbcl-parse-number))
(define-public sbcl-iterate
(package
(name "sbcl-iterate")
(version "1.5")
(source
(origin
(method url-fetch)
(uri (string-append "https://common-lisp.net/project/iterate/releases/"
"iterate-" version ".tar.gz"))
(sha256
(base32
"1lqsbhrkfl0yif46aymvb7l3nb9wdcmj4jyw485blj32jb4famzn"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("rt" ,sbcl-rt)))
(home-page "https://common-lisp.net/project/iterate/")
(synopsis "Iteration construct for Common Lisp")
(description "@code{iterate} is an iteration construct for Common Lisp.
It is similar to the @code{CL:LOOP} macro, with these distinguishing marks:
@itemize
@item it is extensible,
@item it helps editors like Emacs indent iterate forms by having a more
lisp-like syntax, and
@item it isn't part of the ANSI standard for Common Lisp.
@end itemize\n")
(license license:expat)))
(define-public cl-iterate
(sbcl-package->cl-source-package sbcl-iterate))
(define-public ecl-iterate
(sbcl-package->ecl-package sbcl-iterate))
(define-public sbcl-cl-uglify-js
;; There have been many bug fixes since the 2010 release.
(let ((commit "429c5e1d844e2f96b44db8fccc92d6e8e28afdd5")
(revision "1"))
(package
(name "sbcl-cl-uglify-js")
(version (string-append "0.1-" revision "." (string-take commit 9)))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mishoo/cl-uglify-js")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("sbcl-parse-js" ,sbcl-parse-js)
("sbcl-cl-ppcre" ,sbcl-cl-ppcre)
("sbcl-cl-ppcre-unicode" ,sbcl-cl-ppcre-unicode)
("sbcl-parse-number" ,sbcl-parse-number)
("sbcl-iterate" ,sbcl-iterate)))
(home-page "https://github.com/mishoo/cl-uglify-js")
(synopsis "JavaScript compressor library for Common Lisp")
(description "This is a Common Lisp version of UglifyJS, a JavaScript
compressor. It works on data produced by @code{parse-js} to generate a
@dfn{minified} version of the code. Currently it can:
@itemize
@item reduce variable names (usually to single letters)
@item join consecutive @code{var} statements
@item resolve simple binary expressions
@item group most consecutive statements using the @code{sequence} operator (comma)
@item remove unnecessary blocks
@item convert @code{IF} expressions in various ways that result in smaller code
@item remove some unreachable code
@end itemize\n")
(license license:zlib))))
(define-public cl-uglify-js
(sbcl-package->cl-source-package sbcl-cl-uglify-js))
(define-public ecl-cl-uglify-js
(sbcl-package->ecl-package sbcl-cl-uglify-js))
(define-public uglify-js
(package
(inherit sbcl-cl-uglify-js)
(name "uglify-js")
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(let* ((bin (string-append (assoc-ref %outputs "out") "/bin/"))
(script (string-append bin "uglify-js")))
(use-modules (guix build utils))
(mkdir-p bin)
(with-output-to-file script
(lambda _
(format #t "#!~a/bin/sbcl --script
(require :asdf)
(asdf:initialize-source-registry
#p\"~a/etc/common-lisp/source-registry.conf.d/\")
(asdf:initialize-output-translations
#p\"~a/etc/common-lisp/asdf-output-translations.conf.d/\")"
(assoc-ref %build-inputs "sbcl")
(assoc-ref %build-inputs "sbcl-cl-uglify-js")
(assoc-ref %build-inputs "sbcl-cl-uglify-js"))
;; FIXME: cannot use progn here because otherwise it fails to
;; find cl-uglify-js.
(for-each
write
'(;; Quiet, please!
(let ((*standard-output* (make-broadcast-stream))
(*error-output* (make-broadcast-stream)))
(asdf:load-system :cl-uglify-js))
(let ((file (cadr *posix-argv*)))
(if file
(format t "~a"
(cl-uglify-js:ast-gen-code
(cl-uglify-js:ast-mangle
(cl-uglify-js:ast-squeeze
(with-open-file (in file)
(parse-js:parse-js in))))
:beautify nil))
(progn
(format *error-output*
"Please provide a JavaScript file.~%")
(sb-ext:exit :code 1))))))))
(chmod script #o755)
#t)))
(inputs
`(("sbcl" ,sbcl)
("sbcl-cl-uglify-js" ,sbcl-cl-uglify-js)))
(synopsis "JavaScript compressor")))
(define-public sbcl-cl-strings
(let ((revision "1")
(commit "c5c5cbafbf3e6181d03c354d66e41a4f063f00ae"))
(package
(name "sbcl-cl-strings")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/diogoalexandrefranco/cl-strings")
(commit commit)))
(sha256
(base32
"00754mfaqallj480lwd346nkfb6ra8pa8xcxcylf4baqn604zlmv"))
(file-name (string-append "cl-strings-" version "-checkout"))))
(build-system asdf-build-system/sbcl)
(synopsis "Portable, dependency-free set of utilities to manipulate strings in Common Lisp")
(description
"@command{cl-strings} is a small, portable, dependency-free set of
utilities that make it even easier to manipulate text in Common Lisp. It has
100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
(home-page "https://github.com/diogoalexandrefranco/cl-strings")
(license license:expat))))
(define-public cl-strings
(sbcl-package->cl-source-package sbcl-cl-strings))
(define-public ecl-cl-strings
(sbcl-package->ecl-package sbcl-cl-strings))
(define-public sbcl-trivial-features
;; No release since 2014.
(let ((commit "870d03de0ed44067963350936856e17ee725153e"))
(package
(name "sbcl-trivial-features")
(version (git-version "0.8" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/trivial-features/trivial-features")
(commit commit)))
(file-name (git-file-name "trivial-features" version))
(sha256
(base32 "14pcahr8r2j3idhyy216zyw8jnj1dnrx0qbkkbdqkvwzign1ah4j"))))
(build-system asdf-build-system/sbcl)
(arguments
'(#:asd-files '("trivial-features.asd")
#:tests? #f))
(home-page "https://cliki.net/trivial-features")
(synopsis "Ensures consistency of @code{*FEATURES*} in Common Lisp")
(description "Trivial-features ensures that @code{*FEATURES*} is
consistent across multiple Common Lisp implementations.")
(license license:expat))))
(define-public cl-trivial-features
(sbcl-package->cl-source-package sbcl-trivial-features))
(define-public ecl-trivial-features
(sbcl-package->ecl-package sbcl-trivial-features))
(define-public sbcl-hu.dwim.asdf
(let ((commit "67cdf84390e530af4303cc4bc815fdf2a5e48f59"))
(package
(name "sbcl-hu.dwim.asdf")
(version "20200724")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hu-dwim/hu.dwim.asdf")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0p81jalilkaqw832a12s35q0z6rrarxjasm1jy6h4fvyj9pf0zkx"))))
(build-system asdf-build-system/sbcl)
(home-page "https://hub.darcs.net/hu.dwim/hu.dwim.asdf")
(synopsis "Extensions to ASDF")
(description "Various ASDF extensions such as attached test and
documentation system, explicit development support, etc.")
(license license:public-domain))))
(define-public cl-hu.dwim.asdf
(sbcl-package->cl-source-package sbcl-hu.dwim.asdf))
(define-public ecl-hu.dwim.asdf
(sbcl-package->ecl-package sbcl-hu.dwim.asdf))
(define-public sbcl-hu.dwim.stefil
(let ((commit "414902c6f575818c39a8a156b8b61b1adfa73dad"))
(package
(name "sbcl-hu.dwim.stefil")
(version (git-version "0.0.0" "2" commit))
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/hu-dwim/hu.dwim.stefil")
(commit commit)))
(sha256
(base32 "14izmjjim590rh74swrssavdmdznj2z8vhqixy780sjhpcr5pmkc"))
(file-name (git-file-name "hu.dwim.stefil" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("asdf:cl-hu.dwim.asdf" ,sbcl-hu.dwim.asdf)))
(inputs
`(("sbcl-alexandria" ,sbcl-alexandria)))
(home-page "http://dwim.hu/project/hu.dwim.stefil")
(synopsis "Simple test framework")
(description "Stefil is a simple test framework for Common Lisp,
with a focus on interactive development.")
(license license:public-domain))))
(define-public cl-hu.dwim.stefil
(sbcl-package->cl-source-package sbcl-hu.dwim.stefil))
(define-public ecl-hu.dwim.stefil
(sbcl-package->ecl-package sbcl-hu.dwim.stefil))
(define-public sbcl-babel
;; No release since 2014.
(let ((commit "aeed2d1b76358db48e6b70a64399c05678a6b9ea"))
(package
(name "sbcl-babel")
(version (git-version "0.5.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cl-babel/babel")
(commit commit)))
(file-name (git-file-name "babel" version))
(sha256
(base32 "0lkvv4xdpv4cv1y2bqillmabx8sdb2y4l6pbinq6mjh33w2brpvb"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("tests:cl-hu.dwim.stefil" ,sbcl-hu.dwim.stefil)))
(inputs
`(("sbcl-alexandria" ,sbcl-alexandria)
("sbcl-trivial-features" ,sbcl-trivial-features)))
(home-page "https://common-lisp.net/project/babel/")
(synopsis "Charset encoding and decoding library")
(description "Babel is a charset encoding and decoding library, not unlike
GNU libiconv, but completely written in Common Lisp.")
(license license:expat))))
(define-public cl-babel
(sbcl-package->cl-source-package sbcl-babel))
(define-public ecl-babel
(sbcl-package->ecl-package sbcl-babel))
(define-public sbcl-cl-yacc
(package
(name "sbcl-cl-yacc")
(version "0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jech/cl-yacc")
(commit (string-append "cl-yacc-" version))))
(sha256
(base32
"16946pzf8vvadnyfayvj8rbh4zjzw90h0azz2qk1mxrvhh5wklib"))
(file-name (string-append "cl-yacc-" version "-checkout"))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:asd-systems '("yacc")))
(synopsis "LALR(1) parser generator for Common Lisp, similar in spirit to Yacc")
(description
"CL-Yacc is a LALR(1) parser generator for Common Lisp, similar in spirit
to AT&T Yacc, Berkeley Yacc, GNU Bison, Zebu, lalr.cl or lalr.scm.
CL-Yacc uses the algorithm due to Aho and Ullman, which is the one also used
by AT&T Yacc, Berkeley Yacc and Zebu. It does not use the faster algorithm due
to DeRemer and Pennello, which is used by Bison and lalr.scm (not lalr.cl).")
(home-page "https://www.irif.fr/~jch//software/cl-yacc/")
(license license:expat)))
(define-public cl-yacc
(sbcl-package->cl-source-package sbcl-cl-yacc))
(define-public ecl-cl-yacc
(sbcl-package->ecl-package sbcl-cl-yacc))
(define-public sbcl-eager-future2
(let ((commit "54df8effd9d9eccac917509590286b5ac5f9cb30"))
(package
(name "sbcl-eager-future2")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.common-lisp.net/vsedach/eager-future2.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1qs1bv3m0ki8l5czhsflxcryh22r9d9g9a3a3b0cr0pl954q5rld"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)
("trivial-garbage" ,sbcl-trivial-garbage)))
(synopsis "Futures promises synchronization mechanism for Common Lisp")
(description
"Eager Future2 is a Common Lisp library that provides composable
concurrency primitives that unify parallel and lazy evaluation, are integrated
with the Common Lisp condition system, and have automatic resource
management.")
(home-page "https://gitlab.common-lisp.net/vsedach/eager-future2")
(license license:lgpl3+))))
(define-public cl-eager-future2
(sbcl-package->cl-source-package sbcl-eager-future2))
(define-public ecl-eager-future2
(sbcl-package->ecl-package sbcl-eager-future2))
(define-public sbcl-jpl-util
(let ((commit "0311ed374e19a49d43318064d729fe3abd9a3b62"))
(package
(name "sbcl-jpl-util")
(version "20151005")
(source
(origin
(method git-fetch)
(uri (git-reference
;; Quicklisp uses this fork.
(url "https://github.com/hawkir/cl-jpl-util")
(commit commit)))
(file-name
(git-file-name "jpl-util" version))
(sha256
(base32
"0nc0rk9n8grkg3045xsw34whmcmddn2sfrxki4268g7kpgz0d2yz"))))
(build-system asdf-build-system/sbcl)
(synopsis "Collection of Common Lisp utility functions and macros")
(description
"@command{cl-jpl-util} is a collection of Common Lisp utility functions
and macros, primarily for software projects written in CL by the author.")
(home-page "https://www.thoughtcrime.us/software/cl-jpl-util/")
(license license:isc))))
(define-public cl-jpl-util
(sbcl-package->cl-source-package sbcl-jpl-util))
(define-public ecl-jpl-util
(sbcl-package->ecl-package sbcl-jpl-util))
(define-public sbcl-piping
(let ((commit "c7a4163c00dea7e72bf6ad33d6abac0d5826a656")
(revision "1"))
(package
(name "sbcl-piping")
(version (git-version "2.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Shinmera/piping/")
(commit commit)))
(file-name (git-file-name "piping" version))
(sha256
(base32 "0in84qnfkynm36d4n4d6v87vprpi27xrydnga462wfhplji6klv5"))))
(build-system asdf-build-system/sbcl)
(home-page "https://shinmera.github.io/piping/")
(synopsis "Library to enable simple message pipelines")
(description
"This is a Common Lisp library to enable simple message pipelines.")
(license license:zlib))))
(define-public ecl-piping
(sbcl-package->ecl-package sbcl-piping))
(define-public cl-piping
(sbcl-package->cl-source-package sbcl-piping))
(define-public sbcl-cl-pcg
(let ((commit "8263d85ab0ca17fb05637a4430c2d564456bce8f")
(revision "1"))
(package
(name "sbcl-cl-pcg")
(version (git-version "1.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sjl/cl-pcg")
(commit commit)))
(file-name (git-file-name "cl-pcg" version))
(sha256
(base32 "0s57wvvlvshp1gcp9i9d3qcmqhswnxps3i0y7wbb0v8i1a3p46m4"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("1am" ,sbcl-1am)))
(home-page "https://github.com/sjl/cl-pcg")
(synopsis "Permuted congruential generators in Common Lisp")
(description
"This is a bare-bones Permuted Congruential Generator implementation in
pure Common Lisp.")
(license license:expat))))
(define-public ecl-cl-pcg
(sbcl-package->ecl-package sbcl-cl-pcg))
(define-public cl-pcg
(sbcl-package->cl-source-package sbcl-cl-pcg))
(define-public sbcl-seedable-rng
(let ((commit "aa1a1564b6e07e2698df37c7a98348c4f762cb15")
(revision "1"))
(package
(name "sbcl-seedable-rng")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.mfiano.net/mfiano/seedable-rng")
(commit commit)))
(file-name (git-file-name "seedable-rng" version))
(sha256
(base32 "1ldpsbp3qrfzvknclsxj3sdyms1jf9ad20dvh4w0kw3zgahn2nr5"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cl-pcg" ,sbcl-cl-pcg)
("golden-utils" ,sbcl-golden-utils)
("ironclad" ,sbcl-ironclad)))
(home-page "https://git.mfiano.net/mfiano/seedable-rng")
(synopsis "Common Lisp random number generator")
(description
"SEEDABLE-RNG provides a convenient means of generating random numbers
that are seedable with deterministic results across hardware and Common Lisp
implementations.")
(license license:expat))))
(define-public ecl-seedable-rng
(sbcl-package->ecl-package sbcl-seedable-rng))
(define-public cl-seedable-rng
(sbcl-package->cl-source-package sbcl-seedable-rng))
(define-public sbcl-jpl-queues
(package
(name "sbcl-jpl-queues")
(version "0.1")
(source
(origin
(method url-fetch)
(uri (string-append
"http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
version
".tar.gz"))
(sha256
(base32
"1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("jpl-util" ,sbcl-jpl-util)
("bordeaux-threads" ,sbcl-bordeaux-threads)))
(arguments
;; Tests seem to be broken.
`(#:tests? #f))
(synopsis "Common Lisp library implementing a few different kinds of queues")
(description
"A Common Lisp library implementing a few different kinds of queues:
@itemize
@item Bounded and unbounded FIFO queues.
@item Lossy bounded FIFO queues that drop elements when full.
@item Unbounded random-order queues that use less memory than unbounded FIFO queues.
@end itemize
Additionally, a synchronization wrapper is provided to make any queue
conforming to the @command{jpl-queues} API thread-safe for lightweight
multithreading applications. (See Calispel for a more sophisticated CL
multithreaded message-passing library with timeouts and alternation among
several blockable channels.)")
(home-page "https://www.thoughtcrime.us/software/jpl-queues/")
(license license:isc)))
(define-public cl-jpl-queues
(sbcl-package->cl-source-package sbcl-jpl-queues))
(define-public ecl-jpl-queues
(sbcl-package->ecl-package sbcl-jpl-queues))
(define-public sbcl-calispel
(let ((commit "e9f2f9c1af97f4d7bb4c8ac25fb2a8f3e8fada7a"))
(package
(name "sbcl-calispel")
(version (git-version "0.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
;; This fork replaces the dependency on the obsolete
;; eager-future with eager-future2.
(url "https://github.com/hawkir/calispel")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"08bmf3pi7n5hadpmqqkg65cxcj6kbvm997wcs1f53ml1nb79d9z8"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("jpl-queues" ,sbcl-jpl-queues)
("bordeaux-threads" ,sbcl-bordeaux-threads)))
(native-inputs
`(("eager-future2" ,sbcl-eager-future2)))
(synopsis "Thread-safe message-passing channels in Common Lisp")
(description
"Calispel is a Common Lisp library for thread-safe message-passing
channels, in the style of the occam programming language, also known as
communicating sequential processes (CSP). See
@url{https://en.wikipedia.org/wiki/Communicating_sequential_processes}.
Calispel channels let one thread communicate with another, facilitating
unidirectional communication of any Lisp object. Channels may be unbuffered,
where a sender waits for a receiver (or vice versa) before either operation can
continue, or channels may be buffered with flexible policy options.
Because sending and receiving on a channel may block, either operation can time
out after a specified amount of time.
A syntax for alternation is provided (like @code{ALT} in occam, or Unix
@code{select()}): given a sequence of operations, any or all of which may
block, alternation selects the first operation that doesn't block and executes
associated code. Alternation can also time out, executing an \"otherwise\"
clause if no operation becomes available within a set amount of time.
Calispel is a message-passing library, and as such leaves the role of
threading abstractions and utilities left to be filled by complementary
libraries such as Bordeaux-Threads and Eager Future.")
(home-page "https://www.thoughtcrime.us/software/jpl-queues/")
(license license:isc))))
(define-public cl-calispel
(sbcl-package->cl-source-package sbcl-calispel))
(define-public ecl-calispel
(sbcl-package->ecl-package sbcl-calispel))
(define-public sbcl-eos
(let ((commit "b4413bccc4d142cbe1bf49516c3a0a22c9d99243")
(revision "2"))
(package
(name "sbcl-eos")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/adlai/Eos")
(commit commit)))
(sha256
(base32 "1afllvmlnx97yzz404gycl3pa3kwx427k3hrbf37rpmjlv47knhk"))
(file-name (git-file-name "eos" version))))
(build-system asdf-build-system/sbcl)
(synopsis "Unit Testing for Common Lisp")
(description
"Eos was a unit testing library for Common Lisp.
It began as a fork of FiveAM; however, FiveAM development has continued, while
that of Eos has not. Thus, Eos is now deprecated in favor of FiveAM.")
(home-page "https://github.com/adlai/Eos")
(license license:expat))))
(define-public cl-eos
(sbcl-package->cl-source-package sbcl-eos))
(define-public ecl-eos
(sbcl-package->ecl-package sbcl-eos))
(define-public sbcl-esrap
(let ((commit "da6b24fb18bdb8e7e177bcf2820cdaf0b560deb6")
(revision "1"))
(package
(name "sbcl-esrap")
(version (git-version "0.18" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/scymtym/esrap")
(commit commit)))
(sha256
(base32 "12vf3bxwzf8icnf6rw1xalvm7493cfbb46r2vlhc09s59djkf39q"))
(file-name (git-file-name "esrap" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(inputs
`(("alexandria" ,sbcl-alexandria)))
(synopsis "Common Lisp packrat parser")
(description
"This is a packrat parser for Common Lisp.
In addition to regular Packrat / Parsing Grammar / TDPL features ESRAP supports:
@itemize
@item dynamic redefinition of nonterminals
@item inline grammars
@item semantic predicates
@item introspective facilities (describing grammars, tracing, setting breaks)
@item left-recursive grammars
@item functions as terminals
@item accurate, customizable parse error reports
@end itemize\n")
(home-page "https://scymtym.github.io/esrap/")
(license license:expat))))
(define-public cl-esrap
(sbcl-package->cl-source-package sbcl-esrap))
(define-public ecl-esrap
(sbcl-package->ecl-package sbcl-esrap))
(define-public sbcl-split-sequence
(package
(name "sbcl-split-sequence")
(version "2.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharplispers/split-sequence")
(commit (string-append "v" version))))
(sha256
(base32
"0jcpnx21hkfwqj5fvp7kc6pn1qcz9hk7g2s5x8h0349x1j2irln0"))
(file-name (git-file-name "split-sequence" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(synopsis "Member of the Common Lisp Utilities family of programs")
(description
"Splits sequence into a list of subsequences delimited by objects
satisfying the test.")
(home-page "https://cliki.net/split-sequence")
(license license:expat)))
(define-public cl-split-sequence
(sbcl-package->cl-source-package sbcl-split-sequence))
(define-public ecl-split-sequence
(sbcl-package->ecl-package sbcl-split-sequence))
(define-public sbcl-html-encode
(package
(name "sbcl-html-encode")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (string-append
"http://beta.quicklisp.org/archive/html-encode/2010-10-06/html-encode-"
version ".tgz"))
(sha256
(base32
"06mf8wn95yf5swhmzk4vp0xr4ylfl33dgfknkabbkd8n6jns8gcf"))
(file-name (string-append "colorize" version "-checkout"))))
(build-system asdf-build-system/sbcl)
(synopsis "Common Lisp library for encoding text in various web-savvy encodings")
(description
"A library for encoding text in various web-savvy encodings.")
(home-page "http://quickdocs.org/html-encode/")
(license license:expat)))
(define-public cl-html-encode
(sbcl-package->cl-source-package sbcl-html-encode))
(define-public ecl-html-encode
(sbcl-package->ecl-package sbcl-html-encode))
(define-public sbcl-colorize
(let ((commit "ea676b584e0899cec82f21a9e6871172fe3c0eb5"))
(package
(name "sbcl-colorize")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kingcons/colorize")
(commit commit)))
(sha256
(base32
"1pdg4kiaczmr3ivffhirp7m3lbr1q27rn7dhaay0vwghmi31zcw9"))
(file-name (git-file-name "colorize" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("split-sequence" ,sbcl-split-sequence)
("html-encode" ,sbcl-html-encode)))
(synopsis "Common Lisp for syntax highlighting")
(description
"@command{colorize} is a Lisp library for syntax highlighting
supporting the following languages: Common Lisp, Emacs Lisp, Scheme, Clojure,
C, C++, Java, Python, Erlang, Haskell, Objective-C, Diff, Webkit.")
(home-page "https://github.com/kingcons/colorize")
;; TODO: Missing license?
(license license:expat))))
(define-public cl-colorize
(sbcl-package->cl-source-package sbcl-colorize))
(define-public ecl-colorize
(sbcl-package->ecl-package sbcl-colorize))
(define-public sbcl-3bmd
(let ((commit "6fc5759448f6f6df6f6df556e020a289a2643288")
(revision "2"))
(package
(name "sbcl-3bmd")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/3b/3bmd")
(commit commit)))
(sha256
(base32 "1avmbp8xdjlbqpqk7p3vmj7abiw5p3vb5mrxp4wlvgql4sf6z3p4"))
(file-name (git-file-name "3bmd" version))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:asd-systems
'("3bmd"
"3bmd-ext-definition-lists"
"3bmd-ext-math"
"3bmd-ext-tables"
"3bmd-ext-wiki-links"
"3bmd-youtube"
"3bmd-ext-code-blocks")))
(inputs
`(("alexandria" ,sbcl-alexandria)
("colorize" ,sbcl-colorize)
("esrap" ,sbcl-esrap)
("split-sequence" ,sbcl-split-sequence)))
(home-page "https://github.com/3b/3bmd")
(synopsis "Markdown processor in Command Lisp using esrap parser")
(description
"This is a Common Lisp Markdown to HTML converter, using @command{esrap}
for parsing, and grammar based on @command{peg-markdown}.")
(license license:expat))))
(define-public cl-3bmd
(sbcl-package->cl-source-package sbcl-3bmd))
(define-public ecl-3bmd
(sbcl-package->ecl-package sbcl-3bmd))
(define-public sbcl-cl-fad
(package
(name "sbcl-cl-fad")
(version "0.7.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/edicl/cl-fad/")
(commit (string-append "v" version))))
(sha256
(base32
"1gc8i82v6gks7g0lnm54r4prk2mklidv2flm5fvbr0a7rsys0vpa"))
(file-name (string-append "cl-fad" version "-checkout"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)))
(synopsis "Portable pathname library for Common Lisp")
(description
"CL-FAD (for \"Files and Directories\") is a thin layer atop Common
Lisp's standard pathname functions. It is intended to provide some
unification between current CL implementations on Windows, OS X, Linux, and
Unix. Most of the code was written by Peter Seibel for his book Practical
Common Lisp.")
(home-page "https://edicl.github.io/cl-fad/")
(license license:bsd-2)))
(define-public cl-fad
(sbcl-package->cl-source-package sbcl-cl-fad))
(define-public ecl-cl-fad
(sbcl-package->ecl-package sbcl-cl-fad))
(define-public sbcl-fn
(let ((commit "8d8587d03a7b5e26b306fc90018e385d9e5acc2c")
(revision "1"))
(package
(name "sbcl-fn")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbaggers/fn")
(commit commit)))
(file-name (git-file-name "fn" version))
(sha256
(base32 "0yyp9z6iwx476whz0n1rpjznjyqqhlylhzwpgg5xx92lxmskl752"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("named-readtables" ,sbcl-named-readtables)))
(home-page "https://github.com/cbaggers/fn")
(synopsis "Macros for lambda brevity")
(description
"This is a Common Lisp library providing lambda shorthand macros aiming
to be used in cases where the word @emph{lambda} and the arguments are longer
than the body of the lambda.")
(license license:public-domain))))
(define-public ecl-fn
(sbcl-package->ecl-package sbcl-fn))
(define-public cl-fn
(sbcl-package->cl-source-package sbcl-fn))
(define-public sbcl-rt
(let ((commit "a6a7503a0b47953bc7579c90f02a6dba1f6e4c5a")
(revision "1"))
(package
(name "sbcl-rt")
(version (git-version "1990.12.19" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://git.kpe.io/rt.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "13si2rrxaagbr0bkvg6sqicxxpyshabx6ad6byc9n2ik5ysna69b"))))
(build-system asdf-build-system/sbcl)
(synopsis "MIT Regression Tester")
(description
"RT provides a framework for writing regression test suites.")
(home-page "https://www.cliki.net/rt")
(license license:expat))))
(define-public cl-rt
(sbcl-package->cl-source-package sbcl-rt))
(define-public ecl-rt
(sbcl-package->ecl-package sbcl-rt))
(define-public sbcl-nibbles
;; No tagged release since 2018.
(let ((commit "8e6b9b42d9f69000f55e5c45ad974d9e376ffdbd")
(revision "1"))
(package
(name "sbcl-nibbles")
(version (git-version "0.14" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharplispers/nibbles/")
(commit commit)))
(sha256
(base32 "15qlsm82h36pjgvfnbzdg60l21qxbaii4d049jc5y0dn56y93amb"))
(file-name (git-file-name "nibbles" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
;; Tests only.
`(("rt" ,sbcl-rt)))
(synopsis
"Common Lisp library for accessing octet-addressed blocks of data")
(description
"When dealing with network protocols and file formats, it's common to
have to read or write 16-, 32-, or 64-bit datatypes in signed or unsigned
flavors. Common Lisp sort of supports this by specifying :element-type for
streams, but that facility is underspecified and there's nothing similar for
read/write from octet vectors. What most people wind up doing is rolling their
own small facility for their particular needs and calling it a day.
This library attempts to be comprehensive and centralize such
facilities. Functions to read 16-, 32-, and 64-bit quantities from octet
vectors in signed or unsigned flavors are provided; these functions are also
SETFable. Since it's sometimes desirable to read/write directly from streams,
functions for doing so are also provided. On some implementations,
reading/writing IEEE singles/doubles (i.e. single-float and double-float) will
also be supported.")
(home-page "https://github.com/sharplispers/nibbles")
(license license:bsd-3))))
(define-public cl-nibbles
(sbcl-package->cl-source-package sbcl-nibbles))
(define-public ecl-nibbles
(sbcl-package->ecl-package sbcl-nibbles))
(define-public sbcl-ironclad
(package
(name "sbcl-ironclad")
(version "0.55")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharplispers/ironclad/")
(commit (string-append "v" version))))
(sha256
(base32 "1w4slnc4143w1gcff1wxsivzb8kcji0bpd7y9rld3sabay0qprwl"))
(file-name (git-file-name name version))))
(build-system asdf-build-system/sbcl)
(native-inputs
;; Tests only.
`(("rt" ,sbcl-rt)))
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)
("flexi-streams" ,sbcl-flexi-streams)))
(synopsis "Cryptographic toolkit written in Common Lisp")
(description
"Ironclad is a cryptography library written entirely in Common Lisp.
It includes support for several popular ciphers, digests, MACs and public key
cryptography algorithms. For several implementations that support Gray
streams, support is included for convenient stream wrappers.")
(home-page "https://github.com/sharplispers/ironclad")
(license license:bsd-3)))
(define-public cl-ironclad
(sbcl-package->cl-source-package sbcl-ironclad))
(define-public ecl-ironclad
(sbcl-package->ecl-package sbcl-ironclad))
(define-public sbcl-named-readtables
(let ((commit "585a28eee8b1b1999279b48cb7e9731187e14b66")
(revision "3"))
(package
(name "sbcl-named-readtables")
(version (git-version "0.9" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/melisgl/named-readtables")
(commit commit)))
(sha256
(base32 "072p5djqq9pliw9r20rmpz5r5q5yn6rhbp98vkkp7gfcnp5ppj51"))
(file-name (git-file-name "named-readtables" version))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/melisgl/named-readtables/")
(synopsis "Library that creates a namespace for named readtables")
(description
"Named readtables is a library that creates a namespace for named
readtables, which is akin to package namespacing in Common Lisp.")
(license license:bsd-3))))
(define-public cl-named-readtables
(sbcl-package->cl-source-package sbcl-named-readtables))
(define-public ecl-named-readtables
(sbcl-package->ecl-package sbcl-named-readtables))
(define-public sbcl-py-configparser
;; NOTE: (Sharlatan <2021-01-05 Tue> <19:52:19 UTC+0000>) Project updated last
;; time 8y ago, it looks like abandoned. VCS of the project:
;; https://svn.common-lisp.net/py-configparser/trunk
(package
(name "sbcl-py-configparser")
(version "1.0.3")
(source
(origin
(method url-fetch)
(uri (string-append
"https://common-lisp.net/project/py-configparser/releases/"
"py-configparser-" version ".tar.gz"))
(sha256
(base32 "0i4rqz5cv7d7c2w81x5lwy05s6fbi3zikf4k5kpi3bkx3cabwdxj"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("parse-number" ,sbcl-parse-number)))
(home-page "http://common-lisp.net/project/py-configparser/")
(synopsis "ConfigParser Python module functionality for Common Lisp")
(description "The py-configparser package implements the ConfigParser
Python module functionality in Common Lisp. In short, it implements reading
and writing of .INI-file style configuration files with sections containing
key/value pairs of configuration options. In line with the functionalities in
the python module, does this package implement basic interpolation of option
values in other options.")
(license license:expat)))
(define-public cl-py-configparser
(sbcl-package->cl-source-package sbcl-py-configparser))
(define-public ecl-py-configparser
(sbcl-package->ecl-package sbcl-py-configparser))
(define-public sbcl-pythonic-string-reader
(let ((commit "47a70ba1e32362e03dad6ef8e6f36180b560f86a"))
(package
(name "sbcl-pythonic-string-reader")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/smithzvk/pythonic-string-reader/")
(commit commit)))
(sha256
(base32 "1b5iryqw8xsh36swckmz8rrngmc39k92si33fgy5pml3n9l5rq3j"))
(file-name (git-file-name "pythonic-string-reader" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("named-readtables" ,sbcl-named-readtables)))
(home-page "https://github.com/smithzvk/pythonic-string-reader")
(synopsis "Read table modification inspired by Python's three quote strings")
(description "This piece of code sets up some reader macros that make it
simpler to input string literals which contain backslashes and double quotes
This is very useful for writing complicated docstrings and, as it turns out,
writing code that contains string literals that contain code themselves.")
(license license:bsd-3))))
(define-public cl-pythonic-string-reader
(sbcl-package->cl-source-package sbcl-pythonic-string-reader))
(define-public ecl-pythonic-string-reader
(sbcl-package->ecl-package sbcl-pythonic-string-reader))
(define-public sbcl-slime-swank
(package
(name "sbcl-slime-swank")
(version "2.26")
(source
(origin
(file-name (git-file-name "slime-swank" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/slime/slime/")
(commit (string-append "v" version))))
(sha256
(base32
"0mxb1wnw19v0s72w2wkz5afdlzvpy5nn7pr4vav403qybac0sw5c"))))
(build-system asdf-build-system/sbcl)
(arguments
'(#:asd-systems '("swank")))
(home-page "https://github.com/slime/slime")
(synopsis "Common Lisp Swank server")
(description
"This is only useful if you want to start a Swank server in a Lisp
processes that doesn't run under Emacs. Lisp processes created by
@command{M-x slime} automatically start the server.")
(license (list license:gpl2+ license:public-domain))))
(define-public cl-slime-swank
(sbcl-package->cl-source-package sbcl-slime-swank))
(define-public ecl-slime-swank
(sbcl-package->ecl-package sbcl-slime-swank))
(define-public sbcl-mgl-pax
(let ((commit "4ada6eb26364e71addb169ce58e4ba83bc7a8eaa")
(revision "2"))
(package
(name "sbcl-mgl-pax")
(version (git-version "0.0.3" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/melisgl/mgl-pax")
(commit commit)))
(sha256
(base32 "1s38crgvmd9hgqwsscqpj6m6c10a074zjgg8k5sl15yih1wkpssm"))
(file-name (git-file-name "mgl-pax" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("3bmd" ,sbcl-3bmd)
("babel" ,sbcl-babel)
("cl-fad" ,sbcl-cl-fad)
("ironclad" ,sbcl-ironclad)
("named-readtables" ,sbcl-named-readtables)
("pythonic-string-reader" ,sbcl-pythonic-string-reader)
("swank" ,sbcl-slime-swank)))
(synopsis "Exploratory programming environment and documentation generator")
(description
"PAX provides an extremely poor man's Explorable Programming
environment. Narrative primarily lives in so called sections that mix markdown
docstrings with references to functions, variables, etc, all of which should
probably have their own docstrings.
The primary focus is on making code easily explorable by using SLIME's
@command{M-.} (@command{slime-edit-definition}). See how to enable some
fanciness in Emacs Integration. Generating documentation from sections and all
the referenced items in Markdown or HTML format is also implemented.
With the simplistic tools provided, one may accomplish similar effects as with
Literate Programming, but documentation is generated from code, not vice versa
and there is no support for chunking yet. Code is first, code must look
pretty, documentation is code.")
(home-page "http://quotenil.com/")
(license license:expat))))
(define-public cl-mgl-pax
(sbcl-package->cl-source-package sbcl-mgl-pax))
(define-public ecl-mgl-pax
(sbcl-package->ecl-package sbcl-mgl-pax))
(define-public sbcl-mssql
(let ((commit "045602a19a32254108f2b75871049293f49731eb")
(revision "1"))
(package
(name "sbcl-mssql")
(version (git-version "0.0.3" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/archimag/cl-mssql")
(commit commit)))
(file-name (git-file-name "cl-mssql" version))
(sha256
(base32 "09i50adppgc1ybm3ka9vbindhwa2x29f9n3n0jkrryymdhb8zknm"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cffi" ,sbcl-cffi)
("freetds" ,freetds)
("garbage-pools" ,sbcl-garbage-pools)
("iterate" ,sbcl-iterate)
("parse-number" ,sbcl-parse-number)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/mssql.lisp"
(("libsybdb" all)
(string-append (assoc-ref inputs "freetds") "/lib/" all)))
#t)))))
(home-page "https://github.com/archimag/cl-mssql")
(synopsis "Common Lisp library to interact with MS SQL Server databases")
(description
"@code{cl-mssql} provides an interface to connect to Microsoft SQL
server. It uses the @code{libsybdb} foreign library provided by the FreeTDS
project.")
(license license:llgpl))))
(define-public ecl-mssql
(sbcl-package->ecl-package sbcl-mssql))
(define-public cl-mssql
(sbcl-package->cl-source-package sbcl-mssql))
(define-public sbcl-lisp-unit
(let ((commit "89653a232626b67400bf9a941f9b367da38d3815"))
(package
(name "sbcl-lisp-unit")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/OdonataResearchLLC/lisp-unit")
(commit commit)))
(sha256
(base32
"0p6gdmgr7p383nvd66c9y9fp2bjk4jx1lpa5p09g43hr9y9pp9ry"))
(file-name (git-file-name "lisp-unit" version))))
(build-system asdf-build-system/sbcl)
(synopsis "Common Lisp Test framework inspired by JUnit to be simple of use")
(description
"@command{lisp-unit} is a Common Lisp library that supports unit
testing. It is an extension of the library written by Chris Riesbeck.")
(home-page "https://github.com/OdonataResearchLLC/lisp-unit")
(license license:expat))))
(define-public cl-lisp-unit
(sbcl-package->cl-source-package sbcl-lisp-unit))
(define-public ecl-lisp-unit
(sbcl-package->ecl-package sbcl-lisp-unit))
(define-public sbcl-anaphora
(package
(name "sbcl-anaphora")
(version "0.9.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tokenrove/anaphora")
(commit version)))
(sha256
(base32
"19wfrk3asimznkli0x2rfy637hwpdgqyvwj3vhq9x7vjvyf5vv6x"))
(file-name (git-file-name "anaphora" version))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("rt" ,sbcl-rt)))
(synopsis "The anaphoric macro collection from Hell")
(description
"Anaphora is the anaphoric macro collection from Hell: it includes many
new fiends in addition to old friends like @command{aif} and
@command{awhen}.")
(home-page "https://github.com/tokenrove/anaphora")
(license license:public-domain)))
(define-public cl-anaphora
(sbcl-package->cl-source-package sbcl-anaphora))
(define-public ecl-anaphora
(sbcl-package->ecl-package sbcl-anaphora))
(define-public sbcl-lift
(let ((commit "2594160d6ca3a77d8750110dfa63214256aab852")
(revision "2"))
(package
(name "sbcl-lift")
(version (git-version "1.7.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gwkkwg/lift")
(commit commit)))
(sha256
(base32 "01xvz9sl5l5lai4h9dabmcjnm659wf5zllaxqbs55lffskp6jwq3"))
(file-name (git-file-name "lift" version))
(modules '((guix build utils)))
(snippet
;; Don't keep the bundled website
`(begin
(delete-file-recursively "website")
#t))))
(build-system asdf-build-system/sbcl)
(arguments
;; The tests require a debugger, but we run with the debugger disabled.
'(#:tests? #f))
(synopsis "LIsp Framework for Testing")
(description
"The LIsp Framework for Testing (LIFT) is a unit and system test tool for LISP.
Though inspired by SUnit and JUnit, it's built with Lisp in mind. In LIFT,
testcases are organized into hierarchical testsuites each of which can have
its own fixture. When run, a testcase can succeed, fail, or error. LIFT
supports randomized testing, benchmarking, profiling, and reporting.")
(home-page "https://github.com/gwkkwg/lift")
(license license:expat))))
(define-public cl-lift
(sbcl-package->cl-source-package sbcl-lift))
(define-public ecl-lift
(sbcl-package->ecl-package sbcl-lift))
(define-public sbcl-let-plus
(let ((commit "5f14af61d501ecead02ec6b5a5c810efc0c9fdbb"))
(package
(name "sbcl-let-plus")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sharplispers/let-plus")
(commit commit)))
(sha256
(base32
"0i050ca2iys9f5mb7dgqgqdxfnc3b0rnjdwv95sqd490vkiwrsaj"))
(file-name (git-file-name "let-plus" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("anaphora" ,sbcl-anaphora)))
(native-inputs
`(("lift" ,sbcl-lift)))
(synopsis "Destructuring extension of let*")
(description
"This library implements the let+ macro, which is a dectructuring
extension of let*. It features:
@itemize
@item Clean, consistent syntax and small implementation (less than 300 LOC,
not counting tests)
@item Placeholder macros allow editor hints and syntax highlighting
@item @command{&ign} for ignored values (in forms where that makes sense)
@item Very easy to extend
@end itemize\n")
(home-page "https://github.com/sharplispers/let-plus")
(license license:boost1.0))))
(define-public cl-let-plus
(sbcl-package->cl-source-package sbcl-let-plus))
(define-public ecl-let-plus
(sbcl-package->ecl-package sbcl-let-plus))
(define-public sbcl-cl-colors
(let ((commit "827410584553f5c717eec6182343b7605f707f75"))
(package
(name "sbcl-cl-colors")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tpapp/cl-colors")
(commit commit)))
(sha256
(base32
"0l446lday4hybsm9bq3jli97fvv8jb1d33abg79vbylpwjmf3y9a"))
(file-name (git-file-name "cl-colors" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("let-plus" ,sbcl-let-plus)))
(synopsis "Simple color library for Common Lisp")
(description
"This is a very simple color library for Common Lisp, providing
@itemize
@item Types for representing colors in HSV and RGB spaces.
@item Simple conversion functions between the above types (and also
hexadecimal representation for RGB).
@item Some predefined colors (currently X11 color names – of course the
library does not depend on X11).Because color in your terminal is nice.
@end itemize
This library is no longer supported by its author.")
(home-page "https://github.com/tpapp/cl-colors")
(license license:boost1.0))))
(define-public cl-colors
(sbcl-package->cl-source-package sbcl-cl-colors))
(define-public ecl-cl-colors
(sbcl-package->ecl-package sbcl-cl-colors))
(define-public sbcl-cl-ansi-text
(let ((commit "53badf7878f27f22f2d4a2a43e6df458e43acbe9"))
(package
(name "sbcl-cl-ansi-text")
(version (git-version "1.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pnathan/cl-ansi-text")
(commit commit)))
(sha256
(base32
"11i27n0dbz5lmygiw65zzr8lx0rac6b6yysqranphn31wls6ja3v"))
(file-name (git-file-name "cl-ansi-text" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("cl-colors" ,sbcl-cl-colors)))
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(synopsis "ANSI terminal color implementation for Common Lisp")
(description
"@command{cl-ansi-text} provides utilities which enable printing to an
ANSI terminal with colored text. It provides the macro @command{with-color}
which causes everything printed in the body to be displayed with the provided
color. It further provides functions which will print the argument with the
named color.")
(home-page "https://github.com/pnathan/cl-ansi-text")
(license license:llgpl))))
(define-public cl-ansi-text
(sbcl-package->cl-source-package sbcl-cl-ansi-text))
(define-public ecl-cl-ansi-text
(sbcl-package->ecl-package sbcl-cl-ansi-text))
(define-public sbcl-prove
(let ((commit "4f9122bd393e63c5c70c1fba23070622317cfaa0"))
(package
(name "sbcl-prove")
(version (git-version "1.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fukamachi/prove")
(commit commit)))
(sha256
(base32
"07sbfw459z8bbjvx1qlmfa8qk2mvbjnnzi2mi0x72blaj8bkl4vc"))
(file-name (git-file-name "prove" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("cl-ppcre" ,sbcl-cl-ppcre)
("cl-ansi-text" ,sbcl-cl-ansi-text)))
(synopsis "Yet another unit testing framework for Common Lisp")
(description
"This project was originally called @command{cl-test-more}.
@command{prove} is yet another unit testing framework for Common Lisp. The
advantages of @command{prove} are:
@itemize
@item Various simple functions for testing and informative error messages
@item ASDF integration
@item Extensible test reporters
@item Colorizes the report if it's available (note for SLIME)
@item Reports test durations
@end itemize\n")
(home-page "https://github.com/fukamachi/prove")
(license license:expat))))
(define-public cl-prove
(sbcl-package->cl-source-package sbcl-prove))
(define-public ecl-prove
(sbcl-package->ecl-package sbcl-prove))
(define-public sbcl-proc-parse
(let ((commit "ac3636834d561bdc2686c956dbd82494537285fd"))
(package
(name "sbcl-proc-parse")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fukamachi/proc-parse")
(commit commit)))
(sha256
(base32
"06rnl0h4cx6xv2wj3jczmmcxqn2703inmmvg1s4npbghmijsybfh"))
(file-name (git-file-name "proc-parse" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("babel" ,sbcl-babel)))
(native-inputs
`(("prove" ,sbcl-prove)))
(arguments
;; TODO: Tests don't find "proc-parse-test", why?
`(#:tests? #f))
(synopsis "Procedural vector parser")
(description
"This is a string/octets parser library for Common Lisp with speed and
readability in mind. Unlike other libraries, the code is not a
pattern-matching-like, but a char-by-char procedural parser.")
(home-page "https://github.com/fukamachi/proc-parse")
(license license:bsd-2))))
(define-public cl-proc-parse
(sbcl-package->cl-source-package sbcl-proc-parse))
(define-public ecl-proc-parse
(sbcl-package->ecl-package sbcl-proc-parse))
(define-public sbcl-parse-float
(let ((commit "3074765101e41222b6b624a66aaf1e6416379f9c")
(revision "2"))
(package
(name "sbcl-parse-float")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/soemraws/parse-float")
(commit commit)))
(sha256
(base32 "0jd2spawc3v8vzqf8ky4cngl45jm65fhkrdf20mf6dcbn3mzpkmr"))
(file-name (git-file-name "proc-parse" version))))
(build-system asdf-build-system/sbcl)
(arguments
;; FIXME: https://github.com/soemraws/parse-float/issues/12
`(#:asd-systems '("parse-float" "parse-float-tests")))
(native-inputs
`(("lisp-unit" ,sbcl-lisp-unit)))
(inputs
`(("alexandria" ,sbcl-alexandria)))
(home-page "https://github.com/soemraws/parse-float")
(synopsis "Parse a floating point value from a string in Common Lisp")
(description
"This package exports the following function to parse floating-point
values from a string in Common Lisp.")
(license license:public-domain))))
(define-public cl-parse-float
(sbcl-package->cl-source-package sbcl-parse-float))
(define-public ecl-parse-float
(sbcl-package->ecl-package sbcl-parse-float))
(define-public sbcl-cl-string-match
(let ((revision "1")
(changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
(package
(name "sbcl-cl-string-match")
(version (git-version "0" revision changeset))
(source
(origin
(method hg-fetch)
(uri (hg-reference
(url "https://bitbucket.org/vityok/cl-string-match/")
(changeset changeset)))
(sha256
(base32
"01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
(file-name (git-file-name "cl-string-match" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("babel" ,sbcl-babel)
("iterate" ,sbcl-iterate)
("jpl-queues" ,sbcl-jpl-queues)
("jpl-util" ,sbcl-jpl-util)
("mgl-pax" ,sbcl-mgl-pax)
("parse-float" ,sbcl-parse-float)
("proc-parse" ,sbcl-proc-parse)
("yacc" ,sbcl-cl-yacc)))
;; TODO: Tests are not evaluated properly.
(native-inputs
;; For testing:
`(("lisp-unit" ,sbcl-lisp-unit)))
(arguments
`(#:tests? #f))
(synopsis "Set of utilities to manipulate strings in Common Lisp")
(description
"@command{cl-strings} is a small, portable, dependency-free set of
utilities that make it even easier to manipulate text in Common Lisp. It has
100% test coverage and works at least on sbcl, ecl, ccl, abcl and clisp.")
(home-page "https://bitbucket.org/vityok/cl-string-match/")
(license license:bsd-3))))
(define-public cl-string-match
(sbcl-package->cl-source-package sbcl-cl-string-match))
(define-public ecl-cl-string-match
(sbcl-package->ecl-package sbcl-cl-string-match))
(define-public sbcl-ptester
(let ((commit "fe69fde54f4bce00ce577feb918796c293fc7253")
(revision "1"))
(package
(name "sbcl-ptester")
(version (git-version "2.1.3" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://git.kpe.io/ptester.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1l0lfl7cdnr2qf4zh38hi4llxg22c49zkm639bdkmvlkzwj3ndwf"))))
(build-system asdf-build-system/sbcl)
(home-page "http://quickdocs.org/ptester/")
(synopsis "Portable test harness package")
(description
"@command{ptester} is a portable testing framework based on Franz's
tester module.")
(license license:llgpl))))
(define-public cl-ptester
(sbcl-package->cl-source-package sbcl-ptester))
(define-public ecl-ptester
(sbcl-package->ecl-package sbcl-ptester))
(define-public sbcl-puri
(let ((commit "4bbab89d9ccbb26346899d1f496c97604fec567b")
(revision "2"))
(package
(name "sbcl-puri")
(version (git-version "1.5.7" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://git.kpe.io/puri.git")
(commit commit)))
(file-name (git-file-name "puri" version))
(sha256
(base32 "0gq2rsr0aihs0z20v4zqvmdl4szq53b52rh97pvnmwrlbn4mapmd"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("ptester" ,sbcl-ptester)))
(home-page "http://puri.kpe.io/")
(synopsis "Portable URI Library")
(description
"This is a portable Universal Resource Identifier library for Common
Lisp programs. It parses URI according to the RFC 2396 specification.")
(license license:llgpl))))
(define-public cl-puri
(sbcl-package->cl-source-package sbcl-puri))
(define-public ecl-puri
(sbcl-package->ecl-package sbcl-puri))
(define-public sbcl-qmynd
(let ((commit "7e56daf73f0ed5f49a931c01af75fb874bcf3445")
(revision "1"))
(package
(name "sbcl-qmynd")
(version (git-version "1.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/qitab/qmynd")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"06gw5wxcpdclb6a5i5k9lbmdlyqsp182czrm9bm1cpklzbj0ihrl"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("asdf-finalizers" ,sbcl-asdf-finalizers)
("babel" ,sbcl-babel)
("chipz" ,sbcl-chipz)
("cl+ssl" ,sbcl-cl+ssl)
("flexi-streams" ,sbcl-flexi-streams)
("ironclad" ,sbcl-ironclad)
("salza2" ,sbcl-salza2)
("trivial-gray-streams" ,sbcl-trivial-gray-streams)
("usocket" ,sbcl-usocket)))
(home-page "https://github.com/qitab/qmynd")
(synopsis "QITAB MySQL Native Driver for Common Lisp")
(description "QMyND, the QITAB MySQL Native Driver, is a MySQL client
library that directly talks to a MySQL server in its native network protocol.
It's a part of QITAB umbrella project.")
(license license:expat))))
(define-public ecl-qmynd
(sbcl-package->ecl-package sbcl-qmynd))
(define-public cl-qmynd
(sbcl-package->cl-source-package sbcl-qmynd))
(define-public sbcl-queues
(let ((commit "47d4da65e9ea20953b74aeeab7e89a831b66bc94"))
(package
(name "sbcl-queues")
(version (git-version "0.0.0" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oconnore/queues")
(commit commit)))
(file-name (git-file-name "queues" version))
(sha256
(base32
"0wdhfnzi4v6d97pggzj2aw55si94w4327br94jrmyvwf351wqjvv"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)))
(arguments
'(#:asd-systems '("queues"
"queues.simple-queue"
"queues.simple-cqueue"
"queues.priority-queue"
"queues.priority-cqueue")))
(home-page "https://github.com/oconnore/queues")
(synopsis "Common Lisp queue library")
(description
"This is a simple queue library for Common Lisp with features such as
non-consing thread safe queues and fibonacci priority queues.")
(license license:expat))))
(define-public cl-queues
(sbcl-package->cl-source-package sbcl-queues))
(define-public ecl-queues
(sbcl-package->ecl-package sbcl-queues))
(define-public sbcl-glsl-packing
(let ((commit "03628159468a8e5b7f2a1d5e78b77053e136794a")
(revision "1"))
(package
(name "sbcl-glsl-packing")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/3b/glsl-packing/")
(commit commit)))
(file-name (git-file-name "glsl-packing" version))
(sha256
(base32 "0k2f1771wd9kdrcasldy1r00k5bdgi9fd07in52zmjggc0i7dd80"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)))
(home-page "https://github.com/3b/glsl-packing/")
(synopsis "Common Lisp utilities to calculate OpenGL layouts")
(description
"This is a Common Lisp library to calculate std140 or std430 layouts for
a glsl UBO/SSBO.")
(license license:expat))))
(define-public ecl-glsl-packing
(sbcl-package->ecl-package sbcl-glsl-packing))
(define-public cl-glsl-packing
(sbcl-package->cl-source-package sbcl-glsl-packing))
(define-public sbcl-glsl-spec
(let ((commit "f04476f7da89355ae6856b33283c60ba95c6555d")
(revision "1"))
(package
(name "sbcl-glsl-spec")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbaggers/glsl-spec")
(commit commit)))
(file-name (git-file-name "glsl-spec" version))
(sha256
(base32 "01ipspr22fgfj3w8wq2y81lzrjc4vpfiwnr3dqhjlpzzra46am8c"))))
(build-system asdf-build-system/sbcl)
(arguments
`(#:asd-systems '("glsl-spec" "glsl-symbols" "glsl-docs")))
(home-page "https://github.com/cbaggers/glsl-spec")
(synopsis "Common Lisp GLSL specification as a datastructure")
(description
"This package contains the specification of all functions and variables
from GLSL as data.")
(license license:unlicense))))
(define-public ecl-glsl-spec
(sbcl-package->ecl-package sbcl-glsl-spec))
(define-public cl-glsl-spec
(sbcl-package->cl-source-package sbcl-glsl-spec))
(define-public sbcl-rtg-math
(let ((commit "29fc5b3d0028a4a11a82355ecc8cca62662c69e0")
(revision "1"))
(package
(name "sbcl-rtg-math")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbaggers/rtg-math")
(commit commit)))
(file-name (git-file-name "rtg-math" version))
(sha256
(base32 "0bhxxnv7ldkkb18zdxyz2rj2a3iawzq2kcp7cn5i91iby7n0082x"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("documentation-utils" ,sbcl-documentation-utils)
("glsl-symbols" ,sbcl-glsl-spec)))
(home-page "https://github.com/cbaggers/rtg-math")
(synopsis "Common Lisp library of game-related math functions")
(description
"RTG-MATH provides a selection of the math routines most commonly needed
for making realtime graphics in Lisp.")
(license license:bsd-2))))
(define-public ecl-rtg-math
(sbcl-package->ecl-package sbcl-rtg-math))
(define-public cl-rtg-math
(sbcl-package->cl-source-package sbcl-rtg-math))
(define-public sbcl-varjo
(let ((commit "9e77f30220053155d2ef8870ceba157f75e538d4")
(revision "1"))
(package
(name "sbcl-varjo")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbaggers/varjo")
(commit commit)))
(file-name (git-file-name "varjo" version))
(sha256
(base32 "1p9x1wj576x5d31yvls9r1avkjkyhri7kyxbjfkg9z93a1w18j9z"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(inputs
`(("alexandria" ,sbcl-alexandria)
("cl-ppcre" ,sbcl-cl-ppcre)
("documentation-utils" ,sbcl-documentation-utils)
("fn" ,sbcl-fn)
("glsl-spec" ,sbcl-glsl-spec)
("named-readtables" ,sbcl-named-readtables)
("parse-float" ,sbcl-parse-float)
("vas-string-metrics" ,sbcl-vas-string-metrics)))
(home-page "https://github.com/cbaggers/varjo")
(synopsis "Lisp to GLSL Language Translator")
(description
"Varjo is a Lisp to GLSL compiler. Vari is the dialect of lisp Varjo
compiles. It aims to be as close to Common Lisp as possible, but naturally it
is statically typed so there are differences.")
(license license:bsd-2))))
(define-public ecl-varjo
(sbcl-package->ecl-package sbcl-varjo))
(define-public cl-varjo
(sbcl-package->cl-source-package sbcl-varjo))
(define-public sbcl-cffi
(package
(name "sbcl-cffi")
(version "0.23.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cffi/cffi")
(commit (string-append "v" version))))
(file-name (git-file-name "cffi-bootstrap" version))
(sha256
(base32 "03s98imc5niwnpj3hhrafl7dmxq45g74h96sm68976k7ahi3vl5b"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("babel" ,sbcl-babel)
("libffi" ,libffi)
("trivial-features" ,sbcl-trivial-features)))
(native-inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)
("pkg-config" ,pkg-config)
("rt" ,sbcl-rt)))
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-arm-support
(lambda _
;; This is apparently deprecated since libffi-3.3.
(substitute* "libffi/libffi-types.lisp"
(("\\\(\\\(:unix64.*") ")\n"))
#t))
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "libffi/libffi.lisp"
(("libffi.so.7" all) (string-append
(assoc-ref inputs "libffi")
"/lib/" all)))
(substitute* "toolchain/c-toolchain.lisp"
(("\"cc\"") (format #f "~S" (which "gcc"))))))
(add-after 'build 'install-headers
(lambda* (#:key outputs #:allow-other-keys)
(install-file "grovel/common.h"
(string-append
(assoc-ref outputs "out")
"/include/grovel")))))
#:asd-files '("cffi.asd"
"cffi-toolchain.asd"
"cffi-grovel.asd"
"cffi-libffi.asd"
"cffi-uffi-compat.asd")
#:asd-systems '("cffi"
"cffi-libffi"
"cffi-uffi-compat")))
(home-page "https://common-lisp.net/project/cffi/")
(synopsis "Common Foreign Function Interface for Common Lisp")
(description "The Common Foreign Function Interface (CFFI)
purports to be a portable foreign function interface for Common Lisp.
The CFFI library is composed of a Lisp-implementation-specific backend
in the CFFI-SYS package, and a portable frontend in the CFFI
package.")
(license license:expat)))
(define-public cl-cffi
(sbcl-package->cl-source-package sbcl-cffi))
(define-public ecl-cffi
(sbcl-package->ecl-package sbcl-cffi))
(define-public sbcl-cffi-c-ref
(let ((commit "8123cbb6034c5f7921a0766107cfb8c4e8efd5ce")
(revision "0"))
(package
(name "sbcl-cffi-c-ref")
(version (git-version "1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/borodust/cffi-c-ref")
(commit commit)))
(sha256
(base32 "1a3pp6xcisabqir3rp1gvvjfdxcvpm8yr35p38nri9azsinmmc7z"))
(file-name (git-file-name "cffi-c-ref" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("cffi" ,sbcl-cffi)))
(synopsis "Streamlined access to foreign memory")
(description
"This Common Lisp library provides macros to access foreign memory.")
(home-page "https://github.com/borodust/cffi-c-ref")
(license license:expat))))
(define-public cl-cffi-c-ref
(sbcl-package->cl-source-package sbcl-cffi-c-ref))
(define-public ecl-cffi-c-ref
(sbcl-package->ecl-package sbcl-cffi-c-ref))
(define-public sbcl-cl-sqlite
(package
(name "sbcl-cl-sqlite")
(version "0.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dmitryvk/cl-sqlite")
(commit version)))
(file-name (git-file-name "cl-sqlite" version))
(sha256
(base32
"08iv7b4m0hh7qx2cvq4f510nrgdld0vicnvmqsh9w0fgrcgmyg4k"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("iterate" ,sbcl-iterate)
("cffi" ,sbcl-cffi)
("sqlite" ,sqlite)))
(native-inputs
`(("fiveam" ,sbcl-fiveam)
("bordeaux-threads" ,sbcl-bordeaux-threads)))
(arguments
`(#:asd-systems '("sqlite")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "sqlite-ffi.lisp"
(("libsqlite3" all) (string-append
(assoc-ref inputs "sqlite")"/lib/" all))))))))
(home-page "https://common-lisp.net/project/cl-sqlite/")
(synopsis "Common Lisp binding for SQLite")
(description
"The @command{cl-sqlite} package is an interface to the SQLite embedded
relational database engine.")
(license license:public-domain)))
(define-public cl-sqlite
(sbcl-package->cl-source-package sbcl-cl-sqlite))
(define-public ecl-cl-sqlite
(sbcl-package->ecl-package sbcl-cl-sqlite))
(define-public sbcl-parenscript
;; Source archives are overwritten on every release, we use the Git repo instead.
(let ((commit "7a1ac46353cecd144fc91915ba9f122aafcf4766"))
(package
(name "sbcl-parenscript")
(version (git-version "2.7.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.common-lisp.net/parenscript/parenscript")
(commit commit)))
(file-name (git-file-name "parenscript" version))
(sha256
(base32
"0c22lqarrpbq82dg1sb3y6mp6w2faczp34ymzhnmff88yfq1xzsf"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cl-ppcre" ,sbcl-cl-ppcre)
("anaphora" ,sbcl-anaphora)
("named-readtables" ,sbcl-named-readtables)))
(home-page "https://common-lisp.net/project/parenscript/")
(synopsis "Translator from a subset of Common Lisp to JavaScript")
(description
"Parenscript is a translator from an extended subset of Common Lisp to
JavaScript. Parenscript code can run almost identically on both the
browser (as JavaScript) and server (as Common Lisp).
Parenscript code is treated the same way as Common Lisp code, making the full
power of Lisp macros available for JavaScript. This provides a web
development environment that is unmatched in its ability to reduce code
duplication and provide advanced meta-programming facilities to web
developers.
At the same time, Parenscript is different from almost all other \"language
X\" to JavaScript translators in that it imposes almost no overhead:
@itemize
@item No run-time dependencies: Any piece of Parenscript code is runnable
as-is. There are no JavaScript files to include.
@item Native types: Parenscript works entirely with native JavaScript data
types. There are no new types introduced, and object prototypes are not
touched.
@item Native calling convention: Any JavaScript code can be called without the
need for bindings. Likewise, Parenscript can be used to make efficient,
self-contained JavaScript libraries.
@item Readable code: Parenscript generates concise, formatted, idiomatic
JavaScript code. Identifier names are preserved. This enables seamless
debugging in tools like Firebug.
@item Efficiency: Parenscript introduces minimal overhead for advanced Common
Lisp features. The generated code is almost as fast as hand-written
JavaScript.
@end itemize\n")
(license license:bsd-3))))
(define-public cl-parenscript
(sbcl-package->cl-source-package sbcl-parenscript))
(define-public ecl-parenscript
(sbcl-package->ecl-package sbcl-parenscript))
(define-public sbcl-cl-json
(let ((commit "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79"))
(package
(name "sbcl-cl-json")
(version (git-version "0.5" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hankhero/cl-json")
(commit commit)))
(file-name (git-file-name "cl-json" version))
(sha256
(base32
"0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(home-page "https://github.com/hankhero/cl-json")
(synopsis "JSON encoder and decoder for Common-Lisp")
(description
"@command{cl-json} provides an encoder of Lisp objects to JSON format
and a corresponding decoder of JSON data to Lisp objects. Both the encoder
and the decoder are highly customizable; at the same time, the default
settings ensure a very simple mode of operation, similar to that provided by
@command{yason} or @command{st-json}.")
(license license:expat))))
(define-public cl-json
(sbcl-package->cl-source-package sbcl-cl-json))
(define-public ecl-cl-json
(sbcl-package->ecl-package sbcl-cl-json))
(define-public sbcl-unix-opts
(package
(name "sbcl-unix-opts")
(version "0.1.7")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/libre-man/unix-opts")
(commit version)))
(file-name (git-file-name "unix-opts" version))
(sha256
(base32
"08djdi1ard09fijb7w9bdmhmwd98b1hzmcnjw9fqjiqa0g3b44rr"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/hankhero/cl-json")
(synopsis "Unix-style command line options parser")
(description
"This is a minimalistic parser of command line options. The main
advantage of the library is the ability to concisely define command line
options once and then use this definition for parsing and extraction of
command line arguments, as well as printing description of command line
options (you get --help for free). This way you don't need to repeat
yourself. Also, @command{unix-opts} doesn't depend on anything and
precisely controls the behavior of the parser via Common Lisp restarts.")
(license license:expat)))
(define-public cl-unix-opts
(sbcl-package->cl-source-package sbcl-unix-opts))
(define-public ecl-unix-opts
(sbcl-package->ecl-package sbcl-unix-opts))
(define-public sbcl-trivial-garbage
(package
(name "sbcl-trivial-garbage")
(version "0.21")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/trivial-garbage/trivial-garbage")
(commit (string-append "v" version))))
(file-name (git-file-name "trivial-garbage" version))
(sha256
(base32 "0122jicfg7pca1wxw8zak1n92h5friqy60988ns0ysksj3fphw9n"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("rt" ,sbcl-rt)))
(home-page "https://common-lisp.net/project/trivial-garbage/")
(synopsis "Portable GC-related APIs for Common Lisp")
(description "@command{trivial-garbage} provides a portable API to
finalizers, weak hash-tables and weak pointers on all major implementations of
the Common Lisp programming language.")
(license license:public-domain)))
(define-public cl-trivial-garbage
(sbcl-package->cl-source-package sbcl-trivial-garbage))
(define-public ecl-trivial-garbage
(sbcl-package->ecl-package sbcl-trivial-garbage))
(define-public sbcl-closer-mop
(let ((commit "19c9d33f576e10715fd79cc1d4f688dab0f241d6"))
(package
(name "sbcl-closer-mop")
(version (git-version "1.0.0" "2" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pcostanza/closer-mop")
(commit commit)))
(sha256
(base32 "1w3x087wvlwkd6swfdgbvjfs6kazf0la8ax4pjfzikwjch4snn2c"))
(file-name (git-file-name "closer-mop" version ))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/pcostanza/closer-mop")
(synopsis "Rectifies absent or incorrect CLOS MOP features")
(description "Closer to MOP is a compatibility layer that rectifies many
of the absent or incorrect CLOS MOP features across a broad range of Common
Lisp implementations.")
(license license:expat))))
(define-public cl-closer-mop
(sbcl-package->cl-source-package sbcl-closer-mop))
(define-public ecl-closer-mop
(sbcl-package->ecl-package sbcl-closer-mop))
(define-public sbcl-cl-cffi-gtk
(let ((commit "e9a46df65995d9a16e6c8dbdc1e09b775eb4a966"))
(package
(name "sbcl-cl-cffi-gtk")
(version (git-version "0.11.2" "2" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Ferada/cl-cffi-gtk/")
(commit commit)))
(file-name (git-file-name "cl-cffi-gtk" version))
(sha256
(base32
"04vix0gmqsj91lm975sx7jhlnz5gq1xf9jp873mp7c8frc5dk1jj"))))
(build-system asdf-build-system/sbcl)
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(inputs
`(("bordeaux-threads" ,sbcl-bordeaux-threads)
("cairo" ,cairo)
("cffi" ,sbcl-cffi)
("closer-mop" ,sbcl-closer-mop)
("gdk-pixbuf" ,gdk-pixbuf)
("glib" ,glib)
("gtk" ,gtk+)
("iterate" ,sbcl-iterate)
("pango" ,pango)
("trivial-features" ,sbcl-trivial-features)
("trivial-garbage" ,sbcl-trivial-garbage)))
(arguments
`(#:asd-files '("gtk/cl-cffi-gtk.asd"
"glib/cl-cffi-gtk-glib.asd"
"gobject/cl-cffi-gtk-gobject.asd"
"gio/cl-cffi-gtk-gio.asd"
"cairo/cl-cffi-gtk-cairo.asd"
"pango/cl-cffi-gtk-pango.asd"
"gdk-pixbuf/cl-cffi-gtk-gdk-pixbuf.asd"
"gdk/cl-cffi-gtk-gdk.asd")
#:test-asd-file "test/cl-cffi-gtk-test.asd"
;; TODO: Tests fail with memory fault.
;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "glib/glib.init.lisp"
(("libglib|libgthread" all)
(string-append (assoc-ref inputs "glib") "/lib/" all)))
(substitute* "gobject/gobject.init.lisp"
(("libgobject" all)
(string-append (assoc-ref inputs "glib") "/lib/" all)))
(substitute* "gio/gio.init.lisp"
(("libgio" all)
(string-append (assoc-ref inputs "glib") "/lib/" all)))
(substitute* "cairo/cairo.init.lisp"
(("libcairo" all)
(string-append (assoc-ref inputs "cairo") "/lib/" all)))
(substitute* "pango/pango.init.lisp"
(("libpango" all)
(string-append (assoc-ref inputs "pango") "/lib/" all)))
(substitute* "gdk-pixbuf/gdk-pixbuf.init.lisp"
(("libgdk_pixbuf" all)
(string-append (assoc-ref inputs "gdk-pixbuf") "/lib/" all)))
(substitute* "gdk/gdk.init.lisp"
(("libgdk" all)
(string-append (assoc-ref inputs "gtk") "/lib/" all)))
(substitute* "gdk/gdk.package.lisp"
(("libgtk" all)
(string-append (assoc-ref inputs "gtk") "/lib/" all))))))))
(home-page "https://github.com/Ferada/cl-cffi-gtk/")
(synopsis "Common Lisp binding for GTK+3")
(description
"@command{cl-cffi-gtk} is a Lisp binding to GTK+ 3 (GIMP Toolkit) which
is a library for creating graphical user interfaces.")
(license license:lgpl3))))
(define-public cl-cffi-gtk
(sbcl-package->cl-source-package sbcl-cl-cffi-gtk))
(define-public ecl-cl-cffi-gtk
(sbcl-package->ecl-package sbcl-cl-cffi-gtk))
(define-public sbcl-cl-webkit
(let ((commit "9ead3cac1382154fe03c61a1cabd483a8e5dfbfb"))
(package
(name "sbcl-cl-webkit")
(version (git-version "2.4" "14" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joachifm/cl-webkit")
(commit commit)))
(file-name (git-file-name "cl-webkit" version))
(sha256
(base32
"1brrd9ha5j3z2p8nf0mbw25pslhj3cdqjljff8ignr5idq3ggsd1"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cffi" ,sbcl-cffi)
("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
("webkitgtk" ,webkitgtk)))
(arguments
`(#:asd-systems '("cl-webkit2")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "webkit2/webkit2.init.lisp"
(("libwebkit2gtk" all)
(string-append
(assoc-ref inputs "webkitgtk") "/lib/" all))))))))
(home-page "https://github.com/joachifm/cl-webkit")
(synopsis "Binding to WebKitGTK+ for Common Lisp")
(description
"@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
currently targeting WebKit version 2. The WebKitGTK+ library adds web
browsing capabilities to an application, leveraging the full power of the
WebKit browsing engine.")
(license license:expat))))
(define-public cl-webkit
(sbcl-package->cl-source-package sbcl-cl-webkit))
(define-public ecl-cl-webkit
(sbcl-package->ecl-package sbcl-cl-webkit))
(define-public sbcl-lparallel
(package
(name "sbcl-lparallel")
(version "2.8.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/lmj/lparallel/")
(commit (string-append "lparallel-" version))))
(file-name (git-file-name "lparallel" version))
(sha256
(base32
"0g0aylrbbrqsz0ahmwhvnk4cmc2931fllbpcfgzsprwnqqd7vwq9"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("bordeaux-threads" ,sbcl-bordeaux-threads)
("trivial-garbage" ,sbcl-trivial-garbage)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-dependency
;; lparallel loads a SBCL specific system in its asd file. This is
;; not carried over into the fasl which is generated. In order for
;; it to be carried over, it needs to be listed as a dependency.
(lambda _
(substitute* "lparallel.asd"
((":depends-on \\(:alexandria" all)
(string-append all " #+sbcl :sb-cltl2"))))))))
(home-page "https://lparallel.org/")
(synopsis "Parallelism for Common Lisp")
(description
"@command{lparallel} is a library for parallel programming in Common
Lisp, featuring:
@itemize
@item a simple model of task submission with receiving queue,
@item constructs for expressing fine-grained parallelism,
@item asynchronous condition handling across thread boundaries,
@item parallel versions of map, reduce, sort, remove, and many others,
@item promises, futures, and delayed evaluation constructs,
@item computation trees for parallelizing interconnected tasks,
@item bounded and unbounded FIFO queues,
@item high and low priority tasks,
@item task killing by category,
@item integrated timeouts.
@end itemize\n")
(license license:expat)))
(define-public cl-lparallel
(sbcl-package->cl-source-package sbcl-lparallel))
(define-public ecl-lparallel
(package
(inherit (sbcl-package->ecl-package sbcl-lparallel))
(arguments
;; TODO: Find why the tests get stuck forever; disable them for now.
`(#:tests? #f))))
(define-public sbcl-cl-markup
(let ((commit "e0eb7debf4bdff98d1f49d0f811321a6a637b390"))
(package
(name "sbcl-cl-markup")
(version (git-version "0.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/arielnetworks/cl-markup/")
(commit commit)))
(file-name (git-file-name "cl-markup" version))
(sha256
(base32
"10l6k45971dl13fkdmva7zc6i453lmq9j4xax2ci6pjzlc6xjhp7"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/arielnetworks/cl-markup/")
(synopsis "Markup generation library for Common Lisp")
(description
"A modern markup generation library for Common Lisp that features:
@itemize
@item Fast (even faster through compiling the code)
@item Safety
@item Support for multiple document types (markup, xml, html, html5, xhtml)
@item Output with doctype
@item Direct output to stream
@end itemize\n")
(license license:lgpl3+))))
(define-public cl-markup
(sbcl-package->cl-source-package sbcl-cl-markup))
(define-public ecl-cl-markup
(sbcl-package->ecl-package sbcl-cl-markup))
(define-public sbcl-cl-mustache
(package
(name "sbcl-cl-mustache")
(version "0.12.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kanru/cl-mustache")
(commit (string-append "v" version))))
(file-name (git-file-name "cl-mustache" version))
(sha256
(base32 "149xbb6wxq1napliwm9cv729hwcgfnjli6y8hingfixz7f10lhks"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/kanru/cl-mustache")
(synopsis "Common Lisp Mustache template renderer")
(description "This is a Common Lisp implementation for the Mustache
template system. More details on the standard are available at
@url{https://mustache.github.io}.")
(license license:expat)))
(define-public cl-mustache
(sbcl-package->cl-source-package sbcl-cl-mustache))
(define-public ecl-cl-mustache
(sbcl-package->ecl-package sbcl-cl-mustache))
(define-public sbcl-cl-css
(let ((commit "8fe654c8f0cf95b300718101cce4feb517f78e2f"))
(package
(name "sbcl-cl-css")
(version (git-version "0.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/inaimathi/cl-css/")
(commit commit)))
(file-name (git-file-name "cl-css" version))
(sha256
(base32
"1lc42zi2sw11fl2589sc19nr5sd2p0wy7wgvgwaggxa5f3ajhsmd"))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/inaimathi/cl-css/")
(synopsis "Non-validating, inline CSS generator for Common Lisp")
(description
"This is a dead-simple, non validating, inline CSS generator for Common
Lisp. Its goals are axiomatic syntax, simple implementation to support
portability, and boilerplate reduction in CSS.")
(license license:expat))))
(define-public cl-css
(sbcl-package->cl-source-package sbcl-cl-css))
(define-public ecl-cl-css
(sbcl-package->ecl-package sbcl-cl-css))
(define-public sbcl-portable-threads
(let ((commit "aa26bf38338a6b068bf8bfb3375d8d8c3b0a28df"))
(package
(name "sbcl-portable-threads")
(version (git-version "2.3" "2" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/binghe/portable-threads/")
(commit commit)))
(file-name (git-file-name "portable-threads" version))
(sha256
(base32 "058ksi07vfdmhrf5mdlc833s82m1rcqfja2266520m3r8bzs8bvs"))))
(build-system asdf-build-system/sbcl)
(arguments
`(;; Tests seem broken.
#:tests? #f))
(home-page