gnu: Add rust-buffered-reader-1.

* gnu/packages/crates-io.scm (rust-buffered-reader-1): New variable.
  (rust-buffered-reader-0.9): Inherit from rust-buffered-reader-1.
This commit is contained in:
Hartmut Goebel 2021-12-03 21:24:38 +01:00
parent db364130f9
commit 012203db1f
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -7190,23 +7190,22 @@ (define-public rust-buf-redux-0.8
@code{std::io}, with extra features.") @code{std::io}, with extra features.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-buffered-reader-0.9 (define-public rust-buffered-reader-1
(package (package
(name "rust-buffered-reader") (name "rust-buffered-reader")
(version "0.9.0") (version "1.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "buffered-reader" version)) (uri (crate-uri "buffered-reader" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1jf6iqxm3yllm9h3q5f90yj8y9qzr5h0a7aiw38cgk4hagh2s8d4"))))
"05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:skip-build? #t
(("rust-bzip2" ,rust-bzip2-0.3) #:cargo-inputs
(("rust-bzip2" ,rust-bzip2-0.4)
("rust-flate2" ,rust-flate2-1) ("rust-flate2" ,rust-flate2-1)
("rust-libc" ,rust-libc-0.2)))) ("rust-libc" ,rust-libc-0.2))))
(home-page "https://sequoia-pgp.org/") (home-page "https://sequoia-pgp.org/")
@ -7219,6 +7218,24 @@ (define-public rust-buffered-reader-0.9
with data in place, which avoids another copy.") with data in place, which avoids another copy.")
(license license:gpl3))) (license license:gpl3)))
(define-public rust-buffered-reader-0.9
(package
(inherit rust-buffered-reader-1)
(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"))))
(arguments
`(#:cargo-inputs
(("rust-bzip2" ,rust-bzip2-0.3)
("rust-flate2" ,rust-flate2-1)
("rust-libc" ,rust-libc-0.2))))))
(define-public rust-buffering-0.4 (define-public rust-buffering-0.4
(package (package
(name "rust-buffering") (name "rust-buffering")