diff options
author | Aleksandr Vityazev <avityazew@gmail.com> | 2023-10-07 03:01:54 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:02:24 +0300 |
commit | a0db32b18a578a8f7aeb37a10e008418fc8d9483 (patch) | |
tree | 27ed8690783be0ff062fc8fd5b2903d5c63ac9ca /gnu/packages | |
parent | f9dd6e479f00e88dfe47ab38861b46d6be0d5cdd (diff) |
gnu: Add rust-darling-macro-0.20.
* gnu/packages/crates-io.scm (rust-darling-macro-0.20): New variable.
(rust-darling-macro-0.14): Inherit from rust-darling-macro-0.20.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ee2ac24c3..0c899437d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18982,24 +18982,25 @@ reading attributes into structs when implementing custom derives.") ("rust-strsim" ,rust-strsim-0.7) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-darling-macro-0.14 +(define-public rust-darling-macro-0.20 (package (name "rust-darling-macro") - (version "0.14.1") + (version "0.20.3") (source - (origin - (method url-fetch) - (uri (crate-uri "darling_macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x")))) + (origin + (method url-fetch) + (uri (crate-uri "darling-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mg2k1f0v33s271lpn4m5mxcfjqnmg61bf77svb44cyngay9nsl3")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.14) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.20) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/TedDriggs/darling") (synopsis "Helper crate for @code{rust-darling}") (description @@ -19008,6 +19009,25 @@ a proc-macro library for reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-macro-0.14 + (package + (inherit rust-darling-macro-0.20) + (name "rust-darling-macro") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-darling-core" ,rust-darling-core-0.14) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-darling-macro-0.13 (package (inherit rust-darling-macro-0.14) |