gnu: Add rust-bytecheck-derive-0.5.

* gnu/packages/crates-io.scm (rust-bytecheck-derive-0.5): New variable.
This commit is contained in:
Ricardo Wurmus 2021-11-09 14:48:21 +00:00
parent 97ead3fbf3
commit 8ef352a773
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -19,6 +19,7 @@
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -6830,6 +6831,29 @@ (define-public rust-byte-unit-4
"This package provides a library for interaction with units of bytes.")
(license license:expat)))
(define-public rust-bytecheck-derive-0.5
(package
(name "rust-bytecheck-derive")
(version "0.5.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "bytecheck_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0grbkwwv5j91n7zrimci6fh4k79flxga3mkjg50jysnyraizi088"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/rkyv/bytecheck")
(synopsis "Derive macro for bytecheck")
(description "This package provides a Derive macro for bytecheck, the type
validation framework for Rust.")
(license license:expat)))
(define-public rust-bytecount-0.6
(package
(name "rust-bytecount")