gnu: racket: Update to 6.1.1.

* gnu/packages/scheme.scm (racket): Update to 6.1.1.  Adjust URI.
  [inputs]: Add FONTCONFIG and SQLITE.
This commit is contained in:
Ludovic Courtès 2015-01-28 21:28:29 +01:00
parent 01ed3c4fe5
commit d3206af65a

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -24,6 +24,7 @@ (define-module (gnu packages scheme)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages m4) #:use-module (gnu packages m4)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
#:use-module (gnu packages databases)
#:use-module (gnu packages emacs) #:use-module (gnu packages emacs)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages elf) #:use-module (gnu packages elf)
@ -34,6 +35,7 @@ (define-module (gnu packages scheme)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages libffi) #:use-module (gnu packages libffi)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
@ -353,18 +355,17 @@ (define-public scheme48
(define-public racket (define-public racket
(package (package
(name "racket") (name "racket")
(version "5.3.4") (version "6.1.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (list (string-append "http://download.racket-lang.org/installers/" (uri (list (string-append "http://mirror.racket-lang.org/installers/"
version "/racket/racket-" version version "/racket-" version "-src.tgz")
"-src-unix.tgz")
(string-append (string-append
"http://mirror.informatik.uni-tuebingen.de/mirror/racket/" "http://mirror.informatik.uni-tuebingen.de/mirror/racket/"
version "/racket/racket-" version "-src-unix.tgz"))) version "/racket/racket-" version "-src-unix.tgz")))
(sha256 (sha256
;; XXX: Used to be 1xhnx3yd74zrvn6sfcqmk57kxj51cwvm660dwiaxr1qxnm5lq0v7. (base32
(base32 "0yrdmpdvzf092869y6zjjjxl6j2kypgiv7qrfkv7lj8w01pbh7sd")))) "0xfsfdqkngz0xw2lqmc7bsznwx25cw91l9fjhp7abrr05m96j0h9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -378,7 +379,9 @@ (define (lib input)
(lib "pango") (lib "pango")
(lib "libjpeg") (lib "libjpeg")
(lib "gtk") (lib "gtk")
(lib "gdk-pixbuf"))))) (lib "gdk-pixbuf")
(lib "fontconfig")
(lib "sqlite"))))) ;to build the doc
(alist-cons-before (alist-cons-before
'configure 'pre-configure 'configure 'pre-configure
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
@ -413,8 +416,10 @@ (define (wrap prog)
("cairo" ,cairo) ("cairo" ,cairo)
("pango" ,pango) ("pango" ,pango)
("libjpeg" ,libjpeg-8) ("libjpeg" ,libjpeg-8)
("fontconfig" ,fontconfig)
("gdk-pixbuf" ,gdk-pixbuf) ("gdk-pixbuf" ,gdk-pixbuf)
("gtk" ,gtk+-2))) ("gtk" ,gtk+-2)
("sqlite" ,sqlite))) ;needed to build the doc
(home-page "http://racket-lang.org") (home-page "http://racket-lang.org")
(synopsis "Implementation of Scheme and related languages") (synopsis "Implementation of Scheme and related languages")
(description (description