diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-20 00:12:41 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:58 +0530 |
commit | ba45930077b7f46b4da5746ce7ea9bab56c7c290 (patch) | |
tree | 87f375c990e6e3687b8fd32b270fe4822e556d43 | |
parent | 0e30daed895a7d0d6cc4bcae4c299ea208c4145e (diff) | |
download | guix-ba45930077b7f46b4da5746ce7ea9bab56c7c290.tar.gz guix-ba45930077b7f46b4da5746ce7ea9bab56c7c290.zip |
gnu: Add rust-tokio-sync-0.2.
* gnu/packages/crates-io.scm (rust-tokio-sync-0.2): New variable.
(rust-tokio-sync-0.1): Inherit from rust-tokio-sync-0.2.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 15bffe5885..59d33937b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27571,8 +27571,33 @@ using Rustls.") futures.") (license license:expat))) +(define-public rust-tokio-sync-0.2 + (package + (name "rust-tokio-sync") + (version "0.2.0-alpha.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lirf9s9pibgv8cypqzlddy8q9bxfp4z29qfx83p83slhnvaw6jg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fnv" ,rust-fnv-1) + ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) + ("rust-futures-sink-preview" ,rust-futures-sink-preview-0.3) + ("rust-futures-util-preview" ,rust-futures-util-preview-0.3)))) + (home-page "https://tokio.rs") + (synopsis "Synchronization utilities") + (description "This package provides synchronization utilities.") + (license license:expat))) + (define-public rust-tokio-sync-0.1 (package + (inherit rust-tokio-sync-0.2) (name "rust-tokio-sync") (version "0.1.6") (source @@ -27584,7 +27609,6 @@ futures.") (sha256 (base32 "1ryalh7dcmnz46xj1va8aaw3if6vd4mj87r67dqvrqhpyf7j8qi1")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -27594,11 +27618,7 @@ futures.") (("rust-env-logger" ,rust-env-logger-0.6) ("rust-loom" ,rust-loom-0.1) ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1)))) - (home-page "https://tokio.rs") - (synopsis "Synchronization utilities") - (description "Synchronization utilities.") - (license license:expat))) + ("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1)))))) (define-public rust-tokio-test-0.2 (package |