[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7.
From: |
Hartmut Goebel |
Subject: |
[bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7. |
Date: |
Sun, 11 Feb 2024 12:43:31 +0100 |
* gnu/packages/crates-io.scm (rust-zerocopy-0.7): New variable.
(rust-zerocopy-0.6): Inherit from rust-zerocopy-0.7.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------
1 file changed, 33 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3100aae670..051195ff7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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
--
2.41.0
- [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3., (continued)
- [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: Update to 0.8.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: Update to 0.8.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7.,
Hartmut Goebel <=
- [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2., Hartmut Goebel, 2024/02/11