Ludovic Courtès <[email protected]> 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