@@ -91522,8 +91522,37 @@ (define-public rust-zerocopy-0.3
("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))
(license license:bsd-3)))
+(define-public rust-zerocopy-derive-0.7
+ (package
+ (name "rust-zerocopy-derive")
+ (version "0.7.31")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06k0zk4x4n9s1blgxmxqb1g81y8q334aayx61gyy6v9y1dajkhdk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/google/zerocopy")
+ (synopsis "Custom derive for traits from the zerocopy Rust crate")
+ (description
+ "This package provides custom derive for traits from the zerocopy Rust
+crate.")
+ (license license:bsd-2)))
+
(define-public rust-zerocopy-derive-0.3
(package
+ (inherit rust-zerocopy-derive-0.7)
(name "rust-zerocopy-derive")
(version "0.3.2")
(source (origin
@@ -91533,19 +91562,12 @@ (define-public rust-zerocopy-derive-0.3
(sha256
(base32
"18qr7dqlj89v1xl1g58l2xd6jidv0sbccscgl131gpppba0yc1b5"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-syn" ,rust-syn-1)
- ("rust-synstructure" ,rust-synstructure-0.12))))
- (home-page "https://github.com/google/zerocopy")
- (synopsis "Custom derive for traits from the zerocopy Rust crate")
- (description
- "This package provides custom derive for traits from the zerocopy Rust
-crate.")
- (license license:bsd-2)))
+ ("rust-synstructure" ,rust-synstructure-0.12))))))
(define-public rust-zerocopy-derive-0.2
(package