gnu: r-seurat: Update to 2.3.4.

* gnu/packages/bioinformatics.scm (r-seurat): Update to 2.3.4.
[source]: Remove snippet.
[arguments]: Remove.
[native-inputs]: Remove.
[propagated-inputs]: Remove r-caret, r-diffusionmap, r-fnn, r-gdata, r-ranger,
r-stringr, r-tclust, and rvgam; add r-httr.
This commit is contained in:
Ricardo Wurmus 2018-09-05 14:20:56 +02:00
parent 07bd90ce90
commit 6f6aef80e3
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 35 deletions

View File

@ -9701,58 +9701,31 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.")
(define-public r-seurat (define-public r-seurat
(package (package
(name "r-seurat") (name "r-seurat")
(version "2.3.2") (version "2.3.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (cran-uri "Seurat" version)) (uri (cran-uri "Seurat" version))
(sha256 (sha256
(base32 (base32
"1sjpy5rrpvlpm6hs7qy7qpglgbp7zrgfybcsalpmjb51rhxhgcg1")) "0l8bv4i9nzz26mirnva10mq6pimibj24vk7vpvfypgn7xk4942hd"))))
;; Delete pre-built jar.
(snippet
'(begin (delete-file "inst/java/ModularityOptimizer.jar")
#t))))
(properties `((upstream-name . "Seurat"))) (properties `((upstream-name . "Seurat")))
(build-system r-build-system) (build-system r-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'build-jar
(lambda* (#:key inputs #:allow-other-keys)
(let ((classesdir "tmp-classes"))
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
(mkdir classesdir)
(with-output-to-file "manifest"
(lambda _
(display "Manifest-Version: 1.0
Main-Class: ModularityOptimizer\n")))
(and (zero? (apply system* `("javac" "-d" ,classesdir
,@(find-files "java" "\\.java$"))))
(zero? (system* "jar"
"-cmf" "manifest"
"inst/java/ModularityOptimizer.jar"
"-C" classesdir ".")))))))))
(native-inputs
`(("jdk" ,icedtea "jdk")))
(propagated-inputs (propagated-inputs
`(("r-ape" ,r-ape) `(("r-ape" ,r-ape)
("r-caret" ,r-caret)
("r-cluster" ,r-cluster) ("r-cluster" ,r-cluster)
("r-cowplot" ,r-cowplot) ("r-cowplot" ,r-cowplot)
("r-diffusionmap" ,r-diffusionmap)
("r-dosnow" ,r-dosnow) ("r-dosnow" ,r-dosnow)
("r-dplyr" ,r-dplyr) ("r-dplyr" ,r-dplyr)
("r-dtw" ,r-dtw) ("r-dtw" ,r-dtw)
("r-fitdistrplus" ,r-fitdistrplus) ("r-fitdistrplus" ,r-fitdistrplus)
("r-fnn" ,r-fnn)
("r-foreach" ,r-foreach) ("r-foreach" ,r-foreach)
("r-fpc" ,r-fpc) ("r-fpc" ,r-fpc)
("r-gdata" ,r-gdata)
("r-ggplot2" ,r-ggplot2) ("r-ggplot2" ,r-ggplot2)
("r-ggridges" ,r-ggridges) ("r-ggridges" ,r-ggridges)
("r-gplots" ,r-gplots) ("r-gplots" ,r-gplots)
("r-hdf5r" ,r-hdf5r) ("r-hdf5r" ,r-hdf5r)
("r-hmisc" ,r-hmisc) ("r-hmisc" ,r-hmisc)
("r-httr" ,r-httr)
("r-ica" ,r-ica) ("r-ica" ,r-ica)
("r-igraph" ,r-igraph) ("r-igraph" ,r-igraph)
("r-irlba" ,r-irlba) ("r-irlba" ,r-irlba)
@ -9765,7 +9738,6 @@ Main-Class: ModularityOptimizer\n")))
("r-pbapply" ,r-pbapply) ("r-pbapply" ,r-pbapply)
("r-plotly" ,r-plotly) ("r-plotly" ,r-plotly)
("r-png" ,r-png) ("r-png" ,r-png)
("r-ranger" ,r-ranger)
("r-rann" ,r-rann) ("r-rann" ,r-rann)
("r-rcolorbrewer" ,r-rcolorbrewer) ("r-rcolorbrewer" ,r-rcolorbrewer)
("r-rcpp" ,r-rcpp) ("r-rcpp" ,r-rcpp)
@ -9776,11 +9748,8 @@ Main-Class: ModularityOptimizer\n")))
("r-rocr" ,r-rocr) ("r-rocr" ,r-rocr)
("r-rtsne" ,r-rtsne) ("r-rtsne" ,r-rtsne)
("r-sdmtools" ,r-sdmtools) ("r-sdmtools" ,r-sdmtools)
("r-stringr" ,r-stringr)
("r-tclust" ,r-tclust)
("r-tidyr" ,r-tidyr) ("r-tidyr" ,r-tidyr)
("r-tsne" ,r-tsne) ("r-tsne" ,r-tsne)))
("r-vgam" ,r-vgam)))
(home-page "http://www.satijalab.org/seurat") (home-page "http://www.satijalab.org/seurat")
(synopsis "Seurat is an R toolkit for single cell genomics") (synopsis "Seurat is an R toolkit for single cell genomics")
(description (description