Subject: [PATCH rust-team v2 07/77] gnu: Add rust-image-webp-0.1.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:50:17 -0500

* gnu/packages/crates-graphics.scm (rust-image-webp-0.1): New variable.

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

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 1495832d1a..79721b1dc4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2545,6 +2545,28 @@ (define-public rust-image-webp-0.2
      "This package provides @code{WebP} encoding and decoding in pure Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-image-webp-0.1
+  (package
+    (name "rust-image-webp")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "image-webp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0179iqgvh6ybbq0r5d3ms11kka8jihhpliydkksj1vz2ps6gp6pp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-byteorder-lite" ,rust-byteorder-lite-0.1)
+                       ("rust-quick-error" ,rust-quick-error-2))))
+    (home-page "https://github.com/image-rs/image-webp")
+    (synopsis "WebP encoding and decoding in pure Rust")
+    (description
+     "This package provides @code{WebP} encoding and decoding in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-imageproc-0.25
   (package
     (name "rust-imageproc")
-- 
2.48.1