guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: cfitsio: Build with bzip2 support.


From: guix-commits
Subject: 03/07: gnu: cfitsio: Build with bzip2 support.
Date: Fri, 6 Jan 2023 17:49:06 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 5534a69223cbf13b247f76810050eed9f1328b5f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 11 22:25:41 2022 +0000

    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>
---
 gnu/packages/astronomy.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]