[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add gauche.
From: |
guix-commits |
Subject: |
01/10: gnu: Add gauche. |
Date: |
Tue, 15 Jan 2019 14:24:38 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit eac7ed195b054baf7c153581b186f1519aca4851
Author: Gabriel Hondet <address@hidden>
Date: Tue Jan 15 09:11:10 2019 +0100
gnu: Add gauche.
* gnu/packages/scheme.scm (gauche): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/scheme.scm | 81 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 862eedf..48b52c7 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2017 Clément Lassieur <address@hidden>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Adam Massmann <address@hidden>
+;;; Copyright © 2018 Gabriel Hondet <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1168,3 +1169,83 @@ simple, elegant Scheme dialect. It is a lisp-1 with
lexical scope.
The core is 12 builtin special forms and 33 builtin functions.")
(home-page "https://github.com/JeffBezanson/femtolisp")
(license bsd-3))))
+
+(define-public gauche
+ (package
+ (name "gauche")
+ (version "0.9.7")
+ (home-page "http://practical-scheme.net/gauche/index.html")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://sourceforge/gauche/Gauche/Gauche-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ ;; Remove libatomic-ops
+ (delete-file-recursively "gc/libatomic_ops")
+ #t))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libatomic-ops" ,libatomic-ops)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("texinfo" ,texinfo)
+ ("openssl" ,openssl) ; needed for tests
+ ("pkg-config" ,pkg-config))) ; needed to find external libatomic-ops
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ ;; needed only for tests
+ (lambda _
+ (substitute* '("configure"
+ "test/www.scm"
+ "ext/tls/test.scm"
+ "gc/configure"
+ "lib/gauche/configure.scm"
+ "lib/gauche/package/util.scm"
+ "lib/gauche/process.scm")
+ (("/bin/sh") (which "sh")))
+ #t))
+ (add-after 'build 'build-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (with-directory-excursion "doc"
+ (for-each
+ (lambda (target)
+ (invoke "make" target))
+ '("info" "html" "htmls"))))
+ #t))
+ (add-before 'check 'patch-normalize-test
+ ;; neutralize sys-normalize-pathname test as it relies on
+ ;; the home directory; (setenv "HOME" xx) isn't enough)
+ (lambda _
+ (substitute* "test/system.scm"
+ (("~/abc") "//abc"))
+ #t))
+ (add-before 'check 'patch-network-tests
+ ;; remove net checks
+ (lambda _
+ (substitute* "ext/Makefile"
+ (("binary net termios") "binary termios"))
+ #t))
+ (add-after 'install 'install-docs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (with-directory-excursion "doc"
+ (invoke "make" "install")))
+ #t)))))
+ (synopsis "Scheme scripting engine")
+ (description "Gauche is a R7RS Scheme scripting engine aiming at being a
+handy tool that helps programmers and system administrators to write small to
+large scripts quickly. Quick startup, built-in system interface, native
+multilingual support are some of the goals. Gauche comes with a package
+manager/installer @code{gauche-package} which can download, compile, install
+and list gauche extension packages. There are currently 58 packages
+available.")
+ (license bsd-3)))
- branch master updated (b96909c -> b9da4b9), guix-commits, 2019/01/15
- 06/10: discovery: Add 'fold-module-public-variables*'., guix-commits, 2019/01/15
- 10/10: status: Distinguish 'package-cache' profile hook., guix-commits, 2019/01/15
- 05/10: inferior: Add 'gexp->derivation-in-inferior'., guix-commits, 2019/01/15
- 07/10: channels: Compute a package cache and use it., guix-commits, 2019/01/15
- 08/10: edit: Use 'specification->location' to read information from the cache., guix-commits, 2019/01/15
- 03/10: guix package: Avoid 'find-newest-available-packages'., guix-commits, 2019/01/15
- 01/10: gnu: Add gauche.,
guix-commits <=
- 09/10: guix package: '--list-available' can use data from the cache., guix-commits, 2019/01/15
- 02/10: profiling: Add a "gc" profiling component., guix-commits, 2019/01/15
- 04/10: packages: Remove 'find-newest-available-packages'., guix-commits, 2019/01/15