From 12d38e8d43c9bfaa73b6e6171581874f3c466975 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 16 Dec 2015 14:02:29 +0100 Subject: build: Add bioconductor-uri procedure. * guix/build-system/r.scm (bioconductor-uri): New procedure. --- guix/build-system/r.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/guix/build-system/r.scm b/guix/build-system/r.scm index da06cb1358..a8ca354227 100644 --- a/guix/build-system/r.scm +++ b/guix/build-system/r.scm @@ -29,7 +29,8 @@ (define-module (guix build-system r) #:export (%r-build-system-modules r-build r-build-system - cran-uri)) + cran-uri + bioconductor-uri)) ;; Commentary: ;; @@ -46,6 +47,12 @@ (define (cran-uri name version) (string-append "mirror://cran/src/contrib/Archive/" name "/" name "_" version ".tar.gz"))) +(define (bioconductor-uri name version) + "Return a URI string for the R package archive on Bioconductor for the +release corresponding to NAME and VERSION." + (string-append "http://bioconductor.org/packages/release/bioc/src/contrib/" + name "_" version ".tar.gz")) + (define %r-build-system-modules ;; Build-side modules imported by default. `((guix build r-build-system) -- cgit v1.2.3