mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add rust-darling-macro-0.20.
* gnu/packages/crates-io.scm (rust-darling-macro-0.20): New variable. (rust-darling-macro-0.14): Inherit from rust-darling-macro-0.20. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
f9dd6e479f
commit
a0db32b18a
1 changed files with 34 additions and 14 deletions
|
@ -18982,8 +18982,36 @@ (define-public rust-darling-core-0.9
|
|||
("rust-strsim" ,rust-strsim-0.7)
|
||||
("rust-syn" ,rust-syn-0.15))))))
|
||||
|
||||
(define-public rust-darling-macro-0.20
|
||||
(package
|
||||
(name "rust-darling-macro")
|
||||
(version "0.20.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "darling-macro" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1mg2k1f0v33s271lpn4m5mxcfjqnmg61bf77svb44cyngay9nsl3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-darling-core" ,rust-darling-core-0.20)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-2))))
|
||||
(home-page "https://github.com/TedDriggs/darling")
|
||||
(synopsis "Helper crate for @code{rust-darling}")
|
||||
(description
|
||||
"This package provides internal support for @code{rust-darling},
|
||||
a proc-macro library for reading attributes into structs when implementing
|
||||
custom derives.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-darling-macro-0.14
|
||||
(package
|
||||
(inherit rust-darling-macro-0.20)
|
||||
(name "rust-darling-macro")
|
||||
(version "0.14.1")
|
||||
(source
|
||||
|
@ -18992,21 +19020,13 @@ (define-public rust-darling-macro-0.14
|
|||
(uri (crate-uri "darling_macro" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x"))))
|
||||
(build-system cargo-build-system)
|
||||
(base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x"))))
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-darling-core" ,rust-darling-core-0.14)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))
|
||||
(home-page "https://github.com/TedDriggs/darling")
|
||||
(synopsis "Helper crate for @code{rust-darling}")
|
||||
(description
|
||||
"This package provides internal support for @code{rust-darling},
|
||||
a proc-macro library for reading attributes into structs when implementing
|
||||
custom derives.")
|
||||
(license license:expat)))
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-darling-core" ,rust-darling-core-0.14)
|
||||
("rust-quote" ,rust-quote-1)
|
||||
("rust-syn" ,rust-syn-1))))))
|
||||
|
||||
(define-public rust-darling-macro-0.13
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue