Subject: [bug#72021] [PATCH 12/38] gnu: Add rust-libdeflate-sys-0.12.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 487ee10cbc..35078b67c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37664,6 +37664,20 @@ (define-public rust-libdeflate-sys-1
 deflate, zlib, and gzip data.")
     (license license:asl2.0)))
 
+(define-public rust-libdeflate-sys-0.12
+  (package
+    (inherit rust-libdeflate-sys-1)
+    (name "rust-libdeflate-sys")
+    (version "0.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "libdeflate-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "11a7nn3p73vw3cnra36vz7mz60wx9jzhzwwji1hbmql5gy0v1xz1"))))
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1))))))
+
 (define-public rust-libdeflate-sys-0.11
   (package
     (inherit rust-libdeflate-sys-1)
-- 
2.41.0