@@ -91360,8 +91360,40 @@ (define-public rust-zbus-polkit-1
(description "@code{PolicyKit} binding.")
(license license:expat)))
+(define-public rust-zerocopy-0.7
+ (package
+ (name "rust-zerocopy")
+ (version "0.7.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1)
+ ("rust-elain" ,rust-elain-0.3)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-trybuild" ,rust-trybuild-1)
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7))))
+ (home-page "https://github.com/google/zerocopy")
+ (synopsis "Utilities for zero-copy parsing and serialization")
+ (description "Utilities for zero-copy parsing and serialization")
+ (license license:bsd-2)))
+
(define-public rust-zerocopy-0.6
(package
+ (inherit rust-zerocopy-0.7)
(name "rust-zerocopy")
(version "0.6.1")
(source (origin
@@ -91371,16 +91403,11 @@ (define-public rust-zerocopy-0.6
(sha256
(base32
"0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
- ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))
- (home-page "https://github.com/google/zerocopy")
- (synopsis "Utilities for zero-copy parsing and serialization")
- (description "Utilities for zero-copy parsing and serialization")
- (license license:bsd-2)))
+ ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))))
(define-public rust-zerocopy-0.3
(package