Subject: [bug#55725] [PATCH] gnu: Add r-diagrammersvg.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 30 May 2022 14:53:41 +0200

* gnu/packages/cran.scm (r-diagrammersvg): New variable.
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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")

base-commit: 98e2f4fbebb8b08784401e2095123fcd3d3a32cb
-- 
2.36.0