2013-01-15 00:08:00 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-01-28 20:28:29 +00:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
2015-02-16 12:29:36 +00:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2013-01-15 00:08:00 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
2013-01-18 00:06:24 +00:00
|
|
|
|
(define-module (gnu packages scheme)
|
2013-01-18 00:06:47 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2013-01-15 00:08:00 +00:00
|
|
|
|
#:use-module (guix licenses)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-02-16 12:29:36 +00:00
|
|
|
|
#:use-module (guix utils)
|
2013-01-15 00:08:00 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2015-01-28 20:28:29 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2013-01-18 00:06:24 +00:00
|
|
|
|
#:use-module (gnu packages emacs)
|
|
|
|
|
#:use-module (gnu packages texinfo)
|
2013-12-15 22:27:56 +00:00
|
|
|
|
#:use-module (gnu packages elf)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 16:21:21 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2013-04-03 12:44:40 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages avahi)
|
|
|
|
|
#:use-module (gnu packages libphidget)
|
2013-06-16 18:43:29 +00:00
|
|
|
|
#:use-module (gnu packages glib)
|
2013-09-24 16:06:08 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-06-16 18:43:29 +00:00
|
|
|
|
#:use-module (gnu packages libffi)
|
2015-01-28 20:28:29 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 12:39:02 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2013-01-15 00:08:00 +00:00
|
|
|
|
#:use-module (ice-9 match))
|
|
|
|
|
|
2014-09-27 21:59:18 +00:00
|
|
|
|
(define (mit-scheme-source-directory system version)
|
2014-09-27 16:59:40 +00:00
|
|
|
|
(string-append "mit-scheme-"
|
|
|
|
|
(if (or (string-prefix? "x86_64" system)
|
2014-09-27 21:59:18 +00:00
|
|
|
|
(string-prefix? "i686" system))
|
2014-09-27 16:59:40 +00:00
|
|
|
|
""
|
|
|
|
|
"c-")
|
|
|
|
|
version))
|
|
|
|
|
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(define-public mit-scheme
|
|
|
|
|
(package
|
|
|
|
|
(name "mit-scheme")
|
2014-09-27 14:51:44 +00:00
|
|
|
|
(version "9.2")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(source #f) ; see below
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'unpack
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(and (zero? (system* "tar" "xzvf"
|
|
|
|
|
(assoc-ref inputs "source")))
|
2014-09-27 21:59:18 +00:00
|
|
|
|
(chdir ,(mit-scheme-source-directory (%current-system)
|
|
|
|
|
version))
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(begin
|
|
|
|
|
;; Delete these dangling symlinks since they break
|
|
|
|
|
;; `patch-shebangs'.
|
|
|
|
|
(for-each delete-file
|
2014-09-27 18:04:03 +00:00
|
|
|
|
(append '("src/lib/shim-config.scm")
|
|
|
|
|
(find-files "src/lib/lib" "\\.so$")
|
|
|
|
|
(find-files "src/lib" "^liarc-")
|
|
|
|
|
(find-files "src/compiler" "^make\\.")))
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(chdir "src")
|
|
|
|
|
#t)))
|
|
|
|
|
(alist-replace
|
|
|
|
|
'build
|
|
|
|
|
(lambda* (#:key system outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(if (or (string-prefix? "x86_64" system)
|
|
|
|
|
(string-prefix? "i686" system))
|
|
|
|
|
(zero? (system* "make" "compile-microcode"))
|
|
|
|
|
(zero? (system* "./etc/make-liarc.sh"
|
|
|
|
|
(string-append "--prefix=" out))))))
|
|
|
|
|
%standard-phases))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(;; TODO: Build doc when TeX Live is available.
|
|
|
|
|
;; ("automake" ,automake)
|
|
|
|
|
;; ("texlive-core" ,texlive-core)
|
|
|
|
|
("texinfo" ,texinfo)
|
|
|
|
|
("m4" ,m4)
|
|
|
|
|
|
|
|
|
|
("source"
|
2013-01-24 22:33:30 +00:00
|
|
|
|
|
|
|
|
|
;; MIT/GNU Scheme is not bootstrappable, so it's recommended to
|
|
|
|
|
;; compile from the architecture-specific tarballs, which contain
|
|
|
|
|
;; pre-built binaries. It leads to more efficient code than when
|
|
|
|
|
;; building the tarball that contains generated C code instead of
|
|
|
|
|
;; those binaries.
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/mit-scheme/stable.pkg/"
|
|
|
|
|
version "/mit-scheme-"
|
|
|
|
|
(match (%current-system)
|
2014-09-27 16:59:40 +00:00
|
|
|
|
("x86_64-linux"
|
|
|
|
|
(string-append version "-x86-64"))
|
|
|
|
|
("i686-linux"
|
|
|
|
|
(string-append version "-i386"))
|
|
|
|
|
(_
|
|
|
|
|
(string-append "c-" version)))
|
2013-01-24 22:33:30 +00:00
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(match (%current-system)
|
|
|
|
|
("x86_64-linux"
|
|
|
|
|
(base32
|
2014-09-27 14:51:44 +00:00
|
|
|
|
"1skzxxhr0iq96bf0j5m7mvf3i4sppfyfa6gpqn34mwgkw1fx8274"))
|
2013-01-24 22:33:30 +00:00
|
|
|
|
("i686-linux"
|
|
|
|
|
(base32
|
2014-09-27 14:51:44 +00:00
|
|
|
|
"1fmlpnhf5a75db93phajh4ysbdgrgl72v45lk3kznriprl0a7jc6"))
|
2013-01-24 22:33:30 +00:00
|
|
|
|
(_
|
|
|
|
|
(base32
|
2014-09-27 14:51:44 +00:00
|
|
|
|
"0w5ib5vsidihb4hb6fma3sp596ykr8izagm57axvgd6lqzwicsjg"))))))))
|
2014-10-06 17:34:04 +00:00
|
|
|
|
|
|
|
|
|
;; Fails to build on MIPS, see <http://bugs.gnu.org/18221>.
|
2014-10-28 09:29:36 +00:00
|
|
|
|
(supported-systems (delete "mips64el-linux" %supported-systems))
|
2014-10-06 17:34:04 +00:00
|
|
|
|
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(home-page "http://www.gnu.org/software/mit-scheme/")
|
2014-11-09 16:56:02 +00:00
|
|
|
|
(synopsis "A Scheme implementation with integrated editor and debugger")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(description
|
2013-12-01 21:33:23 +00:00
|
|
|
|
"GNU/MIT Scheme is an implementation of the Scheme programming
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 14:14:23 +00:00
|
|
|
|
language. It provides an interpreter, a compiler and a debugger. It also
|
|
|
|
|
features an integrated Emacs-like editor and a large runtime library.")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(license gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public bigloo
|
|
|
|
|
(package
|
|
|
|
|
(name "bigloo")
|
2014-02-19 15:43:25 +00:00
|
|
|
|
(version "4.1a")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-02-19 15:43:25 +00:00
|
|
|
|
"170q7nh08n4v20xl81fxb0xcdxphqqacfa643hsa8i2ar6pki04c"))
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
(patches (list (search-patch "bigloo-gc-shebangs.patch")))))
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
`(#:test-target "test"
|
2013-01-15 00:08:00 +00:00
|
|
|
|
#:phases (alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("^shell=.*$")
|
|
|
|
|
(string-append "shell=" (which "bash") "\n")))
|
|
|
|
|
|
2013-06-25 18:31:10 +00:00
|
|
|
|
;; Since libgc's pthread redirects are used, we end up
|
|
|
|
|
;; using libgc symbols, so we must link against it.
|
|
|
|
|
;; Reported on 2013-06-25.
|
|
|
|
|
(substitute* "api/pthread/src/Makefile"
|
|
|
|
|
(("^EXTRALIBS[[:blank:]]*=(.*)$" _ value)
|
|
|
|
|
(string-append "EXTRALIBS = "
|
|
|
|
|
(string-trim-right value)
|
|
|
|
|
" -l$(GCLIB)_fth-$(RELEASE)"
|
|
|
|
|
" -Wl,-rpath=" (assoc-ref outputs "out")
|
|
|
|
|
"/lib/bigloo/" ,version)))
|
|
|
|
|
|
2013-01-15 00:08:00 +00:00
|
|
|
|
;; Those variables are used by libgc's `configure'.
|
2013-08-19 17:02:05 +00:00
|
|
|
|
(setenv "SHELL" (which "sh"))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
|
|
|
|
|
|
|
|
|
;; ... but they turned out to be overridden later, so work
|
|
|
|
|
;; around that.
|
|
|
|
|
(substitute* (find-files "gc" "^configure-gc")
|
|
|
|
|
(("sh=/bin/sh")
|
|
|
|
|
(string-append "sh=" (which "sh"))))
|
2013-01-15 00:08:00 +00:00
|
|
|
|
|
|
|
|
|
;; The `configure' script doesn't understand options
|
|
|
|
|
;; of those of Autoconf.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
2014-02-19 15:43:25 +00:00
|
|
|
|
;; FIXME: Currently fails, see
|
|
|
|
|
;; <http://article.gmane.org/gmane.lisp.scheme.bigloo/6126>.
|
|
|
|
|
;; "--customgc=no" ; use our libgc
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(string-append"--mv=" (which "mv"))
|
|
|
|
|
(string-append "--rm=" (which "rm"))))))
|
|
|
|
|
(alist-cons-after
|
2013-08-19 17:02:05 +00:00
|
|
|
|
'install 'install-emacs-modes
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dir (string-append out "/share/emacs/site-lisp")))
|
|
|
|
|
(zero? (system* "make" "-C" "bmacs" "all" "install"
|
|
|
|
|
(string-append "EMACSBRAND=emacs24")
|
|
|
|
|
(string-append "EMACSDIR=" dir)))))
|
|
|
|
|
%standard-phases))))
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(inputs
|
2013-02-08 13:39:28 +00:00
|
|
|
|
`(("emacs" ,emacs)
|
2013-04-03 12:44:40 +00:00
|
|
|
|
|
|
|
|
|
;; Optional APIs for which Bigloo has bindings.
|
|
|
|
|
("avahi" ,avahi)
|
|
|
|
|
("libphidget" ,libphidget)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-02-08 13:39:28 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("gmp" ,gmp))) ; bigloo.h refers to gmp.h
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(home-page "http://www-sop.inria.fr/indes/fp/Bigloo/")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 04:46:59 +00:00
|
|
|
|
(synopsis "Efficient Scheme compiler")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(description
|
|
|
|
|
"Bigloo is a Scheme implementation devoted to one goal: enabling
|
|
|
|
|
Scheme based programming style where C(++) is usually
|
|
|
|
|
required. Bigloo attempts to make Scheme practical by offering
|
|
|
|
|
features usually presented by traditional programming languages
|
|
|
|
|
but not offered by Scheme and functional programming. Bigloo
|
|
|
|
|
compiles Scheme modules. It delivers small and fast stand alone
|
|
|
|
|
binary executables. Bigloo enables full connections between
|
2014-04-07 09:10:35 +00:00
|
|
|
|
Scheme and C programs and between Scheme and Java programs.")
|
2013-01-15 00:08:00 +00:00
|
|
|
|
(license gpl2+)))
|
2013-02-08 13:39:58 +00:00
|
|
|
|
|
|
|
|
|
(define-public hop
|
|
|
|
|
(package
|
|
|
|
|
(name "hop")
|
|
|
|
|
(version "2.4.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "ftp://ftp-sop.inria.fr/indes/fp/Hop/hop-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
"1v2r4ga58kk1sx0frn8qa8ccmjpic9csqzpk499wc95y9c4b1wy3"))
|
|
|
|
|
(patches (list (search-patch "hop-bigloo-4.0b.patch")))))
|
2013-02-08 13:39:58 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2013-02-08 16:38:57 +00:00
|
|
|
|
'(#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
2014-04-07 09:09:58 +00:00
|
|
|
|
(string-append "--prefix=" out)))))
|
2013-02-08 16:38:57 +00:00
|
|
|
|
(alist-cons-after
|
|
|
|
|
'strip 'patch-rpath
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Patch the RPATH of every installed library to point to $out/lib
|
|
|
|
|
;; instead of $TMPDIR. Note that "patchelf --set-rpath" produces
|
|
|
|
|
;; invalid binaries when used before stripping.
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(tmpdir (getcwd)))
|
|
|
|
|
(every (lambda (lib)
|
|
|
|
|
(let* ((in (open-pipe* OPEN_READ "patchelf"
|
|
|
|
|
"--print-rpath" lib))
|
|
|
|
|
(rpath (read-line in)))
|
|
|
|
|
(and (zero? (close-pipe in))
|
|
|
|
|
(let ((rpath* (regexp-substitute/global
|
|
|
|
|
#f (regexp-quote tmpdir) rpath
|
|
|
|
|
'pre out 'post)))
|
|
|
|
|
(or (equal? rpath rpath*)
|
|
|
|
|
(begin
|
|
|
|
|
(format #t "~a: changing RPATH from `~a' to `~a'~%"
|
|
|
|
|
lib rpath rpath*)
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "patchelf" "--set-rpath"
|
|
|
|
|
rpath* lib))))))))
|
|
|
|
|
(append (find-files (string-append out "/bin")
|
|
|
|
|
".*")
|
|
|
|
|
(find-files (string-append out "/lib")
|
|
|
|
|
"\\.so$")))))
|
|
|
|
|
%standard-phases))
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(ice-9 popen)
|
|
|
|
|
(ice-9 regex)
|
|
|
|
|
(ice-9 rdelim)
|
|
|
|
|
(srfi srfi-1))))
|
2013-02-08 13:39:58 +00:00
|
|
|
|
(inputs `(("bigloo" ,bigloo)
|
2013-02-08 16:38:57 +00:00
|
|
|
|
("which" ,which)
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
("patchelf" ,patchelf)))
|
2013-02-08 13:39:58 +00:00
|
|
|
|
(home-page "http://hop.inria.fr/")
|
2014-09-13 13:50:30 +00:00
|
|
|
|
(synopsis "Multi-tier programming language for the Web 2.0")
|
2013-02-08 13:39:58 +00:00
|
|
|
|
(description
|
|
|
|
|
"HOP is a multi-tier programming language for the Web 2.0 and the
|
|
|
|
|
so-called diffuse Web. It is designed for programming interactive web
|
|
|
|
|
applications in many fields such as multimedia (web galleries, music players,
|
|
|
|
|
...), ubiquitous and house automation (SmartPhones, personal appliance),
|
|
|
|
|
mashups, office (web agendas, mail clients, ...), etc.")
|
|
|
|
|
(license gpl2+)))
|
2013-05-11 09:38:38 +00:00
|
|
|
|
|
|
|
|
|
(define-public chicken
|
|
|
|
|
(package
|
|
|
|
|
(name "chicken")
|
2014-11-12 22:19:58 +00:00
|
|
|
|
(version "4.9.0.1")
|
2013-05-11 09:38:38 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2014-11-12 22:19:58 +00:00
|
|
|
|
(uri (string-append "http://code.call-cc.org/releases/4.9.0/chicken-"
|
2013-05-11 09:38:38 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2014-11-12 22:19:58 +00:00
|
|
|
|
"0598mar1qswfd8hva9nqs88zjn02lzkqd8fzdd21dz1nki1prpq4"))))
|
2013-05-11 09:38:38 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
|
|
|
|
|
;; No `configure' script; run "make check" after "make install" as
|
|
|
|
|
;; prescribed by README.
|
|
|
|
|
#:phases (alist-cons-after
|
|
|
|
|
'install 'check
|
|
|
|
|
(assoc-ref %standard-phases 'check)
|
|
|
|
|
(fold alist-delete %standard-phases
|
|
|
|
|
'(configure check)))
|
|
|
|
|
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "PLATFORM=linux"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "VARDIR=" out "/var/lib")))
|
|
|
|
|
|
|
|
|
|
;; Parallel builds are not supported, as noted in README.
|
|
|
|
|
#:parallel-build? #f))
|
|
|
|
|
(home-page "http://www.call-cc.org/")
|
|
|
|
|
(synopsis "R5RS Scheme implementation that compiles native code via C")
|
|
|
|
|
(description
|
|
|
|
|
"CHICKEN is a compiler for the Scheme programming language. CHICKEN
|
|
|
|
|
produces portable and efficient C, supports almost all of the R5RS Scheme
|
2013-05-11 18:00:48 +00:00
|
|
|
|
language standard, and includes many enhancements and extensions.")
|
2013-05-11 09:38:38 +00:00
|
|
|
|
(license bsd-3)))
|
2013-05-11 20:13:59 +00:00
|
|
|
|
|
|
|
|
|
(define-public scheme48
|
|
|
|
|
(package
|
|
|
|
|
(name "scheme48")
|
|
|
|
|
(version "1.9")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://s48.org/" version
|
|
|
|
|
"/scheme48-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
gnu: Use the 'patches' field of <origin>.
* gnu/packages/apr.scm,
gnu/packages/autotools.scm,
gnu/packages/avahi.scm,
gnu/packages/cdrom.scm,
gnu/packages/cmake.scm,
gnu/packages/cpio.scm,
gnu/packages/cross-base.scm,
gnu/packages/emacs.scm,
gnu/packages/flex.scm,
gnu/packages/fontutils.scm,
gnu/packages/glib.scm,
gnu/packages/grub.scm,
gnu/packages/guile.scm,
gnu/packages/idutils.scm,
gnu/packages/libevent.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/make-bootstrap.scm,
gnu/packages/mp3.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/pdf.scm,
gnu/packages/plotutils.scm,
gnu/packages/qemu.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/system.scm,
gnu/packages/tcsh.scm,
gnu/packages/valgrind.scm,
gnu/packages/vpn.scm,
gnu/packages/w3m: Use the 'patches' field of <origin> instead of
adding a patch as input plus using #:patches.
2013-10-08 22:09:04 +00:00
|
|
|
|
"0rw2lz5xgld0klvld292ds6hvfk5l12vskzgf1hhwjdpa38r3fnw"))
|
|
|
|
|
(patches (list (search-patch "scheme48-tests.patch")))))
|
2013-05-11 20:13:59 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://s48.org/")
|
|
|
|
|
(synopsis "Scheme implementation using a bytecode interpreter")
|
|
|
|
|
(description
|
|
|
|
|
"Scheme 48 is an implementation of Scheme based on a byte-code
|
|
|
|
|
interpreter and is designed to be used as a testbed for experiments in
|
|
|
|
|
implementation techniques and as an expository tool.")
|
|
|
|
|
|
|
|
|
|
;; Most files are BSD-3; see COPYING for the few exceptions.
|
|
|
|
|
(license bsd-3)))
|
2013-06-16 18:43:29 +00:00
|
|
|
|
|
|
|
|
|
(define-public racket
|
|
|
|
|
(package
|
|
|
|
|
(name "racket")
|
2015-01-28 20:28:29 +00:00
|
|
|
|
(version "6.1.1")
|
2013-06-16 18:43:29 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-01-28 20:28:29 +00:00
|
|
|
|
(uri (list (string-append "http://mirror.racket-lang.org/installers/"
|
|
|
|
|
version "/racket-" version "-src.tgz")
|
2013-06-16 18:43:29 +00:00
|
|
|
|
(string-append
|
|
|
|
|
"http://mirror.informatik.uni-tuebingen.de/mirror/racket/"
|
|
|
|
|
version "/racket/racket-" version "-src-unix.tgz")))
|
|
|
|
|
(sha256
|
2015-01-28 20:28:29 +00:00
|
|
|
|
(base32
|
|
|
|
|
"0xfsfdqkngz0xw2lqmc7bsznwx25cw91l9fjhp7abrr05m96j0h9"))))
|
2013-06-16 18:43:29 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(let* ((gui-libs
|
|
|
|
|
(lambda (inputs)
|
2013-09-24 16:06:08 +00:00
|
|
|
|
(define (lib input)
|
|
|
|
|
(string-append (assoc-ref inputs input) "/lib"))
|
|
|
|
|
|
|
|
|
|
(list (lib "glib")
|
|
|
|
|
(lib "cairo")
|
|
|
|
|
(lib "pango")
|
|
|
|
|
(lib "libjpeg")
|
|
|
|
|
(lib "gtk")
|
2015-01-28 20:28:29 +00:00
|
|
|
|
(lib "gdk-pixbuf")
|
|
|
|
|
(lib "fontconfig")
|
|
|
|
|
(lib "sqlite"))))) ;to build the doc
|
2013-06-16 18:43:29 +00:00
|
|
|
|
(alist-cons-before
|
|
|
|
|
'configure 'pre-configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(chdir "src")
|
|
|
|
|
|
|
|
|
|
;; The GUI libs are dynamically opened through the FFI, so they
|
|
|
|
|
;; must be in the loader's search path.
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" (string-join (gui-libs inputs) ":")))
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'unpack 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "collects/racket/system.rkt"
|
|
|
|
|
(("/bin/sh") (which "sh"))))
|
|
|
|
|
(alist-cons-after
|
|
|
|
|
'install 'wrap-programs
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(define (wrap prog)
|
|
|
|
|
(wrap-program prog
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
,(gui-libs inputs))))
|
|
|
|
|
|
|
|
|
|
(with-directory-excursion (string-append out "/bin")
|
|
|
|
|
(for-each wrap
|
|
|
|
|
(list "gracket" "drracket" "slideshow" "mred"))
|
|
|
|
|
#t)))
|
|
|
|
|
%standard-phases))))
|
|
|
|
|
#:tests? #f ; XXX: how to run them?
|
|
|
|
|
))
|
|
|
|
|
(inputs `(("libffi" ,libffi)
|
|
|
|
|
("glib" ,glib) ; for DrRacket
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("pango" ,pango)
|
2013-09-24 16:06:08 +00:00
|
|
|
|
("libjpeg" ,libjpeg-8)
|
2015-01-28 20:28:29 +00:00
|
|
|
|
("fontconfig" ,fontconfig)
|
2013-09-24 16:06:08 +00:00
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
2015-01-28 20:28:29 +00:00
|
|
|
|
("gtk" ,gtk+-2)
|
|
|
|
|
("sqlite" ,sqlite))) ;needed to build the doc
|
2013-06-16 18:43:29 +00:00
|
|
|
|
(home-page "http://racket-lang.org")
|
|
|
|
|
(synopsis "Implementation of Scheme and related languages")
|
|
|
|
|
(description
|
|
|
|
|
"Racket is an implementation of the Scheme programming language (R5RS and
|
|
|
|
|
R6RS) and related languages, such as Typed Racket. It features a compiler and
|
|
|
|
|
a virtual machine with just-in-time native compilation, as well as a large set
|
|
|
|
|
of libraries.")
|
2015-01-28 21:54:12 +00:00
|
|
|
|
(license lgpl2.0+)))
|
2015-02-16 12:29:36 +00:00
|
|
|
|
|
|
|
|
|
(define-public gambit-c
|
|
|
|
|
(package
|
|
|
|
|
(name "gambit-c")
|
|
|
|
|
(version "4.7.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.iro.umontreal.ca/~gambit/download/gambit/v"
|
|
|
|
|
(version-major+minor version) "/source/gambc-v"
|
|
|
|
|
(string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
|
|
|
|
|
".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0y2pklh4k65yrmxv63ass76xckrk9wqimbdad2gha35v2mi7blhs"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
;; According to the ./configure script, this makes the build slower and
|
|
|
|
|
;; use >= 1 GB memory, but makes Gambit much faster.
|
|
|
|
|
'("--enable-single-host")
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'check 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("tests/makefile")
|
|
|
|
|
;; '-:' is how run-time options are set. 'tl' sets some terminal
|
|
|
|
|
;; option, which makes it fail in our build environment. It
|
|
|
|
|
;; recommends using 'd-' as a solution, which sets the REPL
|
|
|
|
|
;; interaction channel to stdin/stdout.
|
|
|
|
|
(("gsi -:tl") "gsi -:d-,tl")))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
(home-page "http://www.iro.umontreal.ca/~gambit/")
|
|
|
|
|
(synopsis "Efficient Scheme interpreter and compiler")
|
|
|
|
|
(description
|
|
|
|
|
"Gambit consists of two main programs: gsi, the Gambit Scheme
|
|
|
|
|
interpreter, and gsc, the Gambit Scheme compiler. The interpreter contains
|
|
|
|
|
the complete execution and debugging environment. The compiler is the
|
|
|
|
|
interpreter extended with the capability of generating executable files. The
|
|
|
|
|
compiler can produce standalone executables or compiled modules which can be
|
|
|
|
|
loaded at run time. Interpreted code and compiled code can be freely
|
|
|
|
|
mixed.")
|
|
|
|
|
;; Dual license.
|
|
|
|
|
(license (list lgpl2.1+ asl2.0))))
|
2015-02-16 20:58:36 +00:00
|
|
|
|
|
|
|
|
|
(define-public chibi-scheme
|
|
|
|
|
(package
|
|
|
|
|
(name "chibi-scheme")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://abrek.synthcode.com/chibi-scheme-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0h6k2gdb4xk2pzhdipffcg2w3kfr4zh1va556k1hvng2did6prds"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(alist-delete
|
|
|
|
|
'configure
|
|
|
|
|
(alist-cons-before
|
|
|
|
|
'build 'set-cc
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc"))
|
|
|
|
|
%standard-phases))
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")))
|
|
|
|
|
#:test-target "test"))
|
|
|
|
|
(home-page "https://code.google.com/p/chibi-scheme/")
|
|
|
|
|
(synopsis "Small embeddable Scheme implementation")
|
|
|
|
|
(description
|
|
|
|
|
"Chibi-Scheme is a very small library with no external dependencies
|
|
|
|
|
intended for use as an extension and scripting language in C programs. In
|
|
|
|
|
addition to support for lightweight VM-based threads, each VM itself runs in
|
|
|
|
|
an isolated heap allowing multiple VMs to run simultaneously in different OS
|
|
|
|
|
threads.")
|
|
|
|
|
(license bsd-3)))
|