2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2022-01-06 11:45:26 +00:00
|
|
|
|
;;; Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
;;; Copyright © 2014 Cyril Roelandt <tipecaml@gmail.com>
|
|
|
|
|
;;; Copyright © 2014, 2016, 2018 David Thompson <davet@gnu.org>
|
|
|
|
|
;;; Copyright © 2014, 2017, 2018 Mark H Weaver <mhw@netris.org>
|
2021-08-15 18:15:37 +00:00
|
|
|
|
;;; Copyright © 2015, 2017 Christine Lemmer-Webber <cwebber@dustycloud.org>
|
2017-01-08 21:46:34 +00:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
|
2020-04-04 17:12:30 +00:00
|
|
|
|
;;; Copyright © 2016, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
2017-02-21 10:20:02 +00:00
|
|
|
|
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2019-08-18 07:10:58 +00:00
|
|
|
|
;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2022-05-15 00:00:00 +00:00
|
|
|
|
;;; Copyright © 2017, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
;;; Copyright © 2017, 2018 Amirouche <amirouche@hypermove.net>
|
|
|
|
|
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
|
2018-10-10 18:26:54 +00:00
|
|
|
|
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
gnu: Move most packages from guile.scm to new module.
* gnu/packages/guile.scm (artanis, guildhall, guile-aspell, guile-bash,
guile-8sync, guile-daemon, guile-dsv, guile-fibers, guile-syntax-highlight,
guile-sjson, guile-colorized, guile-pfds, guile-aa-tree, guile-simple-zmq,
jupyter-guile-kernel, guile-sparql, guile-debbugs, guile-email,
guile-debbugs-next, guile-newt, guile-mastodon, guile-parted, guile-xosd,
guile-dbi, guile-dbd-sqlite3, guile-config, guile-hall, guile-ics, guile-wisp,
guile-sly, g-wrap, guile-miniadapton, guile-reader, guile2.2-reader,
guile-ncurses, guile-ncurses/gpm, guile-lib, guile2.0-lib, guile2.2-lib,
guile-minikanren, guile2.0-minikanren, guile2.2-minikanren, guile-irregex,
guile2.0-irregex, guile2.2-irregex, haunt, guile2.0-haunt, guile2.2-haunt,
guile-redis, guile2.0-redis, guile2.2-redis, guile-commonmark,
guile2.0-commonmark, guile2.2-commonmark, mcron, mcron2): Move these variables
from here...
* gnu/packages/guile-xyz.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/installer.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/ci.scm,
gnu/packages/gtk.scm,
gnu/packages/guile.scm,
gnu/packages/mail.scm,
gnu/packages/package-management.scm,
gnu/packages/skribilo.scm,
gnu/packages/web.scm,
gnu/services/mcron.scm: Update module references.
2019-01-28 13:57:10 +00:00
|
|
|
|
;;; Copyright © 2019 Taylan Kammer <taylan.kammer@gmail.com>
|
2022-03-01 12:58:08 +00:00
|
|
|
|
;;; Copyright © 2020, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2021-07-20 21:34:17 +00:00
|
|
|
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
2021-12-12 16:57:45 +00:00
|
|
|
|
;;; Copyright © 2021 Timothy Sample <samplet@ngyro.com>
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; This file is part of GNU Guix.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;; 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.
|
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;; 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
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
|
(define-module (gnu packages guile)
|
2017-02-11 18:23:56 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-18 00:06:47 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2019-01-10 14:10:07 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages base)
|
2013-05-26 21:45:59 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 13:48:47 +00:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2019-01-10 14:10:07 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2019-01-10 14:10:07 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2021-03-08 15:12:13 +00:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2018-12-16 14:49:41 +00:00
|
|
|
|
#:use-module (gnu packages hurd)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-11-08 18:06:10 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages readline)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 20:47:05 +00:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2015-05-10 14:29:54 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2017-02-11 20:52:00 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
#:use-module (guix download)
|
2015-04-22 03:40:15 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2014-01-22 22:45:44 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-07-18 13:42:11 +00:00
|
|
|
|
#:use-module (guix build-system guile)
|
2019-10-22 15:51:23 +00:00
|
|
|
|
#:use-module (guix deprecation)
|
2021-09-29 22:03:14 +00:00
|
|
|
|
#:use-module (guix utils))
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
;;;
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
;;; GNU Guile, and modules and extensions.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(define-public guile-1.8
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
|
|
|
|
(version "1.8.8")
|
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "guile-1.8-cpp-4.5.patch"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2021-09-06 13:17:39 +00:00
|
|
|
|
(arguments '(#:configure-flags '("--disable-error-on-warning"
|
|
|
|
|
|
|
|
|
|
;; Build with '-O1' to work around GC
|
|
|
|
|
;; crash on x86_64:
|
|
|
|
|
;; <https://issues.guix.gnu.org/50427>.
|
|
|
|
|
"CFLAGS=-O1 -g -Wall")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;; Insert a phase before `configure' to patch things up.
|
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
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-stuff
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Add a call to `lt_dladdsearchdir' so that
|
|
|
|
|
;; `libguile-readline.so' & co. are in the
|
|
|
|
|
;; loader's search path.
|
|
|
|
|
(substitute* "libguile/dynl.c"
|
|
|
|
|
(("lt_dlinit.*$" match)
|
|
|
|
|
(format #f
|
|
|
|
|
" ~a~% lt_dladdsearchdir(\"~a/lib\");~%"
|
|
|
|
|
match
|
|
|
|
|
(assoc-ref outputs "out"))))
|
2013-02-07 23:15:26 +00:00
|
|
|
|
|
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
|
|
|
|
;; The usual /bin/sh...
|
|
|
|
|
(substitute* "ice-9/popen.scm"
|
2021-09-06 13:18:33 +00:00
|
|
|
|
(("/bin/sh") (which "sh"))))))
|
|
|
|
|
|
|
|
|
|
;; XXX: Several numerical tests and tests related to
|
|
|
|
|
;; 'inet-pton' fail on glibc 2.33/GCC 10. Disable them.
|
|
|
|
|
;; TODO: Remove this package when its dependents no longer
|
|
|
|
|
;; need it.
|
|
|
|
|
#:tests? #f))
|
2019-03-30 13:34:40 +00:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(native-inputs (if (%current-target-system)
|
|
|
|
|
`(("self" ,this-package))
|
|
|
|
|
'()))
|
|
|
|
|
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(inputs (list gawk readline))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be
|
|
|
|
|
;; propagated.
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(propagated-inputs (list gmp libltdl))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 22:22:08 +00:00
|
|
|
|
(files '("share/guile/site")))))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 16:04:25 +00:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 14:14:23 +00:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl2.0+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
(define-public guile-2.0
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
2017-02-13 23:08:42 +00:00
|
|
|
|
(version "2.0.14")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-13 23:08:42 +00:00
|
|
|
|
"10lxc6l5alf3lzbs3ihnbfy6dfcrsyf8667wa57f26vf4mk2ai78"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-03-30 13:34:40 +00:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(native-inputs `(,@(if (%current-target-system)
|
|
|
|
|
`(("self" ,this-package))
|
|
|
|
|
'())
|
|
|
|
|
("pkgconfig" ,pkg-config)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(inputs `(("libffi" ,libffi)
|
2016-04-24 12:06:56 +00:00
|
|
|
|
,@(libiconv-if-needed)
|
2017-06-02 13:34:36 +00:00
|
|
|
|
|
|
|
|
|
;; We need Bash when cross-compiling because some of the scripts
|
|
|
|
|
;; in bin/ refer to it. Use 'bash-minimal' because we don't need
|
|
|
|
|
;; an interactive Bash with Readline and all.
|
|
|
|
|
,@(if (target-mingw?) '() `(("bash" ,bash-minimal)))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`( ;; These ones aren't normally needed here, but since `libguile-2.0.la'
|
|
|
|
|
;; reads `-lltdl -lunistring', adding them here will add the needed
|
|
|
|
|
;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see
|
|
|
|
|
;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>.
|
|
|
|
|
("libunistring" ,libunistring)
|
2015-01-06 22:14:59 +00:00
|
|
|
|
|
|
|
|
|
;; Depend on LIBLTDL, not LIBTOOL. That way, we avoid some the extra
|
|
|
|
|
;; dependencies that LIBTOOL has, which is helpful during bootstrap.
|
|
|
|
|
("libltdl" ,libltdl)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
|
|
|
|
|
;; must be propagated.
|
2014-03-18 14:14:02 +00:00
|
|
|
|
("bdw-gc" ,libgc)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
("gmp" ,gmp)))
|
|
|
|
|
|
2013-07-03 21:55:04 +00:00
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
|
2012-12-20 22:07:46 +00:00
|
|
|
|
(arguments
|
2022-01-24 13:18:08 +00:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
,(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
|
|
|
|
|
''("--disable-static" "CFLAGS=-g -O2 -fexcess-precision=standard")
|
|
|
|
|
''("--disable-static")) ;saves 3 MiB
|
2021-01-23 14:49:02 +00:00
|
|
|
|
|
|
|
|
|
;; Work around non-reproducible .go files as described in
|
|
|
|
|
;; <https://bugs.gnu.org/20272>, which affects 2.0, 2.2, and 3.0 so far.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
|
2018-02-20 03:09:27 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-03-12 15:59:25 +00:00
|
|
|
|
,@(if (hurd-system?)
|
|
|
|
|
'((add-after 'unpack 'disable-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Hangs at: "Running 00-repl-server.test"
|
|
|
|
|
(rename-file "test-suite/tests/00-repl-server.test" "00-repl-server.test")
|
|
|
|
|
;; Sometimes Hangs at: "Running 00-socket.test"
|
|
|
|
|
(rename-file "test-suite/tests/00-socket.test" "00-socket.test")
|
|
|
|
|
;; FAIL: srfi-18.test: thread-sleep!: thread sleeps fractions of a second
|
|
|
|
|
(rename-file "test-suite/tests/srfi-18.test" "srfi-18.test")
|
|
|
|
|
;; failed to remove 't-guild-compile-7215.go.tdL7yC
|
|
|
|
|
(substitute* "test-suite/standalone/Makefile.in"
|
|
|
|
|
(("test-guild-compile ") ""))
|
|
|
|
|
#t)))
|
|
|
|
|
'())
|
2018-02-20 03:09:27 +00:00
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Tell (ice-9 popen) the file name of Bash.
|
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
(substitute* "module/ice-9/popen.scm"
|
|
|
|
|
;; If bash is #f allow fallback for user to provide
|
|
|
|
|
;; "bash" in PATH. This happens when cross-building to
|
|
|
|
|
;; MinGW for which we do not have Bash yet.
|
|
|
|
|
(("/bin/sh")
|
|
|
|
|
,@(if (target-mingw?)
|
|
|
|
|
'((if bash
|
|
|
|
|
(string-append bash "/bin/bash")
|
|
|
|
|
"bash"))
|
|
|
|
|
'((string-append bash "/bin/bash")))))
|
|
|
|
|
#t))))))
|
2012-12-20 22:07:46 +00:00
|
|
|
|
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 22:22:08 +00:00
|
|
|
|
(files '("share/guile/site/2.0")))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2018-08-23 15:22:41 +00:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache")))))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 16:04:25 +00:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 14:14:23 +00:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
2017-03-19 16:30:44 +00:00
|
|
|
|
(define-public guile-2.2
|
2015-05-10 14:29:54 +00:00
|
|
|
|
(package (inherit guile-2.0)
|
2017-03-19 16:30:44 +00:00
|
|
|
|
(name "guile")
|
2020-03-10 19:54:52 +00:00
|
|
|
|
(version "2.2.7")
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-08 21:10:50 +00:00
|
|
|
|
|
|
|
|
|
;; Note: we are limited to one of the compression formats
|
|
|
|
|
;; supported by the bootstrap binaries, so no lzip here.
|
2017-03-15 21:58:35 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
2017-04-08 21:10:50 +00:00
|
|
|
|
".tar.xz"))
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-10 19:54:52 +00:00
|
|
|
|
"013mydzhfswqci6xmyc1ajzd59pfbdak15i0b090nhr9bzm7dxyd"))
|
2016-02-06 20:43:57 +00:00
|
|
|
|
(modules '((guix build utils)))
|
2019-05-28 15:40:26 +00:00
|
|
|
|
(patches (search-patches
|
2021-01-11 10:02:13 +00:00
|
|
|
|
"guile-2.2-skip-oom-test.patch"
|
|
|
|
|
"guile-2.2-skip-so-test.patch"))
|
2016-02-06 20:43:57 +00:00
|
|
|
|
|
|
|
|
|
;; Remove the pre-built object files. Instead, build everything
|
|
|
|
|
;; from source, at the expense of significantly longer build
|
|
|
|
|
;; times (almost 3 hours on a 4-core Intel i5).
|
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
|
|
|
|
(snippet '(begin
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "prebuilt" "\\.go$"))
|
|
|
|
|
#t))))
|
2021-09-24 14:53:13 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.0)
|
|
|
|
|
((#:configure-flags flags ''())
|
|
|
|
|
(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
|
2022-01-24 13:18:08 +00:00
|
|
|
|
`(append '("--disable-static")
|
|
|
|
|
'("CFLAGS=-g -O2 -fexcess-precision=standard"))
|
2021-09-24 14:53:13 +00:00
|
|
|
|
flags))))
|
|
|
|
|
|
2016-12-14 07:48:38 +00:00
|
|
|
|
(properties '((timeout . 72000) ;20 hours
|
2017-06-20 04:23:00 +00:00
|
|
|
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
2017-06-07 23:13:59 +00:00
|
|
|
|
; when heavily loaded)
|
2016-02-13 05:08:22 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/2.2")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2019-06-21 16:00:17 +00:00
|
|
|
|
(files '("lib/guile/2.2/site-ccache")))))))
|
2015-11-29 16:37:00 +00:00
|
|
|
|
|
2020-03-10 19:54:52 +00:00
|
|
|
|
(define-deprecated guile-2.2/bug-fix guile-2.2)
|
2019-12-09 16:17:07 +00:00
|
|
|
|
|
2019-10-01 13:47:34 +00:00
|
|
|
|
(define-public guile-2.2.4
|
gnu: Fix erroneous uses of 'package/inherit'.
These packages use a different source/version from the inherited package, and
thus should not inherit replacements.
* gnu/packages/check.scm (googletest-1.8, python-pytest-runner-2): Use record
inheritance instead of PACKAGE/INHERIT.
* gnu/packages/crates-io.scm (rust-bindgen-0.49, rust-bytes-0.4,
rust-colored-1.9.1, rust-difference-1, rust-docopt-0.8, rust-html5ever-0.23,
rust-http-0.1, rust-http-body-0.1, rust-loom-0.2, rust-loom-0.1,
rust-pulldown-cmark-0.0.8, rust-ring-0.13, rust-rustls-0.12, rust-sct-0.3,
rust-term-0.2, rust-untrusted-0.6, rust-webpki-0.18, rust-webpki-roots-0.17,
rust-webpki-roots-0.14): Likewise.
* gnu/packages/emacs.scm (emacs-next, emacs-next-pgtk, guile-emacs): Likewise.
* gnu/packages/guile.scm (guile-2.2.4): Likewise.
* gnu/packages/maths.scm (hdf5-1.10, hdf5-1.12): Likewise.
* gnu/packages/protobuf.scm (protobuf-3.6, protobuf-3.5, python-protobuf-3.6):
Likewise.
* gnu/packages/python-web.scm (python2-html2text): Likewise.
* gnu/packages/python-xyz.scm (python-pygments/fixed, python2-numpy,
python2-urwid, python2-markdown, python2-fonttools): Likewise.
* gnu/packages/racket.scm (racket): Likewise.
* gnu/packages/sequoia.scm (sequoia4pEp): Likewise.
2021-05-23 12:07:34 +00:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
2019-10-01 13:47:34 +00:00
|
|
|
|
(version "2.2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-2.2))
|
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r"))))))
|
2017-04-08 21:10:50 +00:00
|
|
|
|
|
2020-01-16 15:41:59 +00:00
|
|
|
|
(define-public guile-3.0
|
|
|
|
|
;; This is the latest Guile stable version.
|
2019-08-03 12:13:37 +00:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(name "guile")
|
2021-05-15 22:21:55 +00:00
|
|
|
|
(version "3.0.7")
|
2019-08-03 12:13:37 +00:00
|
|
|
|
(source (origin
|
2021-03-08 20:13:56 +00:00
|
|
|
|
(inherit (package-source guile-2.2))
|
|
|
|
|
(patches '()) ; We no longer need the patches.
|
2020-03-08 20:12:20 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-"
|
2019-08-03 12:13:37 +00:00
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-08 20:13:56 +00:00
|
|
|
|
"1dwiwsrpm4f96alfnz6wibq378242z4f16vsxgy1n9r00v3qczgm"))
|
|
|
|
|
;; Replace the snippet because the oom-test still
|
|
|
|
|
;; fails on some 32-bit architectures.
|
|
|
|
|
(snippet '(begin
|
|
|
|
|
(substitute* "test-suite/standalone/Makefile.in"
|
|
|
|
|
(("test-out-of-memory") ""))
|
|
|
|
|
(for-each delete-file
|
2021-07-21 13:35:46 +00:00
|
|
|
|
(find-files "prebuilt" "\\.go$"))))))
|
2021-05-15 22:21:55 +00:00
|
|
|
|
|
|
|
|
|
;; Build with the bundled mini-GMP to avoid interference with GnuTLS' own
|
|
|
|
|
;; use of GMP via Nettle: <https://issues.guix.gnu.org/46330>.
|
|
|
|
|
(propagated-inputs
|
2021-09-29 22:03:14 +00:00
|
|
|
|
(modify-inputs (package-propagated-inputs guile-2.2)
|
|
|
|
|
(delete "gmp" "libltdl")))
|
2020-04-05 10:54:29 +00:00
|
|
|
|
(arguments
|
2021-09-24 14:53:13 +00:00
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.0)
|
2021-05-15 22:21:55 +00:00
|
|
|
|
((#:configure-flags flags ''())
|
2021-07-20 21:34:17 +00:00
|
|
|
|
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
|
|
|
|
|
`(cons* ,@(if (hurd-target?)
|
|
|
|
|
'("--disable-jit")
|
|
|
|
|
'())
|
|
|
|
|
;; -fexcess-precision=standard is required when compiling for
|
|
|
|
|
;; i686-linux, otherwise "numbers.test" will fail
|
|
|
|
|
;; (see <https://issues.guix.gnu.org/49368> and
|
|
|
|
|
;; <https://issues.guix.gnu.org/49659>).
|
2021-09-24 14:53:13 +00:00
|
|
|
|
;; TODO: Keep this in GUILE-2.2 and remove from here on next
|
|
|
|
|
;; rebuild cycle.
|
2021-07-20 21:34:17 +00:00
|
|
|
|
,@(if (target-x86-32?)
|
|
|
|
|
'("CFLAGS=-g -O2 -fexcess-precision=standard")
|
|
|
|
|
'())
|
|
|
|
|
"--enable-mini-gmp"
|
2022-01-24 13:18:08 +00:00
|
|
|
|
'("--disable-static")))
|
2021-03-08 20:13:56 +00:00
|
|
|
|
((#:phases phases)
|
2021-07-07 16:59:46 +00:00
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-before 'check 'disable-stack-overflow-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This test can invoke the "OOM killer", especially when
|
|
|
|
|
;; running on emulated hardware (QEMU). Skip it.
|
|
|
|
|
(substitute* "test-suite/standalone/test-stack-overflow"
|
|
|
|
|
(("!#")
|
|
|
|
|
"!#\n(exit 77)\n"))))
|
|
|
|
|
|
|
|
|
|
,@(if (string-prefix? "powerpc-" (%current-system))
|
|
|
|
|
`((add-after 'unpack 'adjust-bootstrap-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Upstream knows about suggested solution.
|
|
|
|
|
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
|
|
|
|
|
(substitute* "bootstrap/Makefile.in"
|
|
|
|
|
(("^GUILE_OPTIMIZATIONS.*")
|
2021-07-28 12:44:02 +00:00
|
|
|
|
"GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n")))))
|
|
|
|
|
'())
|
|
|
|
|
,@(if (or (target-ppc32?)
|
|
|
|
|
(target-riscv64?))
|
|
|
|
|
`((add-after 'unpack 'skip-failing-fdes-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; ERROR: ((system-error "seek" "~A" ("Bad file descriptor") (9)))
|
|
|
|
|
(substitute* "test-suite/tests/ports.test"
|
|
|
|
|
(("fdes not closed\"" all) (string-append all "(exit 77)")))
|
|
|
|
|
#t)))
|
|
|
|
|
'())))))
|
2021-03-08 20:13:56 +00:00
|
|
|
|
|
2019-08-03 12:13:37 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/3.0")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
|
|
|
|
(files '("lib/guile/3.0/site-ccache"
|
2020-01-16 15:41:59 +00:00
|
|
|
|
"share/guile/site/3.0")))))))
|
|
|
|
|
|
2020-06-24 22:48:45 +00:00
|
|
|
|
(define-public guile-3.0-latest
|
2022-02-11 10:20:19 +00:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-3.0)
|
|
|
|
|
(version "3.0.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-3.0))
|
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-03-01 09:23:13 +00:00
|
|
|
|
"04wagg0zr0sib0w9ly5jm91jplgfigzfgmy8fjdlx07jaq50d9ys"))
|
|
|
|
|
(patches (search-patches "guile-cross-compilation.patch"))))
|
2022-02-11 10:20:19 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-3.0)
|
|
|
|
|
;; Guile 3.0.8 is bit-reproducible when built in parallel, thanks to
|
2022-03-01 09:59:02 +00:00
|
|
|
|
;; its multi-stage build process for cross-module inlining, except when
|
|
|
|
|
;; cross-compiling.
|
|
|
|
|
((#:parallel-build? _ #f)
|
2022-03-01 12:58:08 +00:00
|
|
|
|
(not (%current-target-system)))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
,@(if (target-ppc32?)
|
|
|
|
|
`((replace 'adjust-bootstrap-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Upstream knows about suggested solution.
|
|
|
|
|
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
|
|
|
|
|
;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977223#46
|
|
|
|
|
(substitute* "stage0/Makefile.in"
|
|
|
|
|
(("^GUILE_OPTIMIZATIONS.*")
|
|
|
|
|
"GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n")))))
|
|
|
|
|
'())))))))
|
2020-06-21 21:23:23 +00:00
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile-3.0/fixed
|
|
|
|
|
;; A package of Guile that's rarely changed. It is the one used in the
|
|
|
|
|
;; `base' module, and thus changing it entails a full rebuild.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-3.0)
|
|
|
|
|
(properties '((hidden? . #t) ;people should install 'guile-2.2'
|
|
|
|
|
(timeout . 72000) ;20 hours
|
|
|
|
|
(max-silent-time . 36000))))) ;10 hours (needed on ARM
|
|
|
|
|
; when heavily loaded)
|
|
|
|
|
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(define-public guile-next
|
2022-01-06 11:45:26 +00:00
|
|
|
|
(let ((version "3.0.7")
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(revision "0")
|
2022-01-06 11:45:26 +00:00
|
|
|
|
(commit "d70c1dbebf9ac0fd45af4578c23983ec4a7da535"))
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-3.0)
|
|
|
|
|
(name "guile-next")
|
|
|
|
|
(version (git-version version revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
;; The main goal here is to allow for '--with-branch'.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.savannah.gnu.org/git/guile.git")
|
|
|
|
|
(commit commit)))
|
2021-04-25 07:29:53 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-01-06 11:45:26 +00:00
|
|
|
|
"05rsk9lh5kchbav3lwfwgvgybrykqqjmkkc6689fhb3mjr5m3dqj"))))
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-3.0)
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-before 'check 'skip-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "test-suite/standalone/test-out-of-memory"
|
|
|
|
|
(("!#") "!#\n\n(exit 77)\n"))
|
|
|
|
|
(delete-file "test-suite/tests/version.test")
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(modify-inputs (package-native-inputs guile-3.0)
|
|
|
|
|
(prepend autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
flex
|
|
|
|
|
gnu-gettext
|
|
|
|
|
texinfo
|
|
|
|
|
gperf)))
|
2021-03-08 15:12:13 +00:00
|
|
|
|
(synopsis "Development version of GNU Guile"))))
|
|
|
|
|
|
2020-01-13 20:52:01 +00:00
|
|
|
|
(define* (make-guile-readline guile #:optional (name "guile-readline"))
|
2017-12-08 16:31:22 +00:00
|
|
|
|
(package
|
2020-01-13 20:52:01 +00:00
|
|
|
|
(name name)
|
2017-12-08 16:31:22 +00:00
|
|
|
|
(version (package-version guile))
|
|
|
|
|
(source (package-source guile))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2021-05-17 22:25:36 +00:00
|
|
|
|
'(#:configure-flags '("--disable-silent-rules"
|
|
|
|
|
"--enable-mini-gmp") ;for Guile >= 3.0.6
|
2017-12-08 16:31:22 +00:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'chdir
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(invoke "make" "-C" "libguile" "scmconfig.h")
|
|
|
|
|
(invoke "make" "-C" "lib")
|
|
|
|
|
(chdir "guile-readline")
|
|
|
|
|
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("../libguile/libguile-[[:graph:]]+\\.la")
|
|
|
|
|
;; Remove dependency on libguile-X.Y.la.
|
|
|
|
|
"")
|
|
|
|
|
(("^READLINE_LIBS = (.*)$" _ libs)
|
|
|
|
|
;; Link against the provided libguile.
|
|
|
|
|
(string-append "READLINE_LIBS = "
|
|
|
|
|
"-lguile-$(GUILE_EFFECTIVE_VERSION) "
|
|
|
|
|
libs "\n"))
|
|
|
|
|
(("\\$\\(top_builddir\\)/meta/build-env")
|
|
|
|
|
;; Use the provided Guile, not the one from
|
|
|
|
|
;; $(builddir).
|
|
|
|
|
"")
|
|
|
|
|
|
|
|
|
|
;; Install modules to the 'site' directories.
|
|
|
|
|
(("^moddir = .*$")
|
|
|
|
|
"moddir = $(pkgdatadir)/site/$(GUILE_EFFECTIVE_VERSION)\n")
|
|
|
|
|
(("^ccachedir = .*$")
|
|
|
|
|
"ccachedir = $(pkglibdir)/$(GUILE_EFFECTIVE_VERSION)/site-ccache\n"))
|
|
|
|
|
|
|
|
|
|
;; Load 'guile-readline.so' from the right place.
|
|
|
|
|
(substitute* "ice-9/readline.scm"
|
|
|
|
|
(("load-extension \"guile-readline\"")
|
|
|
|
|
(format #f "load-extension \
|
|
|
|
|
(string-append ~s \"/lib/guile/\" (effective-version) \"/extensions/guile-readline\")"
|
|
|
|
|
(assoc-ref outputs "out"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page (package-home-page guile))
|
|
|
|
|
(native-inputs (package-native-inputs guile))
|
|
|
|
|
(inputs
|
|
|
|
|
`(,@(package-inputs guile) ;to placate 'configure'
|
|
|
|
|
,@(package-propagated-inputs guile)
|
|
|
|
|
("guile" ,guile)
|
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
(synopsis "Line editing support for GNU Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This module provides line editing support via the Readline library for
|
|
|
|
|
GNU@tie{}Guile. Use the @code{(ice-9 readline)} module and call its
|
|
|
|
|
@code{activate-readline} procedure to enable it.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public guile-readline
|
2020-03-18 19:10:38 +00:00
|
|
|
|
(make-guile-readline guile-3.0))
|
2017-12-08 16:31:22 +00:00
|
|
|
|
|
2020-03-18 19:10:38 +00:00
|
|
|
|
(define-public guile2.2-readline
|
|
|
|
|
(make-guile-readline guile-2.2 "guile2.2-readline"))
|
2020-01-13 20:52:01 +00:00
|
|
|
|
|
2017-03-19 16:37:49 +00:00
|
|
|
|
(define (guile-variant-package-name prefix)
|
|
|
|
|
(lambda (name)
|
|
|
|
|
"Return NAME with PREFIX instead of \"guile-\", when applicable."
|
|
|
|
|
(if (string-prefix? "guile-" name)
|
|
|
|
|
(string-append prefix "-"
|
|
|
|
|
(string-drop name
|
|
|
|
|
(string-length "guile-")))
|
|
|
|
|
name)))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2017-03-19 16:37:49 +00:00
|
|
|
|
(define package-for-guile-2.0
|
2019-01-28 10:53:51 +00:00
|
|
|
|
;; A procedure that rewrites the dependency tree of the given package to use
|
2020-03-28 21:06:35 +00:00
|
|
|
|
;; GUILE-2.0 instead of GUILE-3.0.
|
|
|
|
|
(package-input-rewriting `((,guile-3.0 . ,guile-2.0))
|
2020-09-23 12:56:38 +00:00
|
|
|
|
(guile-variant-package-name "guile2.0")
|
|
|
|
|
#:deep? #f))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define package-for-guile-2.2
|
|
|
|
|
(package-input-rewriting `((,guile-3.0 . ,guile-2.2))
|
2020-09-23 12:56:38 +00:00
|
|
|
|
(guile-variant-package-name "guile2.2")
|
|
|
|
|
#:deep? #f))
|
2020-02-22 23:20:30 +00:00
|
|
|
|
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(define-public guile-for-guile-emacs
|
2020-04-04 17:12:30 +00:00
|
|
|
|
(let ((commit "15ca78482ac0dd2e3eb36dcb31765d8652d7106d")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package (inherit guile-2.2)
|
|
|
|
|
(name "guile-for-guile-emacs")
|
|
|
|
|
(version (git-version "2.1.2" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://git.savannah.gnu.org/guile.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1l7ik4q4zk7vq4m3gnwizc0b64b1mdr31hxqlzxs94xaf2lvi7s2"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.2)
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Disable broken tests.
|
|
|
|
|
;; TODO: Fix them!
|
|
|
|
|
(substitute* "test-suite/tests/gc.test"
|
|
|
|
|
(("\\(pass-if \"after-gc-hook gets called\"" m)
|
|
|
|
|
(string-append "#;" m)))
|
|
|
|
|
(substitute* "test-suite/tests/version.test"
|
|
|
|
|
(("\\(pass-if \"version reporting works\"" m)
|
|
|
|
|
(string-append "#;" m)))
|
|
|
|
|
;; Warning: Unwind-only `out-of-memory' exception; skipping pre-unwind handler.
|
|
|
|
|
;; FAIL: test-out-of-memory
|
|
|
|
|
(substitute* "test-suite/standalone/Makefile.am"
|
|
|
|
|
(("(check_SCRIPTS|TESTS) \\+= test-out-of-memory") ""))
|
2021-09-29 22:03:14 +00:00
|
|
|
|
|
2020-04-04 17:12:30 +00:00
|
|
|
|
(patch-shebang "build-aux/git-version-gen")
|
|
|
|
|
(invoke "sh" "autogen.sh")
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
2021-09-29 22:03:14 +00:00
|
|
|
|
(modify-inputs (package-native-inputs guile-2.2)
|
|
|
|
|
(prepend autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
flex
|
|
|
|
|
texinfo
|
|
|
|
|
gettext-minimal))))))
|
2015-09-16 20:49:06 +00:00
|
|
|
|
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Extensions.
|
|
|
|
|
;;;
|
|
|
|
|
|
2019-10-22 15:51:23 +00:00
|
|
|
|
(define-public guile-json-1
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-json")
|
2020-08-06 07:03:33 +00:00
|
|
|
|
(version "1.3.2")
|
2018-06-02 13:28:12 +00:00
|
|
|
|
(home-page "https://github.com/aconchillo/guile-json")
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(source (origin
|
2016-09-07 16:27:11 +00:00
|
|
|
|
(method url-fetch)
|
2019-09-11 12:04:12 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
2016-09-07 16:27:11 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-08-06 07:03:33 +00:00
|
|
|
|
"0m6yzb169r6iz56k3nkncjaiijwi4p0x9ijn1p5ax3s77jklxy9k"))))
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-08-06 07:03:33 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list pkg-config guile-2.2))
|
|
|
|
|
(inputs (list guile-2.2))
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(synopsis "JSON module for Guile")
|
|
|
|
|
(description
|
2017-02-02 10:34:48 +00:00
|
|
|
|
"Guile-JSON supports parsing and building JSON documents according to the
|
|
|
|
|
specification. These are the main features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Strictly complies to @uref{http://json.org, specification}.
|
|
|
|
|
@item Build JSON documents programmatically via macros.
|
|
|
|
|
@item Unicode support for strings.
|
|
|
|
|
@item Allows JSON pretty printing.
|
|
|
|
|
@end itemize\n")
|
2018-09-07 15:03:49 +00:00
|
|
|
|
|
|
|
|
|
;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+).
|
|
|
|
|
(license license:gpl3+)))
|
2014-03-31 18:18:52 +00:00
|
|
|
|
|
2019-10-22 15:51:23 +00:00
|
|
|
|
;; Deprecate the 'guile-json' alias to force the use 'guile-json-1' or
|
|
|
|
|
;; 'guile-json-3'. In the future, we may reuse 'guile-json' as an alias for
|
|
|
|
|
;; 'guile-json-3'.
|
2020-01-10 10:28:59 +00:00
|
|
|
|
(define-deprecated guile-json guile-json-1)
|
2019-10-22 22:43:49 +00:00
|
|
|
|
(export guile-json)
|
2019-07-21 21:17:01 +00:00
|
|
|
|
|
2017-05-13 19:49:01 +00:00
|
|
|
|
(define-public guile2.0-json
|
2019-10-22 15:51:23 +00:00
|
|
|
|
(package-for-guile-2.0 guile-json-1))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2019-01-14 16:21:55 +00:00
|
|
|
|
(define-public guile-json-3
|
|
|
|
|
;; This version is incompatible with 1.x; see the 'NEWS' file.
|
|
|
|
|
(package
|
2019-10-22 15:51:23 +00:00
|
|
|
|
(inherit guile-json-1)
|
2019-01-14 16:21:55 +00:00
|
|
|
|
(name "guile-json")
|
2020-04-30 20:23:44 +00:00
|
|
|
|
(version "3.5.0")
|
2019-01-14 16:21:55 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-09-11 12:04:12 +00:00
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
2019-01-14 16:21:55 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-30 20:23:44 +00:00
|
|
|
|
"0nj0684qgh6ppkbdyxqfyjwsv2qbyairxpi8fzrhsi3xnc7jn4im"))))
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list pkg-config guile-3.0))
|
|
|
|
|
(inputs (list guile-3.0))))
|
2020-02-22 23:20:30 +00:00
|
|
|
|
|
2020-06-02 16:26:34 +00:00
|
|
|
|
(define-public guile-json-4
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-json-3)
|
|
|
|
|
(name "guile-json")
|
2022-06-24 20:48:19 +00:00
|
|
|
|
(version "4.7.1")
|
2020-06-02 16:26:34 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-24 20:48:19 +00:00
|
|
|
|
"0hv8jjb6wdhvfrprwdi36125sci1ip4zfflv79hqlz7nh0irld65"))))))
|
2020-06-02 16:26:34 +00:00
|
|
|
|
|
|
|
|
|
(define-public guile2.2-json
|
|
|
|
|
(package-for-guile-2.2 guile-json-4))
|
|
|
|
|
|
2015-05-31 18:38:21 +00:00
|
|
|
|
;; There are two guile-gdbm packages, one using the FFI and one with
|
|
|
|
|
;; direct C bindings, hence the verbose name.
|
|
|
|
|
|
|
|
|
|
(define-public guile-gdbm-ffi
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-gdbm-ffi")
|
|
|
|
|
(version "20120209.fa1d5b6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/ijp/guile-gdbm")
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(commit "fa1d5b6231d0e4d096687b378c025f2148c5f246")))
|
2015-11-23 09:50:55 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2018-07-18 13:42:11 +00:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"guile-gdbm-ffi-support-gdbm-1.14.patch"))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8wrsw7v9w6qkl47xz0rdikg50v16nn6kbs3lgzcymjzpa7babj"))))
|
2018-07-18 13:42:11 +00:00
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'move-examples
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Move examples where they belong.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/"
|
|
|
|
|
(strip-store-file-name out)
|
|
|
|
|
"/examples")))
|
|
|
|
|
(copy-recursively "examples" doc)
|
|
|
|
|
(delete-file-recursively "examples")
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'unpack 'set-libgdbm-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gdbm.scm"
|
|
|
|
|
(("\\(dynamic-link \"libgdbm\"\\)")
|
|
|
|
|
(format #f "(dynamic-link \"~a/lib/libgdbm.so\")"
|
|
|
|
|
(assoc-ref inputs "gdbm"))))
|
|
|
|
|
#t)))))
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list guile-3.0))
|
|
|
|
|
(inputs (list gdbm))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(home-page "https://github.com/ijp/guile-gdbm")
|
|
|
|
|
(synopsis "Guile bindings to the GDBM library via Guile's FFI")
|
|
|
|
|
(description
|
|
|
|
|
"Guile bindings to the GDBM key-value storage system, using
|
|
|
|
|
Guile's foreign function interface.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
|
2017-12-15 21:08:34 +00:00
|
|
|
|
(define-public guile2.0-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.0 guile-gdbm-ffi))
|
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile2.2-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.2 guile-gdbm-ffi))
|
|
|
|
|
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(define-public guile-sqlite3
|
2018-06-27 12:52:49 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-sqlite3")
|
2022-08-06 18:40:52 +00:00
|
|
|
|
(version "0.1.3")
|
2018-11-05 23:21:23 +00:00
|
|
|
|
(home-page "https://notabug.org/guile-sqlite3/guile-sqlite3.git")
|
2018-06-27 12:52:49 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-08-06 18:40:52 +00:00
|
|
|
|
"0qqygvlpz63phdi2p5p8ncp80dci230qfa3pwds8yfxqqaablmhb"))
|
2020-06-12 16:52:36 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
2018-06-27 12:52:49 +00:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list autoconf automake guile-3.0 pkg-config))
|
|
|
|
|
(inputs (list guile-3.0 sqlite))
|
2018-06-27 12:52:49 +00:00
|
|
|
|
(synopsis "Access SQLite databases from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the SQLite database system.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-06-18 13:09:08 +00:00
|
|
|
|
|
2018-10-10 18:26:54 +00:00
|
|
|
|
(define-public guile2.0-sqlite3
|
|
|
|
|
(package-for-guile-2.0 guile-sqlite3))
|
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile2.2-sqlite3
|
|
|
|
|
(package-for-guile-2.2 guile-sqlite3))
|
|
|
|
|
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(define-public guile-bytestructures
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bytestructures")
|
2021-03-10 18:55:35 +00:00
|
|
|
|
(version "1.0.10")
|
2019-12-29 20:21:49 +00:00
|
|
|
|
(home-page "https://github.com/TaylanUB/scheme-bytestructures")
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(source (origin
|
2019-12-29 20:21:49 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
2020-11-16 15:43:34 +00:00
|
|
|
|
(commit version)))
|
2019-12-30 10:01:54 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-10 18:55:35 +00:00
|
|
|
|
"14k50jln32kkxv41hvsdgjkkfj6xlv06vc1caz01qkgk1fzh72nk"))))
|
2018-01-08 21:30:10 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2019-12-29 20:23:02 +00:00
|
|
|
|
(arguments
|
2020-01-13 09:00:18 +00:00
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0") ;to prevent guild warnings
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(package ,(package-full-name this-package "-"))
|
|
|
|
|
(doc (string-append out "/share/doc/" package)))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))))
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list autoconf automake pkg-config guile-3.0))
|
|
|
|
|
(inputs (list guile-3.0))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(synopsis "Structured access to bytevector contents for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile bytestructures offers a system imitating the type system
|
|
|
|
|
of the C programming language, to be used on bytevectors. C's type
|
|
|
|
|
system works on raw memory, and Guile works on bytevectors which are
|
|
|
|
|
an abstraction over raw memory. It's also more powerful than the C
|
|
|
|
|
type system, elevating types to first-class status.")
|
2019-08-26 19:36:45 +00:00
|
|
|
|
(license license:gpl3+)
|
|
|
|
|
(properties '((upstream-name . "bytestructures")))))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
|
2017-07-25 15:06:51 +00:00
|
|
|
|
(define-public guile2.0-bytestructures
|
|
|
|
|
(package-for-guile-2.0 guile-bytestructures))
|
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile2.2-bytestructures
|
|
|
|
|
(package-for-guile-2.2 guile-bytestructures))
|
|
|
|
|
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(define-public guile-git
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-git")
|
2021-07-21 21:36:35 +00:00
|
|
|
|
(version "0.5.2")
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(home-page "https://gitlab.com/guile-git/guile-git.git")
|
|
|
|
|
(source (origin
|
2021-04-13 19:22:44 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-11-23 04:27:28 +00:00
|
|
|
|
"11a51acibwi2hpaygmrpn6nwbr4lqalc87ihrgj3mhz6swbsk9n7"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"guile-git-adjust-for-libgit2-1.2.0.patch"))))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-10 11:09:48 +00:00
|
|
|
|
(arguments
|
2022-03-17 18:01:04 +00:00
|
|
|
|
`(#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings
|
|
|
|
|
;; https://gitlab.com/guile-git/guile-git/-/issues/20
|
|
|
|
|
,@(if (target-ppc32?)
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.am"
|
|
|
|
|
((".*tests/blob\\.scm.*") ""))))))
|
|
|
|
|
'())))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(native-inputs
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(list pkg-config autoconf automake texinfo guile-3.0 guile-bytestructures))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(inputs
|
2022-05-15 00:00:00 +00:00
|
|
|
|
;; libgit2@1.4.3 ‘fixed’ a git CVE it never shared, breaking Guix. Use
|
|
|
|
|
;; 1.3 for now; see <https://issues.guix.gnu.org/55399> for alternatives.
|
|
|
|
|
(list guile-3.0 libgit2-1.3))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(propagated-inputs
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(list guile-bytestructures))
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(synopsis "Guile bindings for libgit2")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to libgit2, a library to
|
2017-02-11 20:52:00 +00:00
|
|
|
|
manipulate repositories of the Git version control system.")
|
2018-07-07 15:23:13 +00:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-08 21:46:34 +00:00
|
|
|
|
|
2020-02-22 23:20:30 +00:00
|
|
|
|
(define-public guile2.2-git
|
|
|
|
|
(package-for-guile-2.2 guile-git))
|
2019-11-23 15:10:47 +00:00
|
|
|
|
|
2017-07-25 15:11:41 +00:00
|
|
|
|
(define-public guile2.0-git
|
2020-10-20 12:34:52 +00:00
|
|
|
|
(package-for-guile-2.0 guile-git))
|
2017-07-25 15:11:41 +00:00
|
|
|
|
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(define-public guile-zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-zlib")
|
2021-03-12 13:35:51 +00:00
|
|
|
|
(version "0.1.0")
|
2020-07-27 13:44:51 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-07-27 16:28:51 +00:00
|
|
|
|
;; XXX: Do not use "git-fetch" method here that would create and
|
|
|
|
|
;; endless inclusion loop, because this package is used as an extension
|
|
|
|
|
;; in the same method.
|
2020-07-27 13:44:51 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
2021-03-12 13:35:51 +00:00
|
|
|
|
(string-append "https://notabug.org/guile-zlib/guile-zlib/archive/v"
|
2020-07-27 13:44:51 +00:00
|
|
|
|
version ".tar.gz"))
|
2020-08-06 13:25:19 +00:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-07-27 13:44:51 +00:00
|
|
|
|
(sha256
|
2021-03-12 13:35:51 +00:00
|
|
|
|
;; content hash: 1ip18nzwnczqyhn9cpzxkm9vzpi5fz5sy96cgjhmp7cwhnkmv6zv
|
2020-07-27 13:44:51 +00:00
|
|
|
|
(base32
|
2021-03-12 13:35:51 +00:00
|
|
|
|
"1safz7rrbdf1d98x3lgx5v74kivpyf9n1v6pdyy22vd0f2sjdir5"))))
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list autoconf automake pkg-config guile-3.0))
|
|
|
|
|
(inputs (list guile-3.0 zlib))
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(synopsis "Guile bindings to zlib")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings for zlib, a lossless
|
|
|
|
|
data-compression library. The bindings are written in pure Scheme by using
|
|
|
|
|
Guile's foreign function interface.")
|
|
|
|
|
(home-page "https://notabug.org/guile-zlib/guile-zlib")
|
|
|
|
|
(license license:gpl3+)))
|
2018-12-05 05:15:45 +00:00
|
|
|
|
|
2021-05-04 22:23:49 +00:00
|
|
|
|
(define-public guile2.2-zlib
|
|
|
|
|
(package-for-guile-2.2 guile-zlib))
|
|
|
|
|
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(define-public guile-lzlib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lzlib")
|
2020-09-28 09:39:16 +00:00
|
|
|
|
(version "0.0.2")
|
2020-07-27 13:48:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://notabug.org/guile-lzlib/guile-lzlib/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2020-08-06 13:24:39 +00:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-07-27 13:48:28 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-28 09:39:16 +00:00
|
|
|
|
"11sggvncyx08ssp1s5xii4d6nskh1qwqihnbpzzvkrs7sivxn8w6"))))
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list autoconf automake pkg-config guile-3.0))
|
|
|
|
|
(inputs (list guile-3.0 lzlib))
|
2020-07-27 13:02:33 +00:00
|
|
|
|
(synopsis "Guile bindings to lzlib")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings for lzlib, a C library for
|
|
|
|
|
in-memory LZMA compression and decompression. The bindings are written in
|
|
|
|
|
pure Scheme by using Guile's foreign function interface.")
|
|
|
|
|
(home-page "https://notabug.org/guile-lzlib/guile-lzlib")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2021-05-04 22:24:22 +00:00
|
|
|
|
(define-public guile2.2-lzlib
|
|
|
|
|
(package-for-guile-2.2 guile-lzlib))
|
|
|
|
|
|
2020-12-27 14:27:36 +00:00
|
|
|
|
(define-public guile-zstd
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-zstd")
|
|
|
|
|
(version "0.1.1")
|
|
|
|
|
(home-page "https://notabug.org/guile-zstd/guile-zstd")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1c8l7829b5yx8wdc0mrhzjfwb6h9hb7cd8dfxcr71a7vlsi86310"))))
|
|
|
|
|
(build-system gnu-build-system)
|
gnu: Change inputs of core packages to plain lists.
This is transparent: the resulting derivations are unchanged.
* gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers)
(coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to
plain package lists and use 'modify-inputs'.
* gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3)
(guile-gdbm-ffi, guile-sqlite3, guile-bytestructures)
(guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise.
* gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99)
(nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-05-20 13:49:32 +00:00
|
|
|
|
(native-inputs (list autoconf automake pkg-config guile-3.0))
|
|
|
|
|
(inputs (list `(,zstd "lib") guile-3.0))
|
2020-12-27 14:27:36 +00:00
|
|
|
|
(synopsis "GNU Guile bindings to the zstd compression library")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a GNU Guile interface to the zstd (``zstandard'')
|
|
|
|
|
compression library.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2021-12-12 16:57:45 +00:00
|
|
|
|
(define-public guile-lzma
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lzma")
|
2021-12-27 16:14:03 +00:00
|
|
|
|
(version "0.1.1")
|
2021-12-12 16:57:45 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.ngyro.com/guile-lzma/guile-lzma-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-12-27 16:14:03 +00:00
|
|
|
|
(base32 "0pnfzk92p9y5ymjq6rq619b9fy0dflv56jwg00wlvvbjssb6i1ib"))))
|
2021-12-12 16:57:45 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake guile-3.0 guile-bytestructures pkg-config))
|
|
|
|
|
(inputs (list guile-3.0 xz))
|
|
|
|
|
(propagated-inputs (list guile-bytestructures))
|
|
|
|
|
(home-page "https://ngyro.com/software/guile-lzma.html")
|
|
|
|
|
(synopsis "Guile bindings for liblzma (XZ)")
|
|
|
|
|
(description "Guile-LZMA is a Guile wrapper for the liblzma (XZ)
|
|
|
|
|
library. It exposes an interface similar to other Guile compression
|
|
|
|
|
libraries, like Guile-zlib.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-07-27 13:02:33 +00:00
|
|
|
|
;;; guile.scm ends here
|