gnu: Use cran-uri in source expressions.

* gnu/packages/statistics.scm (r-colorspace, r-dichromat, r-digest,
  r-gtable, r-labeling, r-magrittr, r-munsell, r-rcpp, r-plyr, r-proto,
  r-rcolorbrewer, r-stringi, r-stringr, r-reshape2, r-scales, r-ggplot2,
  r-assertthat, r-lazyeval, r-dbi): Use cran-uri in source expressions.
This commit is contained in:
Ricardo Wurmus 2015-09-17 17:04:35 +02:00
parent a52b625152
commit 9cda36227b

View file

@ -141,8 +141,7 @@ (define-public r-colorspace
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/colorspace_" (uri (cran-uri "colorspace" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0y8n4ljwhbdvkysdwgqzcnpv107pb3px1jip3k6svv86p72nacds")))) (base32 "0y8n4ljwhbdvkysdwgqzcnpv107pb3px1jip3k6svv86p72nacds"))))
(build-system r-build-system) (build-system r-build-system)
@ -162,8 +161,7 @@ (define-public r-dichromat
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/dichromat_" (uri (cran-uri "dichromat" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i")))) (base32 "1l8db1nk29ccqg3mkbafvfiw0775iq4gapysf88xq2zp6spiw59i"))))
(build-system r-build-system) (build-system r-build-system)
@ -181,8 +179,7 @@ (define-public r-digest
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/digest_" (uri (cran-uri "digest" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0m9grqv67hhf51lz10whymhw0g0d98466ka694kya5x95hn44qih")))) (base32 "0m9grqv67hhf51lz10whymhw0g0d98466ka694kya5x95hn44qih"))))
(build-system r-build-system) (build-system r-build-system)
@ -207,8 +204,7 @@ (define-public r-gtable
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/gtable_" (uri (cran-uri "gtable" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0k9hfj6r5y238gqh92s3cbdn34biczx3zfh79ix5xq0c5vkai2xh")))) (base32 "0k9hfj6r5y238gqh92s3cbdn34biczx3zfh79ix5xq0c5vkai2xh"))))
(build-system r-build-system) (build-system r-build-system)
@ -226,8 +222,7 @@ (define-public r-labeling
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/labeling_" (uri (cran-uri "labeling" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d")))) (base32 "13sk7zrrrzry6ky1bp8mmnzcl9jhvkig8j4id9nny7z993mnk00d"))))
(build-system r-build-system) (build-system r-build-system)
@ -244,8 +239,7 @@ (define-public r-magrittr
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/magrittr_" (uri (cran-uri "magrittr" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05")))) (base32 "1s1ar6rag8m277qcqmdp02gn4awn9bdj9ax0r8s32i59mm1mki05"))))
(build-system r-build-system) (build-system r-build-system)
@ -266,8 +260,7 @@ (define-public r-munsell
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/munsell_" (uri (cran-uri "munsell" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "1bi5yi0i80778bbzx2rm4f0glpc34kvh24pwwfhm4v32izsqgrw4")))) (base32 "1bi5yi0i80778bbzx2rm4f0glpc34kvh24pwwfhm4v32izsqgrw4"))))
(build-system r-build-system) (build-system r-build-system)
@ -287,8 +280,7 @@ (define-public r-rcpp
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/Rcpp_" (uri (cran-uri "Rcpp" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "182109z0yc1snqgd833ssl2cix6cbq83bcxmy5344b15ym820y38")))) (base32 "182109z0yc1snqgd833ssl2cix6cbq83bcxmy5344b15ym820y38"))))
(build-system r-build-system) (build-system r-build-system)
@ -312,8 +304,7 @@ (define-public r-plyr
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/plyr_" (uri (cran-uri "plyr" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "06v4zxawpjz37rp2q2ii5q43g664z9s29j4ydn0cz3crn7lzl6pk")))) (base32 "06v4zxawpjz37rp2q2ii5q43g664z9s29j4ydn0cz3crn7lzl6pk"))))
(build-system r-build-system) (build-system r-build-system)
@ -335,7 +326,7 @@ (define-public r-proto
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/proto_" version ".tar.gz")) (uri (cran-uri "proto" version))
(sha256 (sha256
(base32 "03mvzi529y6kjcp9bkpk7zlgpcakb3iz73hca6rpjy14pyzl3nfh")))) (base32 "03mvzi529y6kjcp9bkpk7zlgpcakb3iz73hca6rpjy14pyzl3nfh"))))
(build-system r-build-system) (build-system r-build-system)
@ -353,8 +344,7 @@ (define-public r-rcolorbrewer
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/RColorBrewer_" (uri (cran-uri "RColorBrewer" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk")))) (base32 "1pfcl8z1pnsssfaaz9dvdckyfnnc6rcq56dhislbf571hhg7isgk"))))
(build-system r-build-system) (build-system r-build-system)
@ -373,10 +363,7 @@ (define-public r-stringi
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (cran-uri "stringi" version))
"mirror://cran/src/contrib/stringi_"
version
".tar.gz"))
(sha256 (sha256
(base32 (base32
"183wrrjhpgl1wbnn9lhghyvhz7l2mc64mpcmzplckal7y9j7pmhw")))) "183wrrjhpgl1wbnn9lhghyvhz7l2mc64mpcmzplckal7y9j7pmhw"))))
@ -402,8 +389,7 @@ (define-public r-stringr
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/stringr_" (uri (cran-uri "stringr" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0jnz6r9yqyf7dschr2fnn1slg4wn6b4ik5q00j4zrh43bfw7s9pq")))) (base32 "0jnz6r9yqyf7dschr2fnn1slg4wn6b4ik5q00j4zrh43bfw7s9pq"))))
(build-system r-build-system) (build-system r-build-system)
@ -427,8 +413,7 @@ (define-public r-reshape2
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/reshape2_" (uri (cran-uri "reshape2" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0hl082dyk3pk07nqprpn5dvnrkqhnf6zjnjig1ijddxhlmsrzm7v")))) (base32 "0hl082dyk3pk07nqprpn5dvnrkqhnf6zjnjig1ijddxhlmsrzm7v"))))
(build-system r-build-system) (build-system r-build-system)
@ -450,8 +435,7 @@ (define-public r-scales
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/scales_" (uri (cran-uri "scales" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "12xrmn1vh64dl46bq7n7pa427aicb2ifjrby9in3m32nyvir0kac")))) (base32 "12xrmn1vh64dl46bq7n7pa427aicb2ifjrby9in3m32nyvir0kac"))))
(build-system r-build-system) (build-system r-build-system)
@ -477,8 +461,7 @@ (define-public r-ggplot2
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/ggplot2_" (uri (cran-uri "ggplot2" version))
version ".tar.gz"))
(sha256 (sha256
(base32 "0794kjqi3lrxb33lr1mykd58959hlgkhdn259vj8fxrh65mqw920")))) (base32 "0794kjqi3lrxb33lr1mykd58959hlgkhdn259vj8fxrh65mqw920"))))
(build-system r-build-system) (build-system r-build-system)
@ -506,8 +489,7 @@ (define-public r-assertthat
(version "0.1") (version "0.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/assertthat_" (uri (cran-uri "assertthat" version))
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk")))) "0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk"))))
@ -527,8 +509,7 @@ (define-public r-lazyeval
(version "0.1.10") (version "0.1.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/lazyeval_" (uri (cran-uri "lazyeval" version))
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"02qfpn2fmy78vx4jxr7g7rhqzcm1kcivfwai7lbh0vvpawia0qwh")))) "02qfpn2fmy78vx4jxr7g7rhqzcm1kcivfwai7lbh0vvpawia0qwh"))))
@ -546,8 +527,7 @@ (define-public r-dbi
(version "0.3.1") (version "0.3.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/contrib/DBI_" (uri (cran-uri "DBI" version))
version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0xj5baxwnhl23rd5nskhjvranrwrc68f3xlyrklglipi41bm69hw")))) "0xj5baxwnhl23rd5nskhjvranrwrc68f3xlyrklglipi41bm69hw"))))