mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05:00
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.
This commit is contained in:
parent
1477fdf2b0
commit
3bc0c3bee2
1 changed files with 30 additions and 8 deletions
|
@ -11142,8 +11142,37 @@ (define-public rust-darling-0.10
|
|||
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 @@ (define-public rust-darling-core-0.10
|
|||
(sha256
|
||||
(base32
|
||||
"16sija1jv0l754x4aa6b6fy01d1kf8m0r4id3flqipm45np61jgh"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-fnv" ,rust-fnv-1)
|
||||
|
@ -11163,13 +11191,7 @@ (define-public rust-darling-core-0.10
|
|||
("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
|
||||
|
|
Loading…
Reference in a new issue