2013-01-06 00:47:50 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-04 15:14:33 +01:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
2014-12-31 10:48:46 +01:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2017-01-08 22:46:34 +01:00
|
|
|
|
;;; Copyright © 2015, 2017 Christopher Allan Webber <cwebber@dustycloud.org>
|
2016-02-14 19:23:24 +01:00
|
|
|
|
;;; Copyright © 2016 Alex Sassmannshausen <alex@pompo.co>
|
2017-01-15 21:59:48 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2016-04-20 22:22:36 +02:00
|
|
|
|
;;; Copyright © 2016 Erik Edrosa <erik.edrosa@gmail.com>
|
2016-05-10 06:21:58 +02:00
|
|
|
|
;;; Copyright © 2016 Eraim Flashner <efraim@flashner.co.il>
|
2017-04-16 10:33:18 +02:00
|
|
|
|
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
2016-10-17 14:47:21 +02:00
|
|
|
|
;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
|
2016-10-09 12:31:20 +02:00
|
|
|
|
;;; Copyright © 2016 Amirouche <amirouche@hypermove.net>
|
2017-01-08 22:46:34 +01:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2017-02-21 11:20:02 +01:00
|
|
|
|
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
2017-04-14 10:27:43 +02:00
|
|
|
|
;;; Copyright © 2017 David Thompson <davet@gnu.org>
|
2017-04-28 13:45:13 +02:00
|
|
|
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
distro: Add the `guile', `typesetting', and `databases' package modules.
* distro.scm (package-files): Adjust PREFIX-LEN to use the top-level
directory, not %DISTRO-MODULE-DIRECTORY.
* distro/packages/base.scm (guile-reader, guile-reader/guile-1.8,
guile-reader/guile-2.0, lout, recutils): Move to...
* distro/packages/guile.scm, distro/packages/typesetting.scm,
distro/packages/databases.scm: ... here. New files.
* Makefile.am (MODULES): Add them.
(EXTRA_DIST): Add `.dir-locals.el'.
* .dir-locals.el: New file, with settings formerly in `base.scm'.
2012-09-26 22:17:41 +02:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01: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 22:17:41 +02:00
|
|
|
|
;;;
|
2013-01-06 00:47:50 +01: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 22:17:41 +02: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-06 00:47:50 +01: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 22:17:41 +02: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-06 00:47:50 +01: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 22:17:41 +02:00
|
|
|
|
|
2013-01-18 01:06:24 +01:00
|
|
|
|
(define-module (gnu packages guile)
|
2017-02-11 19:23:56 +01:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-18 01:06:47 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2017-05-10 08:36:40 +02:00
|
|
|
|
#:use-module (gnu packages admin) ;;for tree
|
2016-11-11 00:22:50 +01:00
|
|
|
|
#:use-module (gnu packages aspell)
|
2013-05-26 23:45:59 +02:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages bdw-gc)
|
|
|
|
|
#:use-module (gnu packages gawk)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
|
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-05-10 16:29:54 +02:00
|
|
|
|
#:use-module (gnu packages flex)
|
2013-01-18 01:06:24 +01:00
|
|
|
|
#:use-module (gnu packages libunistring)
|
2015-11-08 19:06:10 +01:00
|
|
|
|
#:use-module (gnu packages linux)
|
2013-01-18 01:06:24 +01: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 14:00:46 +01:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2013-02-08 00:15:48 +01: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 17:21:21 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-05-10 16:29:54 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2016-06-27 09:30:01 +02:00
|
|
|
|
#:use-module (gnu packages man)
|
2015-05-10 16:29:54 +02:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2015-10-29 16:48:32 +01:00
|
|
|
|
#:use-module (gnu packages databases)
|
2015-09-18 23:58:31 +02:00
|
|
|
|
#:use-module (gnu packages python)
|
2015-11-14 00:07:21 +01:00
|
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
|
#:use-module (gnu packages sdl)
|
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages image)
|
2017-02-11 21:52:00 +01:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2016-07-22 10:10:11 +02:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
2017-01-15 21:59:48 +01:00
|
|
|
|
#:use-module (gnu packages zip)
|
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 22:17:41 +02: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-13 00:22:44 +01:00
|
|
|
|
#:use-module (guix download)
|
2015-04-22 05:40:15 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2014-01-22 23:45:44 +01:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-22 05:40:15 +02:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2014-01-22 23:45:44 +01:00
|
|
|
|
#:use-module (guix utils)
|
|
|
|
|
#:use-module (ice-9 match))
|
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 22:17:41 +02: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 22:37:22 +01: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 22:17:41 +02: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 22:37:22 +01: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-13 00:22:44 +01: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 23:34:03 +01: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 22:37:22 +01: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-09 00:09:04 +02:00
|
|
|
|
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
|
2016-04-08 14:18:13 +02: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 22:37:22 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--disable-error-on-warning")
|
|
|
|
|
|
|
|
|
|
;; Insert a phase before `configure' to patch things up.
|
|
|
|
|
#:phases (alist-cons-before
|
|
|
|
|
'configure
|
2013-02-08 00:15:26 +01:00
|
|
|
|
'patch-stuff
|
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 22:37:22 +01:00
|
|
|
|
(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"
|
2013-02-08 00:15:26 +01:00
|
|
|
|
(("lt_dlinit.*$" match)
|
|
|
|
|
(format #f
|
|
|
|
|
" ~a~% lt_dladdsearchdir(\"~a/lib\");~%"
|
|
|
|
|
match
|
|
|
|
|
(assoc-ref outputs "out"))))
|
|
|
|
|
|
|
|
|
|
;; The usual /bin/sh...
|
|
|
|
|
(substitute* "ice-9/popen.scm"
|
|
|
|
|
(("/bin/sh") (which "sh"))))
|
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 22:37:22 +01:00
|
|
|
|
%standard-phases)))
|
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-09 00:09:04 +02: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 22:37:22 +01:00
|
|
|
|
("readline" ,readline)))
|
|
|
|
|
|
|
|
|
|
;; Since `guile-1.8.pc' has "Libs: ... -lgmp -lltdl", these must be
|
|
|
|
|
;; propagated.
|
|
|
|
|
(propagated-inputs `(("gmp" ,gmp)
|
2015-01-06 23:14:59 +01: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 22:37:22 +01:00
|
|
|
|
|
|
|
|
|
;; When cross-compiling, a native version of Guile itself is needed.
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-03-30 22:50:45 +01: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 23:22:08 +01:00
|
|
|
|
(files '("share/guile/site")))))
|
2013-03-30 22:50:45 +01: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 18:04:25 +02: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 22:37:22 +01: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 16:14:23 +02: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-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 19:23:56 +01: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 22:37:22 +01:00
|
|
|
|
|
|
|
|
|
(define-public guile-2.0
|
|
|
|
|
(package
|
|
|
|
|
(name "guile")
|
2017-02-14 00:08:42 +01: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 22:37:22 +01: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-13 00:22:44 +01: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 23:34:03 +01: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 22:37:22 +01:00
|
|
|
|
".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-14 00:08:42 +01: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 22:37:22 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)))
|
|
|
|
|
(inputs `(("libffi" ,libffi)
|
2013-05-26 23:45:59 +02:00
|
|
|
|
("readline" ,readline)
|
2016-04-24 14:06:56 +02:00
|
|
|
|
,@(libiconv-if-needed)
|
|
|
|
|
,@(if (target-mingw?) '() `(("bash" ,bash)))))
|
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 22:37:22 +01: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 23:14:59 +01: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 22:37:22 +01:00
|
|
|
|
|
|
|
|
|
;; The headers and/or `guile-2.0.pc' refer to these packages, so they
|
|
|
|
|
;; must be propagated.
|
2014-03-18 15:14:02 +01: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 22:37:22 +01:00
|
|
|
|
("gmp" ,gmp)))
|
|
|
|
|
|
|
|
|
|
(self-native-input? #t)
|
|
|
|
|
|
2013-07-03 23:55:04 +02:00
|
|
|
|
(outputs '("out" "debug"))
|
|
|
|
|
|
2012-12-20 23:07:46 +01:00
|
|
|
|
(arguments
|
2016-05-02 17:55:17 +02:00
|
|
|
|
`(#:configure-flags '("--disable-static") ;saves 3MiB
|
|
|
|
|
#:phases (alist-cons-before
|
2012-12-20 23:07:46 +01:00
|
|
|
|
'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2013-05-27 22:48:57 +02:00
|
|
|
|
;; Tell (ice-9 popen) the file name of Bash.
|
2012-12-20 23:07:46 +01:00
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
(substitute* "module/ice-9/popen.scm"
|
2016-04-24 14:06:56 +02: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 23:07:46 +01:00
|
|
|
|
(("/bin/sh")
|
2016-04-24 14:06:56 +02:00
|
|
|
|
,@(if (target-mingw?)
|
|
|
|
|
'((if bash
|
|
|
|
|
(string-append bash "/bin/bash")
|
|
|
|
|
"bash"))
|
|
|
|
|
'((string-append bash "/bin/bash")))))))
|
2013-12-17 20:33:26 +01:00
|
|
|
|
%standard-phases)))
|
2012-12-20 23:07:46 +01:00
|
|
|
|
|
2013-03-30 22:50:45 +01: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 23:22:08 +01:00
|
|
|
|
(files '("share/guile/site/2.0")))
|
2013-03-30 22:50:45 +01:00
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "GUILE_LOAD_COMPILED_PATH")
|
2016-06-29 09:51:26 +02:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2015-12-22 22:29:34 +01:00
|
|
|
|
"share/guile/site/2.0")))))
|
2013-03-30 22:50:45 +01: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 18:04:25 +02: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 22:37:22 +01: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 16:14:23 +02: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-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/guile/")
|
2017-02-11 19:23:56 +01: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 22:37:22 +01:00
|
|
|
|
|
2012-11-30 21:37:41 +01:00
|
|
|
|
(define-public guile-2.0/fixed
|
|
|
|
|
;; A package of Guile 2.0 that's rarely changed. It is the one used
|
|
|
|
|
;; in the `base' module, and thus changing it entails a full rebuild.
|
2016-10-13 23:05:45 +02:00
|
|
|
|
(package
|
|
|
|
|
(inherit guile-2.0)
|
|
|
|
|
(properties '((hidden? . #t))) ;people should install 'guile-2.0'
|
|
|
|
|
(replacement #f)))
|
|
|
|
|
|
2017-03-19 17:30:44 +01:00
|
|
|
|
(define-public guile-2.2
|
2015-05-10 16:29:54 +02:00
|
|
|
|
(package (inherit guile-2.0)
|
2017-03-19 17:30:44 +01:00
|
|
|
|
(name "guile")
|
2017-04-21 16:56:45 +02:00
|
|
|
|
(version "2.2.2")
|
2016-10-13 23:05:45 +02:00
|
|
|
|
(replacement #f)
|
2015-11-29 17:37:00 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-03-15 22:58:35 +01:00
|
|
|
|
(uri (string-append "mirror://gnu/guile/guile-" version
|
|
|
|
|
".tar.lz"))
|
2015-11-29 17:37:00 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-21 16:56:45 +02:00
|
|
|
|
"1dnh75h4rkx1zflpsngznkwcd6afn6zrc5x3xq7n946pm5bnx5bq"))
|
2016-02-06 21:43:57 +01: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 08:48:38 +01:00
|
|
|
|
(properties '((timeout . 72000) ;20 hours
|
2017-06-08 01:13:59 +02:00
|
|
|
|
(max-silent-time . 21600))) ;6 hours (needed on ARM
|
|
|
|
|
; when heavily loaded)
|
2016-02-13 06:08:22 +01: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 11:03:13 +02:00
|
|
|
|
(files '("lib/guile/2.2/site-ccache"
|
2016-02-13 06:08:22 +01:00
|
|
|
|
"share/guile/site/2.2")))))))
|
2015-11-29 17:37:00 +01:00
|
|
|
|
|
2017-03-22 09:47:42 +01:00
|
|
|
|
(define-public guile-next
|
|
|
|
|
(deprecated-package "guile-next" guile-2.2))
|
|
|
|
|
|
2017-03-19 17:37:49 +01: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 18:39:44 +02:00
|
|
|
|
|
|
|
|
|
(define package-for-guile-2.2
|
|
|
|
|
;; A procedure that rewrites the dependency tree of the given package to use
|
2017-03-19 17:30:44 +01:00
|
|
|
|
;; GUILE-2.2 instead of GUILE-2.0.
|
|
|
|
|
(package-input-rewriting `((,guile-2.0 . ,guile-2.2))
|
2017-03-19 17:37:49 +01: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 18:39:44 +02:00
|
|
|
|
|
2015-11-29 17:37:00 +01:00
|
|
|
|
(define-public guile-for-guile-emacs
|
2017-03-19 17:30:44 +01:00
|
|
|
|
(package (inherit guile-2.2)
|
2015-11-29 17:37:00 +01:00
|
|
|
|
(name "guile-for-guile-emacs")
|
|
|
|
|
(version "20150510.d8d9a8d")
|
2015-05-10 16:29:54 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2015-11-29 17:37:00 +01:00
|
|
|
|
(url "git://git.hcoop.net/git/bpt/guile.git")
|
|
|
|
|
(commit "d8d9a8da05ec876acba81a559798eb5eeceb5a17")))
|
2015-05-10 16:29:54 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-11-29 17:37:00 +01:00
|
|
|
|
"00sprsshy16y8pxjy126hr2adqcvvzzz96hjyjwgg8swva1qh6b0"))))
|
2015-05-10 16:29:54 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments `(;; Tests aren't passing for now.
|
|
|
|
|
;; Obviously we should re-enable this!
|
|
|
|
|
#:tests? #f
|
2017-03-19 17:30:44 +01:00
|
|
|
|
,@(package-arguments guile-2.2))
|
2015-05-10 16:29:54 +02: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 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2017-03-19 17:30:44 +01:00
|
|
|
|
,@(package-native-inputs guile-2.2)))
|
2016-02-28 20:42:13 +01: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 11:03:13 +02:00
|
|
|
|
(files '("lib/guile/2.0/site-ccache"
|
2016-02-28 20:42:13 +01:00
|
|
|
|
"share/guile/site/2.0")))))))
|
2015-09-16 22:49:06 +02:00
|
|
|
|
|
2017-01-15 21:59:48 +01: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))
|
|
|
|
|
(add-before 'configure 'autogen
|
|
|
|
|
(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 22:37:22 +01:00
|
|
|
|
|
|
|
|
|
;;;
|
|
|
|
|
;;; Extensions.
|
|
|
|
|
;;;
|
|
|
|
|
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(define-public artanis
|
|
|
|
|
(package
|
|
|
|
|
(name "artanis")
|
2017-06-08 23:54:56 +02:00
|
|
|
|
(version "0.2.1")
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "ftp://alpha.gnu.org/gnu/artanis/artanis-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-06-08 23:54:56 +02:00
|
|
|
|
"041ajcg2pz918kd9iqcj4inpzddc3impvz3r2nhlpbv8zrz011hn"))))
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; TODO: Add guile-dbi and guile-dbd optional dependencies.
|
2017-06-08 23:54:56 +02:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(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"))
|
2017-06-08 23:54:56 +02:00
|
|
|
|
(scm (string-append out "/share/guile/site/2.2"))
|
|
|
|
|
(go (string-append out "/lib/guile/2.2/site-ccache")))
|
2015-11-08 19:06:10 +01:00
|
|
|
|
;; Don't use (%site-dir) for site paths.
|
2017-06-08 23:54:56 +02:00
|
|
|
|
(list (string-append "MOD_PATH=" scm)
|
|
|
|
|
(string-append "MOD_COMPILED_PATH=" go)))
|
2015-11-08 19:06:10 +01:00
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-06-08 23:54:56 +02:00
|
|
|
|
(add-before 'install 'substitute-root-dir
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(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
|
2017-06-08 23:54:56 +02:00
|
|
|
|
#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))))))
|
2015-11-08 19:06:10 +01:00
|
|
|
|
(synopsis "Web application framework written in Guile")
|
|
|
|
|
(description "GNU Artanis is a web application framework written in Guile
|
|
|
|
|
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.")
|
|
|
|
|
(home-page "https://www.gnu.org/software/artanis/")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license (list license:gpl3+ license:lgpl3+)))) ;dual license
|
2015-11-08 19:06:10 +01:00
|
|
|
|
|
2015-03-02 21:40:53 +01: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 22:17:41 +02:00
|
|
|
|
(package
|
2015-03-02 21:40:53 +01:00
|
|
|
|
(name "guile-reader")
|
2017-03-08 17:46:31 +01:00
|
|
|
|
(version "0.6.2")
|
2015-03-02 21:40:53 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-reader/guile-reader-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-08 17:46:31 +01:00
|
|
|
|
"0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx"))))
|
2015-03-02 21:40:53 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)
|
2017-03-29 22:29:49 +02:00
|
|
|
|
("gperf" ,gperf-3.0)))
|
2017-03-19 18:04:37 +01:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)))
|
2015-03-02 21:40:53 +01: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 22:17:41 +02: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 06:46:59 +02: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 22:17:41 +02: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 06:46:59 +02: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 22:17:41 +02: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).")
|
2015-03-02 21:40:53 +01:00
|
|
|
|
(home-page "http://www.nongnu.org/guile-reader/")
|
2017-02-11 19:23:56 +01: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 22:17:41 +02:00
|
|
|
|
|
2017-03-19 18:04:37 +01:00
|
|
|
|
(define-public guile2.0-reader
|
|
|
|
|
(package-for-guile-2.0 guile-reader))
|
2017-03-08 17:48:27 +01:00
|
|
|
|
(define-public guile2.2-reader
|
2017-03-19 18:04:37 +01:00
|
|
|
|
(deprecated-package "guile2.2-reader" guile-reader))
|
2017-03-08 17:48:27 +01:00
|
|
|
|
|
2013-02-04 14:00:46 +01:00
|
|
|
|
(define-public guile-ncurses
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ncurses")
|
2017-04-10 15:00:27 +02:00
|
|
|
|
(version "2.2")
|
2013-02-04 14:00:46 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/guile-ncurses/guile-ncurses-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-10 15:00:27 +02:00
|
|
|
|
"1wvggbr4xv8idh1hzd8caj4xfp4pln78a7w1wqzd4zgzwmnzxr2f"))))
|
2013-02-04 14:00:46 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
2017-04-10 15:03:07 +02:00
|
|
|
|
("guile" ,guile-2.2)))
|
2016-10-22 17:17:34 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2013-02-04 14:00:46 +01:00
|
|
|
|
(arguments
|
2014-04-29 18:05:52 +02:00
|
|
|
|
'(#:configure-flags (list "--with-ncursesw" ; Unicode support
|
2016-10-22 17:17:34 +02:00
|
|
|
|
"--with-gnu-filesystem-hierarchy")
|
2016-05-10 06:41:27 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2016-12-19 14:03:40 +01:00
|
|
|
|
(add-before 'build 'fix-libguile-ncurses-file-name
|
2016-05-10 06:41:27 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2016-12-19 14:03:40 +01: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 15:03:07 +02:00
|
|
|
|
(format #f "\"~a/lib/guile/2.2/libguile-ncurses\""
|
2016-12-19 14:03:40 +01:00
|
|
|
|
out)))
|
|
|
|
|
#t)))))))
|
2016-11-13 21:02:05 +01: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 18:04:25 +02:00
|
|
|
|
(synopsis "Guile bindings to ncurses")
|
2013-02-04 14:00:46 +01:00
|
|
|
|
(description
|
2014-11-05 23:23:38 +01:00
|
|
|
|
"guile-ncurses provides Guile language bindings for the ncurses
|
2013-12-01 22:33:23 +01:00
|
|
|
|
library.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2013-02-04 14:00:46 +01:00
|
|
|
|
|
2013-02-08 00:15:48 +01:00
|
|
|
|
(define-public mcron
|
|
|
|
|
(package
|
|
|
|
|
(name "mcron")
|
2014-06-25 11:23:00 +02:00
|
|
|
|
(version "1.0.8")
|
2013-02-08 00:15:48 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/mcron/mcron-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-06-25 11:23:00 +02:00
|
|
|
|
"0zparwgf01jgl1x53ik71ghabldq6zz18ha4dscps1i0qrzgap1b"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "mcron-install.patch"))))
|
2013-02-08 00:15:48 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2014-04-28 23:52:13 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs `(("ed" ,ed) ("which" ,which) ("guile" ,guile-2.0)))
|
2017-03-30 00:48:16 +02: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 18:04:25 +02:00
|
|
|
|
(synopsis "Run jobs at scheduled times")
|
2013-02-08 00:15:48 +01:00
|
|
|
|
(description
|
2013-12-01 22:33:23 +01: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 16:14:23 +02:00
|
|
|
|
tasks on a schedule, such as every hour or every Monday. Mcron is written in
|
2013-12-01 22:33:23 +01:00
|
|
|
|
Guile, so its configuration can be written in Scheme; the original cron
|
|
|
|
|
format is also supported.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2013-02-08 00:15:48 +01:00
|
|
|
|
|
2016-06-27 09:30:01 +02:00
|
|
|
|
(define-public mcron2
|
|
|
|
|
;; This is mthl's mcron development branch, not yet merged in mcron.
|
|
|
|
|
(let ((commit "31baff1a5187d8ddc89324cbe42dbeffc309c962"))
|
|
|
|
|
(package
|
|
|
|
|
(inherit mcron)
|
|
|
|
|
(name "mcron2")
|
|
|
|
|
(version (string-append (package-version mcron) "-0."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://notabug.org/mthl/mcron/")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h5wxy997hxi718hpx419c23q09939kbxrjbbq54lv0cgw1bb63z"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("help2man" ,help2man)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((ice-9 match) (ice-9 ftw)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi"))))
|
|
|
|
|
(add-after 'install 'wrap-mcron
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Wrap the 'mcron' 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)
|
|
|
|
|
(let ((modules (string-append site "/" version)))
|
|
|
|
|
(wrap-program (string-append bin "/mcron")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix
|
|
|
|
|
(,modules))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
|
|
|
|
|
(,modules)))
|
|
|
|
|
#t))))))))))))
|
|
|
|
|
|
2017-01-07 12:24:39 +01:00
|
|
|
|
(define-public guile-ics
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-ics")
|
|
|
|
|
(version "0.1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/artyom-poptsov/guile-ics")
|
|
|
|
|
(commit "v0.1.1")))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1pvg6j48inpbq47hq00yh5hhl2qd2srvrx5yjl7w7ky1jsjadp86"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Repository comes with a broken symlink
|
|
|
|
|
(delete-file "README")
|
|
|
|
|
(symlink "README.org" "README")
|
|
|
|
|
(zero? (system* "autoreconf" "-fi")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,(autoconf-wrapper))
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs `(("guile" ,guile-2.0) ("which" ,which)))
|
|
|
|
|
(propagated-inputs `(("guile-lib" ,guile-lib)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2017-01-07 12:24:39 +01:00
|
|
|
|
|
2013-08-26 16:04:15 +02:00
|
|
|
|
(define-public guile-lib
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-lib")
|
2017-03-05 07:10:41 +01:00
|
|
|
|
(version "0.2.5")
|
2013-08-26 16:04:15 +02:00
|
|
|
|
(source (origin
|
2017-03-05 07:10:41 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-lib/guile-lib-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qbk485djgxqrbfjvk4b7w7y4x9xygf2qb8dqnl7885kajasx8qg"))))
|
2013-08-26 16:04:15 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-05 07:10:41 +01: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 22:04:27 +02:00
|
|
|
|
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
|
2017-03-05 07:10:41 +01:00
|
|
|
|
#t)))))
|
2016-10-17 22:04:27 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2013-08-26 16:04:15 +02:00
|
|
|
|
(inputs `(("guile" ,guile-2.0)))
|
|
|
|
|
(home-page "http://www.nongnu.org/guile-lib/")
|
|
|
|
|
(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 06:46:59 +02:00
|
|
|
|
"Guile-Lib is intended as an accumulation place for pure-scheme Guile
|
2013-08-26 16:04:15 +02: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2013-08-26 16:04:15 +02:00
|
|
|
|
|
2017-03-13 21:50:39 +01:00
|
|
|
|
(define-public guile2.2-lib
|
|
|
|
|
(package-for-guile-2.2 guile-lib))
|
|
|
|
|
|
2014-03-31 20:18:52 +02:00
|
|
|
|
(define-public guile-json
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-json")
|
2017-01-17 15:16:42 +01:00
|
|
|
|
(version "0.6.0")
|
2014-03-31 20:18:52 +02:00
|
|
|
|
(source (origin
|
2016-09-07 18:27:11 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/guile-json/guile-json-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-17 15:16:42 +01:00
|
|
|
|
"1qmjg7lbgciw95fkdzvlp9f68vv17kdjky42ywfzd4ffzwww0lgc"))
|
2016-09-07 18:27:11 +02: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 20:18:52 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-05-13 21:49:01 +02:00
|
|
|
|
(native-inputs `(("guile" ,guile-2.2)))
|
2014-03-31 20:18:52 +02:00
|
|
|
|
(home-page "http://savannah.nongnu.org/projects/guile-json/")
|
|
|
|
|
(synopsis "JSON module for Guile")
|
|
|
|
|
(description
|
2017-02-02 11:34:48 +01: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 19:23:56 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2014-03-31 20:18:52 +02:00
|
|
|
|
|
2016-09-07 18:39:44 +02:00
|
|
|
|
(define-public guile2.2-json
|
2017-05-13 21:49:01 +02:00
|
|
|
|
(deprecated-package "guile2.2-json" guile-json))
|
|
|
|
|
|
|
|
|
|
(define-public guile2.0-json
|
|
|
|
|
(package-for-guile-2.0 guile-json))
|
2016-09-07 18:39:44 +02:00
|
|
|
|
|
2015-04-22 05:40:15 +02: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 10:50:55 +01:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-04-22 05:40:15 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0r50jlpzi940jlmxyy3ddqqwmj5r12gb4bcv0ssini9v8km13xz6"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
2016-09-07 18:16:49 +02:00
|
|
|
|
`(#:modules ((guix build utils))
|
2015-04-22 05:40:15 +02:00
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
2016-09-07 18:16:49 +02:00
|
|
|
|
(ice-9 match)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 rdelim))
|
|
|
|
|
|
2015-04-22 05:40:15 +02:00
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
2016-09-07 18:16:49 +02: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 05:40:15 +02:00
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
2015-07-22 01:27:31 +02:00
|
|
|
|
(doc (string-append out "/share/doc/guile-minikanren"))
|
2015-04-22 05:40:15 +02: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 22:22:36 +02:00
|
|
|
|
file))
|
2015-04-22 05:40:15 +02: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 22:22:22 +02:00
|
|
|
|
(install-file "README.org" doc)
|
2015-04-22 05:40:15 +02:00
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(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 14:16:07 +02:00
|
|
|
|
(synopsis "MiniKanren declarative logic system, packaged for Guile")
|
2015-04-22 05:40:15 +02: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 14:16:07 +02:00
|
|
|
|
This is Ian Price's r6rs packaged version of miniKanren, which deviates
|
2015-04-22 05:40:15 +02:00
|
|
|
|
slightly from miniKanren mainline.
|
|
|
|
|
|
|
|
|
|
See http://minikanren.org/ for more on miniKanren generally.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:expat)))
|
2015-04-22 05:40:15 +02:00
|
|
|
|
|
2016-09-07 18:39:44 +02:00
|
|
|
|
(define-public guile2.2-minikanren
|
|
|
|
|
(package-for-guile-2.2 guile-minikanren))
|
|
|
|
|
|
2017-05-10 08:36:40 +02: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 19:20:03 +01:00
|
|
|
|
(define-public guile-irregex
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-irregex")
|
2016-12-16 00:39:20 +01:00
|
|
|
|
(version "0.9.6")
|
2015-11-05 19:20:03 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://synthcode.com/scheme/irregex/irregex-"
|
2016-05-16 13:18:21 +02:00
|
|
|
|
version ".tar.gz"))
|
2015-11-05 19:20:03 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-16 00:39:20 +01:00
|
|
|
|
"1ia3m7dp3lcxa048q0gqbiwwsyvn99baw6xkhb4bhhzn4k7bwyqq"))))
|
2015-11-05 19:20:03 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
|
(ice-9 match)
|
2016-09-07 18:11:30 +02:00
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen)
|
2015-11-05 19:20:03 +01: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 18:11:30 +02: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 19:20:03 +01:00
|
|
|
|
module-dir dest-file-basis
|
2016-09-07 18:11:30 +02: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 19:20:03 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:bsd-3)))
|
2015-05-31 20:38:21 +02:00
|
|
|
|
|
2016-09-07 18:39:44 +02:00
|
|
|
|
(define-public guile2.2-irregex
|
|
|
|
|
(package-for-guile-2.2 guile-irregex))
|
|
|
|
|
|
2015-05-31 20:38:21 +02: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 10:50:55 +01:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-05-31 20:38:21 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1j8wrsw7v9w6qkl47xz0rdikg50v16nn6kbs3lgzcymjzpa7babj"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules
|
|
|
|
|
((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
2017-02-11 02:24:57 +01:00
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(ice-9 popen))
|
|
|
|
|
|
|
|
|
|
;; Avoid warnings we can safely ignore
|
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
2015-05-31 20:38:21 +02:00
|
|
|
|
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
2017-02-11 02:24:57 +01: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 20:38:21 +02: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 02:24:57 +01: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 20:38:21 +02:00
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
|
|
|
|
|
;; Switch directory for compiling and installing
|
|
|
|
|
(chdir source)
|
|
|
|
|
|
|
|
|
|
;; 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 02:24:57 +01:00
|
|
|
|
(compile-file gdbm.scm-dest gdbm.go-dest)))))
|
2015-05-31 20:38:21 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-05-31 20:38:21 +02:00
|
|
|
|
|
2017-02-10 19:42:12 +01:00
|
|
|
|
(define-public guile2.2-gdbm-ffi
|
|
|
|
|
(package-for-guile-2.2 guile-gdbm-ffi))
|
2015-05-31 20:38:21 +02:00
|
|
|
|
|
2016-06-18 15:09:08 +02:00
|
|
|
|
(define-public guile-sqlite3
|
|
|
|
|
(let ((commit "607721fe1174a299e45d457acacf94eefb964071"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sqlite3")
|
2017-05-10 15:58:22 +02:00
|
|
|
|
(version (string-append "0.0-1." (string-take commit 7)))
|
2016-06-18 15:09:08 +02:00
|
|
|
|
|
2017-01-16 23:26:35 +01: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 15:09:08 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"09gaffhh5rawz5kdmqx2ahvj1ngvxddp469r18bmjz3sz8p0slj2"))
|
|
|
|
|
(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 15:58:22 +02:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2016-06-18 15:09:08 +02:00
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'autoreconf
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+))))
|
2016-06-18 15:09:08 +02:00
|
|
|
|
|
2015-08-08 16:06:39 +02:00
|
|
|
|
(define-public haunt
|
|
|
|
|
(package
|
|
|
|
|
(name "haunt")
|
2017-01-24 14:55:12 +01:00
|
|
|
|
(version "0.2.1")
|
2015-08-08 16:06:39 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-24 20:01:15 +02:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/haunt/haunt-"
|
2015-08-08 16:06:39 +02:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-24 14:55:12 +01:00
|
|
|
|
"1fpaf1vm6s7j13fs35barjh5yajcc2rc3pi8r7278wpgp4i2vs3w"))))
|
2015-08-08 16:06:39 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-02-10 15:13:21 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((ice-9 match) (ice-9 ftw)
|
|
|
|
|
,@%gnu-build-system-modules)
|
2017-03-27 20:18:17 +02:00
|
|
|
|
#:tests? #f ; test suite is non-deterministic :(
|
2016-02-10 15:13:21 +01: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)
|
|
|
|
|
(let ((modules (string-append site "/" version)))
|
|
|
|
|
(wrap-program (string-append bin "/haunt")
|
|
|
|
|
`("GUILE_LOAD_PATH" ":" prefix
|
|
|
|
|
(,modules))
|
|
|
|
|
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
|
|
|
|
|
(,modules)))
|
|
|
|
|
#t)))))))))
|
2016-04-24 20:01:15 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
2015-08-08 16:06:39 +02:00
|
|
|
|
(inputs
|
2017-03-19 18:00:43 +01:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-04-24 20:01:15 +02:00
|
|
|
|
(propagated-inputs
|
2017-01-24 14:55:12 +01:00
|
|
|
|
`(("guile-reader" ,guile-reader)
|
|
|
|
|
("guile-commonmark" ,guile-commonmark)))
|
2015-08-08 16:06:39 +02: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-08-08 16:06:39 +02:00
|
|
|
|
|
2017-03-19 18:00:43 +01:00
|
|
|
|
(define-public guile2.0-haunt
|
|
|
|
|
(package-for-guile-2.0
|
|
|
|
|
(package (inherit haunt) (name "guile2.0-haunt"))))
|
2017-03-08 21:30:26 +01:00
|
|
|
|
(define-public guile2.2-haunt
|
2017-03-19 18:00:43 +01:00
|
|
|
|
(deprecated-package "guile2.2-haunt" haunt))
|
2017-03-08 21:30:26 +01:00
|
|
|
|
|
2016-02-14 19:23:24 +01:00
|
|
|
|
(define-public guile-config
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-config")
|
2016-02-18 10:24:52 +01:00
|
|
|
|
(version "0.1.1")
|
2016-02-14 19:23:24 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://alex.pompo.co/software/" name "-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-02-18 10:24:52 +01:00
|
|
|
|
"1b719bn192f9wg24rr0zx8jpmygsvyhfi35iy778pb5p392snrn8"))))
|
2016-02-14 19:23:24 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(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")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:agpl3+)))
|
2016-02-14 19:23:24 +01:00
|
|
|
|
|
2015-08-09 16:37:55 +02: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 15:05:07 +02:00
|
|
|
|
;; Make sure everything goes under .../site/X.Y, like Guile's
|
2015-08-09 16:37:55 +02:00
|
|
|
|
;; search paths expects.
|
2016-09-13 15:05:07 +02: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 16:37:55 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(home-page "http://savannah.nongnu.org/projects/guile-redis/")
|
|
|
|
|
(synopsis "Redis client library for Guile")
|
|
|
|
|
(description "Guile-redis provides a Scheme interface to the Redis
|
|
|
|
|
key-value cache and store.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2015-08-09 16:37:55 +02:00
|
|
|
|
|
2016-09-13 15:09:23 +02:00
|
|
|
|
(define-public guile2.2-redis
|
|
|
|
|
(package-for-guile-2.2 guile-redis))
|
|
|
|
|
|
2015-09-18 23:58:31 +02:00
|
|
|
|
(define-public guile-wisp
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-wisp")
|
|
|
|
|
(version "0.9.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/ArneBab/"
|
|
|
|
|
"wisp/downloads/wisp-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0y5fxacalkgbv9s71h58vdvm2h2ln3rk024dd0vszwcf953as5fq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((system base compile)
|
|
|
|
|
,@%gnu-build-system-modules)
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'substitute-before-config
|
|
|
|
|
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((bash (assoc-ref inputs "bash")))
|
|
|
|
|
;; configure checks for guile-2.0, but ours is just named "guile" :)
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("guile-2.0") "guile"))
|
|
|
|
|
;; Puts together some test files with /bin/bash hardcoded
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("/bin/bash")
|
|
|
|
|
(string-append bash "/bin/bash") ))
|
|
|
|
|
#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))
|
|
|
|
|
(replace
|
|
|
|
|
'install
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(module-dir (string-append out "/share/guile/site/2.0"))
|
|
|
|
|
(language-dir
|
|
|
|
|
(string-append module-dir "/language/wisp"))
|
|
|
|
|
(guild (string-append (assoc-ref inputs "guile")
|
|
|
|
|
"/bin/guild")))
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(mkdir-p module-dir)
|
|
|
|
|
(mkdir-p language-dir)
|
|
|
|
|
|
|
|
|
|
;; copy the source
|
|
|
|
|
(copy-file "wisp-scheme.scm"
|
|
|
|
|
(string-append module-dir "/wisp-scheme.scm"))
|
|
|
|
|
(copy-file "language/wisp/spec.scm"
|
|
|
|
|
(string-append language-dir "/spec.scm"))
|
|
|
|
|
|
|
|
|
|
;; compile to the destination
|
|
|
|
|
(compile-file "wisp-scheme.scm"
|
|
|
|
|
#:output-file (string-append
|
|
|
|
|
module-dir "/wisp-scheme.go"))
|
|
|
|
|
(compile-file "language/wisp/spec.scm"
|
|
|
|
|
#:output-file (string-append
|
|
|
|
|
language-dir "/spec.go"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "http://draketo.de/english/wisp")
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.0)
|
|
|
|
|
("python" ,python)))
|
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 15:50:36 +01:00
|
|
|
|
(synopsis "Whitespace to lisp syntax for Guile")
|
|
|
|
|
(description "Wisp is a syntax for Guile which provides a Python-like
|
2015-09-18 23:58:31 +02:00
|
|
|
|
whitespace-significant language. It may be easier on the eyes for some
|
|
|
|
|
users and in some situations.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-09-18 23:58:31 +02:00
|
|
|
|
|
2015-11-14 00:07:21 +01:00
|
|
|
|
(define-public guile-sly
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sly")
|
|
|
|
|
(version "0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-08 23:30:42 +01:00
|
|
|
|
(uri (string-append "https://files.dthompson.us/sly/sly-"
|
2015-11-14 00:07:21 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1svzlbz2vripmyq2kjh0rig16bsrnbkwbsm558pjln9l65mcl4qq"))))
|
|
|
|
|
(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
|
|
|
|
|
`(("guile" ,guile-2.0)
|
|
|
|
|
("guile-sdl" ,guile-sdl)
|
|
|
|
|
("guile-opengl" ,guile-opengl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gsl" ,gsl)
|
|
|
|
|
("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.")
|
|
|
|
|
(home-page "http://dthompson.us/pages/software/sly.html")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-11-14 00:07:21 +01:00
|
|
|
|
|
2015-12-11 17:04:06 +01: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
|
|
|
|
|
`(("guile" ,guile-2.0)
|
|
|
|
|
("guile-lib" ,guile-lib)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libffi" ,libffi)))
|
2016-06-08 19:18:07 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#: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 "/2.0")))
|
|
|
|
|
#t))))))
|
2015-12-11 17:04:06 +01: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.")
|
|
|
|
|
(home-page "http://www.nongnu.org/g-wrap/index.html")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:lgpl2.1+)))
|
2015-12-11 17:04:06 +01:00
|
|
|
|
|
2016-06-27 09:30:01 +02: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
|
|
|
|
|
"--with-guile-site-dir=" %output "/share/guile/site/2.0"))
|
|
|
|
|
#: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
|
|
|
|
|
out "/share/guile/site/2.0/dbi/dbi.scm"))
|
|
|
|
|
(ext (string-append out "/lib/libguile-dbi")))
|
|
|
|
|
(substitute* dbi.scm (("libguile-dbi") ext))
|
|
|
|
|
#t))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile" ,guile-2.0)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 09:30:01 +02: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
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,(@ (gnu packages compression) zlib))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("guile-dbi" ,guile-dbi)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl2+)))
|
2016-06-27 09:30:01 +02:00
|
|
|
|
|
2016-07-22 10:10:11 +02:00
|
|
|
|
(define-public guile-xosd
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-xosd")
|
2016-08-18 00:22:29 +02:00
|
|
|
|
(version "0.2.1")
|
2016-07-22 10:10:11 +02: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-18 00:22:29 +02:00
|
|
|
|
"1ri5065c16kmgrf2pysn2ymxjqi5302lhpb07wkl1jr75ym8fn8p"))))
|
2016-07-22 10:10:11 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 10:37:40 +02:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2016-07-22 10:10:11 +02: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 10:10:11 +02:00
|
|
|
|
|
2016-07-22 10:10:35 +02:00
|
|
|
|
(define-public guile-daemon
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-daemon")
|
2017-04-16 10:33:18 +02:00
|
|
|
|
(version "0.1.2")
|
2016-07-22 10:10:35 +02: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 10:33:18 +02:00
|
|
|
|
"0hh6gq6b6phpxm0b1dkxyzj3f4sxdf7dji63609lzypa5v1ad2gv"))))
|
2016-07-22 10:10:35 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-04-16 10:37:40 +02:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-07-22 10:10:35 +02: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-07-22 10:10:35 +02:00
|
|
|
|
|
2016-08-05 03:52:18 +02: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 18:33:33 +02: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 03:52:18 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2017-03-19 18:07:36 +01:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-08-05 03:52:18 +02: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 19:23:56 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2016-08-05 03:52:18 +02:00
|
|
|
|
|
2017-03-19 18:07:36 +01:00
|
|
|
|
(define-public guile2.0-commonmark
|
|
|
|
|
(package-for-guile-2.0 guile-commonmark))
|
2016-09-07 18:39:44 +02:00
|
|
|
|
(define-public guile2.2-commonmark
|
2017-03-19 18:07:36 +01:00
|
|
|
|
(deprecated-package "guile2.2-commonmark" guile-commonmark))
|
2016-09-07 18:39:44 +02:00
|
|
|
|
|
2016-10-09 12:31:20 +02:00
|
|
|
|
(define-public guile-bytestructures
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-bytestructures")
|
2017-04-22 13:54:12 +02:00
|
|
|
|
(version "20170402.91d042e")
|
2016-10-09 12:31:20 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/TaylanUB/scheme-bytestructures")
|
2017-04-22 13:54:12 +02:00
|
|
|
|
(commit "91d042e3427e1d7740b604b6296c616cf2eec13d")))
|
2016-10-09 12:31:20 +02:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-22 13:54:12 +02:00
|
|
|
|
"04lgh0nk6ddnwgh20hnz4pyhczaik0xbd50kikjsxcwcl46shavb"))))
|
2016-10-09 12:31:20 +02:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(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))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(doc (string-append out "/share/doc/scheme-bytestructures"))
|
2017-05-03 17:10:22 +02:00
|
|
|
|
(sld-files (with-directory-excursion source
|
|
|
|
|
(find-files "bytestructures/r7" "\\.exports.sld$")))
|
2016-10-09 12:31:20 +02:00
|
|
|
|
(scm-files (filter (lambda (path)
|
|
|
|
|
(not (string-prefix? "bytestructures/r7" path)))
|
|
|
|
|
(with-directory-excursion source
|
|
|
|
|
(find-files "bytestructures" "\\.scm$"))))
|
|
|
|
|
(guild (string-append (assoc-ref %build-inputs "guile")
|
|
|
|
|
"/bin/guild")))
|
|
|
|
|
;; Make installation directories.
|
|
|
|
|
(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 "/"
|
|
|
|
|
file))
|
|
|
|
|
(go-file (string-append module-dir "/"
|
|
|
|
|
(substring file 0
|
|
|
|
|
(string-rindex file #\.))
|
|
|
|
|
".go")))
|
|
|
|
|
;; Install source module.
|
|
|
|
|
(mkdir-p (dirname dest-file))
|
|
|
|
|
(copy-file file dest-file)
|
|
|
|
|
|
|
|
|
|
;; Install compiled module.
|
|
|
|
|
(mkdir-p (dirname go-file))
|
|
|
|
|
(unless (zero? (system* guild "compile"
|
|
|
|
|
"-L" source
|
|
|
|
|
"-o" go-file
|
|
|
|
|
file))
|
|
|
|
|
(error (format #f "Failed to compile ~s to ~s!"
|
|
|
|
|
file go-file)))))
|
2017-05-03 17:10:22 +02:00
|
|
|
|
(append sld-files scm-files))
|
2016-10-09 12:31:20 +02:00
|
|
|
|
|
|
|
|
|
;; Also copy over the README.
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))
|
|
|
|
|
(inputs
|
2017-03-30 11:14:20 +02:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2016-10-09 12:31:20 +02: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-10-09 12:31:20 +02:00
|
|
|
|
|
2016-11-11 00:22:50 +01:00
|
|
|
|
(define-public guile-aspell
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-aspell")
|
2017-04-06 10:37:52 +02:00
|
|
|
|
(version "0.4")
|
2016-11-11 00:22:50 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://lonelycactus.com/tarball/guile_aspell-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-06 10:37:52 +02:00
|
|
|
|
"0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
|
2016-11-11 00:22:50 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-04-06 10:41:59 +02: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-11 00:22:50 +01:00
|
|
|
|
(add-before 'build 'set-libaspell-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((aspell (assoc-ref inputs "aspell")))
|
2017-04-06 10:37:52 +02:00
|
|
|
|
(substitute* "aspell.scm"
|
2016-11-11 00:22:50 +01:00
|
|
|
|
(("\"libaspell\\.so\"")
|
|
|
|
|
(string-append "\"" aspell
|
|
|
|
|
"/lib/libaspell\"")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-04-06 10:45:29 +02:00
|
|
|
|
(inputs `(("guile" ,guile-2.2)
|
2016-11-11 00:22:50 +01: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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-11-11 00:22:50 +01:00
|
|
|
|
|
2017-01-04 15:14:33 +01: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)
|
|
|
|
|
("autoconf" ,(autoconf-wrapper))
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'.
|
|
|
|
|
("gettext" ,gettext-minimal)))
|
|
|
|
|
(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 19:23:56 +01:00
|
|
|
|
(license license:gpl3+))))
|
2017-01-04 15:14:33 +01:00
|
|
|
|
|
2017-01-08 22:46:34 +01:00
|
|
|
|
(define-public guile-8sync
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-8sync")
|
2017-03-18 18:15:28 +01:00
|
|
|
|
(version "0.4.2")
|
2017-01-08 22:46:34 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/8sync/8sync-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-18 18:15:28 +01:00
|
|
|
|
"031wm13srak3wsnll7j2mbbi29g1pcm4swdb71ds9yn567pn20qw"))))
|
2017-01-08 22:46:34 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2017-03-19 17:30:44 +01:00
|
|
|
|
("guile" ,guile-2.2)
|
2017-01-08 22:46:34 +01:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
;; quiet warnings
|
2017-01-09 16:51:00 +01:00
|
|
|
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
|
|
|
|
#t)))))
|
2017-01-08 22:46:34 +01: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 17:30:44 +01:00
|
|
|
|
Note that 8sync is only available for Guile 2.2.")
|
2017-02-11 19:23:56 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2017-01-08 22:46:34 +01:00
|
|
|
|
|
2017-02-21 11:20:02 +01: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 17:30:44 +01:00
|
|
|
|
`(("guile" ,guile-2.2)))
|
2017-02-21 11:20:02 +01: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 21:52:00 +01:00
|
|
|
|
(define-public guile-git
|
2017-04-28 13:45:13 +02:00
|
|
|
|
(let ((revision "2")
|
|
|
|
|
(commit "06f9fc3d9ac95798d4a51e6310f7b594ce5597e0"))
|
2017-02-11 21:52:00 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "guile-git")
|
|
|
|
|
(version (string-append "0.0-" revision "." (string-take commit 7)))
|
|
|
|
|
(home-page "https://gitlab.com/amirouche/guile-git")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-28 13:45:13 +02:00
|
|
|
|
"0rcq0f8dhl89ia7336bq8y279q5ada0b1kabcqw9zl3125k3cp4v"))
|
2017-02-11 21:52:00 +01:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
2017-03-30 11:05:25 +02:00
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
2017-02-11 21:52:00 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-03-30 11:14:20 +02:00
|
|
|
|
`(("guile" ,guile-2.2)
|
2017-02-11 21:52:00 +01: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 22:46:34 +01:00
|
|
|
|
|
2017-04-14 10:27:43 +02:00
|
|
|
|
(define-public guile-syntax-highlight
|
|
|
|
|
(let ((commit "a047675e66861b647426372aa2ba7820f749616d")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-syntax-highlight")
|
|
|
|
|
(version (string-append "0.0." revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "git://dthompson.us/guile-syntax-highlight.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1zjr6sg3n7xbdsliy45i39dqanxvcms58ayx36wxrz72zpq58vq3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "bootstrap")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
|
(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.")
|
|
|
|
|
(home-page "http://dthompson.us/software/guile-syntax-highlight")
|
|
|
|
|
(license license:lgpl3+))))
|
|
|
|
|
|
2017-04-25 07:18:29 +02:00
|
|
|
|
(define-public guile-sjson
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-sjson")
|
2017-05-10 16:29:31 +02:00
|
|
|
|
(version "0.2.1")
|
2017-04-25 07:18:29 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://dustycloud.org/misc/sjson-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-10 16:29:31 +02:00
|
|
|
|
"1mzmapln79vv10qxaggz9qwcdbag3jnrj19xx8bgkmxss8h03sv3"))))
|
2017-04-25 07:18:29 +02: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+)))
|
|
|
|
|
|
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 22:17:41 +02:00
|
|
|
|
;;; guile.scm ends here
|