me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-buffered-reader-0.9.

* gnu/packages/crates-io.scm (rust-buffered-reader-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
John Soo 2020-06-17 15:55:21 -07:00 committed by Efraim Flashner
parent d3466b90b7
commit 7b5be01359
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 29 additions and 0 deletions

View File

@ -2748,6 +2748,35 @@ UTF-8.")
(base32 (base32
"0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r")))))) "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r"))))))
(define-public rust-buffered-reader-0.9
(package
(name "rust-buffered-reader")
(version "0.9.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "buffered-reader" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bzip2" ,rust-bzip2-0.3)
("rust-flate2" ,rust-flate2-1)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://sequoia-pgp.org/")
(synopsis "Super-powered Reader")
(description
"Like the @code{BufRead} trait, the @code{BufferedReader} trait has an
internal buffer that is directly exposed to the user. This design enables two
performance optimizations. First, the use of an internal buffer amortizes
system calls. Second, exposing the internal buffer allows the user to work
with data in place, which avoids another copy.")
(license license:gpl3)))
(define-public rust-build-const-0.2 (define-public rust-build-const-0.2
(package (package
(name "rust-build-const") (name "rust-build-const")