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>
This commit is contained in:
Sharlatan Hellseher 2022-12-11 22:25:41 +00:00 committed by Ludovic Courtès
parent 96df67e068
commit 5534a69223
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -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