gnu: Add rust-brotli2-0.3.

* gnu/packages/crates-io.scm (rust-brotli2-0.3): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-22 19:31:10 +01:00
parent 52cc16b38b
commit 9cb973ed2f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -3807,6 +3807,31 @@ (define-public rust-brotli-sys-0.3
(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")