From e7a8cf2e6ebdf045b90adf08c182680efe8746c1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 4 Dec 2019 09:32:22 +0100 Subject: [PATCH] gnu: r-bsgenome-hsapiens-ucsc-hg19: Use bioconductor-uri. * gnu/packages/bioconductor.scm (r-bsgenome-hsapiens-ucsc-hg19)[source]: Use bioconductor-uri. [arguments]: Enable substitution. --- gnu/packages/bioconductor.scm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index fdb7ff0be8..4132973418 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -427,21 +427,14 @@ (define-public r-bsgenome-hsapiens-ucsc-hg19 (version "1.4.0") (source (origin (method url-fetch) - ;; We cannot use bioconductor-uri here because this tarball is - ;; located under "data/annotation/" instead of "bioc/". - (uri (string-append "https://www.bioconductor.org/packages/" - "release/data/annotation/src/contrib/" - "BSgenome.Hsapiens.UCSC.hg19_" - version ".tar.gz")) + (uri (bioconductor-uri "BSgenome.Hsapiens.UCSC.hg19" + version 'annotation)) (sha256 (base32 "1y0nqpk8cw5a34sd9hmin3z4v7iqm6hf6l22cl81vlbxqbjibxc8")))) (properties `((upstream-name . "BSgenome.Hsapiens.UCSC.hg19"))) (build-system r-build-system) - ;; As this package provides little more than a very large data file it - ;; doesn't make sense to build substitutes. - (arguments `(#:substitutable? #f)) (propagated-inputs `(("r-bsgenome" ,r-bsgenome))) (home-page