[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/40: gnu: Add rust-darling-0.20.
From: |
guix-commits |
Subject: |
08/40: gnu: Add rust-darling-0.20. |
Date: |
Sun, 22 Oct 2023 09:40:24 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 832f8e12f9353a0f270c58cdbf4b77fedbd56b67
Author: Aleksandr Vityazev <avityazew@gmail.com>
AuthorDate: Sat Oct 7 03:01:58 2023 +0300
gnu: Add rust-darling-0.20.
* gnu/packages/crates-io.scm (rust-darling-0.20): New variable.
(rust-darling-0.14): Inherit from rust-darling-0.20.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++----------
1 file changed, 28 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c899437d2..e6183672e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18726,19 +18726,43 @@ crate (implementation detail).")
(description "Daemonize is a Rust library for writing system deaemons.")
(license (list license:expat license:asl2.0))))
+(define-public rust-darling-0.20
+ (package
+ (name "rust-darling")
+ (version "0.20.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pjwwadwgnvvgn5qm3glpv7hjl7siaqqpw6cvh2mdar7lr6xj282"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.20)
+ ("rust-darling-macro" ,rust-darling-macro-0.20))))
+ (home-page "https://github.com/TedDriggs/darling")
+ (synopsis "Proc-macro library for reading attributes in custom derives")
+ (description
+ "This package provides a proc-macro library for reading attributes
+into structs when implementing custom derives.")
+ (license license:expat)))
+
(define-public rust-darling-0.14
(package
+ (inherit rust-darling-0.20)
(name "rust-darling")
(version "0.14.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "darling" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "00mc7svmwphywkwndzkjxsqaxhygrm8f4jv1p1lngzd7vn5naaa5"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -18747,13 +18771,7 @@ crate (implementation detail).")
#:cargo-development-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/TedDriggs/darling")
- (synopsis "Proc-macro library for reading attributes in custom derives")
- (description
- "This package provides a proc-macro library for reading attributes
-into structs when implementing custom derives.")
- (license license:expat)))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-darling-0.13
(package
- 29/40: gnu: Add rust-enumflags2-0.6., (continued)
- 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
- 37/40: gnu: Add xremap-wlroots., guix-commits, 2023/10/22
- 04/40: gnu: Add rust-hyprland-macros-0.3., guix-commits, 2023/10/22
- 01/40: gnu: Add rust-derive-where-1., guix-commits, 2023/10/22
- 02/40: gnu: Add rust-evdev-0.12., guix-commits, 2023/10/22
- 10/40: gnu: rust-expect-test-1: Update to 1.4.1., guix-commits, 2023/10/22
- 07/40: gnu: Add rust-darling-macro-0.20., guix-commits, 2023/10/22
- 08/40: gnu: Add rust-darling-0.20.,
guix-commits <=
- 12/40: gnu: Add rust-option-set-0.2., guix-commits, 2023/10/22
- 13/40: gnu: rust-rmp-0.8: Update to 0.8.12., guix-commits, 2023/10/22
- 11/40: gnu: Add rust-serde-with-3., guix-commits, 2023/10/22
- 19/40: gnu: Add rust-wayland-scanner-0.30., guix-commits, 2023/10/22
- 21/40: gnu: Add rust-wayland-server-0.30., guix-commits, 2023/10/22
- 18/40: gnu: Add rust-quick-xml-0.28., guix-commits, 2023/10/22
- 16/40: gnu: Add rust-serde-xml-rs-0.6., guix-commits, 2023/10/22
- 15/40: gnu: Add rust-ron-0.8., guix-commits, 2023/10/22
- 24/40: gnu: Add rust-as-raw-xcb-connection-1., guix-commits, 2023/10/22
- 32/40: gnu: Add rust-zvariant-2., guix-commits, 2023/10/22