gnu: Add rust-buffering-nocopy-macro-0.2.

* gnu/packages/crates-io.scm (rust-buffering-nocopy-macro-0.2): New variable.
(rust-buffering-nocopy-macro-0.1): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
phodina 2021-09-17 08:50:05 +02:00 committed by Nicolas Goaziou
parent 8883144757
commit a6ffe34162
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6231,8 +6231,31 @@ (define-public rust-buffered-reader-0.9
with data in place, which avoids another copy.")
(license license:gpl3)))
(define-public rust-buffering-nocopy-macro-0.2
(package
(name "rust-buffering-nocopy-macro")
(version "0.2.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "buffering_nocopy_macro" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0a8zs7s5z0f977g7zx95b8sf8gqa8iwh13rj639wk080d00l5kaa"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/jbaublitz/buffering")
(synopsis "Proc-macro crate for buffering")
(description "This package provides a proc-macro crate for buffering.")
(license license:bsd-3)))
(define-public rust-buffering-nocopy-macro-0.1
(package
(inherit rust-buffering-nocopy-macro-0.2)
(name "rust-buffering-nocopy-macro")
(version "0.1.1")
(source
@ -6242,17 +6265,12 @@ (define-public rust-buffering-nocopy-macro-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "03b6wp4i3273jzw2nbnrnddlxyma3p465y2dszx6vc3ysq0fdlj7"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.14))))
(home-page "https://github.com/jbaublitz/buffering")
(synopsis "Proc-macro crate for buffering")
(description "This package provides a proc-macro crate for buffering.")
(license license:bsd-3)))
("rust-syn" ,rust-syn-0.14))))))
(define-public rust-bufstream-0.1
(package