gnu: r-bsgenome-hsapiens-1000genomes-hs37d5: Use bioconductor-uri.

* gnu/packages/bioconductor.scm (r-bsgenome-hsapiens-1000genomes-hs37d5)[source]:
Use bioconductor-uri.
[arguments]: Enable substitution.
This commit is contained in:
Ricardo Wurmus 2019-12-04 09:28:04 +01:00
parent bf05ece1a2
commit 88e7c7db59
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -182,21 +182,14 @@ (define-public r-bsgenome-hsapiens-1000genomes-hs37d5
(version "0.99.1")
(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.1000genomes.hs37d5_"
version ".tar.gz"))
(uri (bioconductor-uri "BSgenome.Hsapiens.1000genomes.hs37d5"
version 'annotation))
(sha256
(base32
"1cg0g5fqmsvwyw2p9hp2yy4ilk21jkbbrnpgqvb5c36ihjwvc7sr"))))
(properties
`((upstream-name . "BSgenome.Hsapiens.1000genomes.hs37d5")))
(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