[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68312] [PATCH 025/156] gnu: Add rust-borsh-derive-1.
From: |
Wilko Meyer |
Subject: |
[bug#68312] [PATCH 025/156] gnu: Add rust-borsh-derive-1. |
Date: |
Mon, 8 Jan 2024 02:52:02 +0100 |
* gnu/packages/crates-io.scm (rust-borsh-derive-1): New variable.
(rust-borsh-derive-0.10): Inherit from rust-borsh-derive-1.
Change-Id: I3b9c5a27fe31d6269c0792d090f022c904e77e2f
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++------------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 424aa46f49c..4fc06fcc552 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8183,16 +8183,35 @@ (define-public rust-borsh-0.10
("rust-hashbrown" ,rust-hashbrown-0.13))
#:cargo-development-inputs
(("rust-bytes" ,rust-bytes-1))))))
+
+(define-public rust-borsh-derive-1
+ (package
+ (name "rust-borsh-derive")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "borsh-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q0h8y7xpilasaqc3s7drjh3qzxk7k83wc5ns9x7gpf4kiq1hjdz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-2)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-syn-derive" ,rust-syn-derive-0.1))))
(home-page "https://borsh.io")
- (synopsis "Borsch is the binary object representation serializer for
hashing")
- (description "This crate implements @code{borsh}, the binary object
-representation serializer for hasing. It is meant to be used in
-security-critical projects as it prioritizes consistency, safety, speed, and
-comes with a strict specification.")
- (license (list license:expat license:asl2.0))))
+ (synopsis "Derive proc-macros for @code{borsh}")
+ (description "This crate implements derive proc-macros for @code{borsh}.")
+ (license license:asl2.0)))
(define-public rust-borsh-derive-0.10
(package
+ (inherit rust-borsh-derive-1)
(name "rust-borsh-derive")
(version "0.10.3")
(source
@@ -8202,18 +8221,13 @@ (define-public rust-borsh-derive-0.10
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xslbx3qj531aq8ny1bkr45ibjmpsx0szsfc57rm33akj4v62m07"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-borsh-derive-internal" ,rust-borsh-derive-internal-0.10)
("rust-borsh-schema-derive-internal"
,rust-borsh-schema-derive-internal-0.10)
("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://borsh.io")
- (synopsis "Derive proc-macros for @code{borsh}")
- (description "This crate implements derive proc-macros for @code{borsh}.")
- (license license:asl2.0)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-borsh-derive-internal-0.10
(package
--
2.41.0
- [bug#68312] [PATCH 049/156] gnu: Add rust-ecdsa-0.14., (continued)
- [bug#68312] [PATCH 049/156] gnu: Add rust-ecdsa-0.14., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 019/156] gnu: Add rust-axum-macros-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 050/156] gnu: Add rust-ed25519-2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 029/156] gnu: Add rust-config-0.13., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 056/156] gnu: Add rust-fiat-crypto-0.2., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 031/156] gnu: Add rust-ubyte-0.10., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 021/156] gnu: Add rust-bigdecimal-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 053/156] gnu: Add rust-ff-derive-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 024/156] gnu: Add rust-borsh-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 055/156] gnu: Add rust-figment-0.10., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 025/156] gnu: Add rust-borsh-derive-1.,
Wilko Meyer <=
- [bug#68312] [PATCH 057/156] gnu: Add rust-finl-unicode-1., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 033/156] gnu: Add rust-crypto-bigint-0.4., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 061/156] gnu: Add rust-http-range-header-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 067/156] gnu: Add rust-ipnetwork-0.20., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 027/156] gnu: Add rust-cint-0.3., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 052/156] gnu: Add rust-elliptic-curve-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 059/156] gnu: Add rust-futures-intrusive-0.5., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 063/156] gnu: Add rust-iri-string-0.7., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 060/156] gnu: Add rust-group-0.12., Wilko Meyer, 2024/01/07
- [bug#68312] [PATCH 064/156] gnu: Add rust-inlinable-string-0.1., Wilko Meyer, 2024/01/07