diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-08-03 20:46:37 +0200 |
---|---|---|
committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-08-04 15:57:34 +0200 |
commit | 5f4f5edd618c35e13a8808728e9472ca519b6aba (patch) | |
tree | cdca801f10efc1ab66cc86c16dde50903cd715aa /gnu/packages/crates-io.scm | |
parent | b20099df8cd3c5d110c83e63050f67583fee06e1 (diff) | |
download | guix-5f4f5edd618c35e13a8808728e9472ca519b6aba.tar guix-5f4f5edd618c35e13a8808728e9472ca519b6aba.tar.gz |
gnu: Add rust-derive-builder-0.9.
* gnu/packages/crates-io.scm (rust-derive-builder-0.9,
rust-derive-builder-core-0.9): New variables.
(rust-derive-builder-0.5, rust-derive-builder-core-0.2): Inherit from
newer versions.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 77 |
1 files changed, 65 insertions, 12 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9d047e8840..de7a63ddac 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5462,8 +5462,42 @@ and arithmetic.") (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-0.9 + (package + (name "rust-derive-builder") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-builder" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h4f8vnggmpyw27fznl3cpyjrzz1nw5xrxx6ca3zcb3z54hqcrd2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) + ("rust-darling" ,rust-darling-0.10) + ("rust-derive-builder-core" ,rust-derive-builder-core-0.9) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-skeptic" ,rust-skeptic-0.13) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (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-builder-0.5 (package + (inherit rust-derive-builder-0.9) (name "rust-derive-builder") (version "0.5.1") (source @@ -5473,7 +5507,6 @@ and arithmetic.") (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) @@ -5487,15 +5520,40 @@ and arithmetic.") (("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)))) + ("rust-skeptic" ,rust-skeptic-0.9)))))) + +(define-public rust-derive-builder-core-0.9 + (package + (name "rust-derive-builder-core") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-builder-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vwb8nwls4lhd2yiyj87kmwws4mmfqfrjcr0pk09b11c6wzfm497")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-darling" ,rust-darling-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) (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))) ) + (synopsis "Internal helper library for @code{rust-derive-builder}") + (description + "Internal helper library for @code{rust-derive-builder}.") + (license (list license:expat license:asl2.0)))) (define-public rust-derive-builder-core-0.2 (package + (inherit rust-derive-builder-core-0.9) (name "rust-derive-builder-core") (version "0.2.0") (source @@ -5505,18 +5563,13 @@ for arbitrary structs.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mxpl1ja3l60w1v5vr3733hr5mcpds2hfl6shrmy3a2zkvp28pkk")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.3) ("rust-quote" ,rust-quote-0.3) ("rust-syn" ,rust-syn-0.11)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.2)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Internal helper library for the derive_builder crate") - (description "Internal helper library for the derive_builder crate.") - (license (list license:expat license:asl2.0)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-0.2)))))) (define-public rust-derive-more-0.99 (package |