diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-19 16:18:35 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-30 23:02:45 +0100 |
commit | 082e8a6fa12973f5110211e625088af2bfd5aa71 (patch) | |
tree | 470ed60ce353aa42b75d119375b4d3fc502fbac2 /gnu | |
parent | 0f89d63722766dcde70f52c1fd7eba38f978978b (diff) |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 126f2f1ce0..69efb59298 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31942,6 +31942,50 @@ futures efficiently") (description "This package provides Tokio's proc macros.") (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 (package (name "rust-tokio-mock-task") |