2014-07-05 12:30:51 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
2015-02-11 23:15:02 +00:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2015-03-08 01:42:01 +00:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2016-01-10 09:41:23 +00:00
|
|
|
|
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2017-04-03 13:01:18 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
|
2020-10-26 21:09:27 +00:00
|
|
|
|
;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2022-07-06 09:05:52 +00:00
|
|
|
|
;;; Copyright © 2017-2019, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2022-01-16 00:00:08 +00:00
|
|
|
|
;;; Copyright © 2017, 2019–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-09-17 21:18:08 +00:00
|
|
|
|
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
|
2018-10-12 09:58:00 +00:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2020-05-14 19:48:09 +00:00
|
|
|
|
;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2019-07-06 19:49:40 +00:00
|
|
|
|
;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
2020-01-17 13:22:35 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
|
2019-04-10 17:48:12 +00:00
|
|
|
|
;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
|
2023-03-02 12:34:36 +00:00
|
|
|
|
;;; Copyright © 2019-2023 Guillaume Le Vaillant <glv@posteo.net>
|
2020-04-08 11:53:35 +00:00
|
|
|
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
2020-12-12 02:34:37 +00:00
|
|
|
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
2021-01-16 22:11:16 +00:00
|
|
|
|
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2021-07-11 00:23:49 +00:00
|
|
|
|
;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
|
2021-09-28 01:44:17 +00:00
|
|
|
|
;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
|
2022-08-30 19:27:24 +00:00
|
|
|
|
;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
|
2022-10-30 15:54:41 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
|
2022-11-11 05:55:07 +00:00
|
|
|
|
;;; Copyright © 2022 ( <paren@disroot.org>
|
2014-07-05 12:30:51 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; 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/>.
|
|
|
|
|
|
2019-11-28 20:37:28 +00:00
|
|
|
|
;;; This file only contains Common Lisp compilers and tooling.
|
|
|
|
|
;;; Common Lisp libraries go to lisp-xyz.scm.
|
|
|
|
|
;;; Common Lisp applications should go to the most appropriate file,
|
|
|
|
|
;;; e.g. StumpWM is in wm.scm.
|
|
|
|
|
|
2014-07-05 12:30:51 +00:00
|
|
|
|
(define-module (gnu packages lisp)
|
|
|
|
|
#:use-module (gnu packages)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 20:44:22 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2014-07-05 12:30:51 +00:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2016-02-07 16:50:12 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2021-08-22 16:39:49 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2014-07-05 12:30:51 +00:00
|
|
|
|
#:use-module (guix utils)
|
2020-12-01 10:14:46 +00:00
|
|
|
|
#:use-module (guix build-system copy)
|
2015-02-11 23:15:02 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2022-11-11 05:55:07 +00:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2016-10-07 08:07:49 +00:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages admin)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2021-07-13 23:38:12 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
2022-08-30 19:27:24 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2017-02-14 18:56:44 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2022-08-30 19:27:24 +00:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages ed)
|
2017-02-14 18:56:44 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
|
|
|
|
#:use-module (gnu packages gettext)
|
2021-07-11 00:23:49 +00:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2021-07-11 00:23:49 +00:00
|
|
|
|
#:use-module (gnu packages groff)
|
2022-11-11 05:55:07 +00:00
|
|
|
|
#:use-module (gnu packages haskell-check)
|
|
|
|
|
#:use-module (gnu packages haskell-web)
|
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2015-02-12 21:19:52 +00:00
|
|
|
|
#:use-module (gnu packages libffcall)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2015-02-14 18:04:12 +00:00
|
|
|
|
#:use-module (gnu packages libsigsegv)
|
2017-02-14 18:56:44 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2022-11-11 05:55:07 +00:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2021-08-22 16:39:49 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages ncurses)
|
|
|
|
|
#:use-module (gnu packages onc-rpc)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages readline)
|
|
|
|
|
#:use-module (gnu packages sdl)
|
2022-08-30 19:27:24 +00:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2018-10-09 17:30:35 +00:00
|
|
|
|
#:use-module (gnu packages tex)
|
|
|
|
|
#:use-module (gnu packages texinfo)
|
2021-08-22 16:39:49 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-02-15 23:46:12 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2017-02-14 18:56:44 +00:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2019-11-28 20:37:28 +00:00
|
|
|
|
#:use-module (ice-9 match))
|
2014-07-05 12:30:51 +00:00
|
|
|
|
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(define-public cl-asdf
|
|
|
|
|
(package
|
|
|
|
|
(name "cl-asdf")
|
2021-07-03 12:03:56 +00:00
|
|
|
|
(version "3.3.5")
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://common-lisp.net/project/asdf/archives/asdf-"
|
|
|
|
|
version ".lisp"))
|
|
|
|
|
(sha256
|
2021-07-03 12:03:56 +00:00
|
|
|
|
(base32 "1mydyrii3f0aig1q5admj6hyf59vjn4a5x1q8hqgh483987ilz6h"))))
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(build-system trivial-build-system)
|
2020-12-03 13:52:02 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("config-patch" ,@(search-patches "cl-asdf-config-directories.patch"))
|
|
|
|
|
("patch" ,patch)))
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
|
(guix build lisp-utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(guix build lisp-utils))
|
|
|
|
|
(let* ((out (string-append (assoc-ref %outputs "out")))
|
|
|
|
|
(asdf-install (string-append out %source-install-prefix
|
|
|
|
|
"/source/asdf/"))
|
2020-09-11 22:02:06 +00:00
|
|
|
|
(src-asdf (string-append (assoc-ref %build-inputs "source")))
|
2020-12-03 13:52:02 +00:00
|
|
|
|
(dst-asdf (string-append asdf-install "asdf.lisp"))
|
|
|
|
|
(patch (string-append (assoc-ref %build-inputs "patch")
|
|
|
|
|
"/bin/patch"))
|
|
|
|
|
(config-patch (assoc-ref %build-inputs "config-patch")))
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(mkdir-p asdf-install)
|
2020-09-11 22:02:06 +00:00
|
|
|
|
(copy-file src-asdf dst-asdf)
|
2020-12-03 13:52:02 +00:00
|
|
|
|
(invoke patch "-p1" "-i" config-patch dst-asdf)))))
|
2020-01-17 13:22:35 +00:00
|
|
|
|
(home-page "https://common-lisp.net/project/asdf/")
|
|
|
|
|
(synopsis "Another System Definition Facility")
|
|
|
|
|
(description
|
|
|
|
|
"ASDF is what Common Lisp hackers use to build and load software. It is
|
|
|
|
|
the successor of the Lisp DEFSYSTEM of yore. ASDF stands for Another System
|
|
|
|
|
Definition Facility.")
|
|
|
|
|
;; MIT License
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2014-07-05 12:30:51 +00:00
|
|
|
|
(define-public gcl
|
2023-03-02 14:00:09 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "gcl")
|
|
|
|
|
(version "2.6.14")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.savannah.gnu.org/r/gcl.git")
|
|
|
|
|
(commit (string-append "Version_"
|
|
|
|
|
(string-map (lambda (c)
|
|
|
|
|
(if (char=? c #\.) #\_ c))
|
|
|
|
|
version)))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1b9m02rfnyflsr8n57v7llxz5m3mi7ip3ypwdww4pdhbgh0lzyg7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:parallel-build? #f ; The build system seems not to be thread safe.
|
|
|
|
|
#:test-target "ansi-tests/test_results"
|
|
|
|
|
#:configure-flags #~(list
|
|
|
|
|
"--enable-ansi" ; required by the maxima package
|
|
|
|
|
(string-append "CFLAGS=-I"
|
|
|
|
|
#$(this-package-input "libtirpc")
|
|
|
|
|
"/include/tirpc")
|
|
|
|
|
(string-append "LDFLAGS=-L"
|
|
|
|
|
#$(this-package-input "libtirpc")
|
|
|
|
|
"/lib")
|
|
|
|
|
"LIBS=-ltirpc")
|
|
|
|
|
#:make-flags #~(let ((gcc (search-input-file %build-inputs "/bin/gcc")))
|
|
|
|
|
(list (string-append "GCL_CC=" gcc)
|
|
|
|
|
(string-append "CC=" gcc)))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'realpath-workaround
|
|
|
|
|
;; Calls to the realpath function can set errno even if the return
|
|
|
|
|
;; value of the function indicates that there is no error, which
|
|
|
|
|
;; make massert consider that there was an error.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gcl/o/main.c"
|
|
|
|
|
(("massert\\(realpath\\(s,o\\)\\);" all)
|
|
|
|
|
"massert((realpath(s, o) != NULL) && ((errno = 0) == 0));"))))
|
|
|
|
|
(add-after 'unpack 'fix-missing-enum
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The 'disassembler_style' enum is not defined anywhere,
|
|
|
|
|
;; and the parameter is not used...
|
|
|
|
|
(substitute* "gcl/o/main.c"
|
|
|
|
|
(("my_fprintf_styled\\(void \\*v,enum disassembler_style,")
|
|
|
|
|
"my_fprintf_styled(void *v,int disassembler_style,"))))
|
|
|
|
|
(add-after 'unpack 'fix-makefile
|
|
|
|
|
;; The "final" target doesn't exist.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "gcl/makefile"
|
|
|
|
|
(("\\$\\(MAKE\\) -C \\$\\(PORTDIR\\) final")
|
|
|
|
|
"$(MAKE) -C $(PORTDIR)"))))
|
|
|
|
|
(add-before 'configure 'pre-conf
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(chdir "gcl")
|
|
|
|
|
(substitute*
|
|
|
|
|
(append
|
|
|
|
|
'("pcl/impl/kcl/makefile.akcl"
|
|
|
|
|
"add-defs"
|
|
|
|
|
"unixport/makefile.dos"
|
|
|
|
|
"add-defs.bat"
|
|
|
|
|
"gcl-tk/makefile.prev"
|
|
|
|
|
"add-defs1")
|
|
|
|
|
(find-files "h" "\\.defs"))
|
|
|
|
|
(("SHELL=/bin/bash")
|
|
|
|
|
(string-append "SHELL=" (which "bash")))
|
|
|
|
|
(("SHELL=/bin/sh")
|
|
|
|
|
(string-append "SHELL=" (which "sh"))))
|
|
|
|
|
(substitute* "h/linux.defs"
|
|
|
|
|
(("#CC") "CC")
|
|
|
|
|
(("-fwritable-strings") "")
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
(substitute* "lsp/gcl_top.lsp"
|
|
|
|
|
(("\"cc\"")
|
|
|
|
|
(string-append "\"" (assoc-ref %build-inputs "gcc")
|
|
|
|
|
"/bin/gcc\""))
|
|
|
|
|
(("\\(or \\(get-path \\*cc\\*\\) \\*cc\\*\\)") "*cc*")
|
|
|
|
|
(("\"ld\"")
|
|
|
|
|
(string-append "\"" (assoc-ref %build-inputs "binutils")
|
|
|
|
|
"/bin/ld\""))
|
|
|
|
|
(("\\(or \\(get-path \\*ld\\*\\) \\*ld\\*\\)") "*ld*")
|
|
|
|
|
(("\\(get-path \"objdump --source \"\\)")
|
|
|
|
|
(string-append "\"" (assoc-ref %build-inputs "binutils")
|
|
|
|
|
"/bin/objdump --source \"")))))
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((gcl #$output)
|
|
|
|
|
(input-path (lambda (lib path)
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs lib) path)))
|
|
|
|
|
(binaries '("binutils")))
|
|
|
|
|
;; GCC and the GNU binutils are necessary for GCL to be
|
|
|
|
|
;; able to compile Lisp functions and programs (this is
|
|
|
|
|
;; a standard feature in Common Lisp). While the
|
|
|
|
|
;; the location of GCC is specified in the make-flags,
|
|
|
|
|
;; the GNU binutils must be available in GCL's $PATH.
|
|
|
|
|
(wrap-program (string-append gcl "/bin/gcl")
|
|
|
|
|
`("PATH" prefix ,(map (lambda (binary)
|
|
|
|
|
(input-path binary "/bin"))
|
|
|
|
|
binaries))))))
|
|
|
|
|
;; drop strip phase to make maxima build, see
|
|
|
|
|
;; https://www.ma.utexas.edu/pipermail/maxima/2008/009769.html
|
|
|
|
|
(delete 'strip))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal gmp libtirpc readline))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list m4 texinfo))
|
|
|
|
|
(home-page "https://www.gnu.org/software/gcl/")
|
|
|
|
|
(synopsis "Common Lisp implementation")
|
|
|
|
|
(description "GCL is an implementation of the Common Lisp language. It
|
2014-07-05 12:30:51 +00:00
|
|
|
|
features the ability to compile to native object code and to load native
|
|
|
|
|
object code modules directly into its lisp core. It also features a
|
|
|
|
|
stratified garbage collection strategy, a source-level debugger and a built-in
|
|
|
|
|
interface to the Tk widget system.")
|
2023-03-02 14:00:09 +00:00
|
|
|
|
(license license:lgpl2.0+)))
|
2014-07-05 12:30:51 +00:00
|
|
|
|
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(define-public ecl
|
|
|
|
|
(package
|
|
|
|
|
(name "ecl")
|
2021-02-03 19:59:02 +00:00
|
|
|
|
(version "21.2.1")
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-07-25 01:05:37 +00:00
|
|
|
|
(uri (string-append
|
2022-03-04 13:01:10 +00:00
|
|
|
|
"https://ecl.common-lisp.dev/static/files/release/"
|
2016-07-25 01:05:37 +00:00
|
|
|
|
name "-" version ".tgz"))
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(sha256
|
2021-02-03 19:59:02 +00:00
|
|
|
|
(base32 "000906nnq25177bgsfndiw3iqqgrjc9spk10hzk653sbz3f7anmi"))))
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2015-02-21 21:28:45 +00:00
|
|
|
|
;; src/configure uses 'which' to confirm the existence of 'gzip'.
|
2020-04-28 09:46:45 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list cl-asdf which texinfo))
|
2022-03-04 13:01:10 +00:00
|
|
|
|
(inputs (list bash-minimal))
|
2021-01-21 15:06:52 +00:00
|
|
|
|
;; When ECL is embedded in a program that wants to use Common Lisp as an
|
|
|
|
|
;; extension language, libgmp, libatomic-ops, libgc and libffi must be
|
|
|
|
|
;; present when compiling the program because they are required by ECL's
|
|
|
|
|
;; header file.
|
|
|
|
|
;; Therefore we put these libraries in 'propagated-inputs' instead
|
|
|
|
|
;; of 'inputs'.
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list gmp libatomic-ops libgc libffi))
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(arguments
|
2020-01-17 15:44:48 +00:00
|
|
|
|
`(#:configure-flags '("--without-rt")
|
2016-07-25 01:05:38 +00:00
|
|
|
|
#:parallel-tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-03-04 13:01:10 +00:00
|
|
|
|
;; FIXME: As of version 20.4.24, we pass 17995 tests and fail 7.
|
|
|
|
|
;; 2-3 tests may be due to FHS assumptions.
|
2016-07-25 01:05:38 +00:00
|
|
|
|
(delete 'check)
|
2020-01-17 15:44:48 +00:00
|
|
|
|
(add-after 'unpack 'replace-asdf
|
|
|
|
|
;; Use system ASDF instead of bundled one.
|
2020-12-05 09:11:38 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-01-17 15:44:48 +00:00
|
|
|
|
(let* ((cl-asdf (assoc-ref inputs "cl-asdf"))
|
|
|
|
|
(guix-asdf (string-append
|
|
|
|
|
cl-asdf
|
|
|
|
|
"/share/common-lisp/source/asdf/asdf.lisp"))
|
|
|
|
|
(contrib-asdf "contrib/asdf/asdf.lisp"))
|
2022-03-04 13:01:10 +00:00
|
|
|
|
(copy-file guix-asdf contrib-asdf))))
|
2020-12-12 02:34:37 +00:00
|
|
|
|
(add-after 'install 'remove-build-stamp
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(delete-file (string-append (assoc-ref outputs "out")
|
2022-03-04 13:01:10 +00:00
|
|
|
|
"/lib/ecl-" ,version "/build-stamp"))))
|
2020-12-12 02:34:37 +00:00
|
|
|
|
(add-after 'remove-build-stamp 'wrap
|
2016-07-25 01:05:39 +00:00
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((ecl (assoc-ref outputs "out"))
|
|
|
|
|
(input-path (lambda (lib path)
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs lib) path)))
|
|
|
|
|
(libraries '("gmp" "libatomic-ops" "libgc" "libffi" "libc"))
|
|
|
|
|
(binaries '("gcc" "ld-wrapper" "binutils"))
|
|
|
|
|
(library-directories
|
|
|
|
|
(map (lambda (lib) (input-path lib "/lib"))
|
|
|
|
|
libraries)))
|
|
|
|
|
|
|
|
|
|
(wrap-program (string-append ecl "/bin/ecl")
|
|
|
|
|
`("PATH" prefix
|
|
|
|
|
,(map (lambda (binary)
|
|
|
|
|
(input-path binary "/bin"))
|
|
|
|
|
binaries))
|
|
|
|
|
`("CPATH" suffix
|
|
|
|
|
,(map (lambda (lib)
|
|
|
|
|
(input-path lib "/include"))
|
2016-07-31 17:21:07 +00:00
|
|
|
|
`("kernel-headers" ,@libraries)))
|
2016-07-25 01:05:39 +00:00
|
|
|
|
`("LIBRARY_PATH" suffix ,library-directories)
|
2022-03-04 13:01:10 +00:00
|
|
|
|
`("LD_LIBRARY_PATH" suffix ,library-directories)))))
|
2017-03-12 00:10:56 +00:00
|
|
|
|
(add-after 'wrap 'check (assoc-ref %standard-phases 'check))
|
|
|
|
|
(add-before 'check 'fix-path-to-ecl
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "build/tests/Makefile"
|
2022-03-04 13:01:10 +00:00
|
|
|
|
(("\\$\\{exec_prefix\\}/") "")))))))
|
2016-10-03 02:41:29 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
build-system: asdf: Switch from bundles to regular compilation.
* gnu/packages/lisp.scm (sbcl, ecl)[native-search-paths]: Add
'XDG_CONFIG_DIRS'.
* guix/build-system/asdf.scm (asdf-build): Replace 'asd-file' and
'asd-system-name' keywords by 'asd-files' and 'asd-systems'.
* guix/build/asdf-build-system.scm (%object-prefix,
%lisp-source-install-prefix): Update variables.
(install): Update variable.
(main-system-name): New variable.
(copy-source): Replace 'asd-file' and 'asd-system-name' keywords by
'asd-files' and 'asd-systems'.
(configure): New variable.
(build, check): Replace 'asd-file' and 'asd-system-name' keywords by
'asd-files' and 'asd-systems'.
(create-asd-file, symlink-asd-files): Remove variables.
(create-asdf-configuration): New variable.
(cleanup-files): Update variable.
(%standard-phases): Remove 'create-asd-file' and 'symlink-asd-files' phases.
Add 'configure' and 'create-asdf-configuration' phases.
* guix/build/lisp-utils.scm (%bundle-install-prefix, normalize-dependency,
inputs->asd-file-map, asdf-load-all, compile-system): Remove variables.
(compile-systems): New variable.
(system-dependencies, compiled-system, generate-system-definition): Remove
variable.
(test-system): Replace 'asd-file' parameter by 'asd-files'.
(generate-executable-for-system): Update variable.
(generate-dependency-links, make-asd-file, bundle-asd-file): Remove
variables.
(make-asdf-configuration): New variable.
(build-program, build-image): Set 'XDG_CONFIG_DIRS'.
(generate-executable): Update variable.
2020-09-07 12:57:57 +00:00
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc")))))
|
2022-03-04 13:01:10 +00:00
|
|
|
|
(home-page "https://ecl.common-lisp.dev/")
|
2015-02-11 23:15:02 +00:00
|
|
|
|
(synopsis "Embeddable Common Lisp")
|
|
|
|
|
(description "ECL is an implementation of the Common Lisp language as
|
|
|
|
|
defined by the ANSI X3J13 specification. Its most relevant features are: a
|
|
|
|
|
bytecode compiler and interpreter, being able to compile Common Lisp with any
|
|
|
|
|
C/C++ compiler, being able to build standalone executables and libraries, and
|
|
|
|
|
supporting ASDF, Sockets, Gray streams, MOP, and other useful components.")
|
|
|
|
|
;; Note that the file "Copyright" points to some files and directories
|
2020-04-28 09:46:45 +00:00
|
|
|
|
;; which aren't under the lgpl2.1+ and instead contain many different,
|
2015-02-11 23:15:02 +00:00
|
|
|
|
;; non-copyleft licenses.
|
2020-04-28 09:46:45 +00:00
|
|
|
|
;; See https://common-lisp.net/project/ecl/posts/ECL-license.html.
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-02-12 21:19:52 +00:00
|
|
|
|
|
|
|
|
|
(define-public clisp
|
|
|
|
|
(package
|
|
|
|
|
(name "clisp")
|
2018-10-09 17:27:37 +00:00
|
|
|
|
(version "2.49-92")
|
2015-02-12 21:19:52 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-10-09 17:27:37 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/gnu-clisp/clisp")
|
|
|
|
|
(commit "clisp-2.49.92-2018-02-18")))
|
|
|
|
|
(file-name (git-file-name name version))
|
2015-02-12 21:19:52 +00:00
|
|
|
|
(sha256
|
2020-11-30 11:28:38 +00:00
|
|
|
|
(base32 "0k2dmgl0miz3767iks4p0mvp6xw0ysyxhjpklyh11j010rmh6hqb"))))
|
2015-02-12 21:19:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-12-04 09:48:41 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list cl-asdf))
|
|
|
|
|
(inputs (list libffcall ncurses readline libsigsegv))
|
2015-02-12 21:19:52 +00:00
|
|
|
|
(arguments
|
2018-10-09 17:27:37 +00:00
|
|
|
|
`(#:configure-flags '(,@(if (string-prefix? "armhf-linux"
|
|
|
|
|
(or (%current-system)
|
|
|
|
|
(%current-target-system)))
|
|
|
|
|
'("CFLAGS=-falign-functions=4")
|
|
|
|
|
'())
|
|
|
|
|
"--with-dynamic-ffi"
|
|
|
|
|
"--with-dynamic-modules"
|
2020-11-30 11:28:38 +00:00
|
|
|
|
"--with-ffcall"
|
|
|
|
|
"--with-readline"
|
|
|
|
|
"--with-sigsegv"
|
|
|
|
|
"--with-module=asdf"
|
2018-10-09 17:27:37 +00:00
|
|
|
|
"--with-module=rawsock")
|
2015-07-17 22:33:05 +00:00
|
|
|
|
#:phases
|
2017-01-01 10:12:29 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-sh-and-pwd
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The package is very messy with its references to "/bin/sh" and
|
|
|
|
|
;; some other absolute paths to traditional tools. These appear in
|
|
|
|
|
;; many places where our automatic patching misses them. Therefore
|
|
|
|
|
;; we do the following, in this early (post-unpack) phase, to solve
|
|
|
|
|
;; the problem from its root.
|
2018-10-09 17:27:37 +00:00
|
|
|
|
(substitute* '("src/clisp-link.in"
|
|
|
|
|
"src/unix.d"
|
|
|
|
|
"src/makemake.in")
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
2017-01-01 10:12:29 +00:00
|
|
|
|
(substitute* (find-files "." "configure|Makefile")
|
|
|
|
|
(("/bin/sh") "sh"))
|
|
|
|
|
(substitute* '("src/clisp-link.in")
|
|
|
|
|
(("/bin/pwd") "pwd"))
|
2020-12-04 09:48:41 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'replace-asdf
|
|
|
|
|
;; Use system ASDF instead of bundled one.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((cl-asdf (assoc-ref inputs "cl-asdf"))
|
|
|
|
|
(guix-asdf (string-append
|
|
|
|
|
cl-asdf
|
|
|
|
|
"/share/common-lisp/source/asdf/asdf.lisp"))
|
|
|
|
|
(contrib-asdf "modules/asdf/asdf.lisp"))
|
|
|
|
|
(delete-file contrib-asdf)
|
|
|
|
|
(copy-file guix-asdf contrib-asdf)))))))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc")))))
|
2018-10-09 17:27:37 +00:00
|
|
|
|
(home-page "https://clisp.sourceforge.io/")
|
gnu: Remove leading article from synopsis.
* gnu/packages/admin.scm (hungrycat)[synopsis]: Remove leading article.
* gnu/packages/cobol.scm (gnucobol)[synopsis]: Likewise.
* gnu/packages/cpp.scm (clipper)[synopsis]: Likewise.
* gnu/packages/crates-graphics.scm (rust-piston-texture-0.8)[synopsis]:
Likewise.
* gnu/packages/crates-io.scm (rust-alloc-stdlib-0.2, rust-atom-0.3,
rust-oorandom-11.1, rust-r2d2, rust-scheduled-thread-pool-0.2,
rust-takeable-option-0.4, rust-ttf-parser-0.12,
rust-svd-parser-0.9)[synopsis]: Likewise.
* gnu/packages/games.scm (roguebox-adventures)[synopsis]: Likewise.
* gnu/packages/gl.scm (libepoxy)[synopsis]: Likewise.
* gnu/packages/gnome-xyz.scm (arc-theme)[synopsis]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-cborg-json, ghc-rio)[synopsis]: Likewise.
* gnu/packages/installers.scm (mingw-path)[synopsis]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-utilities)[synopsis]: Likewise.
* gnu/packages/lisp.scm (gcl, clisp)[synopsis]: Likewise.
* gnu/packages/maths.scm (coda)[synopsis]: Likewise.
* gnu/packages/ocaml.scm (ocaml4.07-ppx-sexp-message)[synopsis]: Likewise.
* gnu/packages/perl6.scm (perl6-json)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-pari-jupyter, python-markuppy,
python-febelfin-coda)[synopsis]: Likewise.
* gnu/packages/scheme.scm (mit-scheme)[synopsis]: Likewise.
* gnu/packages/statistics.scm (r-magrittr)[synopsis]: Likewise.
* gnu/packages/terminals.scm (sakura)[synopsis]: Likewise.
2021-12-31 04:44:21 +00:00
|
|
|
|
(synopsis "Common Lisp implementation")
|
2015-02-24 22:12:16 +00:00
|
|
|
|
(description
|
|
|
|
|
"GNU CLISP is an implementation of ANSI Common Lisp. Common Lisp is a
|
|
|
|
|
high-level, object-oriented functional programming language. CLISP includes
|
|
|
|
|
an interpreter, a compiler, a debugger, and much more.")
|
2018-03-25 06:37:55 +00:00
|
|
|
|
(license license:gpl2+)))
|
2015-02-14 18:04:12 +00:00
|
|
|
|
|
2020-01-03 14:19:49 +00:00
|
|
|
|
(define-public sbcl
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(package
|
2020-01-03 14:19:49 +00:00
|
|
|
|
(name "sbcl")
|
2023-03-02 12:34:36 +00:00
|
|
|
|
(version "2.3.2")
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/sbcl/sbcl/" version "/sbcl-"
|
|
|
|
|
version "-source.tar.bz2"))
|
|
|
|
|
(sha256
|
2022-11-18 09:39:07 +00:00
|
|
|
|
(base32 "1ahyrc3p9cf7y5zbgzvb9yxa8a480ccis4ksijlajck3z8n1dk24"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Don't force ARMv5.
|
|
|
|
|
(substitute* "src/runtime/Config.arm-linux"
|
|
|
|
|
(("-march=armv5") ""))))))
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2016-01-10 09:41:23 +00:00
|
|
|
|
(outputs '("out" "doc"))
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(native-inputs
|
2018-11-24 17:34:22 +00:00
|
|
|
|
;; From INSTALL:
|
|
|
|
|
;; Supported build hosts are:
|
|
|
|
|
;; SBCL
|
|
|
|
|
;; CMUCL
|
|
|
|
|
;; CCL (formerly known as OpenMCL)
|
|
|
|
|
;; ABCL (recent versions only)
|
|
|
|
|
;; CLISP (only some versions: 2.44.1 is OK, 2.47 is not)
|
|
|
|
|
;; XCL
|
2019-09-05 09:41:35 +00:00
|
|
|
|
;;
|
|
|
|
|
;; From NEWS:
|
|
|
|
|
;; * build enhancement: new host quirks mechanism, support for building under
|
|
|
|
|
;; ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
|
|
|
|
|
;;
|
|
|
|
|
;; CCL is not bootstrappable so it won't do. CLISP 2.49 seems to work.
|
2020-07-01 09:02:02 +00:00
|
|
|
|
;; ECL too. As of 2020-07-01, ECL was last updated in 2020 while CLISP
|
|
|
|
|
;; was last updated in 2010, and both take about the same time to build SBCL.
|
2019-09-05 09:41:35 +00:00
|
|
|
|
;;
|
2022-07-12 17:07:34 +00:00
|
|
|
|
;; For now we stick to CLISP as the default for all systems. In any event, keep
|
|
|
|
|
;; the `match' here to make it easier to change the host compiler for various
|
2020-07-01 09:02:02 +00:00
|
|
|
|
;; architectures. Consider switching to ECL if it gets faster than CLISP
|
|
|
|
|
;; (maybe post 2020 release).
|
2022-06-30 11:51:50 +00:00
|
|
|
|
(list (match (%current-system)
|
2022-07-12 17:07:34 +00:00
|
|
|
|
("powerpc-linux" ; CLISP fails to build, needs investigating.
|
|
|
|
|
ecl)
|
2022-06-30 11:51:50 +00:00
|
|
|
|
(_
|
|
|
|
|
clisp))
|
|
|
|
|
cl-asdf
|
|
|
|
|
ed
|
|
|
|
|
inetutils ;for hostname(1)
|
|
|
|
|
texinfo
|
|
|
|
|
(texlive-updmap.cfg (list texlive-tex-texinfo))
|
|
|
|
|
which))
|
|
|
|
|
(inputs
|
2022-06-30 16:58:25 +00:00
|
|
|
|
(list gmp ; for sb-gmp
|
|
|
|
|
mpfr ; for sb-mpfr
|
|
|
|
|
(list zstd "lib")))
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(arguments
|
2018-11-29 09:54:57 +00:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
2017-05-08 19:55:49 +00:00
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
2015-12-31 17:36:52 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
2022-05-22 15:20:18 +00:00
|
|
|
|
(add-after 'unpack 'fix-build-id
|
|
|
|
|
;; One of the build scripts makes a build id using the current date.
|
|
|
|
|
;; Replace it with a reproducible id using a part of the output hash.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((hash (substring (assoc-ref outputs "out")
|
|
|
|
|
(+ (string-length (%store-directory)) 1)
|
|
|
|
|
(+ (string-length (%store-directory)) 9))))
|
|
|
|
|
(substitute* "make-config.sh"
|
|
|
|
|
(("echo .* > output/build-id.inc")
|
|
|
|
|
(string-append "echo '\"'guix-sbcl-"
|
|
|
|
|
hash
|
|
|
|
|
"'\"' > output/build-id.inc"))))))
|
2020-01-17 14:28:42 +00:00
|
|
|
|
(add-after 'unpack 'replace-asdf
|
|
|
|
|
;; SBCL developers have not committed to keeping ASDF up to date
|
|
|
|
|
;; due to breaking changes [1]. Guix can handle this situation
|
|
|
|
|
;; easily, and it behooves us to have more control over what version
|
|
|
|
|
;; of ASDF we use to build software; therefore, replace the contrib
|
|
|
|
|
;; ASDF with the version packaged into Guix.
|
|
|
|
|
;; [1] - https://bugs.launchpad.net/sbcl/+bug/1823442
|
2020-12-05 09:22:42 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-01-17 14:28:42 +00:00
|
|
|
|
(let* ((cl-asdf (assoc-ref inputs "cl-asdf"))
|
|
|
|
|
(guix-asdf (string-append
|
|
|
|
|
cl-asdf
|
|
|
|
|
"/share/common-lisp/source/asdf/asdf.lisp"))
|
|
|
|
|
(contrib-asdf "contrib/asdf/asdf.lisp"))
|
2020-09-11 22:02:06 +00:00
|
|
|
|
(copy-file guix-asdf contrib-asdf))
|
2020-01-17 14:28:42 +00:00
|
|
|
|
#t))
|
2015-12-31 17:36:52 +00:00
|
|
|
|
(add-before 'build 'patch-unix-tool-paths
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bash (assoc-ref inputs "bash"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
|
(ed (assoc-ref inputs "ed")))
|
|
|
|
|
(define (quoted-path input path)
|
|
|
|
|
(string-append "\"" input path "\""))
|
|
|
|
|
;; Patch absolute paths in string literals. Note that this
|
|
|
|
|
;; occurs in some .sh files too (which contain Lisp code). Use
|
|
|
|
|
;; ISO-8859-1 because some of the files are ISO-8859-1 encoded.
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
2016-07-24 13:29:28 +00:00
|
|
|
|
;; The removed file is utf-16-be encoded, which gives substitute*
|
|
|
|
|
;; trouble. It does not contain references to the listed programs.
|
|
|
|
|
(substitute* (delete
|
|
|
|
|
"./tests/data/compile-file-pos-utf16be.lisp"
|
|
|
|
|
(find-files "." "\\.(lisp|sh)$"))
|
2015-12-31 17:36:52 +00:00
|
|
|
|
(("\"/bin/sh\"") (quoted-path bash "/bin/sh"))
|
|
|
|
|
(("\"/usr/bin/env\"") (quoted-path coreutils "/usr/bin/env"))
|
|
|
|
|
(("\"/bin/cat\"") (quoted-path coreutils "/bin/cat"))
|
|
|
|
|
(("\"/bin/ed\"") (quoted-path ed "/bin/ed"))
|
|
|
|
|
(("\"/bin/echo\"") (quoted-path coreutils "/bin/echo"))
|
|
|
|
|
(("\"/bin/uname\"") (quoted-path coreutils "/bin/uname"))))
|
|
|
|
|
;; This one script has a non-string occurrence of /bin/sh.
|
|
|
|
|
(substitute* '("tests/foreign.test.sh")
|
|
|
|
|
;; Leave whitespace so we don't match the shebang.
|
|
|
|
|
((" /bin/sh ") " sh "))
|
|
|
|
|
;; This file contains a module that can create executable files
|
|
|
|
|
;; which depend on the presence of SBCL. It generates shell
|
|
|
|
|
;; scripts doing "exec sbcl ..." to achieve this. We patch both
|
|
|
|
|
;; the shebang and the reference to "sbcl", tying the generated
|
|
|
|
|
;; executables to the exact SBCL package that generated them.
|
|
|
|
|
(substitute* '("contrib/sb-executable/sb-executable.lisp")
|
|
|
|
|
(("/bin/sh") (string-append bash "/bin/sh"))
|
|
|
|
|
(("exec sbcl") (string-append "exec " out "/bin/sbcl")))
|
|
|
|
|
;; Disable some tests that fail in our build environment.
|
|
|
|
|
(substitute* '("contrib/sb-bsd-sockets/tests.lisp")
|
|
|
|
|
;; This requires /etc/protocols.
|
|
|
|
|
(("\\(deftest get-protocol-by-name/error" all)
|
|
|
|
|
(string-append "#+nil ;disabled by Guix\n" all)))
|
|
|
|
|
(substitute* '("contrib/sb-posix/posix-tests.lisp")
|
|
|
|
|
;; These assume some users/groups which we don't have.
|
|
|
|
|
(("\\(deftest pwent\\.[12]" all)
|
|
|
|
|
(string-append "#+nil ;disabled by Guix\n" all))
|
|
|
|
|
(("\\(deftest grent\\.[12]" all)
|
2019-12-09 11:20:48 +00:00
|
|
|
|
(string-append "#+nil ;disabled by Guix\n" all))))
|
|
|
|
|
#t))
|
2022-06-30 16:58:25 +00:00
|
|
|
|
(add-before 'build 'fix-contrib-library-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gmp (assoc-ref inputs "gmp"))
|
|
|
|
|
(mpfr (assoc-ref inputs "mpfr")))
|
|
|
|
|
(substitute* '("contrib/sb-gmp/gmp.lisp")
|
|
|
|
|
(("\"libgmp\\.so") (string-append "\"" gmp "/lib/libgmp.so")))
|
|
|
|
|
(substitute* '("contrib/sb-mpfr/mpfr.lisp")
|
|
|
|
|
(("\"libmpfr\\.so") (string-append "\"" mpfr "/lib/libmpfr.so"))))
|
|
|
|
|
#t))
|
2015-12-31 17:36:52 +00:00
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CC" "gcc")
|
2020-01-03 14:19:49 +00:00
|
|
|
|
(invoke "sh" "make.sh" ,@(match (%current-system)
|
2022-07-12 17:07:34 +00:00
|
|
|
|
("powerpc-linux"
|
|
|
|
|
`("ecl"))
|
2020-01-03 14:19:49 +00:00
|
|
|
|
(_
|
|
|
|
|
`("clisp")))
|
2018-11-24 17:34:22 +00:00
|
|
|
|
(string-append "--prefix="
|
2019-08-24 16:25:53 +00:00
|
|
|
|
(assoc-ref outputs "out"))
|
2022-07-12 17:07:34 +00:00
|
|
|
|
,@(if (target-ppc32?)
|
|
|
|
|
;; 3072 is too much for this architecture.
|
|
|
|
|
`("--dynamic-space-size=2048")
|
|
|
|
|
`("--dynamic-space-size=3072"))
|
2019-08-24 16:25:53 +00:00
|
|
|
|
"--with-sb-core-compression"
|
2022-07-03 08:08:47 +00:00
|
|
|
|
"--with-sb-xref-for-internals"
|
|
|
|
|
;; SB-SIMD will only be built on x86_64 CPUs supporting
|
|
|
|
|
;; AVX2 instructions. Some x86_64 CPUs don't, so for reproducibility
|
2022-10-31 12:57:17 +00:00
|
|
|
|
;; we disable it.
|
2022-07-03 08:08:47 +00:00
|
|
|
|
"--without-sb-simd")))
|
2022-06-30 16:58:25 +00:00
|
|
|
|
(add-after 'build 'build-shared-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "sh" "make-shared-library.sh")))
|
2015-12-31 17:36:52 +00:00
|
|
|
|
(replace 'install
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(lambda _
|
2018-11-24 17:34:22 +00:00
|
|
|
|
(invoke "sh" "install.sh")))
|
2016-01-10 09:41:23 +00:00
|
|
|
|
(add-after 'build 'build-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "doc/manual"
|
2018-11-24 17:34:22 +00:00
|
|
|
|
(and (invoke "make" "info")
|
|
|
|
|
(invoke "make" "dist")))))
|
2019-08-25 10:28:28 +00:00
|
|
|
|
(add-after 'build 'build-source
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(rc (string-append out "/lib/sbcl/sbclrc"))
|
|
|
|
|
(source-dir (string-append out "/share/sbcl")))
|
|
|
|
|
(for-each (lambda (p)
|
|
|
|
|
(copy-recursively p (string-append source-dir "/" p)))
|
|
|
|
|
'("src" "contrib"))
|
|
|
|
|
(mkdir-p (dirname rc))
|
|
|
|
|
(with-output-to-file rc
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
(string-append "(sb-ext:set-sbcl-source-location \""
|
|
|
|
|
source-dir "\")") )))
|
|
|
|
|
#t)))
|
2022-07-07 07:58:49 +00:00
|
|
|
|
(add-after 'install 'remove-coreutils-references
|
|
|
|
|
;; They are only useful on non-Linux, non-SBCL.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share-dir (string-append out "/share/sbcl/")))
|
|
|
|
|
(substitute* (string-append share-dir "src/code/run-program.lisp")
|
|
|
|
|
(("\\(run-program \".*uname\"")
|
|
|
|
|
"(run-program \"uname\""))
|
|
|
|
|
(substitute* (string-append share-dir "contrib/asdf/asdf.lisp")
|
|
|
|
|
(("\\(\".*/usr/bin/env\"")
|
|
|
|
|
"(\"/usr/bin/env\""))
|
|
|
|
|
(substitute* (string-append share-dir "contrib/asdf/uiop.lisp")
|
|
|
|
|
(("\\(\".*/usr/bin/env\"")
|
|
|
|
|
"(\"/usr/bin/env\""))
|
|
|
|
|
#t)))
|
2022-06-30 16:58:25 +00:00
|
|
|
|
(add-after 'install 'install-shared-library
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib-dir (string-append out "/lib")))
|
|
|
|
|
(install-file "src/runtime/libsbcl.so" lib-dir)
|
|
|
|
|
#t)))
|
2016-01-10 09:41:23 +00:00
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc"))
|
|
|
|
|
(old-doc-dir (string-append out "/share/doc"))
|
|
|
|
|
(new-doc/sbcl-dir (string-append doc "/share/doc/sbcl")))
|
|
|
|
|
(rmdir (string-append old-doc-dir "/sbcl/html"))
|
|
|
|
|
(mkdir-p new-doc/sbcl-dir)
|
|
|
|
|
(copy-recursively (string-append old-doc-dir "/sbcl")
|
|
|
|
|
new-doc/sbcl-dir)
|
|
|
|
|
(delete-file-recursively old-doc-dir)
|
|
|
|
|
#t))))
|
2020-01-17 14:28:42 +00:00
|
|
|
|
;; No 'check' target, though "make.sh" (build phase) runs tests.
|
|
|
|
|
#:tests? #f))
|
2016-10-03 02:41:28 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
build-system: asdf: Switch from bundles to regular compilation.
* gnu/packages/lisp.scm (sbcl, ecl)[native-search-paths]: Add
'XDG_CONFIG_DIRS'.
* guix/build-system/asdf.scm (asdf-build): Replace 'asd-file' and
'asd-system-name' keywords by 'asd-files' and 'asd-systems'.
* guix/build/asdf-build-system.scm (%object-prefix,
%lisp-source-install-prefix): Update variables.
(install): Update variable.
(main-system-name): New variable.
(copy-source): Replace 'asd-file' and 'asd-system-name' keywords by
'asd-files' and 'asd-systems'.
(configure): New variable.
(build, check): Replace 'asd-file' and 'asd-system-name' keywords by
'asd-files' and 'asd-systems'.
(create-asd-file, symlink-asd-files): Remove variables.
(create-asdf-configuration): New variable.
(cleanup-files): Update variable.
(%standard-phases): Remove 'create-asd-file' and 'symlink-asd-files' phases.
Add 'configure' and 'create-asdf-configuration' phases.
* guix/build/lisp-utils.scm (%bundle-install-prefix, normalize-dependency,
inputs->asd-file-map, asdf-load-all, compile-system): Remove variables.
(compile-systems): New variable.
(system-dependencies, compiled-system, generate-system-definition): Remove
variable.
(test-system): Replace 'asd-file' parameter by 'asd-files'.
(generate-executable-for-system): Update variable.
(generate-dependency-links, make-asd-file, bundle-asd-file): Remove
variables.
(make-asdf-configuration): New variable.
(build-program, build-image): Set 'XDG_CONFIG_DIRS'.
(generate-executable): Update variable.
2020-09-07 12:57:57 +00:00
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc")))))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://www.sbcl.org/")
|
2015-02-14 18:04:12 +00:00
|
|
|
|
(synopsis "Common Lisp implementation")
|
|
|
|
|
(description "Steel Bank Common Lisp (SBCL) is a high performance Common
|
|
|
|
|
Lisp compiler. In addition to the compiler and runtime system for ANSI Common
|
|
|
|
|
Lisp, it provides an interactive environment including a debugger, a
|
|
|
|
|
statistical profiler, a code coverage tool, and many other extensions.")
|
|
|
|
|
;; Public domain in jurisdictions that allow it, bsd-2 otherwise. MIT
|
|
|
|
|
;; loop macro has its own license. See COPYING file for further notes.
|
|
|
|
|
(license (list license:public-domain license:bsd-2
|
|
|
|
|
(license:x11-style "file://src/code/loop.lisp")))))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
|
|
|
|
|
(define-public ccl
|
2019-09-05 09:41:35 +00:00
|
|
|
|
;; Warning: according to upstream, CCL is not bootstrappable.
|
|
|
|
|
;; See https://github.com/Clozure/ccl/issues/222 from 2019-09-02:
|
|
|
|
|
;;
|
|
|
|
|
;; "As far as I know, there is no way to build CCL without an existing
|
|
|
|
|
;; running CCL image. It was bootstrapped back in 1986 or so as
|
|
|
|
|
;; Macintosh Common Lisp, by Gary Byers, I believe, who is no longer on
|
|
|
|
|
;; the planet to tell us the story. It SHOULD be possible to port the
|
|
|
|
|
;; CCL compiler to portable Common Lisp, so that ANY lisp could build
|
|
|
|
|
;; it, as is the case for SBCL, but I know of no attempt to do so."
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "ccl")
|
2021-05-27 15:30:25 +00:00
|
|
|
|
;; XXX When updating this package, check whether we can simply append
|
|
|
|
|
;; VERSION to the ccl-bootstrap URL again, instead of per architecture.
|
|
|
|
|
(version "1.12.1")
|
2020-05-14 19:48:09 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Clozure/ccl/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name "ccl" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-05-27 15:30:25 +00:00
|
|
|
|
"1zz291lvsrr7pps8wfl2kdxsnzjngqi4v3mil14pga4r5zanmsi7"))))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; CCL consists of a "lisp kernel" and "heap image", both of which are
|
|
|
|
|
;; shipped in precompiled form in source tarballs. The former is a C
|
|
|
|
|
;; program which we can rebuild from scratch, but the latter cannot be
|
|
|
|
|
;; generated without an already working copy of CCL, and is platform
|
|
|
|
|
;; dependent, so we need to fetch the correct tarball for the platform.
|
|
|
|
|
(inputs
|
2020-05-14 19:48:09 +00:00
|
|
|
|
`(("ccl-bootstrap"
|
2015-02-15 23:46:12 +00:00
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2021-05-27 15:30:25 +00:00
|
|
|
|
"https://github.com/Clozure/ccl/releases/download/v"
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(match (%current-system)
|
2021-05-27 15:30:25 +00:00
|
|
|
|
("armhf-linux" "1.12/linuxarm")
|
2020-05-31 12:56:57 +00:00
|
|
|
|
;; XXX: This source only works on x86, but provide it as a
|
|
|
|
|
;; catch-all to prevent errors when querying this package
|
|
|
|
|
;; on unsupported platforms.
|
2021-05-27 15:30:25 +00:00
|
|
|
|
(_ "1.12.1/linuxx86"))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
(match (%current-system)
|
2015-04-19 13:55:01 +00:00
|
|
|
|
("armhf-linux"
|
2020-05-14 19:48:09 +00:00
|
|
|
|
"0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c")
|
2021-05-27 15:30:25 +00:00
|
|
|
|
(_ "0ll017ajcfsyx8f7zsy4394y8xxvz40iz0gcsmznp0n3mf0xi67c"))))))))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list cl-asdf m4))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no 'check' target
|
2020-05-31 12:56:57 +00:00
|
|
|
|
#:modules ((ice-9 match)
|
|
|
|
|
(srfi srfi-26)
|
2017-03-16 02:12:10 +00:00
|
|
|
|
(guix build utils)
|
|
|
|
|
(guix build gnu-build-system))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(modify-phases %standard-phases
|
2020-05-14 19:48:09 +00:00
|
|
|
|
(add-after 'unpack 'unpack-image
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2020-05-14 19:48:09 +00:00
|
|
|
|
(invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap"))))
|
2020-12-04 09:29:34 +00:00
|
|
|
|
(add-after 'unpack 'replace-asdf
|
|
|
|
|
;; Use system ASDF instead of bundled one.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let* ((cl-asdf (assoc-ref inputs "cl-asdf"))
|
|
|
|
|
(guix-asdf (string-append
|
|
|
|
|
cl-asdf
|
|
|
|
|
"/share/common-lisp/source/asdf/asdf.lisp"))
|
|
|
|
|
(contrib-asdf "tools/asdf.lisp"))
|
|
|
|
|
(delete-file contrib-asdf)
|
|
|
|
|
(copy-file guix-asdf contrib-asdf))))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'pre-build
|
|
|
|
|
;; Enter the source directory for the current platform's lisp
|
|
|
|
|
;; kernel, and run 'make clean' to remove the precompiled one.
|
2020-05-31 12:56:57 +00:00
|
|
|
|
(lambda* (#:key system #:allow-other-keys)
|
2018-02-28 20:10:47 +00:00
|
|
|
|
(substitute* "lisp-kernel/m4macros.m4"
|
|
|
|
|
(("/bin/pwd") (which "pwd")))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(chdir (string-append
|
|
|
|
|
"lisp-kernel/"
|
2020-05-31 12:56:57 +00:00
|
|
|
|
(match system
|
|
|
|
|
("i686-linux" "linuxx8632")
|
|
|
|
|
("x86_64-linux" "linuxx8664")
|
|
|
|
|
("armhf-linux" "linuxarm")
|
|
|
|
|
(_ (string-append "unknown system: " system)))))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(substitute* '("Makefile")
|
|
|
|
|
(("/bin/rm") "rm"))
|
|
|
|
|
(setenv "CC" "gcc")
|
2019-01-25 11:26:51 +00:00
|
|
|
|
(invoke "make" "clean")))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
;; XXX Do we need to recompile the heap image as well for Guix?
|
|
|
|
|
;; For now just use the one we already got in the tarball.
|
|
|
|
|
(replace 'install
|
2020-05-31 12:56:57 +00:00
|
|
|
|
(lambda* (#:key outputs inputs system #:allow-other-keys)
|
2015-02-15 23:46:12 +00:00
|
|
|
|
;; The lisp kernel built by running 'make' in lisp-kernel/$system
|
|
|
|
|
;; is put back into the original directory, so go back. The heap
|
|
|
|
|
;; image is there as well.
|
|
|
|
|
(chdir "../..")
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libdir (string-append out "/lib/"))
|
|
|
|
|
(bindir (string-append out "/bin/"))
|
|
|
|
|
(wrapper (string-append bindir "ccl"))
|
|
|
|
|
(bash (assoc-ref inputs "bash"))
|
|
|
|
|
(kernel
|
2020-05-31 12:56:57 +00:00
|
|
|
|
(match system
|
|
|
|
|
("i686-linux" "lx86cl")
|
|
|
|
|
("x86_64-linux" "lx86cl64")
|
|
|
|
|
("armhf-linux" "armcl")
|
|
|
|
|
;; Unlikely to work, but try it anyway...
|
|
|
|
|
(_ system)))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(heap (string-append kernel ".image")))
|
2017-03-16 02:12:10 +00:00
|
|
|
|
(install-file kernel libdir)
|
|
|
|
|
(install-file heap libdir)
|
|
|
|
|
|
2020-05-31 12:56:57 +00:00
|
|
|
|
(let ((dirs `("lib" "library" "examples" "tools" "objc-bridge"
|
|
|
|
|
,@(match system
|
2020-05-14 19:48:09 +00:00
|
|
|
|
("x86_64-linux"
|
|
|
|
|
'("x86-headers64"))
|
|
|
|
|
("i686-linux"
|
|
|
|
|
'("x86-headers"))
|
|
|
|
|
(_ '())))))
|
2017-03-16 02:12:10 +00:00
|
|
|
|
(for-each copy-recursively
|
|
|
|
|
dirs
|
|
|
|
|
(map (cut string-append libdir <>) dirs)))
|
|
|
|
|
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(mkdir-p bindir)
|
|
|
|
|
(with-output-to-file wrapper
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"#!" bash "/bin/sh\n"
|
2018-11-22 18:39:07 +00:00
|
|
|
|
"export CCL_DEFAULT_DIRECTORY=" libdir "\n"
|
|
|
|
|
"exec -a \"$0\" " libdir kernel " \"$@\"\n"))))
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
(chmod wrapper #o755))
|
|
|
|
|
#t)))))
|
2020-12-04 09:29:34 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "XDG_DATA_DIRS")
|
|
|
|
|
(files '("share")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "XDG_CONFIG_DIRS")
|
|
|
|
|
(files '("etc")))))
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux" "armhf-linux"))
|
2018-11-22 10:42:01 +00:00
|
|
|
|
(home-page "https://ccl.clozure.com/")
|
2015-02-15 23:46:12 +00:00
|
|
|
|
(synopsis "Common Lisp implementation")
|
|
|
|
|
(description "Clozure CL (often called CCL for short) is a Common Lisp
|
|
|
|
|
implementation featuring fast compilation speed, native threads, a precise,
|
|
|
|
|
generational, compacting garbage collector, and a convenient foreign-function
|
|
|
|
|
interface.")
|
2020-05-14 19:48:09 +00:00
|
|
|
|
(license license:asl2.0)))
|
2020-04-02 09:45:16 +00:00
|
|
|
|
|
2017-02-14 18:56:44 +00:00
|
|
|
|
(define-public lush2
|
|
|
|
|
(package
|
|
|
|
|
(name "lush2")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/lush/lush2/lush-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "src/unix.c"
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(("\\{ \"LUSH_DATE\", __DATE__ \\},") "")
|
|
|
|
|
(("\\{ \"LUSH_TIME\", __TIME__ \\},") ""))
|
|
|
|
|
(substitute* "src/main.c"
|
|
|
|
|
(("\" \\(built \" __DATE__ \"\\)\"") ""))
|
|
|
|
|
#t))
|
2017-02-14 18:56:44 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"02pkfn3nqdkm9fm44911dbcz0v3r0l53vygj8xigl6id5g3iwi4k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; We have to add these LIBS so that they are found.
|
|
|
|
|
#:configure-flags (list "LIBS=-lz"
|
|
|
|
|
"X_EXTRA_LIBS=-lfontconfig"
|
|
|
|
|
"--with-x")
|
|
|
|
|
#:tests? #f)) ; No make check.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list intltool))
|
2017-02-14 18:56:44 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("sdl-net" ,sdl-net)
|
|
|
|
|
("sdl-ttf" ,sdl-ttf)
|
|
|
|
|
("lapack" ,lapack)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("gsl" ,gsl)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mesa-utils" ,mesa-utils)
|
|
|
|
|
("binutils" ,binutils)
|
|
|
|
|
("libiberty" ,libiberty)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("gettext-minimal" ,gettext-minimal)))
|
|
|
|
|
(synopsis "Lisp Universal Shell")
|
|
|
|
|
(description
|
|
|
|
|
"Lush is an object-oriented Lisp interpreter/compiler with features
|
|
|
|
|
designed to please people who want to prototype large numerical
|
|
|
|
|
applications. Lush includes an extensive library of
|
|
|
|
|
vector/matrix/tensor manipulation, numerous numerical libraries
|
|
|
|
|
(including GSL, LAPACK, and BLAS), a set of graphic functions, a
|
|
|
|
|
simple GUI toolkit, and interfaces to various graphic and multimedia
|
|
|
|
|
libraries such as OpenGL, SDL, Video4Linux, and ALSA (video/audio
|
|
|
|
|
grabbing), and others. Lush is an ideal frontend script language for
|
|
|
|
|
programming projects written in C or other languages. Lush also has
|
|
|
|
|
libraries for Machine Learning, Neural Nets and statistical estimation.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://lush.sourceforge.net/")
|
2017-02-14 18:56:44 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2018-09-17 21:18:08 +00:00
|
|
|
|
(define-public confusion-mdl
|
|
|
|
|
(let* ((commit "12a055581fc262225272df43287dae48281900f5"))
|
|
|
|
|
(package
|
|
|
|
|
(name "confusion-mdl")
|
|
|
|
|
(version "0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url (string-append "https://gitlab.com/emacsomancer/" name))
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zi8kflzvwqg97ha1sa5xjisbjs5z1mvbpa772vfxiv5ksnpxp0d"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "CC=gcc" make-flags)))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "mdli" bin)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl))
|
2018-09-17 21:18:08 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libgc))
|
2018-09-17 21:18:08 +00:00
|
|
|
|
(synopsis "Interpreter for the MIT Design Language (MDL)")
|
|
|
|
|
(description "MDL (the MIT Design Language) is a descendant of Lisp. It
|
|
|
|
|
was originally developed in 1971 on the PDP-10 computer under the Incompatible
|
|
|
|
|
Timesharing System (ITS) to provide high level language support for the
|
|
|
|
|
Dynamic Modeling Group at MIT's Project MAC. Infocom built the original
|
|
|
|
|
PDP-10 Zork in MDL and their later ZIL (Zork Implementation Language) was
|
|
|
|
|
based on a subset of MDL. Confusion is a MDL interpreter that works just well
|
|
|
|
|
enough to play the original mainframe Zork all the way through.")
|
|
|
|
|
(home-page "http://www.russotto.net/git/mrussotto/confusion/src/master/src/README")
|
|
|
|
|
(license license:gpl3+))))
|
2018-08-21 16:25:50 +00:00
|
|
|
|
|
2021-07-11 00:23:49 +00:00
|
|
|
|
(define man-for-txr
|
|
|
|
|
(let ((commit "dfbf19b9a96474b8c1bacac85e43605e5691ceb2")
|
|
|
|
|
;; Number of additional commits since the last tag (see the output of
|
|
|
|
|
;; "git describe --tags").
|
|
|
|
|
(revision "41"))
|
|
|
|
|
(package
|
|
|
|
|
(name "man-for-txr")
|
|
|
|
|
(version (git-version "1.6g" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "http://www.kylheku.com/git/man/")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1zy0g8fj9nsfwzvg88hyaiy94r8j14xhs8vy2ln2niqdm6x2lvy2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-man2html-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "man2html/Makefile.in"
|
|
|
|
|
;; It inadvertently ignores @bindir@.
|
|
|
|
|
(("^(bindir = \\$\\(DESTDIR\\)\\$\\(PREFIX\\)).*" _ prefix)
|
|
|
|
|
(string-append prefix "@bindir@\n")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'delete-generated-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(append
|
|
|
|
|
(list "conf_script")
|
|
|
|
|
(map (lambda (d) (string-append d "/Makefile"))
|
|
|
|
|
'("." "man" "man2html" "src"))
|
|
|
|
|
(map (lambda (f) (string-append "src/" f))
|
|
|
|
|
'("makewhatis.in" "man.conf"
|
|
|
|
|
"paths.h" "version.h"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CC" ,(cc-for-target))
|
|
|
|
|
;; Humor the manually written configure script.
|
|
|
|
|
(invoke "./configure" "+lang" "en" "+fhs"
|
|
|
|
|
(string-append "-prefix=" (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://www.kylheku.com/cgit/man/")
|
2021-07-11 00:23:49 +00:00
|
|
|
|
(synopsis "Modifications to the man utilities, specifically man2html")
|
|
|
|
|
(description
|
|
|
|
|
"This is a fork of the man utilities intended specifically for building
|
|
|
|
|
the HTML documentation of TXR.")
|
|
|
|
|
(license license:gpl2))))
|
|
|
|
|
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(define-public txr
|
2019-12-05 14:32:37 +00:00
|
|
|
|
(package
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(name "txr")
|
2023-04-04 07:59:05 +00:00
|
|
|
|
(version "285")
|
2019-12-05 14:32:37 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2022-07-04 04:23:14 +00:00
|
|
|
|
(url "https://www.kylheku.com/git/txr/")
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(commit (string-append "txr-" version))))
|
2019-12-05 14:32:37 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2019-09-16 13:32:41 +00:00
|
|
|
|
(sha256
|
2023-04-04 07:59:05 +00:00
|
|
|
|
(base32 "1ypsgakhak0znmg3wzblfcwd4s4nanzm61dz66gwi48rfnq35znl"))))
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-05 14:32:37 +00:00
|
|
|
|
(arguments
|
2023-04-04 08:20:02 +00:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list (string-append "cc=" #$(cc-for-target))
|
|
|
|
|
(string-append "--prefix=" #$output))
|
|
|
|
|
#:test-target "tests"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-license-installation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTALL(,.*LICENSE,.*)\\$\\(datadir\\)" _ match)
|
|
|
|
|
(string-append "INSTALL" match #$output
|
|
|
|
|
"/share/doc/" #$name "-" #$version)))))
|
|
|
|
|
(delete 'install-license-files)
|
|
|
|
|
(add-after 'unpack 'inhibit-doc-syms-generation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "genman.txr"
|
|
|
|
|
;; Exit from genman.txr before it tries to write to
|
|
|
|
|
;; stdlib/doc-syms.tl, which is anyway kept up to date
|
|
|
|
|
;; with each release (and is already compiled to
|
|
|
|
|
;; stdlib/doc-syms.tlo when genman.txr is run).
|
|
|
|
|
(("^@\\(output \"stdlib/doc-syms\\.tl\"\\).*" line)
|
|
|
|
|
(string-append "@(do (exit))\n" line)))))
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "stream.c"
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
(search-input-file inputs "/bin/bash")))))
|
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* (list "tests/017/realpath.tl"
|
|
|
|
|
"tests/017/realpath.expected")
|
|
|
|
|
(("/usr/bin") "/"))))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; ./configure is a hand-written script that can't handle
|
|
|
|
|
;; standard autotools arguments like CONFIG_SHELL.
|
|
|
|
|
(lambda* (#:key configure-flags #:allow-other-keys)
|
|
|
|
|
(setenv "txr_shell" (which "bash"))
|
|
|
|
|
(apply invoke "./configure" configure-flags)))
|
|
|
|
|
(add-after 'build 'build-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "GS_GENERATE_UUIDS" "0")
|
|
|
|
|
(invoke "make" "txr-manpage.html" "txr-manpage.pdf")))
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((doc (string-append #$output "/share/doc/"
|
|
|
|
|
#$name "-" #$version)))
|
|
|
|
|
(for-each (lambda (f) (install-file f doc))
|
|
|
|
|
'("txr-manpage.html" "txr-manpage.pdf")))))
|
|
|
|
|
(add-after 'install 'install-vim-files
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((syntax (string-append #$output
|
|
|
|
|
"/share/vim/vimfiles/syntax")))
|
|
|
|
|
(install-file "tl.vim" syntax)
|
|
|
|
|
(install-file "txr.vim" syntax)))))))
|
2022-01-07 03:26:16 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; Required to build the documentation.
|
|
|
|
|
(list ghostscript
|
|
|
|
|
groff
|
|
|
|
|
man-for-txr))
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal
|
2022-06-13 09:06:57 +00:00
|
|
|
|
libffi
|
|
|
|
|
zlib))
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(synopsis "General-purpose, multi-paradigm programming language")
|
2019-12-05 14:32:37 +00:00
|
|
|
|
(description
|
2019-11-28 20:37:28 +00:00
|
|
|
|
"TXR is a general-purpose, multi-paradigm programming language. It
|
|
|
|
|
comprises two languages integrated into a single tool: a text scanning and
|
|
|
|
|
extraction language referred to as the TXR Pattern Language (sometimes just
|
|
|
|
|
\"TXR\"), and a general-purpose dialect of Lisp called TXR Lisp. TXR can be
|
|
|
|
|
used for everything from \"one liner\" data transformation tasks at the
|
|
|
|
|
command line, to data scanning and extracting scripts, to full application
|
|
|
|
|
development in a wide-range of areas.")
|
2023-04-04 08:20:02 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/txr/")
|
2019-11-28 20:37:28 +00:00
|
|
|
|
(license license:bsd-2)))
|
2020-01-11 00:23:50 +00:00
|
|
|
|
|
|
|
|
|
(define picolisp32
|
|
|
|
|
(package
|
|
|
|
|
(name "picolisp32")
|
|
|
|
|
(version "19.12")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://software-lab.de/picoLisp-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "10np0mhihr47r3201617zccrvzpkhdl1jwvz7zimk8kxpriydq2j"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
;; Delete the pre-compiled jar file.
|
|
|
|
|
(delete-file "ersatz/picolisp.jar")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:system ,(match (%current-system)
|
|
|
|
|
((or "armhf-linux" "aarch64-linux")
|
|
|
|
|
"armhf-linux")
|
|
|
|
|
(_
|
|
|
|
|
"i686-linux"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(shebang-line (string-append
|
|
|
|
|
"#!" out "/bin/picolisp "
|
|
|
|
|
out "/lib/picolisp/lib.l")))
|
|
|
|
|
(substitute* '("bin/pil"
|
|
|
|
|
"bin/pilIndent"
|
|
|
|
|
"bin/pilPretty"
|
|
|
|
|
"bin/psh"
|
|
|
|
|
"bin/replica"
|
|
|
|
|
"bin/vip"
|
|
|
|
|
"bin/watchdog"
|
|
|
|
|
"games/xchess"
|
|
|
|
|
"misc/bigtest"
|
|
|
|
|
"misc/calc"
|
|
|
|
|
"misc/chat"
|
|
|
|
|
"misc/mailing"
|
|
|
|
|
"src/mkVers")
|
|
|
|
|
(("#\\!bin/picolisp lib.l")
|
|
|
|
|
shebang-line)
|
|
|
|
|
(("#\\!\\.\\./bin/picolisp \\.\\./lib.l")
|
|
|
|
|
shebang-line)
|
|
|
|
|
(("#\\!/usr/bin/picolisp /usr/lib/picolisp/lib.l")
|
|
|
|
|
shebang-line)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'fix-paths 'make-build-reproducible
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src64/lib/asm.l"
|
|
|
|
|
(("\\(prinl \"/\\* \" \\(datSym \\(date\\)\\) \" \\*/\\)")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'make-build-reproducible 'fix-permissions
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable
|
|
|
|
|
'("doc/family.tgz"
|
|
|
|
|
"doc/family64.tgz"
|
|
|
|
|
"lib/map"
|
|
|
|
|
"src64/tags"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "src" "picolisp" "tools" "gate")))
|
|
|
|
|
(add-before 'check 'set-home-for-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "./pil" "test/lib.l" "-bye" "+")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man"))
|
|
|
|
|
(picolisp (string-append out "/lib/picolisp")))
|
|
|
|
|
(copy-recursively "man" man)
|
|
|
|
|
(copy-recursively "." picolisp)
|
|
|
|
|
(for-each (lambda (name)
|
|
|
|
|
(let ((path (string-append picolisp "/" name)))
|
|
|
|
|
(delete-file-recursively path)))
|
|
|
|
|
'("CHANGES" "COPYING" "CREDITS" "cygwin"
|
|
|
|
|
"INSTALL" "man" "pil" "README" "src" "src64"
|
|
|
|
|
"test"))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(symlink (string-append picolisp "/bin/picolisp")
|
|
|
|
|
(string-append bin "/picolisp"))
|
|
|
|
|
(symlink (string-append picolisp "/bin/pil")
|
|
|
|
|
(string-append bin "/pil")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Interpreter for the PicoLisp programming language")
|
|
|
|
|
(description
|
|
|
|
|
"PicoLisp is a programming language, or really a programming system,
|
|
|
|
|
including a built-in database engine and a GUI system.")
|
|
|
|
|
(home-page "https://picolisp.com/wiki/?home")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public picolisp
|
|
|
|
|
(match (%current-system)
|
|
|
|
|
((or "aarch64-linux" "x86_64-linux")
|
|
|
|
|
(package
|
|
|
|
|
;; Use the 32-bit picolisp to generate the assembly files required by
|
|
|
|
|
;; the 64-bit picolisp.
|
|
|
|
|
(inherit picolisp32)
|
|
|
|
|
(name "picolisp")
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list picolisp32 which))
|
2020-01-11 00:23:50 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments picolisp32)
|
|
|
|
|
((#:system _ "") (%current-system))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(delete 'fix-paths)
|
|
|
|
|
(add-before 'build 'fix-paths
|
|
|
|
|
;; This must run after the other shebang-patching phases,
|
|
|
|
|
;; or they will override our changes.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((picolisp32 (assoc-ref inputs "picolisp32"))
|
|
|
|
|
(out (assoc-ref outputs "out"))
|
|
|
|
|
(shebang-line (string-append
|
|
|
|
|
"#!" out "/bin/picolisp "
|
|
|
|
|
out "/lib/picolisp/lib.l")))
|
|
|
|
|
(substitute* '("bin/pil"
|
|
|
|
|
"bin/pilIndent"
|
|
|
|
|
"bin/pilPretty"
|
|
|
|
|
"bin/psh"
|
|
|
|
|
"bin/replica"
|
|
|
|
|
"bin/vip"
|
|
|
|
|
"bin/watchdog"
|
|
|
|
|
"games/xchess"
|
|
|
|
|
"misc/bigtest"
|
|
|
|
|
"misc/calc"
|
|
|
|
|
"misc/chat"
|
|
|
|
|
"misc/mailing"
|
|
|
|
|
"src/mkVers")
|
|
|
|
|
(("#\\!.*picolisp32.*/bin/picolisp .*lib\\.l")
|
|
|
|
|
shebang-line))
|
|
|
|
|
(substitute* "src64/mkAsm"
|
|
|
|
|
(("/usr/bin/")
|
|
|
|
|
(string-append picolisp32 "/bin/"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "src" "tools" "gate")
|
|
|
|
|
(invoke "make" "-C" "src64" "CC=gcc" "picolisp")))))))))
|
|
|
|
|
(_
|
|
|
|
|
(package
|
|
|
|
|
(inherit picolisp32)
|
|
|
|
|
(name "picolisp")))))
|
2020-11-20 08:48:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public janet
|
|
|
|
|
(package
|
|
|
|
|
(name "janet")
|
2023-04-01 14:01:10 +00:00
|
|
|
|
(version "1.27.0")
|
2020-11-20 08:48:33 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/janet-lang/janet")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-04-01 14:01:10 +00:00
|
|
|
|
(base32 "0fd5z9xviwfv635wxil20qjjigb275p3ns9cvxhfx27ca8kkphsj"))))
|
2020-11-20 08:48:33 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-01-16 00:00:08 +00:00
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list
|
|
|
|
|
(string-append "DESTDIR=" #$output)
|
|
|
|
|
(string-append "PREFIX=")
|
|
|
|
|
(string-append "CC=" #$(cc-for-target)))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
2020-11-20 08:48:33 +00:00
|
|
|
|
(home-page "https://janet-lang.org/")
|
|
|
|
|
(synopsis "Functional, imperative and embeddable programming language")
|
|
|
|
|
(description
|
|
|
|
|
"Janet is a functional and imperative programming language. It can be
|
|
|
|
|
used for rapid prototyping, dynamic systems, and other domains where dynamic
|
|
|
|
|
languages shine. You can also add Janet scripting to an application by
|
|
|
|
|
embedding a single C file and two headers. It can be easily ported to new
|
|
|
|
|
platforms. The entire language (core library, interpreter, compiler,
|
|
|
|
|
assembler, PEG) is less than 1MB.")
|
|
|
|
|
(license license:expat)))
|
2020-12-01 10:14:46 +00:00
|
|
|
|
|
2022-11-11 05:55:07 +00:00
|
|
|
|
(define-public carp
|
2023-01-15 09:09:44 +00:00
|
|
|
|
;; Release 0.5.5 does not support GHC 9.2.
|
|
|
|
|
(let ((commit "339722325ec607091f6035866ebedea2b69080fe")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "carp")
|
|
|
|
|
(version (git-version "0.5.5" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/carp-lang/Carp")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0w0j3imi4270dsmrh96spsc9xllsk5rrh817l80q1nyay9p53xwd"))))
|
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; Carp looks inside the sources checkout to know where to
|
|
|
|
|
;; find its core libraries and other files.
|
|
|
|
|
;; Carp emits C code and tries to compile it with an external
|
|
|
|
|
;; C compiler. On Linux it defaults to Clang.
|
|
|
|
|
(add-after 'install 'wrap-programs
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(define (wrap-carp-program program)
|
|
|
|
|
(wrap-program (string-append
|
|
|
|
|
#$output "/bin/" program)
|
|
|
|
|
`("CARP_DIR" prefix
|
|
|
|
|
(#$(package-source this-package)))
|
|
|
|
|
`("PATH" prefix
|
|
|
|
|
,(list (dirname
|
|
|
|
|
(search-input-file inputs "bin/clang"))
|
|
|
|
|
(dirname
|
|
|
|
|
(search-input-file inputs "bin/ld"))))
|
|
|
|
|
`("C_INCLUDE_PATH" prefix
|
|
|
|
|
,(list (dirname
|
|
|
|
|
(search-input-directory
|
|
|
|
|
inputs "include/linux"))
|
|
|
|
|
(dirname
|
|
|
|
|
(search-input-file
|
|
|
|
|
inputs "include/stdlib.h"))))))
|
|
|
|
|
|
|
|
|
|
(for-each wrap-carp-program
|
|
|
|
|
(list "carp"
|
|
|
|
|
"carp-header-parse")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal
|
|
|
|
|
clang
|
|
|
|
|
ghc-blaze-markup
|
|
|
|
|
ghc-blaze-html
|
|
|
|
|
ghc-split
|
|
|
|
|
ghc-ansi-terminal
|
|
|
|
|
ghc-cmark
|
|
|
|
|
ghc-edit-distance
|
|
|
|
|
ghc-hashable
|
|
|
|
|
ghc-open-browser
|
|
|
|
|
ghc-optparse-applicative))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list ghc-hunit))
|
|
|
|
|
(home-page "https://carp-lang.org/")
|
|
|
|
|
(synopsis "Statically typed Lisp without a garbage collector")
|
|
|
|
|
(description
|
|
|
|
|
"@code{carp} is a Lisp-like programming language that compiles to
|
2022-11-11 05:55:07 +00:00
|
|
|
|
C. It features inferred static typing, macros, automatic memory
|
|
|
|
|
management without a garbage collector, a REPL, and straightforward
|
|
|
|
|
integration with code written in C.")
|
2023-01-15 09:09:44 +00:00
|
|
|
|
(license license:asl2.0))))
|
2020-12-01 10:14:46 +00:00
|
|
|
|
(define-public lisp-repl-core-dumper
|
|
|
|
|
(package
|
|
|
|
|
(name "lisp-repl-core-dumper")
|
2021-03-12 12:09:26 +00:00
|
|
|
|
(version "0.7.0")
|
2020-12-01 10:14:46 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/ambrevar/lisp-repl-core-dumper.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-03-12 12:09:26 +00:00
|
|
|
|
(base32 "0yfsyxj462yi3bx587yssp4gwb54jdm6fjk9q93gjrfv8a65ilp7"))))
|
2020-12-01 10:14:46 +00:00
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:install-plan
|
|
|
|
|
'(("lisp-repl-core-dumper" "bin/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'install 'fix-utils-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2021-07-16 14:50:56 +00:00
|
|
|
|
(let* ((cat (search-input-file inputs "/bin/cat"))
|
|
|
|
|
(paste (search-input-file inputs "/bin/paste"))
|
|
|
|
|
(sort (search-input-file inputs "/bin/sort"))
|
|
|
|
|
(basename (search-input-file inputs "/bin/basename"))
|
|
|
|
|
(sed (search-input-file inputs "/bin/sed")))
|
2020-12-01 10:14:46 +00:00
|
|
|
|
(substitute* "lisp-repl-core-dumper"
|
|
|
|
|
(("\\$\\(basename") (string-append "$(" basename))
|
2021-01-20 19:37:57 +00:00
|
|
|
|
(("\\<cat\\>") cat)
|
2020-12-01 10:14:46 +00:00
|
|
|
|
(("\\<paste\\>") paste)
|
|
|
|
|
(("\\<sed\\>") sed)
|
|
|
|
|
(("\\<sort\\>") sort))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("coreutils" ,coreutils-minimal)
|
|
|
|
|
("sed" ,sed)))
|
|
|
|
|
(home-page "https://gitlab.com/ambrevar/lisp-repl-core-dumper")
|
|
|
|
|
(synopsis "Generate REPL-optimized Lisp cores on demand")
|
|
|
|
|
(description
|
|
|
|
|
"This tool generates Lisp images that can embed the provided systems
|
|
|
|
|
and make for REPLs that start blazing fast.
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item It’s portable and should work with any compiler.
|
|
|
|
|
@item It works for any REPL.
|
|
|
|
|
@item It allows you to include arbitrary libraries.
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:gpl3+)))
|
2021-01-16 22:11:16 +00:00
|
|
|
|
|
|
|
|
|
(define-public buildapp
|
|
|
|
|
(package
|
|
|
|
|
(name "buildapp")
|
|
|
|
|
(version "1.5.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/xach/buildapp")
|
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "020ipjfqa3l8skd97cj5kq837wgpj28ygfxnkv64cnjrlbnzh161"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list sbcl))
|
2021-01-16 22:11:16 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:strip-binaries? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'set-home
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-target-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.xach.com/lisp/buildapp/")
|
|
|
|
|
(synopsis "Makes easy to build application executables with SBCL")
|
|
|
|
|
(description
|
|
|
|
|
"Buildapp is an application for SBCL or CCL that configures and saves an
|
2021-12-30 06:32:23 +00:00
|
|
|
|
executable Common Lisp image. It is similar to cl-launch and hu.dwim.build.")
|
2021-01-16 22:11:16 +00:00
|
|
|
|
(license license:bsd-2)))
|
2022-08-30 19:27:24 +00:00
|
|
|
|
|
|
|
|
|
(define-public eisl
|
|
|
|
|
(package
|
|
|
|
|
(name "eisl")
|
2023-03-03 08:40:34 +00:00
|
|
|
|
(version "2.72")
|
2022-08-30 19:27:24 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sasagawa888/eisl")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-03-03 08:40:34 +00:00
|
|
|
|
(base32 "12dc6b70dcfalyq3h5i7lmz39xh310k5p83x5q6j18knd6ql9ik9"))))
|
2022-08-30 19:27:24 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
(list bash-minimal freeglut gdbm libiconv ncurses tcl tk))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list cppcheck))
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:make-flags
|
|
|
|
|
#~(list (string-append "PREFIX=" #$output)
|
|
|
|
|
(string-append "CC=" #$(cc-for-target)))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "library/compiler.lsp"
|
|
|
|
|
(("\"cc ")
|
|
|
|
|
"\"gcc "))
|
|
|
|
|
(substitute* "library/tcltk.lsp"
|
2023-03-03 08:40:34 +00:00
|
|
|
|
(("include <tcl/tcl\\.h>")
|
|
|
|
|
"include <tcl.h>")
|
2022-08-30 19:27:24 +00:00
|
|
|
|
(("c-option \"-ltcl -ltk\" linux")
|
|
|
|
|
"c-option \"-ltcl8.6 -ltk8.6\" linux"))))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append #$output "/bin/eisl")
|
|
|
|
|
`("PATH" prefix
|
|
|
|
|
,(map (lambda (bin)
|
|
|
|
|
(string-append (assoc-ref inputs bin) "/bin"))
|
|
|
|
|
'("binutils" "coreutils" "gcc" "ld-wrapper")))
|
|
|
|
|
`("LIBRARY_PATH" suffix
|
|
|
|
|
,(map (lambda (lib)
|
|
|
|
|
(string-append (assoc-ref inputs lib) "/lib"))
|
|
|
|
|
'("libc")))))))))
|
|
|
|
|
(home-page "https://github.com/sasagawa888/eisl")
|
|
|
|
|
(synopsis "Implementation of ISLisp")
|
|
|
|
|
(description "Easy ISLISP (eisl) is an implementation of ISLisp which
|
|
|
|
|
includes a compiler as well as an interpreter.")
|
|
|
|
|
(license (list license:bsd-2 ;; documents/license.txt
|
|
|
|
|
license:expat ;; cii/LICENSE
|
|
|
|
|
license:gpl2+ ;; nana/gdb/test.c and others under nana/
|
|
|
|
|
license:bsd-3)))) ;; bench/*
|