import: cran: Support experiment and annotation packages.
authorRicardo Wurmus <rekado@elephly.net>
Fri, 16 Aug 2019 12:59:23 +0000 (14:59 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Fri, 16 Aug 2019 13:07:22 +0000 (15:07 +0200)
commit5063deab0800ca3f75fa4671dc544cc212326608
tree5e8507c89fc1480fc04ff267934921b34b72dd3d
parentc586f427b4831b9b492e5b900b2226e898b8fcfa
import: cran: Support experiment and annotation packages.

* guix/import/cran.scm (%bioconductor-packages-list-url): Replace variable...
(bioconductor-packages-list-url): ...with this procedure.
(bioconductor-packages-list): Accept optional TYPE argument.
(latest-bioconductor-package-version): Same.
(fetch-description): Determine package type and use it in calls to
LATEST-BIOCONDUCTOR-PACKAGE-VERSION and BIOCONDUCTOR-URI.
(description->package): Pass package type to URI helper procedure; include
package type in annotation or experiment packages from Bioconducter.
guix/import/cran.scm