summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2022-12-11 22:25:41 +0000
committerLudovic Courtès <ludo@gnu.org>2023-01-06 23:46:31 +0100
commit5534a69223cbf13b247f76810050eed9f1328b5f (patch)
tree418b817cbf00ffc1be72671497056e8003fd7f22 /gnu
parent96df67e0688da235c267dec33a588f08cca5c567 (diff)
downloadguix-5534a69223cbf13b247f76810050eed9f1328b5f.tar.gz
gnu: cfitsio: Build with bzip2 support.
* gnu/packages/astronomy.scm (cfitsio):
  [arguments](configure-flags): Add bzip2 option.
  [inputs]: Add bzip2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 0b8f9385ca..a4139d2308 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -368,6 +368,8 @@ made to get a better separation of core libraries and applications.
     (build-system gnu-build-system)
     (arguments
      (list
+      #:configure-flags
+      #~(list (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-paths
@@ -384,7 +386,7 @@ made to get a better separation of core libraries and applications.
                 (invoke "diff" "-r" "testprog.lis" "testprog.out")
                 (invoke "cmp" "-l" "testprog.fit" "testprog.std")))))))
     (native-inputs (list gfortran))
-    (inputs (list curl zlib))
+    (inputs (list bzip2 curl zlib))
     (home-page "https://heasarc.gsfc.nasa.gov/fitsio/fitsio.html")
     (synopsis "Library for reading and writing FITS files")
     (description "CFITSIO provides simple high-level routines for reading and