@@ -20722,8 +20722,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
@@ -20733,16 +20756,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
From: Nicolas Graves <ngraves@ngraves.fr> * 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(-)