From 518a6320b15aa5ee44a9a415b0b4f98bc168f586 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 21 Sep 2020 00:13:34 +0530 Subject: gnu: Add rust-libflate-0.1. * gnu/packages/crates-io.scm (rust-libflate-0.1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f123f371f5..7486e10dfd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13051,6 +13051,34 @@ macros on libc without stdlib.") (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "libgit2") #t)))) + +(define-public rust-libflate-0.1 + (package + (name "rust-libflate") + (version "0.1.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p8z839c5lpl0g01mf8iglys9lgcjxw6xjw56crhwp8z7gs5s4yr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-rle-decode-fast" ,rust-rle-decode-fast-1) + ("rust-take-mut" ,rust-take-mut-0.2)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2)))) + (home-page "https://github.com/sile/libflate") + (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)") + (description "This package provides a Rust implementation of DEFLATE +algorithm and related formats (ZLIB, GZIP).") + (license license:expat))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs -- cgit 1.4.1