diff options
author | Aleksandr Vityazev <avityazew@gmail.com> | 2023-10-07 03:01:50 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:02:13 +0300 |
commit | f9dd6e479f00e88dfe47ab38861b46d6be0d5cdd (patch) | |
tree | c9957ad4883bf77f60b6d51facb908a3f372fa35 /gnu/packages/crates-io.scm | |
parent | 8e1be8d903abe799d384bbe64b85461a998f78a9 (diff) |
gnu: Add rust-darling-core-0.20.
* gnu/packages/crates-io.scm (rust-darling-core-0.20): New variable.
(rust-darling-core-0.14): Inherit from rust-darling-core-0.20.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a96f09e17..6ee2ac24c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18849,17 +18849,18 @@ into structs when implementing custom derives.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-darling-core-0.14 +(define-public rust-darling-core-0.20 (package (name "rust-darling-core") - (version "0.14.1") + (version "0.20.3") (source (origin (method url-fetch) - (uri (crate-uri "darling_core" version)) + (uri (crate-uri "darling-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734")))) + (base32 + "08g6afi3z9jgcqx7g41s1mzr6q3dj2z56vz7v1bv6941h51k8zhp")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -18869,7 +18870,7 @@ into structs when implementing custom derives.") ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-strsim" ,rust-strsim-0.10) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/TedDriggs/darling") (synopsis "Helper crate for @code{rust-darling}") (description @@ -18877,6 +18878,28 @@ into structs when implementing custom derives.") reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-core-0.14 + (package + (inherit rust-darling-core-0.20) + (name "rust-darling-core") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-fnv" ,rust-fnv-1) + ("rust-ident-case" ,rust-ident-case-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-darling-core-0.13 (package (inherit rust-darling-core-0.14) |