From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] New procedure for CRAN URIs.
Date: Fri, 18 Sep 2015 11:50:51 +0200 [thread overview]
Message-ID: <idj37yc6op0.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <878u84xdxy.fsf@gnu.org>
Ludovic Courtès <ludo@gnu.org> writes:
>> * guix/build-system/r.scm (cran-uri): New procedure.
>
> Sounds like a good idea.
>
> You might as well come up with ‘cran-origin’:
>
> (define (cran-origin package version)
> (origin
> (method url-fetch)
> …))
>
> WDYT?
I wouldn’t know how to deal with the hash then. Isn’t it better to have
a static hash in the package definition rather than compute it when
‘(cran-origin ...)’ is evaled? Or should it be called like this instead:
(cran-origin "name" version
"verylonghash1234")
~~ Ricardo
next prev parent reply other threads:[~2015-09-18 9:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-17 15:13 [PATCH] New procedure for CRAN URIs Ricardo Wurmus
2015-09-18 9:40 ` Ludovic Courtès
2015-09-18 9:50 ` Ricardo Wurmus [this message]
2015-09-18 19:26 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idj37yc6op0.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=guix-devel@gnu.org \
--cc=ludo@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.