summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-23 17:15:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:18 +0300
commit3e9cf5155b47a7926248e376af06829240f9d169 (patch)
tree5ca5b6b083f780e2af1001ace044d1c96db7de0d
parent4cf9e2b0a843549fe851038803e73b8f7c4ed822 (diff)
downloadguix-3e9cf5155b47a7926248e376af06829240f9d169.tar.gz
gnu: Add rust-zune-inflate-0.2.
* gnu/packages/crates-io.scm (rust-zune-inflate-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5b4f9d9ea..f4db600b35 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72263,6 +72263,32 @@ compression library.")
         ("rust-libc" ,rust-libc-0.2)
         ("rust-pkg-config" ,rust-pkg-config-0.3))))))
 
+(define-public rust-zune-inflate-0.2
+  (package
+    (name "rust-zune-inflate")
+    (version "0.2.50")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "zune-inflate" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "0h3d46jfyraxzl7kcgr2zpqjmisw72lc1p44b4q9r0rhcbglb4jq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-simd-adler32" ,rust-simd-adler32-0.3))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.4)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-libdeflater" ,rust-libdeflater-0.11))))
+    (native-inputs
+     (list cmake-minimal))
+    (home-page "https://github.com/etemesi254/zune-image/tree/main/zune-inflate")
+    (synopsis "Deflate decompressor in Pure Rust")
+    (description "This package provides a heavily optimized deflate decompressor
+in Pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar