From a2256621843ee942f383009795d7f33a2f528a51 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 8 Feb 2024 10:23:10 +0200 Subject: [PATCH] gnu: rust-arg-enum-proc-macro-0.3: Update to 0.3.4. * gnu/packages/crates-io.scm (rust-arg-enum-proc-macro-0.3): Update to 0.3.4. [cargo-inputs]: Replace rust-syn-1 with 2. [cargo-development-inputs]: Add rust-trybuild-1. Change-Id: I1b6ae1a926bc0e3196af81a9a650293ec6843d5c --- gnu/packages/crates-io.scm | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c1ce26ce82..23a8a2c9da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2128,22 +2128,20 @@ (define-public rust-archery-1 (define-public rust-arg-enum-proc-macro-0.3 (package (name "rust-arg-enum-proc-macro") - (version "0.3.0") + (version "0.3.4") (source - (origin - (method url-fetch) - (uri (crate-uri "arg_enum_proc_macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "021rr6j3n031ynfbm7kwb3j3bxvbsz40n0nqi78k47d3p92rihcv")))) + (origin + (method url-fetch) + (uri (crate-uri "arg_enum_proc_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sjdfd5a8j6r99cf0bpqrd6b160x9vz97y5rysycsjda358jms8a")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/lu-zero/arg_enum_proc_macro") (synopsis "Procedural macro compatible with clap arg_enum") (description