build-system/r: Use %bioconductor-version.
* guix/build-system/r.scm (bioconductor-uri): Use %bioconductor-version instead of hard-coding the version string.
This commit is contained in:
parent
76c0b60821
commit
41ca406fa5
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -24,6 +24,7 @@
|
||||||
#:use-module (guix search-paths)
|
#:use-module (guix search-paths)
|
||||||
#:use-module (guix build-system)
|
#:use-module (guix build-system)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module ((guix import cran) #:select (%bioconductor-version))
|
||||||
#:use-module (ice-9 match)
|
#:use-module (ice-9 match)
|
||||||
#:use-module (srfi srfi-26)
|
#:use-module (srfi srfi-26)
|
||||||
#:export (%r-build-system-modules
|
#:export (%r-build-system-modules
|
||||||
|
@ -58,8 +59,8 @@ release corresponding to NAME and VERSION."
|
||||||
type-url-part
|
type-url-part
|
||||||
"/src/contrib/"
|
"/src/contrib/"
|
||||||
name "_" version ".tar.gz")
|
name "_" version ".tar.gz")
|
||||||
;; TODO: use %bioconductor-version from (guix import cran)
|
(string-append "https://bioconductor.org/packages/"
|
||||||
(string-append "https://bioconductor.org/packages/3.9"
|
%bioconductor-version
|
||||||
type-url-part
|
type-url-part
|
||||||
"/src/contrib/Archive/"
|
"/src/contrib/Archive/"
|
||||||
name "_" version ".tar.gz"))))
|
name "_" version ".tar.gz"))))
|
||||||
|
|
Loading…
Reference in New Issue