gnu: r-bsgenome-celegans-ucsc-ce10: Use bioconductor-uri.

* gnu/packages/bioconductor.scm (r-bsgenome-celegans-ucsc-ce10)[source]: Use
bioconductor-uri.
[arguments]: Permit substitution.
This commit is contained in:
Ricardo Wurmus 2019-12-04 09:24:09 +01:00
parent 19e67f8216
commit 6998ecba74
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -76,21 +76,14 @@ (define-public r-bsgenome-celegans-ucsc-ce10
(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.Celegans.UCSC.ce10_"
version ".tar.gz"))
(uri (bioconductor-uri "BSgenome.Celegans.UCSC.ce10"
version 'annotation))
(sha256
(base32
"1zaym97jk4npxk14ifvwz2rvhm4zx9xgs33r9vvx9rlynp0gydrk"))))
(properties
`((upstream-name . "BSgenome.Celegans.UCSC.ce10")))
(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