summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-19 21:48:42 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:57 +0530
commit28ad888951b30fae69ae2d651faab72bff101492 (patch)
treea46b0a883481772caf74465b9bd04eed54814482 /gnu
parent4402eb48cdd18aed8072696496362f2e774e973f (diff)
downloadguix-28ad888951b30fae69ae2d651faab72bff101492.tar.gz
gnu: Add rust-zstd-safe-2.
* gnu/packages/crates-io.scm (rust-zstd-safe-2, rust-zstd-safe-2.0.5): New
variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ec179031fd..e4fa24f5e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30657,6 +30657,31 @@ implementation that works everywhere, even WASM!")
      "This package provides a library for parsing compiled zoneinfo files.")
     (license license:expat)))
 
+(define-public rust-zstd-safe-2
+  (package
+    (name "rust-zstd-safe")
+    (version "2.0.5+zstd.1.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zstd-safe" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0m8h1x030cj5bj7zxxf6gdp91bp0ays2vi9rlqllgxi71lp69yqw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-zstd-sys" ,rust-zstd-sys-1.4.17))))
+    (home-page "https://github.com/gyscos/zstd-rs")
+    (synopsis "Safe low-level bindings to the zstd compression library")
+    (description "This package provides afe low-level bindings to the zstd
+compression library.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-zstd-safe-2.0.5 rust-zstd-safe-2)
+
 (define-public rust-zstd-sys-1
   (package
     (name "rust-zstd-sys")