guix-commits
[Top][All Lists]
Advanced

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

120/189: gnu: Add rust-zstd-safe-2.


From: guix-commits
Subject: 120/189: gnu: Add rust-zstd-safe-2.
Date: Mon, 21 Sep 2020 06:01:35 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 4cb1a10cb906c400b2b5a2d886a42f0bb5e46e1f
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 a3f4b2b..49c28b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32886,6 +32886,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]