summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-07 23:40:42 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-08 11:04:38 +0200
commitbe63e1918ca30523661a232aac9245cd5d5432f6 (patch)
tree6098739bd80450b7c51e4fde646eb14c5a9219b8
parent69b653b10a988f2b5d911c0c4f634ff6b31f0cbd (diff)
gnu: Add rust-derive-builder-macro-0.10.
* gnu/packages/crates-io.scm (rust-derive-builder-macro-0.10): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2033cacb2..ca3ac27f86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11849,6 +11849,32 @@ for arbitrary structs.")
#:cargo-development-inputs
(("rust-pretty-assertions" ,rust-pretty-assertions-0.2))))))
+(define-public rust-derive-builder-macro-0.10
+ (package
+ (name "rust-derive-builder-macro")
+ (version "0.10.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive_builder_macro" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wwdm4cgd4vlvabj5xsjjr4vvkqhnd3fi9wp3v5mlb09jp74maaq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-derive-builder-core" ,rust-derive-builder-core-0.10)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/colin-kiegel/rust-derive-builder")
+ (synopsis
+ "Rust macro to 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-error-chain-0.10
(package
(name "rust-derive-error-chain")