[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73094] [PATCH v2 05/10] gnu: Add rust-derive-builder-macro-0.20.
From: |
Nicolas Graves |
Subject: |
[bug#73094] [PATCH v2 05/10] gnu: Add rust-derive-builder-macro-0.20. |
Date: |
Sun, 8 Sep 2024 16:39:21 +0200 |
* gnu/packages/crates-io.scm (rust-derive-builder-macro-0.20): New
variable.
(rust-derive-builder-macro-0.13): Inherit from
rust-derive-builder-macro-0.20.
Change-Id: I7d39f3638c233c61f3ee29a2d107cc0e154a0246
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index effc4393e5..97f955be12 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20843,8 +20843,31 @@ (define-public rust-derive-builder-core-0.5
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
+(define-public rust-derive-builder-macro-0.20
+ (package
+ (name "rust-derive-builder-macro")
+ (version "0.20.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive_builder_macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p2ijj442j30cvd1x5231jw8b4klyf65sl3rnxvri6zpbc1ygfja"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-derive-builder-core"
,rust-derive-builder-core-0.20)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/colin-kiegel/rust-derive-builder")
+ (synopsis "Automatically implement the builder pattern for arbitrary
structs")
+ (description
+ "This crate provides a Rust macro to automatically implement the builder
+pattern for arbitrary structs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-derive-builder-macro-0.13
(package
+ (inherit rust-derive-builder-macro-0.20)
(name "rust-derive-builder-macro")
(version "0.13.1")
(source (origin
@@ -20854,16 +20877,9 @@ (define-public rust-derive-builder-macro-0.13
(sha256
(base32
"09q17rzgf8bsj8n1bhlf4f93nmqg8va6321ppcd07f1mzg1nh0w7"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-derive-builder-core"
,rust-derive-builder-core-0.13)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/colin-kiegel/rust-derive-builder")
- (synopsis "Automatically implement the builder pattern for arbitrary
structs")
- (description
- "This crate provides a Rust macro to automatically implement the builder
-pattern for arbitrary structs.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-derive-builder-macro-0.12
(package
--
2.45.2
- [bug#73094] [PATCH 03/10] gnu: rust-darling-0.20: Update to 0.20.8., (continued)
- [bug#73094] [PATCH 00/10] Add python-safetensors, Herman Rimm, 2024/09/08
- [bug#73094] [PATCH v2 01/10] gnu: rust-darling-core-0.20: Update to 0.20.8., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 03/10] gnu: rust-darling-0.20: Update to 0.20.8., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 02/10] gnu: rust-darling-macro-0.20: Update to 0.20.8., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 04/10] gnu: Add rust-derive-builder-core-0.20., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 07/10] gnu: Add rust-unicode-normalization-alignments-0.1., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 09/10] gnu: Add rust-safetensors., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 08/10] gnu: Add rust-rayon-cond-0.3., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 05/10] gnu: Add rust-derive-builder-macro-0.20.,
Nicolas Graves <=
- [bug#73094] [PATCH v2 06/10] gnu: Add rust-derive-builder-0.20., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v2 10/10] gnu: Add python-safetensors., Nicolas Graves, 2024/09/08
- [bug#73094] [PATCH v3 00/10] Add python-safetensors., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 04/10] gnu: Add rust-derive-builder-core-0.20., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 01/10] gnu: rust-darling-core-0.20: Update to 0.20.8., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 02/10] gnu: rust-darling-macro-0.20: Update to 0.20.8., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 05/10] gnu: Add rust-derive-builder-macro-0.20., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 07/10] gnu: Add rust-unicode-normalization-alignments-0.1., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 08/10] gnu: Add rust-rayon-cond-0.3., Herman Rimm, 2024/09/09
- [bug#73094] [PATCH v3 06/10] gnu: Add rust-derive-builder-0.20., Herman Rimm, 2024/09/09