summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-22 19:31:10 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-06 18:29:35 +0100
commit9cb973ed2f29e6dd13acbc0927fb55d9e43fb40c (patch)
tree67317d0746edc770090a90de430a0fceed696836 /gnu/packages/crates-io.scm
parent52cc16b38b1b01b2bb354ed5510120856de15d39 (diff)
gnu: Add rust-brotli2-0.3.
* gnu/packages/crates-io.scm (rust-brotli2-0.3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc8e4b3177..3ba825331c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3807,6 +3807,31 @@ and kernels.")
(description "This package provides raw bindings to libbrotli.")
(license (list license:expat license:asl2.0))))
+(define-public rust-brotli2-0.3
+ (package
+ (name "rust-brotli2")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "brotli2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13jnhpmfkqy2xar4lxrsk3rx3i12bgnarnsxq4arhc6yxb1kdc0c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-brotli-sys" ,rust-brotli-sys-0.3)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.4))))
+ (home-page "https://github.com/alexcrichton/brotli2-rs")
+ (synopsis "Rust bindings to compression library libbrotli")
+ (description
+ "This package provides bindings to libbrotli to provide brotli
+decompression and compression to Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-bs58-0.2
(package
(name "rust-bs58")