diff mbox series

[bug#72021,09/38] gnu: Add rust-gzp-0.11.

Message ID bea3681931ac754b1741dd3e150cbeecbb5b62a1.1720567734.git.w@wmeyer.eu
State New
Headers show
Series gnu: Add ouch. | expand

Commit Message

Wilko Meyer July 9, 2024, 11:36 p.m. UTC
* gnu/packages/crates-io.scm (rust-gzp-0.11): New variable.

Change-Id: If15804997ab757ac41ddc90788b42c68a7fdd584
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b9d57a532..9c216157cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30909,6 +30909,34 @@  (define-public rust-gzip-header-0.3
      `(#:cargo-inputs
        (("rust-crc32fast" ,rust-crc32fast-1))))))
 
+(define-public rust-gzp-0.11
+  (package
+    (name "rust-gzp")
+    (version "0.11.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gzp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-core-affinity" ,rust-core-affinity-0.8)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-flume" ,rust-flume-0.10)
+                       ("rust-libdeflater" ,rust-libdeflater-0.12)
+                       ("rust-libz-sys" ,rust-libz-sys-1)
+                       ("rust-num-cpus" ,rust-num-cpus-1)
+                       ("rust-snap" ,rust-snap-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/sstadick/gzp")
+    (synopsis "Parallel compression library")
+    (description "This package provides a library for parallel compression.")
+    (license (list license:unlicense license:expat))))
+
 (define-public rust-half-2
   (package
     (name "rust-half")