[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/40: gnu: Add rust-darling-core-0.20.
From: |
guix-commits |
Subject: |
06/40: gnu: Add rust-darling-core-0.20. |
Date: |
Sun, 22 Oct 2023 09:40:22 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit f9dd6e479f00e88dfe47ab38861b46d6be0d5cdd
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:01:50 2023 +0300
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>
---
gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++-----
1 file 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)
- branch master updated (8ca7ccbf0d -> 6d4f4e916a), guix-commits, 2023/10/22
- 03/40: gnu: Add rust-fork-0.1., guix-commits, 2023/10/22
- 05/40: gnu: Add rust-hyprland-0.3., guix-commits, 2023/10/22
- 09/40: gnu: Add rust-serde-with-macros-3., guix-commits, 2023/10/22
- 06/40: gnu: Add rust-darling-core-0.20.,
guix-commits <=
- 14/40: gnu: Add rust-rmp-serde-1., guix-commits, 2023/10/22
- 22/40: gnu: Add rust-wayland-protocols-0.30., guix-commits, 2023/10/22
- 23/40: gnu: Add rust-wayland-protocols-wlr-0.1., guix-commits, 2023/10/22
- 26/40: gnu: Add rust-x11rb-protocol-0.12., guix-commits, 2023/10/22
- 25/40: gnu: Add rust-gethostname-0.3., guix-commits, 2023/10/22
- 31/40: gnu: Add rust-zvariant-derive-2., guix-commits, 2023/10/22
- 29/40: gnu: Add rust-enumflags2-0.6., guix-commits, 2023/10/22
- 17/40: gnu: Add rust-wayland-backend-0.1., guix-commits, 2023/10/22
- 20/40: gnu: Add rust-wayland-client-0.30., guix-commits, 2023/10/22
- 27/40: gnu: Add rust-x11rb-0.12., guix-commits, 2023/10/22