gnu: wcslib: Update to 6.2.
* gnu/packages/astronomy.scm (wcslib): Update to 6.2. [arguments]: Add #:configure-flags to find CFITSIO.
This commit is contained in:
parent
7fc2d3a92d
commit
2516ba81be
|
@ -81,7 +81,7 @@ (define-public cfitsio
|
||||||
(define-public wcslib
|
(define-public wcslib
|
||||||
(package
|
(package
|
||||||
(name "wcslib")
|
(name "wcslib")
|
||||||
(version "5.20")
|
(version "6.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -89,12 +89,17 @@ (define-public wcslib
|
||||||
"ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib" version
|
"ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib" version
|
||||||
".tar.bz2"))
|
".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1c8g9kv4dxrnawnqi4spi2p10s2xs7x75pdfxhbqxgcc97dkgh0b"))))
|
(base32 "01fqckazhbfqqhyr0wd9vcks1m2afmsh83l981alxg2r54jgwkdv"))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("cfitsio" ,cfitsio)))
|
`(("cfitsio" ,cfitsio)))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(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
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'patch-/bin/sh
|
(add-before 'configure 'patch-/bin/sh
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue