gnu: Add rust-tokio-macros-0.3.
* gnu/packages/crates-io.scm (rust-tokio-macros-0.3): New variable. (rust-tokio-macros-0.2): Inherit from above.master
parent
0f89d63722
commit
082e8a6fa1
|
@ -31942,6 +31942,50 @@ futures efficiently")
|
||||||
(description "This package provides Tokio's proc macros.")
|
(description "This package provides Tokio's proc macros.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-tokio-macros-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-tokio-macros")
|
||||||
|
(version "0.3.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "tokio-macros" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1dvd3gji7a0i1kgck2lwgbcbklk3qb1bsqgd2v9amj63kyjzzps6"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-tokio" ,rust-tokio-0.3))))
|
||||||
|
(home-page "https://tokio.rs")
|
||||||
|
(synopsis "Tokio's proc macros")
|
||||||
|
(description "This package provides Tokio's proc macros.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-tokio-macros-0.2
|
||||||
|
(package
|
||||||
|
(inherit rust-tokio-macros-0.3)
|
||||||
|
(name "rust-tokio-macros")
|
||||||
|
(version "0.2.5")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "tokio-macros" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1283aq0l7rnh79zzqk4r34dgimvwcymrzmg1yah9ai2nmb3arhzh"))))
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-tokio" ,rust-tokio-0.2))))))
|
||||||
|
|
||||||
(define-public rust-tokio-mock-task-0.1
|
(define-public rust-tokio-mock-task-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-tokio-mock-task")
|
(name "rust-tokio-mock-task")
|
||||||
|
|
Reference in New Issue