From 44f43543a269fc53e400359c03a87c0ce121a3c0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 7 Jun 2021 23:35:22 +0200 Subject: gnu: Add rust-darling-macro-0.12. * gnu/packages/crates-io.scm (rust-darling-macro-0.12): New variable. (rust-darling-macro-0.10): Inherit from above. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0cd7617a6f..45170c943b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11193,23 +11193,22 @@ reading attributes into structs when implementing custom derives.") ("rust-strsim" ,rust-strsim-0.9) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-darling-macro-0.10 +(define-public rust-darling-macro-0.12 (package (name "rust-darling-macro") - (version "0.10.2") + (version "0.12.4") (source (origin (method url-fetch) (uri (crate-uri "darling_macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0wlv31cxkrjijz5gv13hvk55c9lmd781aj12c8n84sa9mksa5dfr")))) + (base32 "0nn9mxl7gs827rx5s6lbjvvghipxjdg2qpdjyxk7yym3vvqard99")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.10) + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.12) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/TedDriggs/darling") @@ -11219,6 +11218,26 @@ reading attributes into structs when implementing custom derives.") reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-macro-0.10 + (package + (inherit rust-darling-macro-0.12) + (name "rust-darling-macro") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_macro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wlv31cxkrjijz5gv13hvk55c9lmd781aj12c8n84sa9mksa5dfr")))) + (arguments + `(#:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-dashmap-4 (package (name "rust-dashmap") -- cgit v1.2.3