summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-10-29 21:26:16 +0200
committerLudovic Courtès <ludo@gnu.org>2021-11-11 00:14:30 +0100
commit450e1dd52e0a34bb00fcb655956e40d69d50a331 (patch)
treeac30e1038048c8e1454ad902f675b59a4c3e46dc /tests
parentb20cd80ff1f3c9eb988a0cc27ed9538b68914608 (diff)
downloadguix-patches-450e1dd52e0a34bb00fcb655956e40d69d50a331.tar
guix-patches-450e1dd52e0a34bb00fcb655956e40d69d50a331.tar.gz
import: cran: Allow imports of a specific version.
* guix/import/cran.scm (download): Handle the case where URL is a list. (fetch-description-from-tarball): New procedure. (fetch-description): Add #:version parameter. Honor it when REPOSITORY is 'cran. Use 'fetch-description-from-tarball' when REPOSITORY is 'bioconductor. (description->package): SOURCE-URL may now be a list. (cran->guix-package): Pass VERSION to 'fetch-description'. (cran-recursive-import): Add #:version parameter. * guix/scripts/import/cran.scm (guix-import-cran): Expect a spec rather than a mere package name. * doc/guix.texi (Invoking guix import): Document it.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions