gnu: Add rust-darling-core-0.14.

* gnu/packages/crates-io.scm (rust-darling-core-0.14): New variable.
(rust-darling-core-0.13): Inherit from rust-darling-core-0.14.
This commit is contained in:
Efraim Flashner 2022-10-24 16:01:32 +03:00
parent 891a628c3a
commit 9c406432e5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15293,17 +15293,17 @@ (define-public rust-darling-0.9
("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))))
(define-public rust-darling-core-0.13
(define-public rust-darling-core-0.14
(package
(name "rust-darling-core")
(version "0.13.1")
(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 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s"))))
(base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@ -15321,6 +15321,28 @@ (define-public rust-darling-core-0.13
reading attributes into structs when implementing custom derives.")
(license license:expat)))
(define-public rust-darling-core-0.13
(package
(inherit rust-darling-core-0.14)
(name "rust-darling-core")
(version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "darling_core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s"))))
(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.12
(package
(inherit rust-darling-core-0.13)