[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/127: gnu: Add rust-zerocopy-derive-0.7.
From: |
guix-commits |
Subject: |
01/127: gnu: Add rust-zerocopy-derive-0.7. |
Date: |
Tue, 26 Dec 2023 06:42:24 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 2fef71e5c0396e9e400d304304012f7e86d94a01
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 24 09:44:49 2023 +0200
gnu: Add rust-zerocopy-derive-0.7.
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7): New variable.
rust-zerocopy-derive-0.3): Inherit from rust-zerocopy-derive-0.7.
Change-Id: I7ca4f40a8b357c7166e549f2dd6ab92c2225abbf
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 54646a4549..45ec3c5615 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -92840,8 +92840,36 @@ for locating fonts.")
("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.32")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zerocopy-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved import `zerocopy`
+ #: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 (list license:bsd-2 license:asl2.0 license:expat))))
+
(define-public rust-zerocopy-derive-0.3
(package
+ (inherit rust-zerocopy-derive-0.7)
(name "rust-zerocopy-derive")
(version "0.3.2")
(source (origin
@@ -92851,19 +92879,12 @@ for locating fonts.")
(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
- branch rust-team updated (2f9f39f441 -> eee92c9ad9), guix-commits, 2023/12/26
- 01/127: gnu: Add rust-zerocopy-derive-0.7.,
guix-commits <=
- 02/127: gnu: Add rust-zerocopy-0.7., guix-commits, 2023/12/26
- 03/127: gnu: Add rust-which-5., guix-commits, 2023/12/26
- 06/127: gnu: rust-anstyle-1: Update to 1.0.4., guix-commits, 2023/12/26
- 04/127: gnu: rust-url-2: Update to 2.5.0., guix-commits, 2023/12/26
- 05/127: gnu: rust-ahash-0.8: Update to 0.8.6., guix-commits, 2023/12/26
- 07/127: gnu: rust-cargo-config2-0.1: Update to 0.1.17., guix-commits, 2023/12/26
- 08/127: gnu: Add rust-cargo-metadata-0.18., guix-commits, 2023/12/26
- 11/127: gnu: rust-configparser-3: Update to 3.0.3., guix-commits, 2023/12/26
- 09/127: gnu: Add rust-cargo-options-0.7., guix-commits, 2023/12/26
- 10/127: gnu: rust-cc-1: Update to 1.0.83., guix-commits, 2023/12/26