summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 16:00:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 17:40:43 +0300
commit891a628c3a08eaf7aac2142c9c8f15bc9ed20611 (patch)
treef2ae9a819c97bcb2adbd5ca2e3e335caca8ea8f3
parenta6aa1f7573ee3698964298162539d982eb745f3e (diff)
gnu: Add rust-darling-0.14.
* gnu/packages/crates-io.scm (rust-darling-0.14): New variable. (rust-darling-0.13): Inherit from rust-darling-0.13.
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 28 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaa914ab68..a496376f52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15170,10 +15170,10 @@ 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.13
+(define-public rust-darling-0.14
(package
(name "rust-darling")
- (version "0.13.1")
+ (version "0.14.1")
(source
(origin
(method url-fetch)
@@ -15181,13 +15181,13 @@ crate (implementation detail).")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh"))))
+ (base32 "00mc7svmwphywkwndzkjxsqaxhygrm8f4jv1p1lngzd7vn5naaa5"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-darling-core" ,rust-darling-core-0.13)
- ("rust-darling-macro" ,rust-darling-macro-0.13))
+ (("rust-darling-core" ,rust-darling-core-0.14)
+ ("rust-darling-macro" ,rust-darling-macro-0.14))
#:cargo-development-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
@@ -15199,6 +15199,29 @@ crate (implementation detail).")
into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-darling-0.13
+ (package
+ (inherit rust-darling-0.14)
+ (name "rust-darling")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "darling" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-darling-core" ,rust-darling-core-0.13)
+ ("rust-darling-macro" ,rust-darling-macro-0.13))
+ #:cargo-development-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-darling-0.12
(package
(inherit rust-darling-0.13)