2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-03-08 10:46:55 +00:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
2014-12-31 09:48:46 +00:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2017-01-08 21:46:34 +00:00
|
|
|
|
;;; Copyright © 2015, 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
2016-02-14 18:23:24 +00:00
|
|
|
|
;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
|
2017-01-15 20:59:48 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2016-04-20 20:22:36 +00:00
|
|
|
|
;;; Copyright © 2016 Erik Edrosa <erik.edrosa@gmail.com>
|
2016-05-10 04:21:58 +00:00
|
|
|
|
;;; Copyright © 2016 Eraim Flashner <efraim@flashner.co.il>
|
2017-04-16 08:33:18 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
2017-07-28 14:18:03 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
|
2016-10-09 10:31:20 +00:00
|
|
|
|
;;; Copyright © 2016 Amirouche <amirouche@hypermove.net>
|
2017-01-08 21:46:34 +00:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2017-02-21 10:20:02 +00:00
|
|
|
|
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
2017-04-14 08:27:43 +00:00
|
|
|
|
;;; Copyright © 2017 David Thompson <davet@gnu.org>
|
2017-04-28 11:45:13 +00:00
|
|
|
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
2017-09-29 10:36:20 +00: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 15:39:45 +00:00
|
|
|
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
2017-12-13 05:23:51 +00:00
|
|
|
|
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-01-31 03:38:10 +00:00
|
|
|
|
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2018-05-10 10:00:04 +00:00
|
|
|
|
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
2018-05-15 09:22:04 +00: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 20:17:41 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; This file is part of GNU Guix.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 23:47:50 +00:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
|
(define-module (gnu packages guile)
|
2017-02-11 18:23:56 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-18 00:06:47 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2016-11-10 23:22:50 +00:00
|
|
|
|
#:use-module (gnu packages aspell)
|
2013-05-26 21:45:59 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 18:40:01 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages gawk)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-05-10 14:29:54 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-11-08 18:06:10 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages readline)
|
2013-02-04 13:00:46 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2013-02-07 23:15:48 +00: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 16:21:21 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-05-10 14:29:54 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-06-27 07:30:01 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2015-05-10 14:29:54 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-10-29 15:48:32 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2015-09-18 21:58:31 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-05-15 11:33:15 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-11-13 23:07:21 +00:00
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages sdl)
|
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages image)
|
2017-02-11 20:52:00 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2016-07-22 08:10:11 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2018-05-15 09:22:04 +00: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 20:17:41 +00:00
|
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
#:use-module (guix download)
|
2015-04-22 03:40:15 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2014-01-22 22:45:44 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-22 03:40:15 +00:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2014-01-22 22:45:44 +00:00
|
|
|
|
#:use-module (guix utils)
|
2018-01-31 03:38:10 +00: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 20:17:41 +00:00
|
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
;;;
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
;;; GNU Guile, and modules and extensions.
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; Code:
|
|
|
|
|
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(define-public guile-1.8
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
|
|
|
|
(version "1.8.8")
|
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "guile-1.8-cpp-4.5.patch"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(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 15:28:42 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-stuff
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Add a call to `lt_dladdsearchdir' so that
|
|
|
|
|
;; `libguile-readline.so' & co. are in the
|
|
|
|
|
;; loader's search path.
|
|
|
|
|
(substitute* "libguile/dynl.c"
|
|
|
|
|
(("lt_dlinit.*$" match)
|
|
|
|
|
(format #f
|
|
|
|
|
" ~a~% lt_dladdsearchdir(\"~a/lib\");~%"
|
|
|
|
|
match
|
|
|
|
|
(assoc-ref outputs "out"))))
|
2013-02-07 23:15:26 +00:00
|
|
|
|
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 15:28:42 +00:00
|
|
|
|
;; The usual /bin/sh...
|
|
|
|
|
(substitute* "ice-9/popen.scm"
|
|
|
|
|
(("/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 22:09:04 +00: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 21:37:22 +00:00
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
|
|
|
|
|
;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be
|
|
|
|
|
;; propagated.
|
|
|
|
|
(propagated-inputs `(("gmp" ,gmp)
|
2015-01-06 22:14:59 +00: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 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 22:22:08 +00:00
|
|
|
|
(files '("share/guile/site")))))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 16:04:25 +00:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 14:14:23 +00:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl2.0+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
(define-public guile-2.0
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
2017-02-13 23:08:42 +00:00
|
|
|
|
(version "2.0.14")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 23:22:44 +00:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 22:34:03 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-13 23:08:42 +00:00
|
|
|
|
"10lxc6l5alf3lzbs3ihnbfy6dfcrsyf8667wa57f26vf4mk2ai78"))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)))
|
|
|
|
|
(inputs `(("libffi" ,libffi)
|
2016-04-24 12:06:56 +00:00
|
|
|
|
,@(libiconv-if-needed)
|
2017-06-02 13:34:36 +00:00
|
|
|
|
|
|
|
|
|
;; We need Bash when cross-compiling because some of the scripts
|
|
|
|
|
;; in bin/ refer to it. Use 'bash-minimal' because we don't need
|
|
|
|
|
;; an interactive Bash with Readline and all.
|
|
|
|
|
,@(if (target-mingw?) '() `(("bash" ,bash-minimal)))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`( ;; These ones aren't normally needed here, but since `libguile-2.0.la'
|
|
|
|
|
;; reads `-lltdl -lunistring', adding them here will add the needed
|
|
|
|
|
;; `-L' flags. As for why the `.la' file lacks the `-L' flags, see
|
|
|
|
|
;; <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18903>.
|
|
|
|
|
("libunistring" ,libunistring)
|
2015-01-06 22:14:59 +00:00
|
|
|
|
|
|
|
|
|
;; Depend on LIBLTDL, not LIBTOOL. That way, we avoid some the extra
|
|
|
|
|
;; dependencies that LIBTOOL has, which is helpful during bootstrap.
|
|
|
|
|
("libltdl" ,libltdl)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
|
|
|
|
|
;; must be propagated.
|
2014-03-18 14:14:02 +00:00
|
|
|
|
("bdw-gc" ,libgc)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
("gmp" ,gmp)))
|
|
|
|
|
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-07-03 21:55:04 +00:00
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
|
2012-12-20 22:07:46 +00:00
|
|
|
|
(arguments
|
2016-05-02 15:55:17 +00:00
|
|
|
|
`(#:configure-flags '("--disable-static") ;saves 3MiB
|
|
|
|
|
#:phases (alist-cons-before
|
2012-12-20 22:07:46 +00:00
|
|
|
|
'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2013-05-27 20:48:57 +00:00
|
|
|
|
;; Tell (ice-9 popen) the file name of Bash.
|
2012-12-20 22:07:46 +00:00
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
(substitute* "module/ice-9/popen.scm"
|
2016-04-24 12:06:56 +00:00
|
|
|
|
;; 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.
|
2012-12-20 22:07:46 +00:00
|
|
|
|
(("/bin/sh")
|
2016-04-24 12:06:56 +00:00
|
|
|
|
,@(if (target-mingw?)
|
|
|
|
|
'((if bash
|
|
|
|
|
(string-append bash "/bin/bash")
|
|
|
|
|
"bash"))
|
|
|
|
|
'((string-append bash "/bin/bash")))))))
|
2013-12-17 19:33:26 +00:00
|
|
|
|
%standard-phases)))
|
2012-12-20 22:07:46 +00:00
|
|
|
|
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 22:22:08 +00:00
|
|
|
|
(files '("share/guile/site/2.0")))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2016-06-29 07:51:26 +00:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2015-12-22 21:29:34 +00:00
|
|
|
|
"share/guile/site/2.0")))))
|
2013-03-30 21:50:45 +00:00
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 16:04:25 +00:00
|
|
|
|
(synopsis "Scheme implementation intended especially for extensions")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
(description
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 14:14:23 +00:00
|
|
|
|
"Guile is the GNU Ubiquitous Intelligent Language for Extensions, the
|
|
|
|
|
official extension language of the GNU system. It is an implementation of
|
|
|
|
|
the Scheme language which can be easily embedded in other applications to
|
|
|
|
|
provide a convenient means of extending the functionality of the application
|
|
|
|
|
without requiring the source code to be rewritten.")
|
2017-03-29 22:48:16 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 21:37:22 +00:00
|
|
|
|
|
2017-03-19 16:30:44 +00:00
|
|
|
|
(define-public guile-2.2
|
2015-05-10 14:29:54 +00:00
|
|
|
|
(package (inherit guile-2.0)
|
2017-03-19 16:30:44 +00:00
|
|
|
|
(name "guile")
|
2017-12-05 22:47:14 +00:00
|
|
|
|
(version "2.2.3")
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-04-08 21:10:50 +00:00
|
|
|
|
|
|
|
|
|
;; Note: we are limited to one of the compression formats
|
|
|
|
|
;; supported by the bootstrap binaries, so no lzip here.
|
2017-03-15 21:58:35 +00:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
2017-04-08 21:10:50 +00:00
|
|
|
|
".tar.xz"))
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-05 22:47:14 +00:00
|
|
|
|
"11j01agvnci2cx32wwpqs9078856yxmvs15gcsz7ganpkj2ahlw3"))
|
2016-02-06 20:43:57 +00: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).
|
|
|
|
|
(snippet '(for-each delete-file
|
|
|
|
|
(find-files "prebuilt" "\\.go$")))))
|
2016-12-14 07:48:38 +00:00
|
|
|
|
(properties '((timeout . 72000) ;20 hours
|
2017-06-20 04:23:00 +00:00
|
|
|
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
2017-06-07 23:13:59 +00:00
|
|
|
|
; when heavily loaded)
|
2016-02-13 05:08:22 +00:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_PATH")
|
|
|
|
|
(files '("share/guile/site/2.2")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2016-09-09 09:03:13 +00:00
|
|
|
|
(files '("lib/guile/2.2/site-ccache"
|
2017-12-22 16:15:05 +00: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 16:37:00 +00:00
|
|
|
|
|
2017-04-08 21:10:50 +00: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 04:29:31 +00:00
|
|
|
|
(properties '((hidden? . #t) ;people should install 'guile-2.2'
|
|
|
|
|
(timeout . 72000) ;20 hours
|
|
|
|
|
(max-silent-time . 36000))) ;10 hours (needed on ARM
|
|
|
|
|
; when heavily loaded)
|
2017-04-08 21:10:50 +00:00
|
|
|
|
(replacement #f)))
|
|
|
|
|
|
2018-03-08 10:46:55 +00: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"))))))
|
|
|
|
|
|
2017-03-22 08:47:42 +00:00
|
|
|
|
(define-public guile-next
|
|
|
|
|
(deprecated-package "guile-next" guile-2.2))
|
|
|
|
|
|
2017-12-08 16:31:22 +00: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 16:37:49 +00:00
|
|
|
|
(define (guile-variant-package-name prefix)
|
|
|
|
|
(lambda (name)
|
|
|
|
|
"Return NAME with PREFIX instead of \"guile-\", when applicable."
|
|
|
|
|
(if (string-prefix? "guile-" name)
|
|
|
|
|
(string-append prefix "-"
|
|
|
|
|
(string-drop name
|
|
|
|
|
(string-length "guile-")))
|
|
|
|
|
name)))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
|
|
|
|
(define package-for-guile-2.2
|
|
|
|
|
;; A procedure that rewrites the dependency tree of the given package to use
|
2017-03-19 16:30:44 +00:00
|
|
|
|
;; GUILE-2.2 instead of GUILE-2.0.
|
|
|
|
|
(package-input-rewriting `((,guile-2.0 . ,guile-2.2))
|
2017-03-19 16:37:49 +00: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 16:39:44 +00:00
|
|
|
|
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(define-public guile-for-guile-emacs
|
2017-03-19 16:30:44 +00:00
|
|
|
|
(package (inherit guile-2.2)
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(name "guile-for-guile-emacs")
|
|
|
|
|
(version "20150510.d8d9a8d")
|
2015-05-10 14:29:54 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2015-11-29 16:37:00 +00:00
|
|
|
|
(url "git://git.hcoop.net/git/bpt/guile.git")
|
|
|
|
|
(commit "d8d9a8da05ec876acba81a559798eb5eeceb5a17")))
|
2017-08-27 22:21:26 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-05-10 14:29:54 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-11-29 16:37:00 +00:00
|
|
|
|
"00sprsshy16y8pxjy126hr2adqcvvzzz96hjyjwgg8swva1qh6b0"))))
|
2015-05-10 14:29:54 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments `(;; Tests aren't passing for now.
|
|
|
|
|
;; Obviously we should re-enable this!
|
|
|
|
|
#:tests? #f
|
2017-03-19 16:30:44 +00:00
|
|
|
|
,@(package-arguments guile-2.2))
|
2015-05-10 14:29:54 +00: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 07:33:02 +00:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2017-03-19 16:30:44 +00:00
|
|
|
|
,@(package-native-inputs guile-2.2)))
|
2016-02-28 19:42:13 +00: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 09:03:13 +00:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2016-02-28 19:42:13 +00:00
|
|
|
|
"share/guile/site/2.0")))))))
|
2015-09-16 20:49:06 +00:00
|
|
|
|
|
2017-01-15 20:59:48 +00: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-31 01:02:35 +00:00
|
|
|
|
(add-after 'fix-bug-22 'autogen
|
2017-01-15 20:59:48 +00: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 21:37:22 +00:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Extensions.
|
|
|
|
|
;;;
|
|
|
|
|
|
2015-11-08 18:06:10 +00:00
|
|
|
|
(define-public artanis
|
2017-07-28 14:18:03 +00: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:]]+")
|
|
|
|
|
""))))))
|
|
|
|
|
(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 18:06:10 +00: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 14:18:03 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/artanis/")
|
|
|
|
|
(license (list license:gpl3+ license:lgpl3+))))) ;dual license
|
2015-11-08 18:06:10 +00:00
|
|
|
|
|
2015-03-02 20:40:53 +00: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 20:17:41 +00:00
|
|
|
|
(package
|
2015-03-02 20:40:53 +00:00
|
|
|
|
(name "guile-reader")
|
2017-03-08 16:46:31 +00:00
|
|
|
|
(version "0.6.2")
|
2015-03-02 20:40:53 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-reader/guile-reader-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-08 16:46:31 +00:00
|
|
|
|
"0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx"))))
|
2015-03-02 20:40:53 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)
|
2017-03-29 20:29:49 +00:00
|
|
|
|
("gperf" ,gperf-3.0)))
|
2017-03-19 17:04:37 +00:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2015-03-02 20:40:53 +00: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 20:17:41 +00: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 04:46:59 +00: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 20:17:41 +00: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 04:46:59 +00: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 20:17:41 +00: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-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/guile-reader/")
|
2017-02-11 18:23:56 +00: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 20:17:41 +00:00
|
|
|
|
|
2017-03-19 17:04:37 +00:00
|
|
|
|
(define-public guile2.0-reader
|
|
|
|
|
(package-for-guile-2.0 guile-reader))
|
2017-03-08 16:48:27 +00:00
|
|
|
|
(define-public guile2.2-reader
|
2017-03-19 17:04:37 +00:00
|
|
|
|
(deprecated-package "guile2.2-reader" guile-reader))
|
2017-03-08 16:48:27 +00:00
|
|
|
|
|
2013-02-04 13:00:46 +00:00
|
|
|
|
(define-public guile-ncurses
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ncurses")
|
2017-04-10 13:00:27 +00:00
|
|
|
|
(version "2.2")
|
2013-02-04 13:00:46 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/guile-ncurses/guile-ncurses-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 13:00:27 +00:00
|
|
|
|
"1wvggbr4xv8idh1hzd8caj4xfp4pln78a7w1wqzd4zgzwmnzxr2f"))))
|
2013-02-04 13:00:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
2017-04-10 13:03:07 +00:00
|
|
|
|
("guile" ,guile-2.2)))
|
2016-10-22 15:17:34 +00:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2013-02-04 13:00:46 +00:00
|
|
|
|
(arguments
|
2014-04-29 16:05:52 +00:00
|
|
|
|
'(#:configure-flags (list "--with-ncursesw" ; Unicode support
|
2016-10-22 15:17:34 +00:00
|
|
|
|
"--with-gnu-filesystem-hierarchy")
|
2016-05-10 04:41:27 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2016-12-19 13:03:40 +00:00
|
|
|
|
(add-before 'build 'fix-libguile-ncurses-file-name
|
2016-05-10 04:41:27 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2016-12-19 13:03:40 +00: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 13:03:07 +00:00
|
|
|
|
(format #f "\"~a/lib/guile/2.2/libguile-ncurses\""
|
2016-12-19 13:03:40 +00:00
|
|
|
|
out)))
|
|
|
|
|
#t)))))))
|
2016-11-13 20:02:05 +00: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 16:04:25 +00:00
|
|
|
|
(synopsis "Guile bindings to ncurses")
|
2013-02-04 13:00:46 +00:00
|
|
|
|
(description
|
2014-11-05 22:23:38 +00:00
|
|
|
|
"guile-ncurses provides Guile language bindings for the ncurses
|
2013-12-01 21:33:23 +00:00
|
|
|
|
library.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2013-02-04 13:00:46 +00:00
|
|
|
|
|
2017-07-05 20:31:04 +00: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 23:15:48 +00:00
|
|
|
|
(define-public mcron
|
|
|
|
|
(package
|
|
|
|
|
(name "mcron")
|
2018-04-18 22:04:41 +00:00
|
|
|
|
(version "1.1.1")
|
2013-02-07 23:15:48 +00:00
|
|
|
|
(source (origin
|
2018-03-19 22:16:48 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/mcron/mcron-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-18 22:04:41 +00:00
|
|
|
|
"1i9mcp6r6my61zfiydsm3n6my41mwvl7dfala4q29qx0zn1ynlm4"))))
|
2013-02-07 23:15:48 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-03-19 22:16:48 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'set-timezone
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2018-04-18 22:04:41 +00: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 22:16:48 +00:00
|
|
|
|
(let ((tzdata (assoc-ref inputs "tzdata")))
|
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(string-append tzdata
|
|
|
|
|
"/share/zoneinfo"))
|
2018-04-18 22:04:41 +00:00
|
|
|
|
(setenv "TZ" "UTC-2")
|
2018-03-19 22:16:48 +00:00
|
|
|
|
#t)))
|
2018-04-18 22:04:41 +00:00
|
|
|
|
(add-before 'check 'adjust-tests
|
2018-03-19 22:16:48 +00:00
|
|
|
|
(lambda _
|
2018-04-18 22:04:41 +00: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 22:16:48 +00:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
|
|
|
|
(inputs `(("ed" ,ed) ("which" ,which) ("guile" ,guile-2.2)))
|
2017-03-29 22:48:16 +00: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 16:04:25 +00:00
|
|
|
|
(synopsis "Run jobs at scheduled times")
|
2013-02-07 23:15:48 +00:00
|
|
|
|
(description
|
2013-12-01 21:33:23 +00: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 14:14:23 +00:00
|
|
|
|
tasks on a schedule, such as every hour or every Monday. Mcron is written in
|
2013-12-01 21:33:23 +00:00
|
|
|
|
Guile, so its configuration can be written in Scheme; the original cron
|
|
|
|
|
format is also supported.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2013-02-07 23:15:48 +00:00
|
|
|
|
|
2016-06-27 07:30:01 +00:00
|
|
|
|
(define-public mcron2
|
2018-03-19 22:16:48 +00:00
|
|
|
|
;; This was mthl's mcron development branch, and it became mcron 1.1.
|
|
|
|
|
(deprecated-package "mcron2" mcron))
|
2016-06-27 07:30:01 +00:00
|
|
|
|
|
2017-01-07 11:24:39 +00:00
|
|
|
|
(define-public guile-ics
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ics")
|
2018-04-30 17:31:52 +00:00
|
|
|
|
(version "0.2.0")
|
2017-01-07 11:24:39 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artyom-poptsov/guile-ics")
|
2018-04-30 17:31:52 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
2017-01-07 11:24:39 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-30 17:31:52 +00:00
|
|
|
|
"0qjjvadr7gibdq9jvwkmlkb4afsw9n2shfj9phpiadinxk3p4m2g"))))
|
2017-01-07 11:24:39 +00: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-31 01:02:35 +00: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 11:24:39 +00:00
|
|
|
|
(native-inputs
|
2018-03-09 22:11:48 +00:00
|
|
|
|
`(("autoconf" ,autoconf-wrapper)
|
2017-01-07 11:24:39 +00:00
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2018-04-30 17:32:13 +00:00
|
|
|
|
(inputs `(("guile" ,guile-2.2) ("which" ,which)))
|
|
|
|
|
(propagated-inputs `(("guile-lib" ,guile-lib)))
|
2017-01-07 11:24:39 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-07 11:24:39 +00:00
|
|
|
|
|
2013-08-26 14:04:15 +00:00
|
|
|
|
(define-public guile-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lib")
|
2017-06-30 20:01:18 +00:00
|
|
|
|
(version "0.2.5.1")
|
2013-08-26 14:04:15 +00:00
|
|
|
|
(source (origin
|
2017-03-05 06:10:41 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-lib/guile-lib-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-06-30 20:01:18 +00:00
|
|
|
|
"19q420i3is3d4jmkdqs5y7ir7ipp4s795saflqgwf6617cx2zpj4"))))
|
2013-08-26 14:04:15 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-05 06:10:41 +00:00
|
|
|
|
'(#:make-flags
|
|
|
|
|
'("GUILE_AUTO_COMPILE=0") ;to prevent guild errors
|
|
|
|
|
#: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 20:04:27 +00:00
|
|
|
|
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
|
2017-03-05 06:10:41 +00:00
|
|
|
|
#t)))))
|
2016-10-17 20:04:27 +00:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-07-02 20:45:33 +00: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-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/guile-lib/")
|
2013-08-26 14:04:15 +00: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 04:46:59 +00:00
|
|
|
|
"Guile-Lib is intended as an accumulation place for pure-scheme Guile
|
2013-08-26 14:04:15 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2013-08-26 14:04:15 +00:00
|
|
|
|
|
2017-07-02 20:45:33 +00:00
|
|
|
|
(define-public guile2.0-lib
|
|
|
|
|
(package-for-guile-2.0 guile-lib))
|
|
|
|
|
|
2017-03-13 20:50:39 +00:00
|
|
|
|
(define-public guile2.2-lib
|
2017-07-02 20:45:33 +00:00
|
|
|
|
(deprecated-package "guile2.2-lib" guile-lib))
|
2017-03-13 20:50:39 +00:00
|
|
|
|
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(define-public guile-json
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-json")
|
2017-01-17 14:16:42 +00:00
|
|
|
|
(version "0.6.0")
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(source (origin
|
2016-09-07 16:27:11 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-17 14:16:42 +00:00
|
|
|
|
"1qmjg7lbgciw95fkdzvlp9f68vv17kdjky42ywfzd4ffzwww0lgc"))
|
2016-09-07 16:27:11 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Make sure everything goes under .../site/X.Y, like Guile's
|
|
|
|
|
;; search paths expects.
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("ac_subst_vars='")
|
|
|
|
|
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
|
|
|
|
|
(substitute* '("Makefile.in" "json/Makefile.in")
|
|
|
|
|
(("moddir =.*/share/guile/site" all)
|
|
|
|
|
(string-append all "/@GUILE_EFFECTIVE_VERSION@")))))))
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2017-05-13 19:49:01 +00:00
|
|
|
|
(native-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-16 03:20:44 +00:00
|
|
|
|
(home-page "https://savannah.nongnu.org/projects/guile-json/")
|
2014-03-31 18:18:52 +00:00
|
|
|
|
(synopsis "JSON module for Guile")
|
|
|
|
|
(description
|
2017-02-02 10:34:48 +00:00
|
|
|
|
"Guile-JSON supports parsing and building JSON documents according to the
|
|
|
|
|
specification. These are the main features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Strictly complies to @uref{http://json.org, specification}.
|
|
|
|
|
@item Build JSON documents programmatically via macros.
|
|
|
|
|
@item Unicode support for strings.
|
|
|
|
|
@item Allows JSON pretty printing.
|
|
|
|
|
@end itemize\n")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2014-03-31 18:18:52 +00:00
|
|
|
|
|
2016-09-07 16:39:44 +00:00
|
|
|
|
(define-public guile2.2-json
|
2017-05-13 19:49:01 +00:00
|
|
|
|
(deprecated-package "guile2.2-json" guile-json))
|
|
|
|
|
|
|
|
|
|
(define-public guile2.0-json
|
|
|
|
|
(package-for-guile-2.0 guile-json))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2015-04-22 03:40:15 +00: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 09:50:55 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0r50jlpzi940jlmxyy3ddqqwmj5r12gb4bcv0ssini9v8km13xz6"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
2016-09-07 16:16:49 +00:00
|
|
|
|
`(#:modules ((guix build utils))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
2016-09-07 16:16:49 +00:00
|
|
|
|
(ice-9 match)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
|
2015-04-22 03:40:15 +00:00
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
2016-09-07 16:16:49 +00:00
|
|
|
|
(guile (assoc-ref %build-inputs "guile"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append guile "/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
2015-07-21 23:27:31 +00:00
|
|
|
|
(doc (string-append out "/share/doc/guile-minikanren"))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
(scm-files '("minikanren.scm"
|
|
|
|
|
"minikanren/mkextraforms.scm"
|
|
|
|
|
"minikanren/mkprelude.scm"
|
|
|
|
|
"minikanren/mk.scm"))
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild")))
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p (string-append module-dir "/minikanren"))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
|
|
|
|
|
;; Compile .scm files and install.
|
|
|
|
|
(chdir source)
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let* ((dest-file (string-append module-dir "/"
|
2016-04-20 20:22:36 +00:00
|
|
|
|
file))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
(go-file (match (string-split file #\.)
|
|
|
|
|
((base _)
|
|
|
|
|
(string-append module-dir "/"
|
|
|
|
|
base ".go")))))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(copy-file file dest-file)
|
|
|
|
|
;; Install compiled module.
|
|
|
|
|
(unless (zero? (system* guild "compile"
|
|
|
|
|
"-L" source
|
|
|
|
|
"-o" go-file
|
|
|
|
|
file))
|
|
|
|
|
(error (format #f "Failed to compile ~s to ~s!"
|
|
|
|
|
file go-file)))))
|
|
|
|
|
scm-files)
|
|
|
|
|
|
|
|
|
|
;; Also copy over the README.
|
gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases.
* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools,
plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'.
* gnu/packages/check.scm (catch-framework): Likewise.
* gnu/packages/code.scm (global): Likewise.
* gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools):
Likewise.
* gnu/packages/engineering.scm (fastcap, fasthenry): Likewise.
* gnu/packages/gnuzilla.scm (nss): Likewise.
* gnu/packages/guile.scm (guile-minikanren): Likewise.
* gnu/packages/java.scm (swt): Likewise.
* gnu/packages/make-bootstrap.scm (%static-binaries): Likewise.
* gnu/packages/maths.scm (lpsolve): Likewise.
* gnu/packages/mp3.scm (mpc123): Likewise.
* gnu/packages/ninja.scm (ninja): Likewise.
* gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise.
* gnu/packages/screen.scm (dtach): Likewise.
* gnu/packages/synergy.scm (synergy): Likewise.
* gnu/packages/textutils.scm (utf8proc): Likewise.
* gnu/packages/version-control.scm (git-test-sequence): Likewise.
* gnu/packages/wicd.scm (wicd): Likewise.
2015-08-28 20:22:22 +00:00
|
|
|
|
(install-file "README.org" doc)
|
2015-04-22 03:40:15 +00:00
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
2018-04-30 17:34:04 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2015-04-22 03:40:15 +00: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 12:16:07 +00:00
|
|
|
|
(synopsis "MiniKanren declarative logic system, packaged for Guile")
|
2015-04-22 03:40:15 +00: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 12:16:07 +00:00
|
|
|
|
This is Ian Price's r6rs packaged version of miniKanren, which deviates
|
2015-04-22 03:40:15 +00:00
|
|
|
|
slightly from miniKanren mainline.
|
|
|
|
|
|
|
|
|
|
See http://minikanren.org/ for more on miniKanren generally.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:expat)))
|
2015-04-22 03:40:15 +00:00
|
|
|
|
|
2018-04-30 17:34:04 +00:00
|
|
|
|
(define-public guile2.0-minikanren
|
|
|
|
|
(package-for-guile-2.0 guile-minikanren))
|
|
|
|
|
|
2016-09-07 16:39:44 +00:00
|
|
|
|
(define-public guile2.2-minikanren
|
2018-04-30 17:34:04 +00:00
|
|
|
|
(deprecated-package "guile2.2-minikanren" guile-minikanren))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2017-05-10 06:36:40 +00: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"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
#:tests? #f ; there is no test target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((cwd (getcwd))
|
|
|
|
|
(scm-files (find-files "." "\\.scm$"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/guile/site/"
|
|
|
|
|
effective)))
|
|
|
|
|
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
|
|
|
|
|
;; Compile .scm files and install.
|
|
|
|
|
(every (lambda (file)
|
|
|
|
|
(let ((go-file (string-append module-dir "/"
|
|
|
|
|
(basename file ".scm") ".go")))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(install-file file module-dir)
|
|
|
|
|
;; Compile and install module.
|
|
|
|
|
(zero? (system* "guild" "compile" "-L" cwd
|
|
|
|
|
"-o" go-file file))))
|
|
|
|
|
scm-files)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("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 18:20:03 +00:00
|
|
|
|
(define-public guile-irregex
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-irregex")
|
2016-12-15 23:39:20 +00:00
|
|
|
|
(version "0.9.6")
|
2015-11-05 18:20:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://synthcode.com/scheme/irregex/irregex-"
|
2016-05-16 11:18:21 +00:00
|
|
|
|
version ".tar.gz"))
|
2015-11-05 18:20:03 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-15 23:39:20 +00:00
|
|
|
|
"1ia3m7dp3lcxa048q0gqbiwwsyvn99baw6xkhb4bhhzn4k7bwyqq"))))
|
2015-11-05 18:20:03 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
|
(ice-9 match)
|
2016-09-07 16:11:30 +00:00
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen)
|
2015-11-05 18:20:03 +00:00
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2016-09-07 16:11:30 +00:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
"guile" "-c"
|
|
|
|
|
"(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(source (assoc-ref inputs "source"))
|
|
|
|
|
(doc (string-append out "/share/doc/guile-irregex/"))
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild")))
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p (string-append module-dir "/rx/source"))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
|
|
|
|
|
;; Compile .scm files and install.
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
|
|
|
|
|
(for-each (lambda (copy-info)
|
|
|
|
|
(match copy-info
|
|
|
|
|
((src-file dest-file-basis)
|
|
|
|
|
(let* ((dest-file (string-append
|
2015-11-05 18:20:03 +00:00
|
|
|
|
module-dir dest-file-basis
|
2016-09-07 16:11:30 +00:00
|
|
|
|
".scm"))
|
|
|
|
|
(go-file (string-append
|
|
|
|
|
module-dir dest-file-basis
|
|
|
|
|
".go")))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(copy-file src-file
|
|
|
|
|
dest-file)
|
|
|
|
|
;; Install compiled module.
|
|
|
|
|
(unless (zero? (system* guild "compile"
|
|
|
|
|
"-L" (getcwd)
|
|
|
|
|
"-o" go-file
|
|
|
|
|
src-file))
|
|
|
|
|
(error (format #f "Failed to compile ~s to ~s!"
|
|
|
|
|
src-file dest-file)))))))
|
|
|
|
|
'(("irregex-guile.scm" "/rx/irregex")
|
|
|
|
|
("irregex.scm" "/rx/source/irregex")
|
|
|
|
|
;; Not really reachable via guile's packaging system,
|
|
|
|
|
;; but nice to have around
|
|
|
|
|
("irregex-utils.scm" "/rx/source/irregex-utils")))
|
|
|
|
|
|
|
|
|
|
;; Also copy over the README.
|
|
|
|
|
(install-file "irregex.html" doc)
|
|
|
|
|
#t))))))
|
2015-11-05 18:20:03 +00:00
|
|
|
|
(inputs
|
2018-04-30 19:52:31 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2015-11-05 18:20:03 +00: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 18:23:56 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
|
2018-04-30 19:52:31 +00:00
|
|
|
|
(define-public guile2.0-irregex
|
|
|
|
|
(package-for-guile-2.0 guile-irregex))
|
|
|
|
|
|
2016-09-07 16:39:44 +00:00
|
|
|
|
(define-public guile2.2-irregex
|
2018-04-30 19:52:31 +00:00
|
|
|
|
(deprecated-package "guile2.2-irregex" guile-irregex))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2015-05-31 18:38:21 +00:00
|
|
|
|
;; There are two guile-gdbm packages, one using the FFI and one with
|
|
|
|
|
;; direct C bindings, hence the verbose name.
|
|
|
|
|
|
|
|
|
|
(define-public guile-gdbm-ffi
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-gdbm-ffi")
|
|
|
|
|
(version "20120209.fa1d5b6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ijp/guile-gdbm.git")
|
|
|
|
|
(commit "fa1d5b6231d0e4d096687b378c025f2148c5f246")))
|
2015-11-23 09:50:55 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8wrsw7v9w6qkl47xz0rdikg50v16nn6kbs3lgzcymjzpa7babj"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules
|
|
|
|
|
((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
2017-02-11 01:24:57 +00:00
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
|
|
|
|
|
;; Avoid warnings we can safely ignore
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
2015-05-31 18:38:21 +00:00
|
|
|
|
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
2017-02-11 01:24:57 +00:00
|
|
|
|
(effective-version
|
|
|
|
|
(read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective-version))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(doc (string-append out "/share/doc"))
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild"))
|
|
|
|
|
(gdbm.scm-dest
|
|
|
|
|
(string-append module-dir "/gdbm.scm"))
|
|
|
|
|
(gdbm.go-dest
|
2017-02-11 01:24:57 +00:00
|
|
|
|
(string-append module-dir "/gdbm.go"))
|
|
|
|
|
(compile-file
|
|
|
|
|
(lambda (in-file out-file)
|
|
|
|
|
(system* guild "compile" "-o" out-file in-file))))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
;; Switch directory for compiling and installing
|
|
|
|
|
(chdir source)
|
|
|
|
|
|
2017-12-13 05:23:51 +00:00
|
|
|
|
;; Install the documentation.
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
(copy-recursively "examples" (string-append doc "/examples"))
|
|
|
|
|
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
|
2015-05-31 18:38:21 +00:00
|
|
|
|
;; copy the source
|
|
|
|
|
(copy-file "gdbm.scm" gdbm.scm-dest)
|
|
|
|
|
|
|
|
|
|
;; Patch the FFI
|
|
|
|
|
(substitute* gdbm.scm-dest
|
|
|
|
|
(("\\(dynamic-link \"libgdbm\"\\)")
|
|
|
|
|
(format #f "(dynamic-link \"~a/lib/libgdbm.so\")"
|
|
|
|
|
(assoc-ref %build-inputs "gdbm"))))
|
|
|
|
|
|
|
|
|
|
;; compile to the destination
|
2017-02-11 01:24:57 +00:00
|
|
|
|
(compile-file gdbm.scm-dest gdbm.go-dest)))))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(inputs
|
2017-12-15 21:08:34 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("gdbm" ,gdbm)))
|
|
|
|
|
(home-page "https://github.com/ijp/guile-gdbm")
|
|
|
|
|
(synopsis "Guile bindings to the GDBM library via Guile's FFI")
|
|
|
|
|
(description
|
|
|
|
|
"Guile bindings to the GDBM key-value storage system, using
|
|
|
|
|
Guile's foreign function interface.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
|
2017-12-15 21:08:34 +00:00
|
|
|
|
(define-public guile2.0-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.0 guile-gdbm-ffi))
|
|
|
|
|
|
2017-02-10 18:42:12 +00:00
|
|
|
|
(define-public guile2.2-gdbm-ffi
|
2017-12-15 21:08:34 +00:00
|
|
|
|
(deprecated-package "guile2.2-gdbm-ffi" guile-gdbm-ffi))
|
2015-05-31 18:38:21 +00:00
|
|
|
|
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(define-public guile-sqlite3
|
2018-02-14 22:38:22 +00:00
|
|
|
|
(let ((commit "10c13a7e02ab1655c8a758e560cafc9d6eff26f4")
|
|
|
|
|
(revision "4"))
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-sqlite3")
|
2018-02-06 08:49:08 +00:00
|
|
|
|
(version (git-version "0.0" revision commit))
|
2016-06-18 13:09:08 +00:00
|
|
|
|
|
2017-01-16 22:26:35 +00:00
|
|
|
|
;; XXX: This used to be available read-only at
|
|
|
|
|
;; <https://www.gitorious.org/guile-sqlite3/guile-sqlite3.git/> but it
|
|
|
|
|
;; eventually disappeared, so we have our own copy here.
|
|
|
|
|
(home-page "https://notabug.org/civodul/guile-sqlite3.git")
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-14 22:38:22 +00:00
|
|
|
|
"0nhhswpd7nb2f0gfr55fzcc2xm3l2xx4rbljsd1clrm8fj2d7q9d"))
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Upgrade 'Makefile.am' to the current way of doing things.
|
|
|
|
|
'(substitute* "Makefile.am"
|
|
|
|
|
(("TESTS_ENVIRONMENT")
|
|
|
|
|
"TEST_LOG_COMPILER")))))
|
|
|
|
|
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-05-10 13:58:22 +00:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2016-06-18 13:09:08 +00:00
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(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-31 01:02:35 +00:00
|
|
|
|
(add-after 'unpack 'autoreconf
|
2016-06-18 13:09:08 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi"))))
|
|
|
|
|
(add-before 'build 'set-sqlite3-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "sqlite3.scm"
|
|
|
|
|
(("\"libsqlite3\"")
|
|
|
|
|
(string-append "\"" (assoc-ref inputs "sqlite")
|
|
|
|
|
"/lib/libsqlite3\"")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Access SQLite databases from Guile")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the SQLite database system.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+))))
|
2016-06-18 13:09:08 +00:00
|
|
|
|
|
2015-08-08 14:06:39 +00:00
|
|
|
|
(define-public haunt
|
|
|
|
|
(package
|
|
|
|
|
(name "haunt")
|
2018-03-11 02:31:00 +00:00
|
|
|
|
(version "0.2.2")
|
2015-08-08 14:06:39 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-24 18:01:15 +00:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/haunt/haunt-"
|
2015-08-08 14:06:39 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-11 02:31:00 +00:00
|
|
|
|
"0nm00krmqq4zmqi2irh35dbf2cn6al58s620hijmhfvhgvdqznlp"))))
|
2015-08-08 14:06:39 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2016-02-10 14:13:21 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((ice-9 match) (ice-9 ftw)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2017-03-27 18:18:17 +00:00
|
|
|
|
#:tests? #f ; test suite is non-deterministic :(
|
2016-02-10 14:13:21 +00: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-11 02:31:00 +00:00
|
|
|
|
(let ((modules (string-append site "/" version))
|
|
|
|
|
(compiled-modules (string-append
|
|
|
|
|
out "/lib/guile/" version
|
|
|
|
|
"/site-ccache")))
|
2016-02-10 14:13:21 +00:00
|
|
|
|
(wrap-program (string-append bin "/haunt")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix
|
|
|
|
|
(,modules))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
|
2018-03-11 02:31:00 +00:00
|
|
|
|
(,compiled-modules)))
|
2016-02-10 14:13:21 +00:00
|
|
|
|
#t)))))))))
|
2016-04-24 18:01:15 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2015-08-08 14:06:39 +00:00
|
|
|
|
(inputs
|
2017-03-19 17:00:43 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-04-24 18:01:15 +00:00
|
|
|
|
(propagated-inputs
|
2017-01-24 13:55:12 +00:00
|
|
|
|
`(("guile-reader" ,guile-reader)
|
|
|
|
|
("guile-commonmark" ,guile-commonmark)))
|
2015-08-08 14:06:39 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2015-08-08 14:06:39 +00:00
|
|
|
|
|
2017-03-19 17:00:43 +00:00
|
|
|
|
(define-public guile2.0-haunt
|
|
|
|
|
(package-for-guile-2.0
|
|
|
|
|
(package (inherit haunt) (name "guile2.0-haunt"))))
|
2017-03-08 20:30:26 +00:00
|
|
|
|
(define-public guile2.2-haunt
|
2017-03-19 17:00:43 +00:00
|
|
|
|
(deprecated-package "guile2.2-haunt" haunt))
|
2017-03-08 20:30:26 +00:00
|
|
|
|
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(define-public guile-config
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-config")
|
2018-04-11 08:07:47 +00:00
|
|
|
|
(version "0.2")
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(source (origin
|
2018-04-11 08:07:47 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/a-sassmannshausen/guile-config")
|
|
|
|
|
(commit "guile-config-0.2")))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-11 08:07:47 +00:00
|
|
|
|
"07q86vqdwmm81wwxz1d1ah27hbhs6qbn8kiizrfpj0s4bf95w3r9"))))
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2018-04-11 08:07:47 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-fi")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(inputs
|
2018-04-11 08:07:47 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-02-14 18:23:24 +00:00
|
|
|
|
(synopsis "Guile application configuration parsing library")
|
|
|
|
|
(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.")
|
|
|
|
|
(home-page "https://github.com/a-sassmannshausen/guile-config")
|
2018-04-11 08:07:47 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-02-14 18:23:24 +00:00
|
|
|
|
|
2015-08-09 14:37:55 +00:00
|
|
|
|
(define-public guile-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-redis")
|
|
|
|
|
(version "0.1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-redis/guile-redis-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0vx6if6b4r3kwx64vzbs6vpc0cpcr85x11w9vkzq27gw8n7isv56"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2016-09-13 13:05:07 +00:00
|
|
|
|
;; Make sure everything goes under .../site/X.Y, like Guile's
|
2015-08-09 14:37:55 +00:00
|
|
|
|
;; search paths expects.
|
2016-09-13 13:05:07 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("ac_subst_vars='")
|
|
|
|
|
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
|
|
|
|
|
(substitute* '("Makefile.in"
|
|
|
|
|
"redis/Makefile.in"
|
|
|
|
|
"redis/commands/Makefile.in")
|
|
|
|
|
(("moddir =.*/share/guile/site" all)
|
|
|
|
|
(string-append all "/@GUILE_EFFECTIVE_VERSION@")))))))
|
2015-08-09 14:37:55 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-04-30 19:54:22 +00:00
|
|
|
|
`(("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-16 03:20:44 +00:00
|
|
|
|
(home-page "https://savannah.nongnu.org/projects/guile-redis/")
|
2015-08-09 14:37:55 +00: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 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2015-08-09 14:37:55 +00:00
|
|
|
|
|
2018-04-30 19:54:22 +00:00
|
|
|
|
(define-public guile2.0-redis
|
|
|
|
|
(package-for-guile-2.0 guile-redis))
|
|
|
|
|
|
2016-09-13 13:09:23 +00:00
|
|
|
|
(define-public guile2.2-redis
|
2018-04-30 19:54:22 +00:00
|
|
|
|
(deprecated-package "guile2.2-redis" guile-redis))
|
2016-09-13 13:09:23 +00:00
|
|
|
|
|
2015-09-18 21:58:31 +00:00
|
|
|
|
(define-public guile-wisp
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-wisp")
|
2017-11-27 12:24:35 +00:00
|
|
|
|
(version "0.9.8")
|
2015-09-18 21:58:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/ArneBab/"
|
|
|
|
|
"wisp/downloads/wisp-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-27 12:24:35 +00:00
|
|
|
|
"1f2bbicq1rxnwmiplrm4r75wj06w385mjkyvi7g4k740bgwcrzxr"))))
|
2015-09-18 21:58:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-11-27 13:03:50 +00:00
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
|
2015-09-18 21:58:31 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-11-27 12:24:35 +00:00
|
|
|
|
(add-before 'configure 'substitute-before-config
|
2015-09-18 21:58:31 +00: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 12:24:35 +00: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 21:58:31 +00: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 12:24:35 +00:00
|
|
|
|
(add-after 'install 'install-go-files
|
2015-09-18 21:58:31 +00:00
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2017-11-27 13:03:50 +00: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 21:58:31 +00:00
|
|
|
|
;; compile to the destination
|
2017-11-27 12:24:35 +00:00
|
|
|
|
(for-each (lambda (file)
|
2017-11-27 13:03:50 +00: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 12:24:35 +00:00
|
|
|
|
(find-files module-dir "\\.scm$"))
|
2015-09-18 21:58:31 +00:00
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://draketo.de/english/wisp")
|
|
|
|
|
(inputs
|
2017-11-27 12:52:21 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2017-11-27 12:24:35 +00: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 14:50:36 +00:00
|
|
|
|
(synopsis "Whitespace to lisp syntax for Guile")
|
|
|
|
|
(description "Wisp is a syntax for Guile which provides a Python-like
|
2015-09-18 21:58:31 +00:00
|
|
|
|
whitespace-significant language. It may be easier on the eyes for some
|
|
|
|
|
users and in some situations.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2015-09-18 21:58:31 +00:00
|
|
|
|
|
2015-11-13 23:07:21 +00:00
|
|
|
|
(define-public guile-sly
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sly")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-08 22:30:42 +00:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/sly/sly-"
|
2015-11-13 23:07:21 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-14 13:22:45 +00: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 = "
|
|
|
|
|
"$(prefix)/lib/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n")))))))
|
2015-11-13 23:07:21 +00: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 15:25:35 +00:00
|
|
|
|
`(("guile-sdl" ,guile-sdl)
|
2015-11-13 23:07:21 +00:00
|
|
|
|
("guile-opengl" ,guile-opengl)))
|
|
|
|
|
(inputs
|
2017-12-01 15:25:35 +00:00
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("gsl" ,gsl)
|
2015-11-13 23:07:21 +00: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 10:06:00 +00:00
|
|
|
|
(home-page "https://dthompson.us/projects/sly.html")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2015-11-13 23:07:21 +00:00
|
|
|
|
|
2015-12-11 16:04:06 +00: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 10:13:58 +00:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2015-12-11 16:04:06 +00:00
|
|
|
|
("guile-lib" ,guile-lib)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libffi" ,libffi)))
|
2016-06-08 17:18:07 +00:00
|
|
|
|
(arguments
|
2017-07-14 10:13:58 +00: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 16:04:06 +00: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-16 03:20:44 +00:00
|
|
|
|
(home-page "https://www.nongnu.org/g-wrap/index.html")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-12-11 16:04:06 +00:00
|
|
|
|
|
2016-06-27 07:30:01 +00: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 19:59:53 +00:00
|
|
|
|
"--with-guile-site-dir=" %output "/share/guile/site/2.2"))
|
2018-05-10 10:00:04 +00:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib:"
|
|
|
|
|
(assoc-ref %build-inputs "guile-dbd-sqlite3") "/lib"))
|
2016-06-27 07:30:01 +00: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 19:59:53 +00:00
|
|
|
|
out "/share/guile/site/2.2/dbi/dbi.scm"))
|
2016-06-27 07:30:01 +00:00
|
|
|
|
(ext (string-append out "/lib/libguile-dbi")))
|
|
|
|
|
(substitute* dbi.scm (("libguile-dbi") ext))
|
|
|
|
|
#t))))))
|
2018-05-10 10:00:04 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile-dbd-sqlite3" ,guile-dbd-sqlite3))) ; only shared library, no scheme files
|
2016-06-27 07:30:01 +00:00
|
|
|
|
(propagated-inputs
|
2018-04-30 19:59:53 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-06-27 07:30:01 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 07:30:01 +00:00
|
|
|
|
|
2018-05-10 10:00:04 +00: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 07:30:01 +00: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 10:00:04 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("guile-dbi-bootstrap" ,guile-dbi-bootstrap))) ; only required for headers
|
2016-06-27 07:30:01 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 07:30:01 +00:00
|
|
|
|
|
2017-11-24 10:51:19 +00:00
|
|
|
|
(define-public guile-dsv
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-dsv")
|
2017-12-03 13:17:46 +00:00
|
|
|
|
(version "0.2.1")
|
2017-11-24 10:51:19 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artyom-poptsov/guile-dsv")
|
2017-12-03 13:17:46 +00:00
|
|
|
|
(commit "bdc5267d007478abc20ea96d7c459b7dd9560b3d")))
|
2017-11-24 10:51:19 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-03 13:17:46 +00:00
|
|
|
|
"1irw6mz8998nwyhzrw9g94jcz60b9zljgqfmipaz1ybn8579qjx0"))))
|
2017-11-24 10:51:19 +00: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 08:10:11 +00:00
|
|
|
|
(define-public guile-xosd
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-xosd")
|
2016-08-17 22:22:29 +00:00
|
|
|
|
(version "0.2.1")
|
2016-07-22 08:10:11 +00: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 22:22:29 +00:00
|
|
|
|
"1ri5065c16kmgrf2pysn2ymxjqi5302lhpb07wkl1jr75ym8fn8p"))))
|
2016-07-22 08:10:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 08:37:40 +00:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2016-07-22 08:10:11 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 08:10:11 +00:00
|
|
|
|
|
2016-07-22 08:10:35 +00:00
|
|
|
|
(define-public guile-daemon
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-daemon")
|
2017-04-16 08:33:18 +00:00
|
|
|
|
(version "0.1.2")
|
2016-07-22 08:10:35 +00: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 08:33:18 +00:00
|
|
|
|
"0hh6gq6b6phpxm0b1dkxyzj3f4sxdf7dji63609lzypa5v1ad2gv"))))
|
2016-07-22 08:10:35 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 08:37:40 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-07-22 08:10:35 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 08:10:35 +00:00
|
|
|
|
|
2016-08-05 01:52:18 +00: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 16:33:33 +00: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"
|
|
|
|
|
(("/site/2.0")
|
|
|
|
|
"/site/@GUILE_EFFECTIVE_VERSION@"))))))
|
2016-08-05 01:52:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2017-03-19 17:07:36 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-08-05 01:52:18 +00: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 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2016-08-05 01:52:18 +00:00
|
|
|
|
|
2017-03-19 17:07:36 +00:00
|
|
|
|
(define-public guile2.0-commonmark
|
|
|
|
|
(package-for-guile-2.0 guile-commonmark))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
(define-public guile2.2-commonmark
|
2017-03-19 17:07:36 +00:00
|
|
|
|
(deprecated-package "guile2.2-commonmark" guile-commonmark))
|
2016-09-07 16:39:44 +00:00
|
|
|
|
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(define-public guile-bytestructures
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bytestructures")
|
2018-01-08 21:30:10 +00:00
|
|
|
|
(version "1.0.1")
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(source (origin
|
2018-01-08 21:30:10 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/TaylanUB/scheme-bytestructures"
|
|
|
|
|
"/releases/download/v" version
|
|
|
|
|
"/bytestructures-" version ".tar.gz"))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-08 21:30:10 +00:00
|
|
|
|
"1lnfcy65mqj823lamy2n2vaghdz0g7mj011bgnhmd6hwpnaidnh2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-07-25 15:06:51 +00:00
|
|
|
|
(native-inputs
|
2018-01-08 21:30:10 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
(inputs
|
2017-03-30 09:14:20 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-10-09 10:31:20 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-10-09 10:31:20 +00:00
|
|
|
|
|
2017-07-25 15:06:51 +00:00
|
|
|
|
(define-public guile2.0-bytestructures
|
|
|
|
|
(package-for-guile-2.0 guile-bytestructures))
|
|
|
|
|
|
2016-11-10 23:22:50 +00:00
|
|
|
|
(define-public guile-aspell
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-aspell")
|
2017-04-06 08:37:52 +00:00
|
|
|
|
(version "0.4")
|
2016-11-10 23:22:50 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://lonelycactus.com/tarball/guile_aspell-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-06 08:37:52 +00:00
|
|
|
|
"0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
|
2016-11-10 23:22:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-04-06 08:41:59 +00: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 23:22:50 +00:00
|
|
|
|
(add-before 'build 'set-libaspell-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((aspell (assoc-ref inputs "aspell")))
|
2017-04-06 08:37:52 +00:00
|
|
|
|
(substitute* "aspell.scm"
|
2016-11-10 23:22:50 +00:00
|
|
|
|
(("\"libaspell\\.so\"")
|
|
|
|
|
(string-append "\"" aspell
|
|
|
|
|
"/lib/libaspell\"")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-04-06 08:45:29 +00:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)
|
2016-11-10 23:22:50 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-11-10 23:22:50 +00:00
|
|
|
|
|
2017-01-04 14:14:33 +00: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
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "bootstrap")))))
|
|
|
|
|
|
|
|
|
|
#:configure-flags
|
|
|
|
|
;; 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 22:11:48 +00:00
|
|
|
|
("autoconf" ,autoconf-wrapper)
|
2017-01-04 14:14:33 +00:00
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
2017-07-19 20:59:18 +00:00
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
|
|
|
|
|
;; Bash with loadable module support, for the test
|
|
|
|
|
;; suite.
|
|
|
|
|
("bash-full" ,bash)))
|
2017-01-04 14:14:33 +00: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 18:23:56 +00:00
|
|
|
|
(license license:gpl3+))))
|
2017-01-04 14:14:33 +00:00
|
|
|
|
|
2017-01-08 21:46:34 +00:00
|
|
|
|
(define-public guile-8sync
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-8sync")
|
2017-03-18 17:15:28 +00:00
|
|
|
|
(version "0.4.2")
|
2017-01-08 21:46:34 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/8sync/8sync-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-18 17:15:28 +00:00
|
|
|
|
"031wm13srak3wsnll7j2mbbi29g1pcm4swdb71ds9yn567pn20qw"))))
|
2017-01-08 21:46:34 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2017-03-19 16:30:44 +00:00
|
|
|
|
("guile" ,guile-2.2)
|
2017-01-08 21:46:34 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
;; quiet warnings
|
2017-01-09 15:51:00 +00:00
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
#t)))))
|
2017-01-08 21:46:34 +00: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 16:30:44 +00:00
|
|
|
|
Note that 8sync is only available for Guile 2.2.")
|
2017-02-11 18:23:56 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2017-01-08 21:46:34 +00:00
|
|
|
|
|
2017-02-21 10:20:02 +00: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)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("texinfo" ,texinfo)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-03-19 16:30:44 +00:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2017-02-21 10:20:02 +00: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 20:52:00 +00:00
|
|
|
|
(define-public guile-git
|
2018-04-02 20:34:21 +00:00
|
|
|
|
(let ((revision "6")
|
|
|
|
|
(commit "36f93c174adc396c90ec3a6923487f0444fe5d69"))
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-git")
|
|
|
|
|
(version (string-append "0.0-" revision "." (string-take commit 7)))
|
2017-07-01 19:24:28 +00:00
|
|
|
|
(home-page "https://gitlab.com/guile-git/guile-git.git")
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-02 20:34:21 +00:00
|
|
|
|
"0z1dvn0scx59pbgjkpacam7p5n7630z4qm8fazim7ixq9xv3s8wx"))
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-07-31 13:19:14 +00:00
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
2017-07-31 13:19:14 +00:00
|
|
|
|
(zero? (system* "autoreconf" "-vfi"))))
|
|
|
|
|
|
|
|
|
|
;; FIXME: On i686, bytestructures miscalculates the offset
|
|
|
|
|
;; of the 'old-file' and 'new-file' fields within the
|
2018-04-02 20:34:21 +00:00
|
|
|
|
;; '%diff-delta' structure. See
|
|
|
|
|
;; <https://github.com/TaylanUB/scheme-bytestructures/issues/30>.
|
2017-07-31 13:19:14 +00:00
|
|
|
|
,@(if (string=? (%current-system) "x86_64-linux")
|
|
|
|
|
'()
|
|
|
|
|
'((add-before 'check 'skip-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("tests/status\\.scm")
|
|
|
|
|
""))
|
|
|
|
|
#t)))))))
|
2017-02-11 20:52:00 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2017-07-28 15:12:29 +00:00
|
|
|
|
("texinfo" ,texinfo)
|
2017-02-11 20:52:00 +00:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-03-30 09:14:20 +00:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2017-02-11 20:52:00 +00:00
|
|
|
|
("libgit2" ,libgit2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-bytestructures" ,guile-bytestructures)))
|
|
|
|
|
(synopsis "Guile bindings for libgit2")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to libgit2, a library to
|
|
|
|
|
manipulate repositories of the Git version control system.")
|
|
|
|
|
(license license:gpl3+))))
|
2017-01-08 21:46:34 +00:00
|
|
|
|
|
2017-07-25 15:11:41 +00:00
|
|
|
|
(define-public guile2.0-git
|
|
|
|
|
(package-for-guile-2.0 guile-git))
|
|
|
|
|
|
2017-04-14 08:27:43 +00:00
|
|
|
|
(define-public guile-syntax-highlight
|
2018-03-11 02:30:35 +00: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)))
|
2017-04-14 08:27:43 +00:00
|
|
|
|
(synopsis "General-purpose syntax highlighter for GNU Guile")
|
|
|
|
|
(description "Guile-syntax-highlight is a general-purpose syntax
|
|
|
|
|
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-11 02:30:35 +00:00
|
|
|
|
(home-page "http://dthompson.us/projects/guile-syntax-highlight.html")
|
|
|
|
|
(license license:lgpl3+)))
|
2017-04-14 08:27:43 +00:00
|
|
|
|
|
2017-04-25 05:18:29 +00:00
|
|
|
|
(define-public guile-sjson
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sjson")
|
2017-05-10 14:29:31 +00:00
|
|
|
|
(version "0.2.1")
|
2017-04-25 05:18:29 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://dustycloud.org/misc/sjson-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-10 14:29:31 +00:00
|
|
|
|
"1mzmapln79vv10qxaggz9qwcdbag3jnrj19xx8bgkmxss8h03sv3"))))
|
2017-04-25 05:18:29 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _ (zero? (system* "sh" "bootstrap.sh")))))))
|
|
|
|
|
(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 10:30:39 +00: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"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((system base compile)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:tests? #f ;No tests included
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;No configure script
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/2.2"))
|
|
|
|
|
(language-dir (string-append module-dir "/ice-9"))
|
|
|
|
|
(guild (string-append (assoc-ref inputs "guile")
|
|
|
|
|
"/bin/guild")))
|
|
|
|
|
;; The original 'make install' is too primitive.
|
|
|
|
|
|
|
|
|
|
;; copy the source
|
|
|
|
|
(install-file "ice-9/colorized.scm" language-dir)
|
|
|
|
|
|
|
|
|
|
;; compile to the destination
|
|
|
|
|
(compile-file "ice-9/colorized.scm"
|
|
|
|
|
#:output-file (string-append
|
|
|
|
|
language-dir "/colorized.go"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("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-05-15 09:22:04 +00:00
|
|
|
|
(define-public guile-simple-zmq
|
|
|
|
|
(let ((commit "d76657aeb1cd10ef8136edc06bb90999914c7c3c")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(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
|
|
|
|
|
"1w73dy5gpyv33jn34dqlkqpwh9w4y8wm6hgvbpb3wbp6xsa2mk4z"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(ice-9 match)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(guile (assoc-ref %build-inputs "guile"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append guile "/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(go-dir (string-append out "/lib/guile/"
|
|
|
|
|
effective "/site-ccache/"))
|
|
|
|
|
(source (string-append (assoc-ref %build-inputs "source")
|
|
|
|
|
"/src"))
|
|
|
|
|
(scm-file "simple-zmq.scm")
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild"))
|
|
|
|
|
(zmq (assoc-ref %build-inputs "zeromq"))
|
|
|
|
|
(deps (list zmq))
|
|
|
|
|
(path (string-join
|
|
|
|
|
(map (cut string-append <>
|
|
|
|
|
"/lib/")
|
|
|
|
|
deps)
|
|
|
|
|
":")))
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
(mkdir-p go-dir)
|
|
|
|
|
|
|
|
|
|
;; Compile .scm files and install.
|
|
|
|
|
(chdir source)
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let* ((dest-file (string-append module-dir "/"
|
|
|
|
|
file))
|
|
|
|
|
(go-file (match (string-split file #\.)
|
|
|
|
|
((base _)
|
|
|
|
|
(string-append go-dir "/"
|
|
|
|
|
base ".go")))))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(copy-file file dest-file)
|
|
|
|
|
(substitute* dest-file
|
|
|
|
|
(("\\(dynamic-link \"libzmq\"\\)")
|
|
|
|
|
(format #f "(dynamic-link \"~a/lib/libzmq.so\")"
|
|
|
|
|
(assoc-ref %build-inputs "zeromq"))))
|
|
|
|
|
|
|
|
|
|
;; Install and compile module.
|
|
|
|
|
(unless (zero? (system* guild "compile"
|
|
|
|
|
"-L" source
|
|
|
|
|
"-o" go-file
|
|
|
|
|
dest-file))
|
|
|
|
|
(error (format #f "Failed to compile ~s to ~s!"
|
|
|
|
|
file go-file)))))
|
|
|
|
|
(list scm-file))
|
|
|
|
|
#t))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile" ,guile-2.2)
|
|
|
|
|
("zeromq" ,zeromq)))
|
|
|
|
|
(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 11:33:15 +00:00
|
|
|
|
(define-public jupyter-guile-kernel
|
|
|
|
|
(let ((commit "a5c5f3ea3215b65e770bcb62f71117b0ec4575ed")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(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
|
|
|
|
|
"0y5jr0f0dyskvsawqbf6n0bpg8jirw4mhqbarf2a6p9lxhqha9s9"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(srfi srfi-26)
|
|
|
|
|
(ice-9 match)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(guile (assoc-ref %build-inputs "guile"))
|
|
|
|
|
(effective (read-line
|
|
|
|
|
(open-pipe* OPEN_READ
|
|
|
|
|
(string-append guile "/bin/guile")
|
|
|
|
|
"-c" "(display (effective-version))")))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/"
|
|
|
|
|
effective))
|
|
|
|
|
(kernel-dir (string-append out "/share/jupyter/kernels/guile"))
|
|
|
|
|
(go-dir (string-append out "/lib/guile/"
|
|
|
|
|
effective
|
|
|
|
|
"/site-ccache"))
|
|
|
|
|
(source (string-append (assoc-ref %build-inputs "source")
|
|
|
|
|
"/src"))
|
|
|
|
|
(scm-files '("hmac.scm"
|
|
|
|
|
"tools.scm"
|
|
|
|
|
"guile-jupyter-kernel.scm"))
|
|
|
|
|
(kernel-file "kernel.json")
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild"))
|
|
|
|
|
(g-szmq (assoc-ref %build-inputs "guile-simple-zmq"))
|
|
|
|
|
(json (assoc-ref %build-inputs "guile-json"))
|
|
|
|
|
(deps (list g-szmq json))
|
|
|
|
|
(path (string-join
|
|
|
|
|
(map (cut string-append <>
|
|
|
|
|
"/share/guile/site/"
|
|
|
|
|
effective)
|
|
|
|
|
deps)
|
|
|
|
|
":"))
|
|
|
|
|
(gopath (string-join
|
|
|
|
|
(map (cut string-append <>
|
|
|
|
|
"/lib/guile/" effective
|
|
|
|
|
"/site-ccache/")
|
|
|
|
|
deps)
|
|
|
|
|
":")))
|
|
|
|
|
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
(mkdir-p kernel-dir)
|
|
|
|
|
(mkdir-p go-dir)
|
|
|
|
|
|
|
|
|
|
;; Make a writable copy of SOURCE.
|
|
|
|
|
(copy-recursively source ".")
|
|
|
|
|
|
|
|
|
|
;; Record the absolute file name of the 'openssl' command.
|
|
|
|
|
(substitute* "hmac.scm"
|
|
|
|
|
(("openssl")
|
|
|
|
|
(string-append (assoc-ref %build-inputs "openssl")
|
|
|
|
|
"/bin/openssl")))
|
|
|
|
|
|
|
|
|
|
;; Compile .scm files and install.
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
(setenv "GUILE_LOAD_PATH" path)
|
|
|
|
|
(setenv "GUILE_LOAD_COMPILED_PATH" gopath)
|
|
|
|
|
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let* ((dest-file (string-append module-dir "/"
|
|
|
|
|
file))
|
|
|
|
|
(go-file (match (string-split file #\.)
|
|
|
|
|
((base _)
|
|
|
|
|
(string-append go-dir "/"
|
|
|
|
|
base ".go")))))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(copy-file file dest-file)
|
|
|
|
|
|
|
|
|
|
;; Install compiled module.
|
|
|
|
|
(unless (zero? (system* guild "compile"
|
|
|
|
|
"-L" source
|
|
|
|
|
"-o" go-file
|
|
|
|
|
file))
|
|
|
|
|
(error (format #f "Failed to compile ~s to ~s!"
|
|
|
|
|
file go-file)))))
|
|
|
|
|
scm-files)
|
|
|
|
|
|
|
|
|
|
;; Install kernel
|
|
|
|
|
(copy-file kernel-file (string-append kernel-dir "/"
|
|
|
|
|
kernel-file))
|
|
|
|
|
;; Fix hard-coded file name in the kernel
|
|
|
|
|
(substitute* (string-append kernel-dir "/"
|
|
|
|
|
kernel-file)
|
|
|
|
|
(("/home/jerry/.local/share/jupyter/kernels/guile/guile-jupyter-kernel.scm")
|
|
|
|
|
(string-append module-dir "/guile-jupyter-kernel.scm"))
|
|
|
|
|
(("\"guile\"")
|
|
|
|
|
(string-append "\"" (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guile\""))
|
|
|
|
|
(("-s")
|
|
|
|
|
(string-append "--no-auto-compile\", \"-s")))
|
|
|
|
|
|
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
|
|
|
|
("guile" ,guile-2.2)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-json" ,guile-json)
|
|
|
|
|
("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+))))
|
|
|
|
|
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 20:17:41 +00:00
|
|
|
|
;;; guile.scm ends here
|