Subject: [PATCH 29/38] gnu: Add rust-zopfli-0.8.

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

* gnu/packages/crates-io.scm (rust-zopfli-0.8): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9850873b8..191fb25639 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91447,6 +91447,31 @@ (define-public rust-zoneinfo-compiled-0.5
      "This package provides a library for parsing compiled zoneinfo files.")
     (license license:expat)))
 
+(define-public rust-zopfli-0.8
+  (package
+    (name "rust-zopfli")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zopfli" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ip9azz9ldk19m0m1hdppz3n5zcz0cywbg1vx59g4p5c3cwry0g5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bumpalo" ,rust-bumpalo-3)
+                       ("rust-crc32fast" ,rust-crc32fast-1)
+                       ("rust-lockfree-object-pool" ,rust-lockfree-object-pool-0.1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
+    (home-page "https://github.com/zopfli-rs/zopfli")
+    (synopsis "Zopfli compression in Rust")
+    (description
+     "This package provides a Rust implementation of the Zopfli compression algorithm.")
+    (license license:asl2.0)))
+
 (define-public rust-zstd-0.13
   (package
     (name "rust-zstd")
-- 
2.41.0