guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

376/470: gnu: Add rust-zune-inflate-0.2.


From: guix-commits
Subject: 376/470: gnu: Add rust-zune-inflate-0.2.
Date: Thu, 16 Mar 2023 03:02:18 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2560527c84dece330806a2303ebec0ac2bb00f03
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 23 17:15:09 2023 +0200

    gnu: Add rust-zune-inflate-0.2.
    
    * gnu/packages/crates-io.scm (rust-zune-inflate-0.2): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 806ec0f7bf..57d6ae462c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72060,6 +72060,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]