guix-commits
[Top][All Lists]
Advanced

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

119/188: gnu: Add rust-zstd-safe-2.


From: guix-commits
Subject: 119/188: gnu: Add rust-zstd-safe-2.
Date: Mon, 12 Oct 2020 02:25:14 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 28ad888951b30fae69ae2d651faab72bff101492
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sat Sep 19 21:48:42 2020 +0530

    gnu: Add rust-zstd-safe-2.
    
    * gnu/packages/crates-io.scm (rust-zstd-safe-2, rust-zstd-safe-2.0.5): New
    variables.
---
 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 ec17903..e4fa24f 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")



reply via email to

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