Message ID | 20220530125341.18195-1-madalinionel.patrascu@mdc-berlin.de |
---|---|
State | New |
Headers | show |
Series | [bug#55725] gnu: Add r-diagrammersvg. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> writes:
> * gnu/packages/cran.scm (r-diagrammersvg): New variable.
Thanks for the patch.
Unfortunately, we cannot merge it as is, because the package bundles
minified JavaScript. The bundled d3.js can easily be replaced, but I
don’t know about the other bundled JavaScript files.
I’m closing this because there has been no response and we’ve got r-diagrammersvg in the guix-science channel.
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 5a8285b342..568882e701 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24078,6 +24078,26 @@ (define-public r-diagram Francesca Mazzia (2012).") (license license:gpl2+))) +(define-public r-diagrammersvg + (package + (name "r-diagrammersvg") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "DiagrammeRsvg" version)) + (sha256 + (base32 "0j2cm1mx3zrb2k3pcrb96z2z3kws61gyyjsjjv5rqcb5lzdgi65k")))) + (properties `((upstream-name . "DiagrammeRsvg"))) + (build-system r-build-system) + (propagated-inputs (list r-v8)) + (home-page "https://github.com/rich-iannone/DiagrammeRsvg") + (synopsis "Export DiagrammeR graphviz graphs as svg") + (description + "This package allows exporting a @code{DiagrammeR Graphviz} objects to +@code{SVG}.") + (license license:expat))) + (define-public r-lim (package (name "r-lim")