[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/43: gnu: Add rust-darling-0.12.
From: |
guix-commits |
Subject: |
07/43: gnu: Add rust-darling-0.12. |
Date: |
Tue, 8 Jun 2021 05:06:23 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit a63d10b9c56432dad8fb11b8aa6b7ff9d90ec483
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jun 7 23:38:04 2021 +0200
gnu: Add rust-darling-0.12.
* gnu/packages/crates-io.scm (rust-darling-0.12): New variable.
(rust-darling-0.10): Inherit from above.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 45170c9..7f16d60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11113,8 +11113,34 @@ 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.12
+ (package
+ (name "rust-darling")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g4bkxpwl6i5jav5qqzny39yd5a1fdlh5l0mj020njza6ksl6b2z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.12)
+ ("rust-darling-macro" ,rust-darling-macro-0.12))))
+ (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.10
(package
+ (inherit rust-darling-0.12)
(name "rust-darling")
(version "0.10.2")
(source
@@ -11126,7 +11152,6 @@ crate (implementation detail).")
(sha256
(base32
"0n7qsp6854wm3y1q1lvylhv15zvc87ibbac1nyfmcdbyv1snww0d"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-darling-core" ,rust-darling-core-0.10)
@@ -11134,13 +11159,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-core-0.12
(package
- 08/43: gnu: Add rust-derive-builder-core-0.10., (continued)
- 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
- 11/43: gnu: rust-thiserror-impl-1: Update to 1.0.25., guix-commits, 2021/06/08
- 15/43: gnu: rust-zip-0.5: Update to 0.5.13., guix-commits, 2021/06/08
- 14/43: gnu: Add rust-clearscreen-1., guix-commits, 2021/06/08
- 07/43: gnu: Add rust-darling-0.12.,
guix-commits <=
- 09/43: gnu: Add rust-derive-builder-macro-0.10., guix-commits, 2021/06/08
- 13/43: gnu: Add rust-terminfo-0.7., guix-commits, 2021/06/08
- 18/43: gnu: Add rust-insta-1., guix-commits, 2021/06/08
- 24/43: gnu: Add rust-tectonic-errors-0.2., guix-commits, 2021/06/08
- 22/43: gnu: Add rust-watchexec-1., guix-commits, 2021/06/08
- 21/43: gnu: rust-embed-resource-1: Update to 1.6.2., guix-commits, 2021/06/08
- 27/43: gnu: rust-flate2-1: Update to 1.0.20., guix-commits, 2021/06/08
- 28/43: gnu: Add rust-tectonic-geturl-0.2., guix-commits, 2021/06/08
- 31/43: gnu: Add rust-tectonic-bridge-freetype2-0.2., guix-commits, 2021/06/08
- 32/43: gnu: Add rust-tectonic-bridge-flate-0.1., guix-commits, 2021/06/08