Subject: [bug#72021] [PATCH 13/38] gnu: Add rust-libdeflater-0.12.

From: Wilko Meyer <[email-masked]>
Date: Wed, 10 Jul 2024 01:36:53 +0200

* gnu/packages/crates-io.scm (rust-libdeflater-0.12): New variable.

Change-Id: I171496cae30d646ed48026a914fe78384aa79205
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 35078b67c6..771ff45e67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37732,6 +37732,24 @@ (define-public rust-libdeflater-1
 for raw deflate, zlib, and gzip data.")
     (license license:asl2.0)))
 
+(define-public rust-libdeflater-0.12
+  (package
+    (inherit rust-libdeflater-1)
+    (name "rust-libdeflater")
+    (version "0.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libdeflater" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "0cbrdvwhilvmk919izkp5bqgwfa7b8nj2ar9gp67nb345wl667k7"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.11))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-flate2" ,rust-flate2-1))))))
+
 (define-public rust-libdeflater-0.11
   (package
     (inherit rust-libdeflater-1)
-- 
2.41.0