2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-03-11 16:46:30 -04:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
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 07:47:34 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
|
2017-01-08 16:46:34 -05:00
|
|
|
|
;;; Copyright © 2015, 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
2016-02-14 13:23:24 -05:00
|
|
|
|
;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
|
2017-01-15 15:59:48 -05:00
|
|
|
|
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2016-04-20 16:22:36 -04:00
|
|
|
|
;;; Copyright © 2016 Erik Edrosa <erik.edrosa@gmail.com>
|
2016-05-10 00:21:58 -04:00
|
|
|
|
;;; Copyright © 2016 Eraim Flashner <efraim@flashner.co.il>
|
2017-04-16 04:33:18 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
2017-07-28 10:18:03 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
|
2016-10-09 06:31:20 -04:00
|
|
|
|
;;; Copyright © 2016 Amirouche <amirouche@hypermove.net>
|
2017-01-08 16:46:34 -05:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2017-02-21 05:20:02 -05:00
|
|
|
|
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
2017-04-14 04:27:43 -04:00
|
|
|
|
;;; Copyright © 2017 David Thompson <davet@gnu.org>
|
2017-04-28 07:45:13 -04:00
|
|
|
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
2017-09-29 06:36:20 -04:00
|
|
|
|
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/emacs.scm, gnu/packages/enlightenment.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm,
gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm,
gnu/packages/image-viewers.scm, gnu/packages/image.scm,
gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm,
gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm,
gnu/packages/music.scm, gnu/packages/ncurses.scm,
gnu/packages/networking.scm, gnu/packages/nickle.scm,
gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-crypto.scm, gnu/packages/python-web.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/ruby.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/serialization.scm,
gnu/packages/shells.scm, gnu/packages/ssh.scm,
gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xfce.scm, gnu/packages/xml.scm,
gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm,
guix/licenses.scm: Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 11:39:45 -04:00
|
|
|
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
2018-02-19 22:09:27 -05:00
|
|
|
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-01-30 22:38:10 -05:00
|
|
|
|
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2018-05-10 06:00:04 -04:00
|
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2018-05-15 05:22:04 -04:00
|
|
|
|
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
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 16:17:41 -04:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05: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 16:17:41 -04:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05: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 16:17:41 -04: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 18:47:50 -05: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 16:17:41 -04: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 18:47:50 -05: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 16:17:41 -04:00
|
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
|
(define-module (gnu packages guile)
|
2017-02-11 13:23:56 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-17 19:06:47 -05:00
|
|
|
|
#:use-module (gnu packages)
|
2016-11-10 18:22:50 -05:00
|
|
|
|
#:use-module (gnu packages aspell)
|
2013-05-26 17:45:59 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-01-17 19:06:24 -05: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 14:40:01 -04:00
|
|
|
|
#:use-module (gnu packages compression)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages gawk)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-05-10 10:29:54 -04:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-11-08 13:06:10 -05:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-01-17 19:06:24 -05:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages readline)
|
2013-02-04 08:00:46 -05:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2013-02-07 18:15:48 -05:00
|
|
|
|
#:use-module (gnu packages ed)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 11:21:21 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-05-10 10:29:54 -04:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-06-27 03:30:01 -04:00
|
|
|
|
#:use-module (gnu packages man)
|
2015-05-10 10:29:54 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-10-29 11:48:32 -04:00
|
|
|
|
#:use-module (gnu packages databases)
|
2015-09-18 17:58:31 -04:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-05-15 07:33:15 -04:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-11-13 18:07:21 -05:00
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages sdl)
|
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages image)
|
2017-02-11 15:52:00 -05:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2016-07-22 04:10:11 -04:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-05-15 05:22:04 -04:00
|
|
|
|
#:use-module (gnu packages networking)
|
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 16:17:41 -04: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 18:22:44 -05:00
|
|
|
|
#:use-module (guix download)
|
2015-04-21 23:40:15 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2014-01-22 17:45:44 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-07-18 09:42:11 -04:00
|
|
|
|
#:use-module (guix build-system guile)
|
2015-04-21 23:40:15 -04:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2014-01-22 17:45:44 -05:00
|
|
|
|
#:use-module (guix utils)
|
2018-01-30 22:38:10 -05:00
|
|
|
|
#:use-module (ice-9 match)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:prefix srfi-1:))
|
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 16:17:41 -04: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 16:37:22 -05: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 16:17:41 -04: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 16:37:22 -05: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 18:22:44 -05: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 17:34:03 -05: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 16:37:22 -05: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 18:09:04 -04:00
|
|
|
|
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
|
2016-04-08 08:18:13 -04: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 16:37:22 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--disable-error-on-warning")
|
|
|
|
|
|
|
|
|
|
;; 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 11:28:42 -04: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 18:15:26 -05: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 11:28:42 -04:00
|
|
|
|
;; The usual /bin/sh...
|
|
|
|
|
(substitute* "ice-9/popen.scm"
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))))
|
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 18:09:04 -04:00
|
|
|
|
(inputs `(("gawk" ,gawk)
|
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 16:37:22 -05:00
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
|
|
|
|
|
;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be
|
|
|
|
|
;; propagated.
|
|
|
|
|
(propagated-inputs `(("gmp" ,gmp)
|
2015-01-06 17:14:59 -05:00
|
|
|
|
("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 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-03-30 17:50:45 -04: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 17:22:08 -05:00
|
|
|
|
(files '("share/guile/site")))))
|
2013-03-30 17:50:45 -04: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 12:04:25 -04: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 16:37:22 -05: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 10:14:23 -04: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 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 13:23:56 -05: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 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
(define-public guile-2.0
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
2017-02-13 18:08:42 -05: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 16:37:22 -05: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 18:22:44 -05: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 17:34:03 -05: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 16:37:22 -05:00
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-13 18:08:42 -05: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 16:37:22 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)))
|
|
|
|
|
(inputs `(("libffi" ,libffi)
|
2016-04-24 08:06:56 -04:00
|
|
|
|
,@(libiconv-if-needed)
|
2017-06-02 09:34:36 -04: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 16:37:22 -05: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 17:14:59 -05: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 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
|
|
|
|
|
;; must be propagated.
|
2014-03-18 10:14:02 -04: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 16:37:22 -05:00
|
|
|
|
("gmp" ,gmp)))
|
|
|
|
|
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-07-03 17:55:04 -04:00
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
|
2012-12-20 17:07:46 -05:00
|
|
|
|
(arguments
|
2018-02-19 22:09:27 -05:00
|
|
|
|
`(#:configure-flags '("--disable-static") ; saves 3 MiB
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(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 17:07:46 -05:00
|
|
|
|
|
2013-03-30 17:50:45 -04: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 17:22:08 -05:00
|
|
|
|
(files '("share/guile/site/2.0")))
|
2013-03-30 17:50:45 -04:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2016-06-29 03:51:26 -04:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2015-12-22 16:29:34 -05:00
|
|
|
|
"share/guile/site/2.0")))))
|
2013-03-30 17:50:45 -04: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 12:04:25 -04: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 16:37:22 -05: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 10:14:23 -04: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 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 13:23:56 -05: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 16:37:22 -05:00
|
|
|
|
|
2017-03-19 12:30:44 -04:00
|
|
|
|
(define-public guile-2.2
|
2015-05-10 10:29:54 -04:00
|
|
|
|
(package (inherit guile-2.0)
|
2017-03-19 12:30:44 -04:00
|
|
|
|
(name "guile")
|
2017-12-05 17:47:14 -05:00
|
|
|
|
(version "2.2.3")
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-08 17:10:50 -04:00
|
|
|
|
|
|
|
|
|
;; Note: we are limited to one of the compression formats
|
|
|
|
|
;; supported by the bootstrap binaries, so no lzip here.
|
2017-03-15 17:58:35 -04:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
2017-04-08 17:10:50 -04:00
|
|
|
|
".tar.xz"))
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-05 17:47:14 -05:00
|
|
|
|
"11j01agvnci2cx32wwpqs9078856yxmvs15gcsz7ganpkj2ahlw3"))
|
2016-02-06 15:43:57 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
|
|
|
|
|
;; 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 07:47:34 -04:00
|
|
|
|
(snippet '(begin
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files "prebuilt" "\\.go$"))
|
|
|
|
|
#t))))
|
2016-12-14 02:48:38 -05:00
|
|
|
|
(properties '((timeout . 72000) ;20 hours
|
2017-06-20 00:23:00 -04:00
|
|
|
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
2017-06-07 19:13:59 -04:00
|
|
|
|
; when heavily loaded)
|
2016-02-13 00:08:22 -05: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")
|
2016-09-09 05:03:13 -04:00
|
|
|
|
(files '("lib/guile/2.2/site-ccache"
|
2017-12-22 11:15:05 -05:00
|
|
|
|
"share/guile/site/2.2")))))
|
|
|
|
|
|
|
|
|
|
(arguments
|
|
|
|
|
(if (%current-target-system)
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.0)
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'sacrifice-elisp-support
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Cross-compiling language/elisp/boot.el fails, so
|
|
|
|
|
;; sacrifice it. See
|
|
|
|
|
;; <https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=988aa29238fca862c7e2cb55f15762a69b4c16ce>
|
|
|
|
|
;; for the upstream fix.
|
|
|
|
|
(substitute* "module/Makefile.in"
|
|
|
|
|
(("language/elisp/boot\\.el")
|
|
|
|
|
"\n"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(package-arguments guile-2.0)))))
|
2015-11-29 11:37:00 -05:00
|
|
|
|
|
2017-04-08 17:10:50 -04:00
|
|
|
|
(define-public guile-2.2/fixed
|
|
|
|
|
;; A package of Guile 2.2 that's rarely changed. It is the one used
|
|
|
|
|
;; in the `base' module, and thus changing it entails a full rebuild.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
2017-06-20 00:29:31 -04:00
|
|
|
|
(properties '((hidden? . #t) ;people should install 'guile-2.2'
|
2018-03-17 03:31:11 -04:00
|
|
|
|
(timeout . 72000) ;20 hours
|
|
|
|
|
(max-silent-time . 36000))))) ;10 hours (needed on ARM
|
|
|
|
|
; when heavily loaded)
|
2017-04-08 17:10:50 -04:00
|
|
|
|
|
2018-03-08 05:46:55 -05:00
|
|
|
|
(define-public guile-2.2.2
|
|
|
|
|
;; Keep it so that, when 'guix' runs on 2.2.2, 'guix pull' compiles objects
|
|
|
|
|
;; with 2.2.2, thereby avoiding the ABI incompatibility issues described in
|
|
|
|
|
;; <https://bugs.gnu.org/29570>.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
|
|
|
|
(version "2.2.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source guile-2.2))
|
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1azm25zcmxif0skxfrp11d2wc89nrzpjaann9yxdw6pvjxhs948w"))))))
|
|
|
|
|
|
2018-07-02 06:22:42 -04:00
|
|
|
|
(define-public guile-2.2.4
|
|
|
|
|
;; This version contains important bug fixes, in particular wrt. to crashes
|
|
|
|
|
;; of multi-threaded code as used by 'guix pull' and grafting.
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
|
|
|
|
(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-03-22 04:47:42 -04:00
|
|
|
|
(define-public guile-next
|
2018-09-24 07:59:35 -04:00
|
|
|
|
;; This is the upcoming Guile 3.0, with JIT support.
|
2018-10-04 12:09:55 -04:00
|
|
|
|
(let ((commit "6f3357b0df64c4be17e72079864c09a542f1c779")
|
|
|
|
|
(revision "1"))
|
2018-09-24 07:59:35 -04:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.2)
|
|
|
|
|
(name "guile-next")
|
|
|
|
|
(version (git-version "2.99" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.savannah.gnu.org/git/guile.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-04 12:09:55 -04:00
|
|
|
|
"1c2xy5cflg0hws48914rz3z8mdmf8w3lblfic0kxnymcmdv9cbhv"))
|
2018-09-24 07:59:35 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf", autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("gettext" ,gnu-gettext)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
,@(package-native-inputs guile-2.2)))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-2.2)
|
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
|
;; XXX: The default 'bootstrap' phase tries to execute the
|
|
|
|
|
;; ./bootstrap directory.
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(patch-shebang "build-aux/git-version-gen")
|
|
|
|
|
(invoke "autoreconf" "-vfi")))
|
|
|
|
|
(add-before 'check 'skip-version-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Remove this test that's bound to fail.
|
|
|
|
|
(delete-file "test-suite/tests/version.test")
|
2018-10-04 11:05:06 -04:00
|
|
|
|
#t))))))
|
|
|
|
|
(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"
|
|
|
|
|
"share/guile/site/3.0"))))))))
|
2017-03-22 04:47:42 -04:00
|
|
|
|
|
2017-12-08 11:31:22 -05:00
|
|
|
|
(define (make-guile-readline guile)
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-readline")
|
|
|
|
|
(version (package-version guile))
|
|
|
|
|
(source (package-source guile))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-silent-rules")
|
|
|
|
|
#: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
|
|
|
|
|
(make-guile-readline guile-2.2))
|
|
|
|
|
|
2017-03-19 12:37:49 -04: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 12:39:44 -04:00
|
|
|
|
|
|
|
|
|
(define package-for-guile-2.2
|
|
|
|
|
;; A procedure that rewrites the dependency tree of the given package to use
|
2017-03-19 12:30:44 -04:00
|
|
|
|
;; GUILE-2.2 instead of GUILE-2.0.
|
|
|
|
|
(package-input-rewriting `((,guile-2.0 . ,guile-2.2))
|
2017-03-19 12:37:49 -04:00
|
|
|
|
(guile-variant-package-name "guile2.2")))
|
|
|
|
|
|
|
|
|
|
(define package-for-guile-2.0
|
|
|
|
|
;; Likewise, but the other way around. :-)
|
|
|
|
|
(package-input-rewriting `((,guile-2.2 . ,guile-2.0))
|
|
|
|
|
(guile-variant-package-name "guile2.0")))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(define-public guile-for-guile-emacs
|
2017-03-19 12:30:44 -04:00
|
|
|
|
(package (inherit guile-2.2)
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(name "guile-for-guile-emacs")
|
|
|
|
|
(version "20150510.d8d9a8d")
|
2015-05-10 10:29:54 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2015-11-29 11:37:00 -05:00
|
|
|
|
(url "git://git.hcoop.net/git/bpt/guile.git")
|
|
|
|
|
(commit "d8d9a8da05ec876acba81a559798eb5eeceb5a17")))
|
2017-08-27 18:21:26 -04:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-05-10 10:29:54 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-11-29 11:37:00 -05:00
|
|
|
|
"00sprsshy16y8pxjy126hr2adqcvvzzz96hjyjwgg8swva1qh6b0"))))
|
2015-05-10 10:29:54 -04:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments `(;; Tests aren't passing for now.
|
|
|
|
|
;; Obviously we should re-enable this!
|
|
|
|
|
#:tests? #f
|
2017-03-19 12:30:44 -04:00
|
|
|
|
,@(package-arguments guile-2.2))
|
2015-05-10 10:29:54 -04:00
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autogen.sh"))))
|
|
|
|
|
(add-before 'autogen 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "build-aux/git-version-gen"
|
|
|
|
|
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("texinfo" ,texinfo)
|
2016-09-25 03:33:02 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2017-03-19 12:30:44 -04:00
|
|
|
|
,@(package-native-inputs guile-2.2)))
|
2016-02-28 14:42:13 -05:00
|
|
|
|
;; Same as in guile-2.0
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/2.0")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2016-09-09 05:03:13 -04:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2016-02-28 14:42:13 -05:00
|
|
|
|
"share/guile/site/2.0")))))))
|
2015-09-16 16:49:06 -04:00
|
|
|
|
|
2017-01-15 15:59:48 -05:00
|
|
|
|
;; There has not been any release yet.
|
|
|
|
|
(define-public guildhall
|
|
|
|
|
(let ((commit "2fe2cc539f4b811bbcd69e58738db03eb5a2b778")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guildhall")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ijp/guildhall.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"115bym7bg66h3gs399yb2vkzc2ygriaqsn4zbrg8f054mgy8wzn1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Tests fail without this fix because they try to load the bash
|
|
|
|
|
;; executable as a Scheme file. See bug report at
|
|
|
|
|
;; https://github.com/ijp/guildhall/issues/22
|
|
|
|
|
(add-after 'unpack 'fix-bug-22
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.am"
|
|
|
|
|
(("TESTS_ENVIRONMENT=.*")
|
|
|
|
|
"AM_TESTS_ENVIRONMENT=srcdir=$(abs_top_srcdir)/tests/
|
|
|
|
|
TEST_EXTENSIONS = .scm
|
|
|
|
|
SCM_LOG_COMPILER= $(top_builddir)/env $(GUILE)
|
|
|
|
|
AM_SCM_LOG_FLAGS = --no-auto-compile -s")
|
|
|
|
|
;; FIXME: one of the database tests fails for unknown
|
|
|
|
|
;; reasons. It does not fail when run outside of Guix.
|
|
|
|
|
(("tests/database.scm") ""))
|
|
|
|
|
#t))
|
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-07-30 21:02:35 -04:00
|
|
|
|
(add-after 'fix-bug-22 'autogen
|
2017-01-15 15:59:48 -05:00
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autogen.sh")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("zip" ,zip) ; for tests
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(synopsis "Package manager for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guildhall is a package manager written for Guile Scheme. A guild is
|
|
|
|
|
an association of independent craftspeople. A guildhall is where they meet.
|
|
|
|
|
This Guildhall aims to make a virtual space for Guile wizards and journeyfolk
|
|
|
|
|
to share code.
|
|
|
|
|
|
|
|
|
|
On a practical level, Guildhall lets you share Scheme modules and programs
|
|
|
|
|
over the internet, and install code that has been shared by others. Guildhall
|
|
|
|
|
can handle dependencies, so when a program requires several libraries, and
|
|
|
|
|
each of those has further dependencies, all of the prerequisites for the
|
|
|
|
|
program can be installed in one go.")
|
|
|
|
|
(home-page "https://github.com/ijp/guildhall")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
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 16:37:22 -05:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Extensions.
|
|
|
|
|
;;;
|
|
|
|
|
|
2015-11-08 13:06:10 -05:00
|
|
|
|
(define-public artanis
|
2017-07-28 10:18:03 -04:00
|
|
|
|
(let ((release "0.2.1")
|
|
|
|
|
(revision 3))
|
|
|
|
|
(package
|
|
|
|
|
(name "artanis")
|
|
|
|
|
(version (if (zero? revision)
|
|
|
|
|
release
|
|
|
|
|
(string-append release "-"
|
|
|
|
|
(number->string revision))))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/artanis/artanis-"
|
|
|
|
|
release ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"041ajcg2pz918kd9iqcj4inpzddc3impvz3r2nhlpbv8zrz011hn"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "artanis/third-party/json.scm")
|
|
|
|
|
(delete-file-recursively "artanis/third-party/json")
|
|
|
|
|
(substitute* '("artanis/artanis.scm"
|
|
|
|
|
"artanis/oht.scm")
|
|
|
|
|
(("(#:use-module \\()artanis third-party (json\\))" _
|
|
|
|
|
use-module json)
|
|
|
|
|
(string-append use-module json)))
|
|
|
|
|
(substitute* "artanis/oht.scm"
|
|
|
|
|
(("([[:punct:][:space:]]+)(->json-string)([[:punct:][:space:]]+)"
|
|
|
|
|
_ pre json-string post)
|
|
|
|
|
(string-append pre
|
|
|
|
|
"scm" json-string
|
|
|
|
|
post)))
|
|
|
|
|
(substitute* "artanis/artanis.scm"
|
|
|
|
|
(("[[:punct:][:space:]]+->json-string[[:punct:][:space:]]+")
|
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 07:47:34 -04:00
|
|
|
|
""))
|
|
|
|
|
#t))))
|
2017-07-28 10:18:03 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; TODO: Add guile-dbi and guile-dbd optional dependencies.
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)
|
|
|
|
|
("guile-json" ,guile-json)))
|
|
|
|
|
(native-inputs `(("bash" ,bash) ;for the `source' builtin
|
|
|
|
|
("pkgconfig" ,pkg-config)
|
|
|
|
|
("util-linux" ,util-linux))) ;for the `script' command
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
;; TODO: The documentation must be built with the `docs' target.
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(scm (string-append out "/share/guile/site/2.2"))
|
|
|
|
|
(go (string-append out "/lib/guile/2.2/site-ccache")))
|
|
|
|
|
;; Don't use (%site-dir) for site paths.
|
|
|
|
|
(list (string-append "MOD_PATH=" scm)
|
|
|
|
|
(string-append "MOD_COMPILED_PATH=" go)))
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'install 'substitute-root-dir
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile" ;ignore the execution of bash.bashrc
|
|
|
|
|
((" /etc/bash.bashrc") " /dev/null"))
|
|
|
|
|
(substitute* "Makefile" ;set the root of config files to OUT
|
|
|
|
|
((" /etc") (string-append " " out "/etc")))
|
|
|
|
|
(mkdir-p (string-append out "/bin")) ;for the `art' executable
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'wrap-art
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(scm (string-append out "/share/guile/site/2.2"))
|
|
|
|
|
(go (string-append out "/lib/guile/2.2/site-ccache")))
|
|
|
|
|
(wrap-program (string-append bin "/art")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix (,scm))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix (,go)))
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Web application framework written in Guile")
|
|
|
|
|
(description "GNU Artanis is a web application framework written in Guile
|
2015-11-08 13:06:10 -05:00
|
|
|
|
Scheme. A web application framework (WAF) is a software framework that is
|
|
|
|
|
designed to support the development of dynamic websites, web applications, web
|
|
|
|
|
services and web resources. The framework aims to alleviate the overhead
|
|
|
|
|
associated with common activities performed in web development. Artanis
|
|
|
|
|
provides several tools for web development: database access, templating
|
|
|
|
|
frameworks, session management, URL-remapping for RESTful, page caching, and
|
|
|
|
|
more.")
|
2017-07-28 10:18:03 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/artanis/")
|
|
|
|
|
(license (list license:gpl3+ license:lgpl3+))))) ;dual license
|
2015-11-08 13:06:10 -05:00
|
|
|
|
|
2015-03-02 15:40:53 -05:00
|
|
|
|
(define-public guile-reader
|
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 16:17:41 -04:00
|
|
|
|
(package
|
2015-03-02 15:40:53 -05:00
|
|
|
|
(name "guile-reader")
|
2017-03-08 11:46:31 -05:00
|
|
|
|
(version "0.6.2")
|
2015-03-02 15:40:53 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-reader/guile-reader-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-08 11:46:31 -05:00
|
|
|
|
"0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx"))))
|
2015-03-02 15:40:53 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)
|
2017-03-29 16:29:49 -04:00
|
|
|
|
("gperf" ,gperf-3.0)))
|
2017-03-19 13:04:37 -04:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2015-03-02 15:40:53 -05:00
|
|
|
|
(synopsis "Framework for building readers for GNU Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-Reader is a simple framework for building readers for GNU Guile.
|
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 16:17:41 -04:00
|
|
|
|
|
|
|
|
|
The idea is to make it easy to build procedures that extend Guile’s read
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
procedure. Readers supporting various syntax variants can easily be written,
|
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 16:17:41 -04:00
|
|
|
|
possibly by re-using existing “token readers” of a standard Scheme
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
readers. For example, it is used to implement Skribilo’s R5RS-derived
|
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 16:17:41 -04:00
|
|
|
|
document syntax.
|
|
|
|
|
|
|
|
|
|
Guile-Reader’s approach is similar to Common Lisp’s “read table”, but
|
|
|
|
|
hopefully more powerful and flexible (for instance, one may instantiate as
|
|
|
|
|
many readers as needed).")
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/guile-reader/")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
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 16:17:41 -04:00
|
|
|
|
|
2017-03-19 13:04:37 -04:00
|
|
|
|
(define-public guile2.0-reader
|
|
|
|
|
(package-for-guile-2.0 guile-reader))
|
2017-03-08 11:48:27 -05:00
|
|
|
|
(define-public guile2.2-reader
|
2017-03-19 13:04:37 -04:00
|
|
|
|
(deprecated-package "guile2.2-reader" guile-reader))
|
2017-03-08 11:48:27 -05:00
|
|
|
|
|
2013-02-04 08:00:46 -05:00
|
|
|
|
(define-public guile-ncurses
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ncurses")
|
2017-04-10 09:00:27 -04:00
|
|
|
|
(version "2.2")
|
2013-02-04 08:00:46 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/guile-ncurses/guile-ncurses-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 09:00:27 -04:00
|
|
|
|
"1wvggbr4xv8idh1hzd8caj4xfp4pln78a7w1wqzd4zgzwmnzxr2f"))))
|
2013-02-04 08:00:46 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
2017-04-10 09:03:07 -04:00
|
|
|
|
("guile" ,guile-2.2)))
|
2016-10-22 11:17:34 -04:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2013-02-04 08:00:46 -05:00
|
|
|
|
(arguments
|
2014-04-29 12:05:52 -04:00
|
|
|
|
'(#:configure-flags (list "--with-ncursesw" ; Unicode support
|
2016-10-22 11:17:34 -04:00
|
|
|
|
"--with-gnu-filesystem-hierarchy")
|
2016-05-10 00:41:27 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2016-12-19 08:03:40 -05:00
|
|
|
|
(add-before 'build 'fix-libguile-ncurses-file-name
|
2016-05-10 00:41:27 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2016-12-19 08:03:40 -05:00
|
|
|
|
(and (zero? (system* "make" "install"
|
|
|
|
|
"-C" "src/ncurses"
|
|
|
|
|
"-j" (number->string
|
|
|
|
|
(parallel-job-count))))
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dir "src/ncurses")
|
|
|
|
|
(files (find-files dir ".scm")))
|
|
|
|
|
(substitute* files
|
|
|
|
|
(("\"libguile-ncurses\"")
|
2017-04-10 09:03:07 -04:00
|
|
|
|
(format #f "\"~a/lib/guile/2.2/libguile-ncurses\""
|
2016-12-19 08:03:40 -05:00
|
|
|
|
out)))
|
|
|
|
|
#t)))))))
|
2016-11-13 15:02:05 -05:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile-ncurses/")
|
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 12:04:25 -04:00
|
|
|
|
(synopsis "Guile bindings to ncurses")
|
2013-02-04 08:00:46 -05:00
|
|
|
|
(description
|
2014-11-05 17:23:38 -05:00
|
|
|
|
"guile-ncurses provides Guile language bindings for the ncurses
|
2013-12-01 16:33:23 -05:00
|
|
|
|
library.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2013-02-04 08:00:46 -05:00
|
|
|
|
|
2017-07-05 16:31:04 -04:00
|
|
|
|
(define-public guile-ncurses/gpm
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-ncurses)
|
|
|
|
|
(name "guile-ncurses-with-gpm")
|
|
|
|
|
(inputs `(("ncurses" ,ncurses/gpm)
|
|
|
|
|
("guile" ,guile-2.2)))))
|
|
|
|
|
|
2013-02-07 18:15:48 -05:00
|
|
|
|
(define-public mcron
|
|
|
|
|
(package
|
|
|
|
|
(name "mcron")
|
2018-04-18 18:04:41 -04:00
|
|
|
|
(version "1.1.1")
|
2013-02-07 18:15:48 -05:00
|
|
|
|
(source (origin
|
2018-03-19 18:16:48 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/mcron/mcron-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-18 18:04:41 -04:00
|
|
|
|
"1i9mcp6r6my61zfiydsm3n6my41mwvl7dfala4q29qx0zn1ynlm4"))))
|
2013-02-07 18:15:48 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-03-19 18:16:48 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'set-timezone
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2018-04-18 18:04:41 -04:00
|
|
|
|
;; 'tests/job-specifier.scm' expects to be running in
|
|
|
|
|
;; UTC-2 or something.
|
|
|
|
|
;; FIXME: This issue is being investigated upstream, for
|
|
|
|
|
;; now we'll just skip the tests (see below):
|
|
|
|
|
;; <https://lists.gnu.org/archive/html/bug-mcron/2018-04/msg00005.html>.
|
2018-03-19 18:16:48 -04:00
|
|
|
|
(let ((tzdata (assoc-ref inputs "tzdata")))
|
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(string-append tzdata
|
|
|
|
|
"/share/zoneinfo"))
|
2018-04-18 18:04:41 -04:00
|
|
|
|
(setenv "TZ" "UTC-2")
|
2018-03-19 18:16:48 -04:00
|
|
|
|
#t)))
|
2018-04-18 18:04:41 -04:00
|
|
|
|
(add-before 'check 'adjust-tests
|
2018-03-19 18:16:48 -04:00
|
|
|
|
(lambda _
|
2018-04-18 18:04:41 -04:00
|
|
|
|
(substitute* "tests/job-specifier.scm"
|
|
|
|
|
;; (getpw) fails with "entry not found" in the build
|
|
|
|
|
;; environment, so pass an argument.
|
|
|
|
|
(("\\(getpw\\)")
|
|
|
|
|
"(getpwnam (getuid))")
|
|
|
|
|
;; The build environment lacks an entry for root in
|
|
|
|
|
;; /etc/passwd.
|
|
|
|
|
(("\\(getpw 0\\)")
|
|
|
|
|
"(getpwnam \"nobody\")")
|
|
|
|
|
|
|
|
|
|
;; FIXME: Skip the 4 faulty tests (see above).
|
|
|
|
|
(("\\(test-equal \"next-year\"" all)
|
|
|
|
|
(string-append "(test-skip 4)\n" all)))
|
|
|
|
|
#t)))))
|
2018-03-19 18:16:48 -04:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
|
|
|
|
(inputs `(("ed" ,ed) ("which" ,which) ("guile" ,guile-2.2)))
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/mcron/")
|
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 12:04:25 -04:00
|
|
|
|
(synopsis "Run jobs at scheduled times")
|
2013-02-07 18:15:48 -05:00
|
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
|
"GNU Mcron is a complete replacement for Vixie cron. It is used to run
|
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 10:14:23 -04:00
|
|
|
|
tasks on a schedule, such as every hour or every Monday. Mcron is written in
|
2013-12-01 16:33:23 -05:00
|
|
|
|
Guile, so its configuration can be written in Scheme; the original cron
|
|
|
|
|
format is also supported.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2013-02-07 18:15:48 -05:00
|
|
|
|
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(define-public mcron2
|
2018-03-19 18:16:48 -04:00
|
|
|
|
;; This was mthl's mcron development branch, and it became mcron 1.1.
|
|
|
|
|
(deprecated-package "mcron2" mcron))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
|
2018-07-01 07:58:26 -04:00
|
|
|
|
(define-public guile-hall
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-hall")
|
|
|
|
|
(version "0.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/a-sassmannshausen/guile-hall")
|
|
|
|
|
(commit "7d1094a12fe917209ce5b76c681cc8c862d4c65b")))
|
|
|
|
|
(file-name "guile-hall-0.1.1-checkout")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"03kb09cjca98hlbx9mj12mqinzsnnvp6ci6i975n88pjhaxigyp1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules
|
|
|
|
|
((ice-9 match)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases
|
|
|
|
|
%standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install
|
|
|
|
|
'hall-wrap-binaries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
|
(site (string-append out "/share/guile/site")))
|
|
|
|
|
(match (scandir site)
|
|
|
|
|
(("." ".." version)
|
|
|
|
|
(let ((modules (string-append site "/" version))
|
|
|
|
|
(compiled-modules
|
|
|
|
|
(string-append
|
|
|
|
|
out
|
|
|
|
|
"/lib/guile/"
|
|
|
|
|
version
|
|
|
|
|
"/site-ccache")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(wrap-program
|
|
|
|
|
(string-append bin file)
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix (,modules))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH"
|
|
|
|
|
":"
|
|
|
|
|
prefix
|
|
|
|
|
(,compiled-modules))))
|
|
|
|
|
,(list 'list "hall"))
|
|
|
|
|
#t)))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-config" ,guile-config)))
|
|
|
|
|
(synopsis "Guile project tooling")
|
|
|
|
|
(description
|
|
|
|
|
"Hall is a command-line application and a set of Guile libraries that
|
|
|
|
|
allow you to quickly create and publish Guile projects. It allows you to
|
|
|
|
|
transparently support the GNU build system, manage a project hierarchy &
|
|
|
|
|
provides tight coupling to Guix.")
|
|
|
|
|
(home-page
|
|
|
|
|
"https://gitlab.com/a-sassmannshausen/guile-hall")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(define-public guile-ics
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ics")
|
2018-04-30 13:31:52 -04:00
|
|
|
|
(version "0.2.0")
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artyom-poptsov/guile-ics")
|
2018-04-30 13:31:52 -04:00
|
|
|
|
(commit (string-append "v" version))))
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-30 13:31:52 -04:00
|
|
|
|
"0qjjvadr7gibdq9jvwkmlkb4afsw9n2shfj9phpiadinxk3p4m2g"))))
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-07-30 21:02:35 -04:00
|
|
|
|
(add-after 'unpack 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Repository comes with a broken symlink
|
|
|
|
|
(delete-file "README")
|
|
|
|
|
(symlink "README.org" "README")
|
|
|
|
|
(zero? (system* "autoreconf" "-fi")))))))
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(native-inputs
|
2018-03-09 17:11:48 -05:00
|
|
|
|
`(("autoconf" ,autoconf-wrapper)
|
2017-01-07 06:24:39 -05:00
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2018-04-30 13:32:13 -04:00
|
|
|
|
(inputs `(("guile" ,guile-2.2) ("which" ,which)))
|
|
|
|
|
(propagated-inputs `(("guile-lib" ,guile-lib)))
|
2017-01-07 06:24:39 -05:00
|
|
|
|
(home-page "https://github.com/artyom-poptsov/guile-ics")
|
|
|
|
|
(synopsis "Guile parser library for the iCalendar format")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-ICS is an iCalendar (RFC5545) format parser library written in
|
|
|
|
|
pure Scheme. The library can be used to read and write iCalendar data.
|
|
|
|
|
|
|
|
|
|
The library is shipped with documentation in Info format and usage examples.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-07 06:24:39 -05:00
|
|
|
|
|
2013-08-26 10:04:15 -04:00
|
|
|
|
(define-public guile-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lib")
|
2018-08-23 20:17:24 -04:00
|
|
|
|
(version "0.2.6.1")
|
2013-08-26 10:04:15 -04:00
|
|
|
|
(source (origin
|
2017-03-05 01:10:41 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-lib/guile-lib-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-23 20:17:24 -04:00
|
|
|
|
"0aizxdif5dpch9cvs8zz5g8ds5s4xhfnwza2il5ji7fv2h7ks7bd"))))
|
2013-08-26 10:04:15 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-05 01:10:41 -05:00
|
|
|
|
'(#:make-flags
|
2018-08-23 20:17:24 -04:00
|
|
|
|
'("GUILE_AUTO_COMPILE=0") ; to prevent guild errors
|
2017-03-05 01:10:41 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-module-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/Makefile.in"
|
|
|
|
|
(("^moddir = ([[:graph:]]+)")
|
|
|
|
|
"moddir = $(datadir)/guile/site/@GUILE_EFFECTIVE_VERSION@\n")
|
|
|
|
|
(("^godir = ([[:graph:]]+)")
|
|
|
|
|
"godir = \
|
2016-10-17 16:04:27 -04:00
|
|
|
|
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
|
2017-03-05 01:10:41 -05:00
|
|
|
|
#t)))))
|
2016-10-17 16:04:27 -04:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-07-02 16:45:33 -04:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/guile-lib/")
|
2013-08-26 10:04:15 -04:00
|
|
|
|
(synopsis "Collection of useful Guile Scheme modules")
|
|
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
"Guile-Lib is intended as an accumulation place for pure-scheme Guile
|
2013-08-26 10:04:15 -04:00
|
|
|
|
modules, allowing for people to cooperate integrating their generic Guile
|
|
|
|
|
modules into a coherent library. Think \"a down-scaled, limited-scope CPAN
|
|
|
|
|
for Guile\".")
|
|
|
|
|
|
|
|
|
|
;; The whole is under GPLv3+, but some modules are under laxer
|
|
|
|
|
;; distribution terms such as LGPL and public domain. See `COPYING' for
|
|
|
|
|
;; details.
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2013-08-26 10:04:15 -04:00
|
|
|
|
|
2017-07-02 16:45:33 -04:00
|
|
|
|
(define-public guile2.0-lib
|
|
|
|
|
(package-for-guile-2.0 guile-lib))
|
|
|
|
|
|
2017-03-13 16:50:39 -04:00
|
|
|
|
(define-public guile2.2-lib
|
2017-07-02 16:45:33 -04:00
|
|
|
|
(deprecated-package "guile2.2-lib" guile-lib))
|
2017-03-13 16:50:39 -04:00
|
|
|
|
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(define-public guile-json
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-json")
|
2018-09-07 11:03:49 -04:00
|
|
|
|
(version "1.2.0")
|
2018-06-02 09:28:12 -04:00
|
|
|
|
(home-page "https://github.com/aconchillo/guile-json")
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(source (origin
|
2016-09-07 12:27:11 -04:00
|
|
|
|
(method url-fetch)
|
2018-06-02 09:28:12 -04:00
|
|
|
|
(uri (string-append home-page "/archive/"
|
2016-09-07 12:27:11 -04:00
|
|
|
|
version ".tar.gz"))
|
2018-06-02 09:28:12 -04:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2016-09-07 12:27:11 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-09-07 11:03:49 -04:00
|
|
|
|
"02kqv0q98fmchn7i4y7ycmrjlh4b2c93ij0z7k036qwpp204w4gh"))))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2018-06-02 09:28:12 -04:00
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2018-08-20 10:08:27 -04:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2018-06-02 09:28:12 -04:00
|
|
|
|
("guile" ,guile-2.2)))
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
(synopsis "JSON module for Guile")
|
|
|
|
|
(description
|
2017-02-02 05:34:48 -05: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 11:03:49 -04:00
|
|
|
|
|
|
|
|
|
;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+).
|
|
|
|
|
(license license:gpl3+)))
|
2014-03-31 14:18:52 -04:00
|
|
|
|
|
2016-09-07 12:39:44 -04:00
|
|
|
|
(define-public guile2.2-json
|
2017-05-13 15:49:01 -04:00
|
|
|
|
(deprecated-package "guile2.2-json" guile-json))
|
|
|
|
|
|
|
|
|
|
(define-public guile2.0-json
|
|
|
|
|
(package-for-guile-2.0 guile-json))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2015-04-21 23:40:15 -04:00
|
|
|
|
(define-public guile-minikanren
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-minikanren")
|
|
|
|
|
(version "20150424.e844d85")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ijp/minikanren.git")
|
|
|
|
|
(commit "e844d85512f8c055d3f96143ee506007389a25e3")))
|
2015-11-23 04:50:55 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-04-21 23:40:15 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0r50jlpzi940jlmxyy3ddqqwmj5r12gb4bcv0ssini9v8km13xz6"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(native-inputs
|
2018-04-30 13:34:04 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2015-04-21 23:40:15 -04:00
|
|
|
|
(home-page "https://github.com/ijp/minikanren")
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
(synopsis "MiniKanren declarative logic system, packaged for Guile")
|
2015-04-21 23:40:15 -04:00
|
|
|
|
(description
|
|
|
|
|
"MiniKanren is a relational programming extension to the Scheme
|
|
|
|
|
programming Language, written as a smaller version of Kanren suitable for
|
|
|
|
|
pedagogical purposes. It is featured in the book, The Reasoned Schemer,
|
|
|
|
|
written by Dan Friedman, William Byrd, and Oleg Kiselyov.
|
|
|
|
|
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
This is Ian Price's r6rs packaged version of miniKanren, which deviates
|
2015-04-21 23:40:15 -04:00
|
|
|
|
slightly from miniKanren mainline.
|
|
|
|
|
|
|
|
|
|
See http://minikanren.org/ for more on miniKanren generally.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:expat)))
|
2015-04-21 23:40:15 -04:00
|
|
|
|
|
2018-04-30 13:34:04 -04:00
|
|
|
|
(define-public guile2.0-minikanren
|
|
|
|
|
(package-for-guile-2.0 guile-minikanren))
|
|
|
|
|
|
2016-09-07 12:39:44 -04:00
|
|
|
|
(define-public guile2.2-minikanren
|
2018-04-30 13:34:04 -04:00
|
|
|
|
(deprecated-package "guile2.2-minikanren" guile-minikanren))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2017-05-10 02:36:40 -04:00
|
|
|
|
(define-public guile-miniadapton
|
|
|
|
|
(let ((commit "1b5749422304567c96ac5367f2221dda9eff5880")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-miniadapton")
|
|
|
|
|
(version (string-append "0-" revision "." (string-take commit 9)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fisherdj/miniAdapton.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09q51zkw2fypad5xixskfzw2cjhjgs5cswdp3i7cpp651rb3zndh"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(native-inputs
|
2017-05-10 02:36:40 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(home-page "https://github.com/fisherdj/miniAdapton")
|
|
|
|
|
(synopsis "Minimal implementation of incremental computation in Guile
|
|
|
|
|
Scheme")
|
|
|
|
|
(description "This package provides a complete Scheme implementation of
|
|
|
|
|
miniAdapton, which implements the core functionality of the Adapton system for
|
|
|
|
|
incremental computation (also known as self-adjusting computation). Like
|
|
|
|
|
Adapton, miniAdapton allows programmers to safely combine mutation and
|
|
|
|
|
memoization. miniAdapton is built on top of an even simpler system,
|
|
|
|
|
microAdapton. Both miniAdapton and microAdapton are designed to be easy to
|
|
|
|
|
understand, extend, and port to host languages other than Scheme.")
|
|
|
|
|
(license license:expat))))
|
|
|
|
|
|
2015-11-05 13:20:03 -05:00
|
|
|
|
(define-public guile-irregex
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-irregex")
|
2016-12-15 18:39:20 -05:00
|
|
|
|
(version "0.9.6")
|
2015-11-05 13:20:03 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://synthcode.com/scheme/irregex/irregex-"
|
2016-05-16 07:18:21 -04:00
|
|
|
|
version ".tar.gz"))
|
2015-11-05 13:20:03 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-15 18:39:20 -05:00
|
|
|
|
"1ia3m7dp3lcxa048q0gqbiwwsyvn99baw6xkhb4bhhzn4k7bwyqq"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
2015-11-05 13:20:03 -05:00
|
|
|
|
(arguments
|
2018-07-18 09:42:11 -04:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'move-files-around
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Move the relevant source files to src/ and create the
|
|
|
|
|
;; rx/ directory to match the expected module hierarchy.
|
|
|
|
|
(mkdir-p "src/rx/source")
|
|
|
|
|
(rename-file "irregex-guile.scm"
|
|
|
|
|
"src/rx/irregex.scm")
|
|
|
|
|
(rename-file "irregex.scm"
|
|
|
|
|
"src/rx/source/irregex.scm")
|
|
|
|
|
;; Not really reachable via guile's packaging system,
|
|
|
|
|
;; but nice to have around.
|
|
|
|
|
(rename-file "irregex-utils.scm"
|
|
|
|
|
"src/rx/source/irregex-utils.scm")
|
|
|
|
|
#t)))
|
|
|
|
|
#:source-directory "src"))
|
|
|
|
|
(native-inputs
|
2018-04-30 15:52:31 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2015-11-05 13:20:03 -05:00
|
|
|
|
(home-page "http://synthcode.com/scheme/irregex")
|
|
|
|
|
(synopsis "S-expression based regular expressions")
|
|
|
|
|
(description
|
|
|
|
|
"Irregex is an s-expression based alternative to your classic
|
|
|
|
|
string-based regular expressions. It implements SRFI 115 and is deeply
|
|
|
|
|
inspired by the SCSH regular expression system.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:bsd-3)))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
|
2018-04-30 15:52:31 -04:00
|
|
|
|
(define-public guile2.0-irregex
|
|
|
|
|
(package-for-guile-2.0 guile-irregex))
|
|
|
|
|
|
2016-09-07 12:39:44 -04:00
|
|
|
|
(define-public guile2.2-irregex
|
2018-04-30 15:52:31 -04:00
|
|
|
|
(deprecated-package "guile2.2-irregex" guile-irregex))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2015-05-31 14:38:21 -04: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
|
|
|
|
|
(url "https://github.com/ijp/guile-gdbm.git")
|
|
|
|
|
(commit "fa1d5b6231d0e4d096687b378c025f2148c5f246")))
|
2015-11-23 04:50:55 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(patches (search-patches
|
|
|
|
|
"guile-gdbm-ffi-support-gdbm-1.14.patch"))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8wrsw7v9w6qkl47xz0rdikg50v16nn6kbs3lgzcymjzpa7babj"))))
|
2018-07-18 09:42:11 -04: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)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
2018-03-18 08:43:06 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gdbm" ,gdbm)))
|
2015-05-31 14:38:21 -04: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 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
|
2017-12-15 16:08:34 -05:00
|
|
|
|
(define-public guile2.0-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.0 guile-gdbm-ffi))
|
|
|
|
|
|
2017-02-10 13:42:12 -05:00
|
|
|
|
(define-public guile2.2-gdbm-ffi
|
2017-12-15 16:08:34 -05:00
|
|
|
|
(deprecated-package "guile2.2-gdbm-ffi" guile-gdbm-ffi))
|
2015-05-31 14:38:21 -04:00
|
|
|
|
|
2016-06-18 09:09:08 -04:00
|
|
|
|
(define-public guile-sqlite3
|
2018-06-27 08:52:49 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-sqlite3")
|
|
|
|
|
(version "0.1.0")
|
|
|
|
|
(home-page "https://notabug.org/civodul/guile-sqlite3.git")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nv8j7wk6b5n4p22szyi8lv8fs31rrzxhzz16gyj8r38c1fyp9qp"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(synopsis "Access SQLite databases from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the SQLite database system.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-06-18 09:09:08 -04:00
|
|
|
|
|
2015-08-08 10:06:39 -04:00
|
|
|
|
(define-public haunt
|
|
|
|
|
(package
|
|
|
|
|
(name "haunt")
|
2018-03-10 21:31:00 -05:00
|
|
|
|
(version "0.2.2")
|
2015-08-08 10:06:39 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-24 14:01:15 -04:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/haunt/haunt-"
|
2015-08-08 10:06:39 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-10 21:31:00 -05:00
|
|
|
|
"0nm00krmqq4zmqi2irh35dbf2cn6al58s620hijmhfvhgvdqznlp"))))
|
2015-08-08 10:06:39 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-02-10 09:13:21 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((ice-9 match) (ice-9 ftw)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2017-03-27 14:18:17 -04:00
|
|
|
|
#:tests? #f ; test suite is non-deterministic :(
|
2016-02-10 09:13:21 -05:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-haunt
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Wrap the 'haunt' command to refer to the right
|
|
|
|
|
;; modules.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(site (string-append
|
|
|
|
|
out "/share/guile/site")))
|
|
|
|
|
(match (scandir site)
|
|
|
|
|
(("." ".." version)
|
2018-03-10 21:31:00 -05:00
|
|
|
|
(let ((modules (string-append site "/" version))
|
|
|
|
|
(compiled-modules (string-append
|
|
|
|
|
out "/lib/guile/" version
|
|
|
|
|
"/site-ccache")))
|
2016-02-10 09:13:21 -05:00
|
|
|
|
(wrap-program (string-append bin "/haunt")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix
|
|
|
|
|
(,modules))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
|
2018-03-10 21:31:00 -05:00
|
|
|
|
(,compiled-modules)))
|
2016-02-10 09:13:21 -05:00
|
|
|
|
#t)))))))))
|
2016-04-24 14:01:15 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2015-08-08 10:06:39 -04:00
|
|
|
|
(inputs
|
2017-03-19 13:00:43 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-04-24 14:01:15 -04:00
|
|
|
|
(propagated-inputs
|
2017-01-24 08:55:12 -05:00
|
|
|
|
`(("guile-reader" ,guile-reader)
|
|
|
|
|
("guile-commonmark" ,guile-commonmark)))
|
2015-08-08 10:06:39 -04:00
|
|
|
|
(synopsis "Functional static site generator")
|
|
|
|
|
(description "Haunt is a static site generator written in Guile
|
|
|
|
|
Scheme. Haunt features a functional build system and an extensible
|
|
|
|
|
interface for reading articles in any format.")
|
|
|
|
|
(home-page "http://haunt.dthompson.us")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2015-08-08 10:06:39 -04:00
|
|
|
|
|
2017-03-19 13:00:43 -04:00
|
|
|
|
(define-public guile2.0-haunt
|
|
|
|
|
(package-for-guile-2.0
|
|
|
|
|
(package (inherit haunt) (name "guile2.0-haunt"))))
|
2017-03-08 15:30:26 -05:00
|
|
|
|
(define-public guile2.2-haunt
|
2017-03-19 13:00:43 -04:00
|
|
|
|
(deprecated-package "guile2.2-haunt" haunt))
|
2017-03-08 15:30:26 -05:00
|
|
|
|
|
2016-02-14 13:23:24 -05:00
|
|
|
|
(define-public guile-config
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-config")
|
2018-06-30 11:09:18 -04:00
|
|
|
|
(version "0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/a-sassmannshausen/guile-config")
|
|
|
|
|
(commit "ce12de3f438c6b2b59c43ee21bcd58251835fdf3")))
|
|
|
|
|
(file-name "guile-config-0.3-checkout")
|
|
|
|
|
(sha256 (base32 "02zbpin0r9m2vxmr7mv68v3xdn247dcck56kbzjn0gj4c2rhih85"))))
|
2016-02-14 13:23:24 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2018-04-11 04:07:47 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2018-06-30 11:09:18 -04:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
|
|
|
|
(synopsis
|
|
|
|
|
"Guile application configuration parsing library.")
|
2016-02-14 13:23:24 -05:00
|
|
|
|
(description
|
|
|
|
|
"Guile Config is a library providing a declarative approach to
|
|
|
|
|
application configuration specification. The library provides clean
|
|
|
|
|
configuration declaration forms, and processors that take care of:
|
|
|
|
|
configuration file creation; configuration file parsing; command-line
|
|
|
|
|
parameter parsing using getopt-long; basic GNU command-line parameter
|
|
|
|
|
generation (--help, --usage, --version); automatic output generation for the
|
|
|
|
|
above command-line parameters.")
|
2018-06-30 11:09:18 -04:00
|
|
|
|
(home-page
|
|
|
|
|
"https://gitlab.com/a-sassmannshausen/guile-config")
|
2018-04-11 04:07:47 -04:00
|
|
|
|
(license license:gpl3+)))
|
2016-02-14 13:23:24 -05:00
|
|
|
|
|
2015-08-09 10:37:55 -04:00
|
|
|
|
(define-public guile-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-redis")
|
2018-08-20 08:35:33 -04:00
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(home-page "https://github.com/aconchillo/guile-redis")
|
2015-08-09 10:37:55 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-08-20 08:35:33 -04:00
|
|
|
|
(uri (string-append home-page "/archive/" version ".tar.gz"))
|
2015-08-09 10:37:55 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-20 08:35:33 -04:00
|
|
|
|
"1dp5fmqvma59pvp1nfpq6hqgbmjici8sd1y8llahl87fynw1dvr9"))))
|
2015-08-09 10:37:55 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-08-20 08:35:33 -04:00
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("guile" ,guile-2.2)))
|
2015-08-09 10:37:55 -04:00
|
|
|
|
(synopsis "Redis client library for Guile")
|
|
|
|
|
(description "Guile-redis provides a Scheme interface to the Redis
|
|
|
|
|
key-value cache and store.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2015-08-09 10:37:55 -04:00
|
|
|
|
|
2018-04-30 15:54:22 -04:00
|
|
|
|
(define-public guile2.0-redis
|
|
|
|
|
(package-for-guile-2.0 guile-redis))
|
|
|
|
|
|
2016-09-13 09:09:23 -04:00
|
|
|
|
(define-public guile2.2-redis
|
2018-04-30 15:54:22 -04:00
|
|
|
|
(deprecated-package "guile2.2-redis" guile-redis))
|
2016-09-13 09:09:23 -04:00
|
|
|
|
|
2015-09-18 17:58:31 -04:00
|
|
|
|
(define-public guile-wisp
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-wisp")
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(version "0.9.8")
|
2015-09-18 17:58:31 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/ArneBab/"
|
|
|
|
|
"wisp/downloads/wisp-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-27 07:24:35 -05:00
|
|
|
|
"1f2bbicq1rxnwmiplrm4r75wj06w385mjkyvi7g4k740bgwcrzxr"))))
|
2015-09-18 17:58:31 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-11-27 08:03:50 -05:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
|
2015-09-18 17:58:31 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(add-before 'configure 'substitute-before-config
|
2015-09-18 17:58:31 -04:00
|
|
|
|
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
;; Puts together some test files with /bin/bash hardcoded
|
|
|
|
|
(substitute* "Makefile.in"
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(("/usr/bin/env bash")
|
|
|
|
|
(string-append bash "/bin/bash"))
|
|
|
|
|
(("\\$\\(GUILE_EFFECTIVE_VERSION\\)/site")
|
|
|
|
|
"site/$(GUILE_EFFECTIVE_VERSION)")) ;use the right order
|
2015-09-18 17:58:31 -04:00
|
|
|
|
#t)))
|
|
|
|
|
|
|
|
|
|
;; auto compilation breaks, but if we set HOME to /tmp,
|
|
|
|
|
;; that works ok
|
|
|
|
|
(add-before
|
|
|
|
|
'check 'auto-compile-hacky-workaround
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t))
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(add-after 'install 'install-go-files
|
2015-09-18 17:58:31 -04:00
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2017-11-27 08:03:50 -05:00
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(object-dir (string-append out "/lib/guile/" effective
|
|
|
|
|
"/site-ccache"))
|
|
|
|
|
(prefix (string-length module-dir)))
|
2015-09-18 17:58:31 -04:00
|
|
|
|
;; compile to the destination
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(for-each (lambda (file)
|
2017-11-27 08:03:50 -05:00
|
|
|
|
(let* ((base (string-drop (string-drop-right file 4)
|
|
|
|
|
prefix))
|
|
|
|
|
(go (string-append object-dir base ".go")))
|
|
|
|
|
(invoke "guild" "compile" "-L" module-dir
|
|
|
|
|
file "-o" go)))
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(find-files module-dir "\\.scm$"))
|
2015-09-18 17:58:31 -04:00
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://draketo.de/english/wisp")
|
|
|
|
|
(inputs
|
2017-11-27 07:52:21 -05:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2017-11-27 07:24:35 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 09:50:36 -05:00
|
|
|
|
(synopsis "Whitespace to lisp syntax for Guile")
|
|
|
|
|
(description "Wisp is a syntax for Guile which provides a Python-like
|
2015-09-18 17:58:31 -04:00
|
|
|
|
whitespace-significant language. It may be easier on the eyes for some
|
|
|
|
|
users and in some situations.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2015-09-18 17:58:31 -04:00
|
|
|
|
|
2015-11-13 18:07:21 -05:00
|
|
|
|
(define-public guile-sly
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sly")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-08 17:30:42 -05:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/sly/sly-"
|
2015-11-13 18:07:21 -05:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-14 09:22:45 -04:00
|
|
|
|
"1svzlbz2vripmyq2kjh0rig16bsrnbkwbsm558pjln9l65mcl4qq"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("_guile_required_version=\"2.0.11\"")
|
|
|
|
|
"_guile_required_version=\"2\"")
|
|
|
|
|
(("ac_subst_vars='")
|
|
|
|
|
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
|
|
|
|
|
(substitute* (find-files "." "Makefile.in")
|
|
|
|
|
(("moddir = .*$")
|
|
|
|
|
(string-append
|
|
|
|
|
"moddir = "
|
|
|
|
|
"$(prefix)/share/guile/site/@GUILE_EFFECTIVE_VERSION@\n"))
|
|
|
|
|
(("godir = .*$")
|
|
|
|
|
(string-append
|
|
|
|
|
"godir = "
|
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 07:47:34 -04:00
|
|
|
|
"$(prefix)/lib/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")))
|
|
|
|
|
#t))))
|
2015-11-13 18:07:21 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "--with-libfreeimage-prefix="
|
|
|
|
|
(assoc-ref %build-inputs "freeimage"))
|
|
|
|
|
(string-append "--with-libgslcblas-prefix="
|
|
|
|
|
(assoc-ref %build-inputs "gsl")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
2017-12-01 10:25:35 -05:00
|
|
|
|
`(("guile-sdl" ,guile-sdl)
|
2015-11-13 18:07:21 -05:00
|
|
|
|
("guile-opengl" ,guile-opengl)))
|
|
|
|
|
(inputs
|
2017-12-01 10:25:35 -05:00
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("gsl" ,gsl)
|
2015-11-13 18:07:21 -05:00
|
|
|
|
("freeimage" ,freeimage)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(synopsis "2D/3D game engine for GNU Guile")
|
|
|
|
|
(description "Sly is a 2D/3D game engine written in Guile Scheme. Sly
|
|
|
|
|
features a functional reactive programming interface and live coding
|
|
|
|
|
capabilities.")
|
2018-04-25 06:06:00 -04:00
|
|
|
|
(home-page "https://dthompson.us/projects/sly.html")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2015-11-13 18:07:21 -05:00
|
|
|
|
|
2015-12-11 11:04:06 -05:00
|
|
|
|
(define-public g-wrap
|
|
|
|
|
(package
|
|
|
|
|
(name "g-wrap")
|
|
|
|
|
(version "1.9.15")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/g-wrap/g-wrap-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ak0bha37dfpj9kmyw1r8fj8nva639aw5xr66wr5gd3l1rqf5xhg"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(propagated-inputs
|
2017-07-14 06:13:58 -04:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2015-12-11 11:04:06 -05:00
|
|
|
|
("guile-lib" ,guile-lib)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libffi" ,libffi)))
|
2016-06-08 13:18:07 -04:00
|
|
|
|
(arguments
|
2017-07-14 06:13:58 -04:00
|
|
|
|
`(#:configure-flags '("--disable-Werror")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* (find-files "." "^Makefile.in$")
|
|
|
|
|
(("guilemoduledir =.*guile/site" all)
|
|
|
|
|
(string-append all "/@GUILE_EFFECTIVE_VERSION@")))
|
|
|
|
|
#t))))))
|
2015-12-11 11:04:06 -05:00
|
|
|
|
(synopsis "Generate C bindings for Guile")
|
|
|
|
|
(description "G-Wrap is a tool and Guile library for generating function
|
|
|
|
|
wrappers for inter-language calls. It currently only supports generating Guile
|
|
|
|
|
wrappers for C functions. Given a definition of the types and prototypes for
|
|
|
|
|
a given C interface, G-Wrap will automatically generate the C code that
|
|
|
|
|
provides access to that interface and its types from the Scheme level.")
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/g-wrap/index.html")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-12-11 11:04:06 -05:00
|
|
|
|
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(define-public guile-dbi
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-dbi")
|
|
|
|
|
(version "2.1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.gna.org/guile-dbi/guile-dbi-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"116njrprhgrsv1qm904sp3b02rq01fx639r433d657gyhw3x159n"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append
|
2018-04-30 15:59:53 -04:00
|
|
|
|
"--with-guile-site-dir=" %output "/share/guile/site/2.2"))
|
2018-05-10 06:00:04 -04:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib:"
|
|
|
|
|
(assoc-ref %build-inputs "guile-dbd-sqlite3") "/lib"))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'patch-extension-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dbi.scm (string-append
|
2018-04-30 15:59:53 -04:00
|
|
|
|
out "/share/guile/site/2.2/dbi/dbi.scm"))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(ext (string-append out "/lib/libguile-dbi")))
|
|
|
|
|
(substitute* dbi.scm (("libguile-dbi") ext))
|
|
|
|
|
#t))))))
|
2018-05-10 06:00:04 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile-dbd-sqlite3" ,guile-dbd-sqlite3))) ; only shared library, no scheme files
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(propagated-inputs
|
2018-04-30 15:59:53 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(synopsis "Guile database abstraction layer")
|
|
|
|
|
(home-page "http://home.gna.org/guile-dbi/guile-dbi.html")
|
|
|
|
|
(description
|
|
|
|
|
"guile-dbi is a library for Guile that provides a convenient interface to
|
|
|
|
|
SQL databases. Database programming with guile-dbi is generic in that the same
|
|
|
|
|
programming interface is presented regardless of which database system is used.
|
|
|
|
|
It currently supports MySQL, Postgres and SQLite3.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
|
2018-05-10 06:00:04 -04:00
|
|
|
|
(define guile-dbi-bootstrap
|
|
|
|
|
(package
|
|
|
|
|
(inherit guile-dbi)
|
|
|
|
|
(name "guile-dbi-bootstrap")
|
|
|
|
|
(inputs '())
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments guile-dbi)
|
|
|
|
|
((#:make-flags _) '(list))))))
|
|
|
|
|
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(define-public guile-dbd-sqlite3
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-dbd-sqlite3")
|
|
|
|
|
(version "2.1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.gna.org/guile-dbi/guile-dbd-sqlite3-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rg71jchxd2y8x496s8zmfmikr5g8zxi8zv2ar3f7a23pph92iw2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-05-10 06:00:04 -04:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("guile-dbi-bootstrap" ,guile-dbi-bootstrap))) ; only required for headers
|
2016-06-27 03:30:01 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,(@ (gnu packages compression) zlib))))
|
|
|
|
|
(synopsis "Guile DBI driver for SQLite")
|
|
|
|
|
(home-page "https://github.com/jkalbhenn/guile-dbd-sqlite3")
|
|
|
|
|
(description
|
|
|
|
|
"guile-dbi is a library for Guile that provides a convenient interface to
|
|
|
|
|
SQL databases. This package implements the interface for SQLite.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 03:30:01 -04:00
|
|
|
|
|
2017-11-24 05:51:19 -05:00
|
|
|
|
(define-public guile-dsv
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-dsv")
|
2017-12-03 08:17:46 -05:00
|
|
|
|
(version "0.2.1")
|
2017-11-24 05:51:19 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artyom-poptsov/guile-dsv")
|
2017-12-03 08:17:46 -05:00
|
|
|
|
(commit "bdc5267d007478abc20ea96d7c459b7dd9560b3d")))
|
2017-11-24 05:51:19 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-03 08:17:46 -05:00
|
|
|
|
"1irw6mz8998nwyhzrw9g94jcz60b9zljgqfmipaz1ybn8579qjx0"))))
|
2017-11-24 05:51:19 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
|
|
|
|
(propagated-inputs `(("guile-lib" ,guile-lib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-guilesitedir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("^guilesitedir =.*$")
|
|
|
|
|
"guilesitedir = \
|
|
|
|
|
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
|
|
|
|
|
(substitute* "modules/Makefile.in"
|
|
|
|
|
(("^guilesitedir =.*$")
|
|
|
|
|
"guilesitedir = \
|
|
|
|
|
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
|
|
|
|
|
(substitute* "modules/dsv/Makefile.in"
|
|
|
|
|
(("^guilesitedir =.*$")
|
|
|
|
|
"guilesitedir = \
|
|
|
|
|
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
|
(home-page "https://github.com/artyom-poptsov/guile-dsv")
|
|
|
|
|
(synopsis "DSV module for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-DSV is a GNU Guile module for working with the
|
|
|
|
|
delimiter-separated values (DSV) data format. Guile-DSV supports the
|
|
|
|
|
Unix-style DSV format and RFC 4180 format.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-07-22 04:10:11 -04:00
|
|
|
|
(define-public guile-xosd
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-xosd")
|
2016-08-17 18:22:29 -04:00
|
|
|
|
(version "0.2.1")
|
2016-07-22 04:10:11 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/alezost/" name
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-08-17 18:22:29 -04:00
|
|
|
|
"1ri5065c16kmgrf2pysn2ymxjqi5302lhpb07wkl1jr75ym8fn8p"))))
|
2016-07-22 04:10:11 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 04:37:40 -04:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2016-07-22 04:10:11 -04:00
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("xosd" ,xosd)))
|
|
|
|
|
(home-page "https://github.com/alezost/guile-xosd")
|
|
|
|
|
(synopsis "XOSD bindings for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-XOSD provides Guile bindings for @code{libxosd},
|
|
|
|
|
@uref{http://sourceforge.net/projects/libxosd/, the X On Screen Display
|
|
|
|
|
library}.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 04:10:11 -04:00
|
|
|
|
|
2016-07-22 04:10:35 -04:00
|
|
|
|
(define-public guile-daemon
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-daemon")
|
2017-04-16 04:33:18 -04:00
|
|
|
|
(version "0.1.2")
|
2016-07-22 04:10:35 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/alezost/" name
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-16 04:33:18 -04:00
|
|
|
|
"0hh6gq6b6phpxm0b1dkxyzj3f4sxdf7dji63609lzypa5v1ad2gv"))))
|
2016-07-22 04:10:35 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 04:37:40 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-07-22 04:10:35 -04:00
|
|
|
|
(home-page "https://github.com/alezost/guile-daemon")
|
|
|
|
|
(synopsis "Evaluate code in a running Guile process")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-Daemon is a small Guile program that loads your initial
|
|
|
|
|
configuration file, and then reads and evaluates Guile expressions that
|
|
|
|
|
you send to a FIFO file.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 04:10:35 -04:00
|
|
|
|
|
2016-08-04 21:52:18 -04:00
|
|
|
|
(define-public guile-commonmark
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-commonmark")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/OrangeShark/" name
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-09-07 12:33:33 -04:00
|
|
|
|
"12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Use the real effective version of Guile in directory names
|
|
|
|
|
;; instead of a hard-coded "/2.0".
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("ac_subst_vars='")
|
|
|
|
|
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
|
|
|
|
|
(substitute* "Makefile.in"
|
2018-09-06 04:43:01 -04:00
|
|
|
|
(("moddir =.*")
|
|
|
|
|
"moddir = $(datadir)/guile/site/@GUILE_EFFECTIVE_VERSION@\n")
|
|
|
|
|
(("godir =.*")
|
|
|
|
|
"godir = $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
|
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 07:47:34 -04:00
|
|
|
|
#t))))
|
2016-08-04 21:52:18 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2017-03-19 13:07:36 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-08-04 21:52:18 -04:00
|
|
|
|
(synopsis "CommonMark parser for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"guile-commonmark is a library for parsing CommonMark, a fully specified
|
|
|
|
|
variant of Markdown. The library is written in Guile Scheme and is designed
|
|
|
|
|
to transform a CommonMark document to SXML. guile-commonmark tries to closely
|
|
|
|
|
follow the @uref{http://commonmark.org/, CommonMark spec}, the main difference
|
|
|
|
|
is no support for parsing block and inline level HTML.")
|
|
|
|
|
(home-page "https://github.com/OrangeShark/guile-commonmark")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2016-08-04 21:52:18 -04:00
|
|
|
|
|
2017-03-19 13:07:36 -04:00
|
|
|
|
(define-public guile2.0-commonmark
|
|
|
|
|
(package-for-guile-2.0 guile-commonmark))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
(define-public guile2.2-commonmark
|
2017-03-19 13:07:36 -04:00
|
|
|
|
(deprecated-package "guile2.2-commonmark" guile-commonmark))
|
2016-09-07 12:39:44 -04:00
|
|
|
|
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(define-public guile-bytestructures
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bytestructures")
|
2018-06-12 09:01:58 -04:00
|
|
|
|
(version "1.0.3")
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(source (origin
|
2018-01-08 16:30:10 -05:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/TaylanUB/scheme-bytestructures"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/bytestructures-" version ".tar.gz"))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-12 09:01:58 -04:00
|
|
|
|
"0xf6s8gd3656j8k2ar6y7i62r68azawyzxhsagsk8nvldnrs1r18"))))
|
2018-01-08 16:30:10 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2017-07-25 11:06:51 -04:00
|
|
|
|
(native-inputs
|
2018-01-08 16:30:10 -05:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(inputs
|
2017-03-30 05:14:20 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
(home-page "https://github.com/TaylanUB/scheme-bytestructures")
|
|
|
|
|
(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.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-10-09 06:31:20 -04:00
|
|
|
|
|
2017-07-25 11:06:51 -04:00
|
|
|
|
(define-public guile2.0-bytestructures
|
|
|
|
|
(package-for-guile-2.0 guile-bytestructures))
|
|
|
|
|
|
2016-11-10 18:22:50 -05:00
|
|
|
|
(define-public guile-aspell
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-aspell")
|
2017-04-06 04:37:52 -04:00
|
|
|
|
(version "0.4")
|
2016-11-10 18:22:50 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://lonelycactus.com/tarball/guile_aspell-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-06 04:37:52 -04:00
|
|
|
|
"0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
|
2016-11-10 18:22:50 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-04-06 04:41:59 -04:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'set-guilesitedir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("^guilesitedir =.*$")
|
|
|
|
|
"guilesitedir = \
|
|
|
|
|
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
|
|
|
|
|
#t))
|
2016-11-10 18:22:50 -05:00
|
|
|
|
(add-before 'build 'set-libaspell-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((aspell (assoc-ref inputs "aspell")))
|
2017-04-06 04:37:52 -04:00
|
|
|
|
(substitute* "aspell.scm"
|
2016-11-10 18:22:50 -05:00
|
|
|
|
(("\"libaspell\\.so\"")
|
|
|
|
|
(string-append "\"" aspell
|
|
|
|
|
"/lib/libaspell\"")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-04-06 04:45:29 -04:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)
|
2016-11-10 18:22:50 -05:00
|
|
|
|
("aspell" ,aspell)))
|
|
|
|
|
(home-page "https://github.com/spk121/guile-aspell")
|
|
|
|
|
(synopsis "Spell-checking from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"guile-aspell is a Guile Scheme library for comparing a string against a
|
|
|
|
|
dictionary and suggesting spelling corrections.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-11-10 18:22:50 -05:00
|
|
|
|
|
2017-01-04 09:14:33 -05:00
|
|
|
|
(define-public guile-bash
|
|
|
|
|
;; This project is currently retired. It was initially announced here:
|
|
|
|
|
;; <https://lists.gnu.org/archive/html/guile-user/2015-02/msg00003.html>.
|
|
|
|
|
(let ((commit "1eabc563ca5692b3e08d84f1f0e6fd2283284469")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bash")
|
|
|
|
|
(version (string-append "0.1.6-" revision "." (string-take commit 7)))
|
|
|
|
|
(home-page
|
|
|
|
|
"https://anonscm.debian.org/cgit/users/kaction-guest/retired/dev.guile-bash.git")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(commit commit)
|
|
|
|
|
(url home-page)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"097vny990wp2qpjij6a5a5gwc6fxzg5wk56inhy18iki5v6pif1p"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-03-11 16:46:30 -04:00
|
|
|
|
'(#:configure-flags
|
2017-01-04 09:14:33 -05:00
|
|
|
|
;; Add -I to match 'bash.pc' of Bash 4.4.
|
|
|
|
|
(list (string-append "CPPFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "bash:include")
|
|
|
|
|
"/include/bash/include")
|
|
|
|
|
|
|
|
|
|
;; The '.a' file is useless.
|
|
|
|
|
"--disable-static"
|
|
|
|
|
|
|
|
|
|
;; Install 'lib/bash' as Bash 4.4 expects.
|
|
|
|
|
(string-append "--libdir=" (assoc-ref %outputs "out")
|
|
|
|
|
"/lib/bash"))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2018-03-09 17:11:48 -05:00
|
|
|
|
("autoconf" ,autoconf-wrapper)
|
2017-01-04 09:14:33 -05:00
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
2017-07-19 16:59:18 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
|
|
|
|
|
;; Bash with loadable module support, for the test
|
|
|
|
|
;; suite.
|
|
|
|
|
("bash-full" ,bash)))
|
2017-01-04 09:14:33 -05:00
|
|
|
|
(inputs `(("guile" ,guile-2.0)
|
|
|
|
|
("bash:include" ,bash "include")))
|
|
|
|
|
(synopsis "Extend Bash using Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-Bash provides a shared library and set of Guile modules,
|
|
|
|
|
allowing you to extend Bash in Scheme. Scheme interfaces allow you to access
|
|
|
|
|
the following aspects of Bash:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item aliases;
|
|
|
|
|
@item setting and getting Bash variables;
|
|
|
|
|
@item creating dynamic variables;
|
|
|
|
|
@item creating Bash functions with a Scheme implementation;
|
|
|
|
|
@item reader macro for output capturing;
|
|
|
|
|
@item reader macro for evaluating raw Bash commands.
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
To enable it, run:
|
|
|
|
|
|
|
|
|
|
@example
|
|
|
|
|
enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm
|
|
|
|
|
@end example
|
|
|
|
|
|
|
|
|
|
and then run @command{scm example.scm}.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:gpl3+))))
|
2017-01-04 09:14:33 -05:00
|
|
|
|
|
2017-01-08 16:46:34 -05:00
|
|
|
|
(define-public guile-8sync
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-8sync")
|
2017-03-18 13:15:28 -04:00
|
|
|
|
(version "0.4.2")
|
2017-01-08 16:46:34 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/8sync/8sync-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-18 13:15:28 -04:00
|
|
|
|
"031wm13srak3wsnll7j2mbbi29g1pcm4swdb71ds9yn567pn20qw"))))
|
2017-01-08 16:46:34 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2017-03-19 12:30:44 -04:00
|
|
|
|
("guile" ,guile-2.2)
|
2017-01-08 16:46:34 -05:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
;; quiet warnings
|
2017-01-09 10:51:00 -05:00
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
#t)))))
|
2017-01-08 16:46:34 -05:00
|
|
|
|
(home-page "https://gnu.org/s/8sync/")
|
|
|
|
|
(synopsis "Asynchronous actor model library for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"GNU 8sync (pronounced \"eight-sync\") is an asynchronous programming
|
|
|
|
|
library for GNU Guile based on the actor model.
|
|
|
|
|
|
2017-03-19 12:30:44 -04:00
|
|
|
|
Note that 8sync is only available for Guile 2.2.")
|
2017-02-11 13:23:56 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2017-01-08 16:46:34 -05:00
|
|
|
|
|
2017-02-21 05:20:02 -05:00
|
|
|
|
(define-public guile-fibers
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-fibers")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://wingolog.org/pub/fibers/fibers-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vjkg72ghgdgphzbjz9ig8al8271rq8974viknb2r1rg4lz92ld0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2018-09-05 09:33:25 -04:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'mode-guile-objects
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; .go files are installed to "lib/guile/X.Y/cache".
|
|
|
|
|
;; This phase moves them to "…/site-ccache".
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib/guile"))
|
|
|
|
|
(old (car (find-files lib "^ccache$"
|
|
|
|
|
#:directories? #t)))
|
|
|
|
|
(new (string-append (dirname old)
|
|
|
|
|
"/site-ccache")))
|
|
|
|
|
(rename-file old new)
|
|
|
|
|
#t))))))
|
2017-02-21 05:20:02 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("texinfo" ,texinfo)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-03-19 12:30:44 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2017-02-21 05:20:02 -05:00
|
|
|
|
(synopsis "Lightweight concurrency facility for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Fibers is a Guile library that implements a a lightweight concurrency
|
|
|
|
|
facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber is
|
|
|
|
|
like a \"goroutine\" from the Go language: a lightweight thread-like
|
|
|
|
|
abstraction. Systems built with Fibers can scale up to millions of concurrent
|
|
|
|
|
fibers, tens of thousands of concurrent socket connections, and many parallel
|
|
|
|
|
cores. The Fibers library also provides Concurrent ML-like channels for
|
|
|
|
|
communication between fibers.
|
|
|
|
|
|
|
|
|
|
Note that Fibers makes use of some Guile 2.1/2.2-specific features and
|
|
|
|
|
is not available for Guile 2.0.")
|
|
|
|
|
(home-page "https://github.com/wingo/fibers")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2017-02-11 15:52:00 -05:00
|
|
|
|
(define-public guile-git
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-git")
|
|
|
|
|
(version "0.1.0")
|
|
|
|
|
(home-page "https://gitlab.com/guile-git/guile-git.git")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z3awa3i5il08dl2swbnli2j7cawdpray11zx4844j27bxqddcs2"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("libgit2" ,libgit2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-bytestructures" ,guile-bytestructures)))
|
|
|
|
|
(synopsis "Guile bindings for libgit2")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to libgit2, a library to
|
2017-02-11 15:52:00 -05:00
|
|
|
|
manipulate repositories of the Git version control system.")
|
2018-07-07 11:23:13 -04:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-08 16:46:34 -05:00
|
|
|
|
|
2017-07-25 11:11:41 -04:00
|
|
|
|
(define-public guile2.0-git
|
|
|
|
|
(package-for-guile-2.0 guile-git))
|
|
|
|
|
|
2017-04-14 04:27:43 -04:00
|
|
|
|
(define-public guile-syntax-highlight
|
2018-03-10 21:30:35 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-syntax-highlight")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://files.dthompson.us/"
|
|
|
|
|
"guile-syntax-highlight/"
|
|
|
|
|
"guile-syntax-highlight-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1p771kq15x83483m23bhah1sz6vkalg3drm7x279f4j1cxligkzi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
2018-03-14 12:37:20 -04:00
|
|
|
|
(synopsis "General-purpose syntax highlighter for GNU Guile")
|
|
|
|
|
(description "Guile-syntax-highlight is a general-purpose syntax
|
2017-04-14 04:27:43 -04:00
|
|
|
|
highlighting library for GNU Guile. It can parse code written in various
|
|
|
|
|
programming languages into a simple s-expression that can be converted to
|
|
|
|
|
HTML (via SXML) or any other format for rendering.")
|
2018-03-10 21:30:35 -05:00
|
|
|
|
(home-page "http://dthompson.us/projects/guile-syntax-highlight.html")
|
|
|
|
|
(license license:lgpl3+)))
|
2017-04-14 04:27:43 -04:00
|
|
|
|
|
2017-04-25 01:18:29 -04:00
|
|
|
|
(define-public guile-sjson
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sjson")
|
2017-05-10 10:29:31 -04:00
|
|
|
|
(version "0.2.1")
|
2017-04-25 01:18:29 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://dustycloud.org/misc/sjson-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-10 10:29:31 -04:00
|
|
|
|
"1mzmapln79vv10qxaggz9qwcdbag3jnrj19xx8bgkmxss8h03sv3"))))
|
2017-04-25 01:18:29 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(home-page "https://gitlab.com/dustyweb/guile-sjson")
|
|
|
|
|
(synopsis "S-expression based json reader/writer for Guile")
|
|
|
|
|
(description "guile-sjson is a json reader/writer for Guile.
|
|
|
|
|
It has a nice, simple s-expression based syntax.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2017-10-08 06:30:39 -04:00
|
|
|
|
(define-public guile-colorized
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-colorized")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/NalaGinrut/guile-colorized/"
|
|
|
|
|
"archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16xhc3an6aglnca8xl3mvgi8hsqzqn68vsl5ga4bz8bvbap5fn4p"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(native-inputs
|
2017-10-08 06:30:39 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(home-page "https://github.com/NalaGinrut/guile-colorized")
|
|
|
|
|
(synopsis "Colorized REPL for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"Guile-colorized provides you with a colorized REPL for GNU Guile.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-07-18 16:51:27 -04:00
|
|
|
|
(define-public guile-pfds
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-pfds")
|
|
|
|
|
(version "0.3")
|
|
|
|
|
(home-page "https://github.com/ijp/pfds")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19y33wg94pf0n98dkfqd1zbw93fgky4sawxsxl6s3vyqwl0yi5vh"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:source-directory "src"
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'move-files-around
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Move files under a pfds/ directory to reflect the
|
|
|
|
|
;; module hierarchy.
|
|
|
|
|
(mkdir-p "src/pfds")
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file
|
|
|
|
|
(string-append "src/pfds/"
|
|
|
|
|
file)))
|
|
|
|
|
'("bbtrees.sls"
|
|
|
|
|
"deques"
|
|
|
|
|
"deques.sls"
|
|
|
|
|
"dlists.sls"
|
|
|
|
|
"fingertrees.sls"
|
|
|
|
|
"hamts.sls"
|
|
|
|
|
"heaps.sls"
|
|
|
|
|
"private"
|
|
|
|
|
"psqs.sls"
|
|
|
|
|
"queues"
|
|
|
|
|
"queues.sls"
|
|
|
|
|
"sequences.sls"
|
|
|
|
|
"sets.sls"))
|
|
|
|
|
|
|
|
|
|
;; In Guile <= 2.2.4, there's no way to tell 'guild
|
|
|
|
|
;; compile' to accept the ".sls" extension. So...
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(rename-file file
|
|
|
|
|
(string-append
|
|
|
|
|
(string-drop-right file 4)
|
|
|
|
|
".scm")))
|
|
|
|
|
(find-files "." "\\.sls$"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(synopsis "Purely functional data structures for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides purely functional data structures written in R6RS
|
|
|
|
|
Scheme and compiled for Guile. It has been tested with Racket, Guile 2,
|
|
|
|
|
Vicare Scheme and IronScheme. Right now it contains:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item queues
|
|
|
|
|
@item deques
|
|
|
|
|
@item bbtrees
|
|
|
|
|
@item sets
|
|
|
|
|
@item dlists
|
|
|
|
|
@item priority search queues (PSQs)
|
|
|
|
|
@item finger trees
|
|
|
|
|
@item sequences
|
|
|
|
|
@item heaps
|
|
|
|
|
@item hash array mapped tries (HAMTs).
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-08-26 08:52:31 -04:00
|
|
|
|
(define-public guile-aa-tree
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-aa-tree")
|
|
|
|
|
(version "3.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-aa-tree/guile-aa-tree-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0044c105r3q9vpl17pv3phl1b79kjm1llhkakqgiasixyav01blh"))))
|
|
|
|
|
(build-system guile-build-system)
|
|
|
|
|
(native-inputs `(("guile" ,guile-2.2)))
|
|
|
|
|
;; https://savannah.nongnu.org/projects/guile-aa-tree
|
|
|
|
|
(home-page "https://qlfiles.net/guile-aa-tree/")
|
|
|
|
|
(synopsis "AA tree data structure for Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides an implementation of @dfn{AA trees}, a
|
|
|
|
|
self-balancing binary tree data structure, for Guile. It ensure @math{O(log
|
|
|
|
|
n)} worst case performance for core operations. The module provides
|
|
|
|
|
non-mutating insert, delete, and search operations, with support for
|
|
|
|
|
convenient nested tree operations.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-05-15 05:22:04 -04:00
|
|
|
|
(define-public guile-simple-zmq
|
2018-09-11 06:00:26 -04:00
|
|
|
|
(let ((commit "5bb66a0499f94006cfd18b58e80ad6623f911c31")
|
|
|
|
|
(revision "2"))
|
2018-05-15 05:22:04 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-simple-zmq")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jerry40/guile-simple-zmq")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-09-11 06:00:26 -04:00
|
|
|
|
"0dj1brjqa7m4k71sf94aq26ca0la3nr894kfmjnqkpawqfp4dyaz"))
|
2018-05-15 05:22:04 -04:00
|
|
|
|
(file-name (git-file-name name version))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
2018-05-15 05:22:04 -04:00
|
|
|
|
(arguments
|
2018-07-18 09:42:11 -04:00
|
|
|
|
`(#:source-directory "src"
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-libzmq-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/simple-zmq.scm"
|
|
|
|
|
(("\\(dynamic-link \"libzmq\"\\)")
|
|
|
|
|
(format #f "(dynamic-link \"~a/lib/libzmq.so\")"
|
|
|
|
|
(assoc-ref inputs "zeromq"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2018-06-25 10:57:47 -04:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(inputs
|
2018-06-25 10:57:47 -04:00
|
|
|
|
`(("zeromq" ,zeromq)))
|
2018-05-15 05:22:04 -04:00
|
|
|
|
(home-page "https://github.com/jerry40/guile-simple-zmq")
|
|
|
|
|
(synopsis "Guile wrapper over ZeroMQ library")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Guile programming interface to the ZeroMQ
|
|
|
|
|
messaging library.")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2018-05-15 07:33:15 -04:00
|
|
|
|
(define-public jupyter-guile-kernel
|
2018-09-11 06:00:26 -04:00
|
|
|
|
(let ((commit "a7db9245a886e104138474df46c3e88b95cff629")
|
|
|
|
|
(revision "1"))
|
2018-05-15 07:33:15 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "jupyter-guile-kernel")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jerry40/guile-kernel")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-09-11 06:00:26 -04:00
|
|
|
|
"0aj04853bqm47ivfcmrgpb7w3wkis847kc7qrwsa5zcn9h38qh2f"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
(build-system guile-build-system)
|
2018-05-15 07:33:15 -04:00
|
|
|
|
(arguments
|
2018-07-18 09:42:11 -04:00
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'set-openssl-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Record the absolute file name of the 'openssl'
|
|
|
|
|
;; command.
|
|
|
|
|
(substitute* "src/hmac.scm"
|
|
|
|
|
(("openssl")
|
|
|
|
|
(string-append (assoc-ref inputs "openssl")
|
|
|
|
|
"/bin/openssl")))
|
|
|
|
|
#t))
|
|
|
|
|
|
|
|
|
|
;; XXX: The code uses 'include' to include its own source
|
|
|
|
|
;; files, and "-L src" isn't enough in this case.
|
|
|
|
|
(add-before 'build 'chdir
|
|
|
|
|
(lambda _ (chdir "src") #t))
|
|
|
|
|
(add-after 'build 'chdir-back
|
|
|
|
|
(lambda _ (chdir "..") #t))
|
|
|
|
|
|
|
|
|
|
(add-after 'install 'install-kernel
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2018-09-11 09:10:46 -04:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(json (assoc-ref inputs "guile-json"))
|
|
|
|
|
(zmq (assoc-ref inputs "guile-simple-zmq"))
|
|
|
|
|
(deps (list json zmq))
|
|
|
|
|
(dir (string-append
|
|
|
|
|
out "/share/jupyter/kernels/guile"))
|
|
|
|
|
(effective (target-guile-effective-version)))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
;; Install kernel.
|
|
|
|
|
(install-file "src/kernel.json" dir)
|
|
|
|
|
|
|
|
|
|
;; Fix hard-coded file name in the kernel.
|
|
|
|
|
(substitute* (string-append dir "/kernel.json")
|
|
|
|
|
(("/home/.*/guile-jupyter-kernel.scm")
|
|
|
|
|
(string-append out "/share/guile/site/"
|
|
|
|
|
(target-guile-effective-version)
|
|
|
|
|
"/guile-jupyter-kernel.scm"))
|
|
|
|
|
(("\"guile\"")
|
|
|
|
|
(string-append "\"" (assoc-ref inputs "guile")
|
|
|
|
|
"/bin/guile\""))
|
|
|
|
|
(("-s")
|
2018-09-11 09:10:46 -04:00
|
|
|
|
;; Add '-L' and '-C' flags so that the kernel
|
|
|
|
|
;; finds its dependencies.
|
|
|
|
|
(let ((-L (map (lambda (item)
|
|
|
|
|
(string-append "\"" item
|
|
|
|
|
"/share/guile/site/"
|
|
|
|
|
effective "\""))
|
|
|
|
|
deps))
|
|
|
|
|
(-C (map (lambda (item)
|
|
|
|
|
(string-append "\"" item
|
|
|
|
|
"/lib/guile/"
|
|
|
|
|
effective
|
|
|
|
|
"/site-ccache\""))
|
|
|
|
|
deps)))
|
|
|
|
|
(string-append "--no-auto-compile\""
|
|
|
|
|
(string-join -L ", \"-L\", "
|
|
|
|
|
'prefix)
|
|
|
|
|
(string-join -C ", \"-C\", "
|
|
|
|
|
'prefix)
|
|
|
|
|
", \"-s"))))
|
2018-07-18 09:42:11 -04:00
|
|
|
|
#t))))))
|
2018-05-15 07:33:15 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
2018-09-11 09:10:46 -04:00
|
|
|
|
("guile" ,guile-2.2)
|
|
|
|
|
("guile-json" ,guile-json)
|
2018-05-15 07:33:15 -04:00
|
|
|
|
("guile-simple-zmq" ,guile-simple-zmq)))
|
|
|
|
|
(synopsis "Guile kernel for the Jupyter Notebook")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Guile 2.x kernel for the Jupyter Notebook. It
|
|
|
|
|
allows users to interact with the Guile REPL through Jupyter.")
|
|
|
|
|
(home-page "https://github.com/jerry40/guile-kernel")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2018-05-19 10:46:34 -04:00
|
|
|
|
(define-public guile-sparql
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sparql")
|
|
|
|
|
(version "0.0.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/roelj/guile-sparql/releases/download/"
|
|
|
|
|
version "/guile-sparql-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1drnvhsgl0gc5crmb16yyw1j98nkhwwcgssv9vgm36ng43nnzffd"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ; There are no tests.
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(home-page "https://github.com/roelj/guile-sparql")
|
|
|
|
|
(synopsis "SPARQL module for Guile")
|
|
|
|
|
(description "This package provides the functionality to query a SPARQL
|
|
|
|
|
endpoint. Additionally, it provides an interface to write SPARQL queries
|
|
|
|
|
using S-expressions.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-09-18 17:07:18 -04:00
|
|
|
|
(define-public guile-debbugs
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-debbugs")
|
|
|
|
|
(version "0.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/guile-debbugs/guile-debbugs-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"16l8910p57im6s3j93xhdaqvgfy6ms5n97177mrch3y961z5hy0i"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(substitute* "Makefile.in"
|
|
|
|
|
(("^godir = (.*)/ccache" _ prefix)
|
|
|
|
|
(string-append "godir = " prefix "/site-ccache"))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://savannah.gnu.org/projects/guile-debbugs/")
|
|
|
|
|
(synopsis "Guile interface to the Debbugs bug tracking service")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Guile library to communicate with a Debbugs bug
|
|
|
|
|
tracker's SOAP service, such as @url{https://bugs.gnu.org}.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
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 16:17:41 -04:00
|
|
|
|
;;; guile.scm ends here
|