Subject: [PATCH 29/42] gnu: Add rust-plotters-svg-0.3.

From: Hartmut Goebel <[email-masked]>
Date: Sat, 18 Dec 2021 21:49:40 +0100

* gnu/packages/crates-io.scm (rust-plotters-svg-0.3): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 68f4d320ec..ffd0dff0de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37277,6 +37277,27 @@ both WASM and native applications")
     (description "Plotters Bitmap Backend")
     (license license:expat)))
 
+(define-public rust-plotters-svg-0.3
+  (package
+    (name "rust-plotters-svg")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "plotters-svg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04fj393irdjb4mavcdwwk1bjnw7gqjp668415a24nq6r7gi052mk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-plotters-backend" ,rust-plotters-backend-0.3))))
+    (home-page "https://plotters-rs.github.io")
+    (synopsis "Plotters SVG backend")
+    (description "Plotters SVG backend")
+    (license license:expat)))
+
 (define-public rust-plugin-0.2
   (package
     (name "rust-plugin")
-- 
2.30.2