guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] New procedure for CRAN URIs.


From: Ricardo Wurmus
Subject: Re: [PATCH] New procedure for CRAN URIs.
Date: Fri, 18 Sep 2015 11:50:51 +0200

Ludovic Courtès <address@hidden> 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



reply via email to

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