aboutsummaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-03 14:53:03 +0100
committerLudovic Courtès <ludo@gnu.org>2016-01-03 14:53:03 +0100
commit53334dd6e9e296e17110ebcd2b1f93f117ffe36a (patch)
tree2653db2eab9a204dab892ea8b6812cadf7209e84 /guix/build-system
parent1575dcd134f4fae7255787293f4988bbd043de95 (diff)
parent51385362f76e2f823ac8d8cf720d06c386504069 (diff)
downloadgnu-guix-53334dd6e9e296e17110ebcd2b1f93f117ffe36a.tar
gnu-guix-53334dd6e9e296e17110ebcd2b1f93f117ffe36a.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/r.scm9
1 files changed, 8 insertions, 1 deletions
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 @@
#:export (%r-build-system-modules
r-build
r-build-system
- cran-uri))
+ cran-uri
+ bioconductor-uri))
;; Commentary:
;;
@@ -46,6 +47,12 @@ available via the first URI, the second URI points to the archived 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)