aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-24 22:22:44 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:17 +0200
commit5232783186051207ea1bc3e33790b41795e38895 (patch)
tree0c2994f243fe096abe194819b67ea0334c4a7a36 /gnu
parentd1c18f44c2d5a385926ffa3960af8417e1b792d0 (diff)
downloadpatches-5232783186051207ea1bc3e33790b41795e38895.tar
patches-5232783186051207ea1bc3e33790b41795e38895.tar.gz
gnu: Add rust-derive-builder-0.5.
* gnu/packages/crates-io.scm (rust-derive-builder-0.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 63d7eeaaa0..d51ca95739 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4922,6 +4922,38 @@ and arithmetic.")
(description "Demo of proc-macro-hack.")
(license (list license:expat license:asl2.0))))
+(define-public rust-derive-builder-0.5
+ (package
+ (name "rust-derive-builder")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "derive_builder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fgl8dsigr7h70clxjq8xmsfc021w5ag262wfgcqv0ian1m8x6cc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)
+ ("rust-derive-builder-core" ,rust-derive-builder-core-0.2)
+ ("rust-env-logger" ,rust-env-logger-0.4)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-quote" ,rust-quote-0.3)
+ ("rust-skeptic" ,rust-skeptic-0.9)
+ ("rust-syn" ,rust-syn-0.11))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.4)
+ ("rust-log" ,rust-log-0.3)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.2)
+ ("rust-skeptic" ,rust-skeptic-0.9))))
+ (home-page "https://github.com/colin-kiegel/rust-derive-builder")
+ (synopsis "Builder pattern for arbitrary structs")
+ (description "Rust macro to automatically implement the builder pattern
+for arbitrary structs.")
+ (license (list license:expat license:asl2.0))) )
+
(define-public rust-derive-new-0.5
(package
(name "rust-derive-new")