import: cran-sxml->sexp: Use cran-uri in package expression.
* guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in the generated package expression.
This commit is contained in:
parent
5546114e73
commit
a52b625152
|
@ -165,7 +165,7 @@ representation of the package page."
|
||||||
(version ,version)
|
(version ,version)
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append ,@(factorize-uri source-url version)))
|
(uri (cran-uri ,name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
,(bytevector->nix-base32-string (file-sha256 tarball))))))
|
,(bytevector->nix-base32-string (file-sha256 tarball))))))
|
||||||
|
|
Loading…
Reference in New Issue