diff options
author | zimoun <zimon.toutoune@gmail.com> | 2020-09-14 18:07:38 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-09-14 21:39:16 +0200 |
commit | b3a998374c37964820a51182fa7be7a546fc4d46 (patch) | |
tree | 9d687b72ef789a12186cd1255ea3f560c88665f6 /gnu/packages/bioconductor.scm | |
parent | 6e0ab26f31cd2bb7e5d88719d3d458df68c1963e (diff) | |
download | guix-b3a998374c37964820a51182fa7be7a546fc4d46.tar.gz |
gnu: r-rgraphviz: Move to (gnu packages bioconductor).
* gnu/packages/graph.scm (r-rgraphviz): Move from here... * gnu/packages/bioconductor.scm (r-rgraphviz): ...to here. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/bioconductor.scm')
-rw-r--r-- | gnu/packages/bioconductor.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 1f4ae8170f..db853bfae3 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -8308,3 +8308,41 @@ generated.") "This package provides a library of core pre-processing and normalization routines.") (license license:lgpl2.0+))) + +(define-public r-rgraphviz + (package + (name "r-rgraphviz") + (version "2.32.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "Rgraphviz" version)) + (sha256 + (base32 + "1calpvzgcz6v7s4x6bf35kj83sga95zjp7x87p5d3qnbv7q2wz5y")))) + (properties `((upstream-name . "Rgraphviz"))) + (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-reproducible + (lambda _ + ;; The replacement value is taken from src/graphviz/builddate.h + (substitute* "src/graphviz/configure" + (("VERSION_DATE=.*") + "VERSION_DATE=20200427.2341\n")) + #t))))) + ;; FIXME: Rgraphviz bundles the sources of an older variant of + ;; graphviz. It does not build with the latest version of graphviz, so + ;; we do not add graphviz to the inputs. + (inputs `(("zlib" ,zlib))) + (propagated-inputs + `(("r-graph" ,r-graph))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://bioconductor.org/packages/Rgraphviz") + (synopsis "Plotting capabilities for R graph objects") + (description + "This package interfaces R with the graphviz library for plotting R graph +objects from the @code{graph} package.") + (license license:epl1.0))) |