diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-12-20 00:21:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 22:06:30 +0100 |
commit | 0f3d491733aa5cc940591abe492647bc6a9c7c62 (patch) | |
tree | 0a30a5763665dbb9860381c554b61f2018e30b24 /gnu/packages | |
parent | 02a73fe2eb7a7f42daf672b4e9717e9ee4d5438f (diff) | |
download | guix-0f3d491733aa5cc940591abe492647bc6a9c7c62.tar.gz |
gnu: Add rust-futures-timer-1.
* gnu/packages/crates-io.scm (rust-futures-timer-1): New variable. (rust-futures-timer-0.1): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3bcd84ff3a..a2f6906d62 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10893,25 +10893,44 @@ futures-rs library.") components built off futures-rs.") (license (list license:expat license:asl2.0)))) -(define-public rust-futures-timer-0.1 +(define-public rust-futures-timer-1 (package (name "rust-futures-timer") - (version "0.1.1") + (version "1.0.3") (source (origin (method url-fetch) (uri (crate-uri "futures-timer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hw0nlyrq5an6l6y8md1rg6r380zrddvmh9cg0h64xfwnvlxzkm5")))) + (base32 "0idyz2k72jbl9z0wj48n15wjv6qgxgsgvs6k8lrhkzr9jj728ikr")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1)))) + `(#:skip-build? #true + #:cargo-inputs + (("rust-futures-core-preview" ,rust-futures-core-preview-0.3) + ("rust-pin-utils" ,rust-pin-utils-0.1)))) (home-page "https://github.com/async-rs/futures-timer") (synopsis "Timeouts for futures") - (description "Timeouts for futures.") + (description "This package is a general purpose crate for working with +timeouts and delays with futures.") (license (list license:expat license:asl2.0)))) +(define-public rust-futures-timer-0.1 + (package + (inherit rust-futures-timer-1) + (name "rust-futures-timer") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-timer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hw0nlyrq5an6l6y8md1rg6r380zrddvmh9cg0h64xfwnvlxzkm5")))) + (arguments + `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1)))))) + (define-public rust-futures-util-0.3 (package (name "rust-futures-util") |