gnu: (cfitsio, wcslib): Change return values of custom phases.

* gnu/packages/astronomy.scm (cfitsio, wcslib): Return #t from patch phases.
This commit is contained in:
John Darrington 2016-09-12 16:34:33 +02:00
parent 378920defc
commit 39fb629535
No known key found for this signature in database
GPG key ID: 8A67719C2DE827B3

View file

@ -43,7 +43,8 @@ (define-public cfitsio
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-paths (add-after 'unpack 'patch-paths
(lambda _ (lambda _
(substitute* "Makefile.in" (("/bin/") ""))))))) (substitute* "Makefile.in" (("/bin/") ""))
#t)))))
(home-page "http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html") (home-page "http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html")
(synopsis "Library for reading and writing FITS files") (synopsis "Library for reading and writing FITS files")
(description "CFITSIO provides simple high-level routines for reading and (description "CFITSIO provides simple high-level routines for reading and
@ -62,7 +63,8 @@ (define-public wcslib
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"ftp://ftp.atnf.csiro.au/pub/software/wcslib/" name "-" version ".tar.bz2")) "ftp://ftp.atnf.csiro.au/pub/software/wcslib/" name "-" version
".tar.bz2"))
(sha256 (sha256
(base32 "1s2nig327g4bimd9xshlk11ww09a7mrjmsbpdcd8smsmn2kl1glb")))) (base32 "1s2nig327g4bimd9xshlk11ww09a7mrjmsbpdcd8smsmn2kl1glb"))))
(inputs (inputs
@ -73,7 +75,8 @@ (define-public wcslib
(add-before 'configure 'patch-/bin/sh (add-before 'configure 'patch-/bin/sh
(lambda _ (lambda _
(substitute* "makedefs.in" (substitute* "makedefs.in"
(("/bin/sh") "sh"))))))) (("/bin/sh") "sh"))
#t)))))
(home-page "http://www.atnf.csiro.au/people/mcalabre/WCS") (home-page "http://www.atnf.csiro.au/people/mcalabre/WCS")
(synopsis "Library which implements the FITS WCS standard") (synopsis "Library which implements the FITS WCS standard")
(description "The FITS \"World Coordinate System\" (WCS) standard defines (description "The FITS \"World Coordinate System\" (WCS) standard defines