summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-07-12 23:59:09 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-07-13 00:20:21 +0200
commit2516ba81bef1f1ed6847a9611740b6ab30fb5582 (patch)
tree4dee950d50859c26200f58e2892a3c7b45be3e4d /gnu
parent7fc2d3a92d23ebeb9084c99d9e1e158fca4f155c (diff)
downloadguix-2516ba81bef1f1ed6847a9611740b6ab30fb5582.tar.gz
gnu: wcslib: Update to 6.2.
* gnu/packages/astronomy.scm (wcslib): Update to 6.2.
[arguments]: Add #:configure-flags to find CFITSIO.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c66ba2c516..4cf7c10352 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -81,7 +81,7 @@ in FITS files.")
 (define-public wcslib
   (package
     (name "wcslib")
-    (version "5.20")
+    (version "6.2")
     (source
      (origin
        (method url-fetch)
@@ -89,12 +89,17 @@ in FITS files.")
              "ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib" version
              ".tar.bz2"))
        (sha256
-        (base32 "1c8g9kv4dxrnawnqi4spi2p10s2xs7x75pdfxhbqxgcc97dkgh0b"))))
+        (base32 "01fqckazhbfqqhyr0wd9vcks1m2afmsh83l981alxg2r54jgwkdv"))))
     (inputs
      `(("cfitsio" ,cfitsio)))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags
+       (list (string-append "--with-cfitsiolib="
+                            (assoc-ref %build-inputs "cfitsio") "/lib")
+             (string-append "--with-cfitsioinc="
+                            (assoc-ref %build-inputs "cfitsio") "/include"))
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-/bin/sh
            (lambda _