diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-12-16 14:02:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-12-21 22:32:01 +0100 |
commit | 12d38e8d43c9bfaa73b6e6171581874f3c466975 (patch) | |
tree | e4f7db75e213d4d0941202594911120480275daa /guix | |
parent | 8e92cfb101f65c21445439913c4cc6e41ff6ccb7 (diff) | |
download | gnu-guix-12d38e8d43c9bfaa73b6e6171581874f3c466975.tar gnu-guix-12d38e8d43c9bfaa73b6e6171581874f3c466975.tar.gz |
build: Add bioconductor-uri procedure.
* guix/build-system/r.scm (bioconductor-uri): New procedure.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build-system/r.scm | 9 |
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) |