From: Alex Kost <alezost@gmail.com>
To: John Darrington <jmd@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/3] gnu: Add wcslib
Date: Mon, 12 Sep 2016 16:44:44 +0300 [thread overview]
Message-ID: <8737l58c6r.fsf@gmail.com> (raw)
In-Reply-To: <874m61fngt.fsf@gmail.com> (Alex Kost's message of "Wed, 31 Aug 2016 09:42:58 +0300")
Alex Kost (2016-08-31 09:42 +0300) wrote:
> John Darrington (2016-08-30 22:21 +0300) wrote:
>
>> * gnu/packages/astronomy.scm (wcslib): New variable.
>> ---
>> gnu/packages/astronomy.scm | 27 +++++++++++++++++++++++++++
>> 1 file changed, 27 insertions(+)
>>
>>
>> diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
>> index 881e549..53e86c8 100644
>> --- a/gnu/packages/astronomy.scm
>> +++ b/gnu/packages/astronomy.scm
>> @@ -51,3 +51,30 @@ provides many advanced features for manipulating and filtering the information
>> in FITS files.")
>> (license (license:non-copyleft "file://License.txt"
>> "See License.txt in the distribution."))))
>> +
>> +(define-public wcslib
>> + (package
>> + (name "wcslib")
>> + (version "5.15")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (string-append
>> + "ftp://ftp.atnf.csiro.au/pub/software/wcslib/" name "-" version ".tar.bz2"))
>
> As for me, this line is too long, I would write:
>
> (uri (string-append
> "ftp://ftp.atnf.csiro.au/pub/software/wcslib/"
> name "-" version ".tar.bz2"))
>
>> + (sha256
>> + (base32 "1s2nig327g4bimd9xshlk11ww09a7mrjmsbpdcd8smsmn2kl1glb"))))
>> + (inputs
>> + `(("cfitsio" ,cfitsio)))
>> + (build-system gnu-build-system)
>> + (arguments
>> + `(#:phases (modify-phases %standard-phases
>> + (add-before 'configure 'patch-/bin/sh
>> + (lambda _
>> + (substitute* "makedefs.in"
>> + (("/bin/sh") "sh")))))))
>
> This phase should end with #t.
I've noticed that you didn't fix these things (long line and #t after
substitute*). Could please do it next time :-)
The same for 'cfitsio' package.
--
Alex
next prev parent reply other threads:[~2016-09-12 13:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 19:21 [PATCH 1/3] gnu: Add cfitsio John Darrington
2016-08-30 19:21 ` [PATCH 2/3] gnu: Add wcslib John Darrington
2016-08-30 20:47 ` Leo Famulari
2016-08-31 6:42 ` Alex Kost
2016-09-12 13:44 ` Alex Kost [this message]
2016-09-12 15:40 ` John Darrington
2016-09-13 8:10 ` Alex Kost
2016-09-13 12:44 ` John Darrington
2016-08-30 19:21 ` [PATCH 3/3] gnu: Add gnuastro John Darrington
2016-08-30 20:45 ` Leo Famulari
2016-08-31 6:47 ` Alex Kost
2016-08-30 20:47 ` [PATCH 1/3] gnu: Add cfitsio Leo Famulari
2016-08-31 6:45 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737l58c6r.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=jmd@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).