mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add rust-darling-0.13 and required dependencies.
* gnu/packages/crates-io.scm (rust-darling-0.13): New variable. (rust-darling-0.12): Inherit from above. (rust-darling-core-0.13): New variable. (rust-darling-core-0.12): Inherit from above. (rust-darling-macro-0.13): New variable. (rust-darling-macro-0.12): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
213f2cc27b
commit
fb677c1060
1 changed files with 79 additions and 18 deletions
|
@ -15649,8 +15649,38 @@ (define-public rust-daemonize-0.4
|
||||||
(description "Daemonize is a Rust library for writing system deaemons.")
|
(description "Daemonize is a Rust library for writing system deaemons.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
|
(define-public rust-darling-0.13
|
||||||
|
(package
|
||||||
|
(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"))))
|
||||||
|
(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))
|
||||||
|
#: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)))
|
||||||
|
|
||||||
(define-public rust-darling-0.12
|
(define-public rust-darling-0.12
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-darling-0.13)
|
||||||
(name "rust-darling")
|
(name "rust-darling")
|
||||||
(version "0.12.4")
|
(version "0.12.4")
|
||||||
(source
|
(source
|
||||||
|
@ -15666,13 +15696,11 @@ (define-public rust-darling-0.12
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-darling-core" ,rust-darling-core-0.12)
|
(("rust-darling-core" ,rust-darling-core-0.12)
|
||||||
("rust-darling-macro" ,rust-darling-macro-0.12))))
|
("rust-darling-macro" ,rust-darling-macro-0.12))
|
||||||
(home-page "https://github.com/TedDriggs/darling")
|
#:cargo-development-inputs
|
||||||
(synopsis "Proc-macro library for reading attributes in custom derives")
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
(description
|
("rust-quote" ,rust-quote-1)
|
||||||
"This package provides a proc-macro library for reading attributes
|
("rust-syn" ,rust-syn-1))))))
|
||||||
into structs when implementing custom derives.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-darling-0.10
|
(define-public rust-darling-0.10
|
||||||
(package
|
(package
|
||||||
|
@ -15721,17 +15749,17 @@ (define-public rust-darling-0.9
|
||||||
("rust-quote" ,rust-quote-0.6)
|
("rust-quote" ,rust-quote-0.6)
|
||||||
("rust-syn" ,rust-syn-0.15))))))
|
("rust-syn" ,rust-syn-0.15))))))
|
||||||
|
|
||||||
(define-public rust-darling-core-0.12
|
(define-public rust-darling-core-0.13
|
||||||
(package
|
(package
|
||||||
(name "rust-darling-core")
|
(name "rust-darling-core")
|
||||||
(version "0.12.4")
|
(version "0.13.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "darling_core" version))
|
(uri (crate-uri "darling_core" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0dpscl87s75h6yhrmzdsapx86lc4y16m554xg4hiq2l3hrdlb4cf"))))
|
(base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
|
@ -15749,6 +15777,19 @@ (define-public rust-darling-core-0.12
|
||||||
reading attributes into structs when implementing custom derives.")
|
reading attributes into structs when implementing custom derives.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-darling-core-0.12
|
||||||
|
(package
|
||||||
|
(inherit rust-darling-core-0.13)
|
||||||
|
(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"))))))
|
||||||
|
|
||||||
(define-public rust-darling-core-0.10
|
(define-public rust-darling-core-0.10
|
||||||
(package
|
(package
|
||||||
(inherit rust-darling-core-0.12)
|
(inherit rust-darling-core-0.12)
|
||||||
|
@ -15796,8 +15837,35 @@ (define-public rust-darling-core-0.9
|
||||||
("rust-strsim" ,rust-strsim-0.7)
|
("rust-strsim" ,rust-strsim-0.7)
|
||||||
("rust-syn" ,rust-syn-0.15))))))
|
("rust-syn" ,rust-syn-0.15))))))
|
||||||
|
|
||||||
|
(define-public rust-darling-macro-0.13
|
||||||
|
(package
|
||||||
|
(name "rust-darling-macro")
|
||||||
|
(version "0.13.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "darling_macro" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-darling-core" ,rust-darling-core-0.13)
|
||||||
|
("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)))
|
||||||
|
|
||||||
(define-public rust-darling-macro-0.12
|
(define-public rust-darling-macro-0.12
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-darling-macro-0.13)
|
||||||
(name "rust-darling-macro")
|
(name "rust-darling-macro")
|
||||||
(version "0.12.4")
|
(version "0.12.4")
|
||||||
(source
|
(source
|
||||||
|
@ -15807,19 +15875,12 @@ (define-public rust-darling-macro-0.12
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0nn9mxl7gs827rx5s6lbjvvghipxjdg2qpdjyxk7yym3vvqard99"))))
|
(base32 "0nn9mxl7gs827rx5s6lbjvvghipxjdg2qpdjyxk7yym3vvqard99"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-darling-core" ,rust-darling-core-0.12)
|
(("rust-darling-core" ,rust-darling-core-0.12)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-1))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
(home-page "https://github.com/TedDriggs/darling")
|
|
||||||
(synopsis "Helper crate for @code{rust-darling}")
|
|
||||||
(description
|
|
||||||
"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.10
|
(define-public rust-darling-macro-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue