Subject: [PATCH 10/12] gnu: rust-libdeflater-0.11: Inherit from rust-libdeflater-1.

From: Troy Figiel <[email-masked]>
Date: Mon, 22 Jan 2024 23:27:03 +0100

* gnu/packages/crates-io.scm (rust-libdeflater-0.11)[inherit]: New field.
---
 gnu/packages/crates-io.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2ee1c2fec3..4751a6a3b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32436,6 +32436,7 @@ (define-public rust-libdeflater-1
 
 (define-public rust-libdeflater-0.11
   (package
+    (inherit rust-libdeflater-1)
     (name "rust-libdeflater")
     (version "0.11.0")
     (source (origin
@@ -32444,19 +32445,12 @@ (define-public rust-libdeflater-0.11
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 "0385hpai7fsnpfvxd3hki43v1cj8w6z1cb2rn8wd6vq4dam8bqnq"))))
-    (build-system cargo-build-system)
     (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))))
-    (home-page "https://github.com/adamkewley/libdeflater")
-    (synopsis "Bindings to libdeflate for DEFLATE")
-    (description "This package provides bindings to libdeflate for DEFLATE
-(de)compression exposed as non-streaming buffer operations.  Contains bindings
-for raw deflate, zlib, and gzip data.")
-    (license license:asl2.0)))
+        ("rust-flate2" ,rust-flate2-1))))))
 
 (define-public rust-libflate-1
   (package
-- 
2.42.0