summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-19 22:32:21 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-19 22:32:21 +0100
commit2ffa297ab84c74d0d496076d5ea0e9833a960ad1 (patch)
tree61b9363e289e5aab3b0217b362b754b8aa2b36ce /gnu
parent79c398a20c08c698358dbca3ad32047c735b1c0a (diff)
downloadguix-2ffa297ab84c74d0d496076d5ea0e9833a960ad1.tar.gz
gnu: lout: Add missing dependency on Ghostscript.
* gnu/packages/lout.scm (lout): Add GHOSTSCRIPT as an input.  Use a
  mirror:// URL.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lout.scm16
1 files changed, 6 insertions, 10 deletions
diff --git a/gnu/packages/lout.scm b/gnu/packages/lout.scm
index b95b694ab4..83f3fcfaf8 100644
--- a/gnu/packages/lout.scm
+++ b/gnu/packages/lout.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,7 +21,8 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages ghostscript))
 
 (define-public lout
   ;; This one is a bit tricky, because it doesn't follow the GNU Build System
@@ -80,20 +81,15 @@
     (version "3.39")
     (source (origin
              (method url-fetch)
-             ;; FIXME: `http-get' doesn't follow redirects, hence the URL.
-             (uri (string-append
-                   "http://download-mirror.savannah.gnu.org/releases/lout/lout-"
-                   version ".tar.gz"))
+             (uri (string-append "mirror://savannah/lout/lout-"
+                                 version ".tar.gz"))
              (sha256
               (base32
                "12gkyqrn0kaa8xq7sc7v3wm407pz2fxg9ngc75aybhi5z825b9vq"))))
     (build-system gnu-build-system)               ; actually, just a makefile
     (outputs '("out" "doc"))
     (inputs
-     `(;; FIXME: Add dependency on Ghostscript.
-       ;; ("ghostscript" ,(lambda _
-       ;;                   (nixpkgs-derivation "ghostscript")))
-       ))
+     `(("ghostscript" ,ghostscript)))
     (arguments `(#:modules ((guix build utils)
                             (guix build gnu-build-system)
                             (srfi srfi-1))        ; we need SRFI-1