From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Julien Lepiller <julien@lepiller.eu>
Cc: "39372@debbugs.gnu.org" <39372@debbugs.gnu.org>
Subject: [bug#39372] Chicken Scheme: Update version to 5.1.0 and add gcc-toolchain
Date: Sun, 09 Feb 2020 15:55:02 +0000 [thread overview]
Message-ID: <jE9-ZET5v96H99GtR1LvAolMWXKnrT2lNpjgGB8sDYtR1vLqj6Ey9TSPo0ww5XQpFvJt_O_2K2-S2kpSZXmrCBzNfOBZcl1mdk74lCIz0Bo=@elenq.tech> (raw)
In-Reply-To: <34Y0W0Ll0Mpsb3EexxFit46MyRTOblEmy9rRB5bwJbSzUx9Udyj4a4k55gDRn6r5JRgFs3YINo8MjKOs1pWCNGF4mQWRAreN6AQKO9tUDOQ=@elenq.tech>
From 34d4965c61f4a1f5153aaf6d959c06745790d0d0 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Sun, 9 Feb 2020 16:10:28 +0100
Subject: [PATCH 1/2] gnu: chicken: Move to a separate module.
* gnu/packages/scheme.scm (chicken): Move to chicken.scm.
* gnu/packages/chicken.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
gnu/local.mk | 1 +
gnu/packages/chicken.scm | 66 ++++++++++++++++++++++++++++++++++++++++
gnu/packages/scheme.scm | 41 -------------------------
3 files changed, 67 insertions(+), 41 deletions(-)
create mode 100644 gnu/packages/chicken.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index 64ad653542..d86b39cacb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -109,6 +109,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/check.scm \
%D%/packages/chemistry.scm \
%D%/packages/chez.scm \
+ %D%/packages/chicken.scm \
%D%/packages/chromium.scm \
%D%/packages/ci.scm \
%D%/packages/cinnamon.scm \
diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
new file mode 100644
index 0000000000..53631f9bd6
--- /dev/null
+++ b/gnu/packages/chicken.scm
@@ -0,0 +1,66 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;;
+;;; 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/>.
+
+(define-module (gnu packages chicken)
+ #:use-module (gnu packages)
+ #:use-module (guix packages)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix download)
+ #:use-module ((guix licenses)
+ #:select (bsd-3)))
+
+(define-public chicken
+ (package
+ (name "chicken")
+ (version "5.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://code.call-cc.org/releases/"
+ version "/chicken-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8"))))
+ (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
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)
+ (add-after 'install 'check
+ (assoc-ref %standard-phases '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
+language standard, and includes many enhancements and extensions.")
+ (license bsd-3)))
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 1009896a70..c891a77a18 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -368,47 +368,6 @@ applications in many fields such as multimedia (web galleries, music players,
mashups, office (web agendas, mail clients, ...), etc.")
(license gpl2+)))
-(define-public chicken
- (package
- (name "chicken")
- (version "5.0.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://code.call-cc.org/releases/"
- version "/chicken-" version ".tar.gz"))
- (sha256
- (base32
- "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8"))))
- (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
- (modify-phases %standard-phases
- (delete 'configure)
- (delete 'check)
- (add-after 'install 'check
- (assoc-ref %standard-phases '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
-language standard, and includes many enhancements and extensions.")
- (license bsd-3)))
-
(define-public scheme48
(package
(name "scheme48")
--
2.17.1
next prev parent reply other threads:[~2020-02-09 15:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 16:22 [bug#39372] Chicken Scheme: Update version to 5.1.0 and add gcc-toolchain Ekaitz at ElenQ Technology
2020-02-01 0:36 ` Jonathan Brielmaier
2020-02-08 17:44 ` Julien Lepiller
2020-02-09 14:11 ` Ekaitz Zarraga
2020-02-09 14:30 ` Julien Lepiller
2020-02-09 15:54 ` Ekaitz Zarraga
2020-02-09 15:55 ` Ekaitz Zarraga [this message]
2020-02-09 15:55 ` Ekaitz Zarraga
2020-02-09 20:01 ` bug#39372: " Julien Lepiller
2020-02-09 20:03 ` [bug#39372] " Ekaitz Zarraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jE9-ZET5v96H99GtR1LvAolMWXKnrT2lNpjgGB8sDYtR1vLqj6Ey9TSPo0ww5XQpFvJt_O_2K2-S2kpSZXmrCBzNfOBZcl1mdk74lCIz0Bo=@elenq.tech' \
--to=ekaitz@elenq.tech \
--cc=39372@debbugs.gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.