Subject: [PATCH 104/150] gnu: rust-cloudflare-zlib-sys-0.2: Inherit from rust-cloudflare-zlib-sys-0.3.

From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 17 Jan 2022 15:10:09 +0000

* gnu/packages/crates-io.scm (rust-cloudflare-zlib-sys-0.2): Inherit from rust-cloudflare-zlib-sys-0.3.
[source]: Fix formatting.
---
 gnu/packages/crates-io.scm | 29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e51353e4f3..76402d6604 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10356,32 +10356,23 @@ (define-public rust-cloudflare-zlib-sys-0.3

 (define-public rust-cloudflare-zlib-sys-0.2
   (package
+    (inherit rust-cloudflare-zlib-sys-0.3)
     (name "rust-cloudflare-zlib-sys")
     (version "0.2.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "cloudflare-zlib-sys" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "01lwfd15ijw4d8jsqp87yv4wpmzcp84qm0qqwy3yxmm0fjr5q6by"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cloudflare-zlib-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01lwfd15ijw4d8jsqp87yv4wpmzcp84qm0qqwy3yxmm0fjr5q6by"))))
     ;; This crate bundles cloudflare's fork of zlib, so we don't unbundle it.
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-cc" ,rust-cc-1))))
-    (home-page "https://github.com/cloudflare/zlib")
-    (synopsis
-     "Cloudflare fork of zlib with massive performance improvements")
-    (description
-     "Cloudflare fork of zlib with massive performance improvements.")
-    (license
-      (list license:expat
-            license:asl2.0
-            license:zlib))))
+       (("rust-cc" ,rust-cc-1))))))

 (define-public rust-cmac-0.5
   (package
--
2.34.0

--

Aleksandr Vityazev