summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-11 11:38:38 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-11 11:38:38 +0200
commit8cc9e7f9d882c47c5522424b9d2f0b2053e4406f (patch)
tree2780da495911f8ac0358ef6e3bcef4af98d91259 /gnu
parent25c936766e7e1e75a2a3aca010fa90858194f8d4 (diff)
gnu: Add CHICKEN.
* gnu/packages/scheme.scm (chicken): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/scheme.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 5eebb583791..9b494b7e02f 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -255,3 +255,44 @@ applications in many fields such as multimedia (web galleries, music players,
255...), ubiquitous and house automation (SmartPhones, personal appliance), 255...), ubiquitous and house automation (SmartPhones, personal appliance),
256mashups, office (web agendas, mail clients, ...), etc.") 256mashups, office (web agendas, mail clients, ...), etc.")
257 (license gpl2+))) 257 (license gpl2+)))
258
259(define-public chicken
260 (package
261 (name "chicken")
262 (version "4.8.0.3")
263 (source (origin
264 (method url-fetch)
265 (uri (string-append "http://code.call-cc.org/releases/4.8.0/chicken-"
266 version ".tar.gz"))
267 (sha256
268 (base32
269 "1hwrnc2dhgbnz3mlpcb4qvg76kwsfzqylw24gxyy91jmygk1853a"))))
270 (build-system gnu-build-system)
271 (arguments
272 `(#:modules ((guix build gnu-build-system)
273 (guix build utils)
274 (srfi srfi-1))
275
276 ;; No `configure' script; run "make check" after "make install" as
277 ;; prescribed by README.
278 #:phases (alist-cons-after
279 'install 'check
280 (assoc-ref %standard-phases 'check)
281 (fold alist-delete %standard-phases
282 '(configure check)))
283
284 #:make-flags (let ((out (assoc-ref %outputs "out")))
285 (list "PLATFORM=linux"
286 (string-append "PREFIX=" out)
287 (string-append "VARDIR=" out "/var/lib")))
288
289 ;; Parallel builds are not supported, as noted in README.
290 #:parallel-build? #f))
291 (home-page "http://www.call-cc.org/")
292 (synopsis "R5RS Scheme implementation that compiles native code via C")
293 (description
294 "CHICKEN is a compiler for the Scheme programming language. CHICKEN
295produces portable and efficient C, supports almost all of the R5RS Scheme
296language standard, and includes many enhancements and extensions. CHICKEN
297runs on Linux, MacOS X, Windows, and many Unix flavours.")
298 (license bsd-3)))