From 52cc16b38b1b01b2bb354ed5510120856de15d39 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 22 Dec 2020 19:27:41 +0100 Subject: [PATCH] gnu: Add rust-brotli-sys-0.3. * gnu/packages/crates-io.scm (rust-brotli-sys-0.3): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2e9f52f321..fc8e4b3177 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3786,6 +3786,27 @@ (define-public rust-brotli-decompressor-2 and kernels.") (license (list license:bsd-3 license:expat)))) +(define-public rust-brotli-sys-0.3 + (package + (name "rust-brotli-sys") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kdfdbcba6zwa13xpjwgiplblkdf6vigxjbwwp6l2ascbylxwia4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/alexcrichton/brotli2-rs") + (synopsis "Raw bindings to libbrotli") + (description "This package provides raw bindings to libbrotli.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bs58-0.2 (package (name "rust-bs58")