Subject: [PATCH rust-team 13/77] gnu: Add rust-resvg-0.43.

From: Andrew Wong <[email-masked]>
Date: Sun, 23 Feb 2025 15:21:04 -0500

* gnu/packages/crates-graphics.scm (rust-resvg-0.43): New variable.

Change-Id: I6efffd5e26275838fc72433568c653023373dfae
---
 gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 07d8a39e5a..36996b2a73 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3990,6 +3990,34 @@ (define-public rust-resize-0.4
     (arguments
      `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16))))))
 
+(define-public rust-resvg-0.43
+  (package
+    (name "rust-resvg")
+    (version "0.43.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "resvg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l8inhd3a1353851qkpsl0lbjdrc17fx6fp230ff6z4wqmilacf7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-gif" ,rust-gif-0.13)
+                       ("rust-image-webp" ,rust-image-webp-0.1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-pico-args" ,rust-pico-args-0.5)
+                       ("rust-rgb" ,rust-rgb-0.8)
+                       ("rust-svgtypes" ,rust-svgtypes-0.15)
+                       ("rust-tiny-skia" ,rust-tiny-skia-0.11)
+                       ("rust-usvg" ,rust-usvg-0.43)
+                       ("rust-zune-jpeg" ,rust-zune-jpeg-0.4))))
+    (home-page "https://github.com/RazrFalcon/resvg")
+    (synopsis "An SVG rendering library")
+    (description "This package provides An SVG rendering library.")
+    (license license:mpl2.0)))
+
 (define-public rust-rgb-0.8
   (package
     (name "rust-rgb")
-- 
2.48.1