From 9c406432e5021ba4f8a642905589022486a31e04 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 24 Oct 2022 16:01:32 +0300 Subject: [PATCH] gnu: Add rust-darling-core-0.14. * gnu/packages/crates-io.scm (rust-darling-core-0.14): New variable. (rust-darling-core-0.13): Inherit from rust-darling-core-0.14. --- gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a496376f52..3d7190f7a1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15293,17 +15293,17 @@ (define-public rust-darling-0.9 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-darling-core-0.13 +(define-public rust-darling-core-0.14 (package (name "rust-darling-core") - (version "0.13.1") + (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 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s")))) + (base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -15321,6 +15321,28 @@ (define-public rust-darling-core-0.13 reading attributes into structs when implementing custom derives.") (license license:expat))) +(define-public rust-darling-core-0.13 + (package + (inherit rust-darling-core-0.14) + (name "rust-darling-core") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "darling_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s")))) + (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.12 (package (inherit rust-darling-core-0.13)