aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 22:28:54 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:56 +0200
commit874a5bc61daf310c99fa642fec4ec17552a81a09 (patch)
treee21e53a5e5291a19d18bffae0d7674aae59062bb
parent8eeb7794bac7b8cfbb6ea156b347d88ace90326c (diff)
downloadguix-874a5bc61daf310c99fa642fec4ec17552a81a09.tar
guix-874a5bc61daf310c99fa642fec4ec17552a81a09.tar.gz
gnu: Add rust-tokio-signal-0.2.
* gnu/packages/crates-io.scm (rust-tokio-signal-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3f0f27c61..5b9f3498c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11537,6 +11537,42 @@ futures efficiently")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-signal-0.2
+ (package
+ (name "rust-tokio-signal")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-signal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15l27cvhfcjsahwnm2pgsm0690w0xj1h1sbdl5wy6p50dqkwavfx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/tokio-rs/tokio")
+ (synopsis
+ "Asynchronous Unix signal handling backed futures")
+ (description
+ "An implementation of an asynchronous Unix signal handling backed
+futures.")
+ (license license:expat)))
+
(define-public rust-tokio-sync-0.1
(package
(name "rust-tokio-sync")