From 28ad888951b30fae69ae2d651faab72bff101492 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 19 Sep 2020 21:48:42 +0530 Subject: [PATCH] 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 ec179031fd..e4fa24f5e1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30657,6 +30657,31 @@ (define-public rust-zoneinfo-compiled-0.4 "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")