[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/43: gnu: Add rust-darling-core-0.12.
From: |
guix-commits |
Subject: |
05/43: gnu: Add rust-darling-core-0.12. |
Date: |
Tue, 8 Jun 2021 05:06:22 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 3bc0c3bee28d4722f65cb8a056bfb2e922f946dc
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jun 7 23:36:50 2021 +0200
gnu: Add rust-darling-core-0.12.
* gnu/packages/crates-io.scm (rust-darling-core-0.12): New variable.
(rust-darling-core-0.10): Inherit from above.
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++--------
1 file changed, 30 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e8960e3..0cd7617 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11142,8 +11142,37 @@ crate (implementation detail).")
into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-core-0.12
+ (package
+ (name "rust-darling-core")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling_core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))
+ (build-system cargo-build-system)
+ (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))))
+ (home-page "https://github.com/TedDriggs/darling")
+ (synopsis "Helper crate for @code{rust-darling}")
+ (description
+ "Helper crate for @code{rust-darling}, a proc-macro library for
+reading attributes into structs when implementing custom derives.")
+ (license license:expat)))
+
(define-public rust-darling-core-0.10
(package
+ (inherit rust-darling-core-0.12)
(name "rust-darling-core")
(version "0.10.2")
(source
@@ -11155,7 +11184,6 @@ into structs when implementing custom derives.")
(sha256
(base32
"16sija1jv0l754x4aa6b6fy01d1kf8m0r4id3flqipm45np61jgh"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-fnv" ,rust-fnv-1)
@@ -11163,13 +11191,7 @@ into structs when implementing custom derives.")
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-strsim" ,rust-strsim-0.9)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/TedDriggs/darling")
- (synopsis "Helper crate for @code{rust-darling}")
- (description
- "Helper crate for @code{rust-darling}, 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-macro-0.10
(package
- branch master updated (5fe9481 -> b7f1f9c), guix-commits, 2021/06/08
- 01/43: gnu: rust-walkdir-2: Update to 2.3.2., guix-commits, 2021/06/08
- 04/43: gnu: rust-syn-1: Update to 1.0.72., guix-commits, 2021/06/08
- 05/43: gnu: Add rust-darling-core-0.12.,
guix-commits <=
- 02/43: gnu: rust-globset-0.4: Update to 0.4.6., guix-commits, 2021/06/08
- 03/43: gnu: rust-proc-macro2-1: Update to 1.0.27., guix-commits, 2021/06/08
- 06/43: gnu: Add rust-darling-macro-0.12., guix-commits, 2021/06/08
- 08/43: gnu: Add rust-derive-builder-core-0.10., guix-commits, 2021/06/08
- 10/43: gnu: Add rust-derive-builder-0.10., guix-commits, 2021/06/08
- 12/43: gnu: rust-thiserror-1: Update to 1.0.25., guix-commits, 2021/06/08
- 16/43: gnu: Add rust-similar-1., guix-commits, 2021/06/08
- 17/43: gnu: Add rust-ron-0.6., guix-commits, 2021/06/08
- 20/43: gnu: rust-pest-2: Update to 2.1.3., guix-commits, 2021/06/08
- 19/43: gnu: Add rust-winreg-0.8., guix-commits, 2021/06/08