diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-19 21:04:26 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:58 +0200 |
commit | 4e6586c8d7af78d5fee30cdb5431b5228f7e5faa (patch) | |
tree | d451d0d79c81f7eeafdb937dd3e63e0bc6993dae | |
parent | 23308c78916a0bce9b14fff54f6b0036b1682300 (diff) | |
download | guix-4e6586c8d7af78d5fee30cdb5431b5228f7e5faa.tar.gz |
gnu: Add rust-signal-hook-0.1.
* gnu/packages/crates-io.scm (rust-signal-hook-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 826f752c4e..5d709bc610 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8662,6 +8662,37 @@ words, like Python's shlex.") (license (list license:asl2.0 license:expat)))) +(define-public rust-signal-hook-0.1 + (package + (name "rust-signal-hook") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "signal-hook" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nlw1gwi58ppds5klyy8vp2ickx3majvdp1pcdz8adm4zpqmiavj")))) + (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-registry" ,rust-signal-hook-registry-1.0) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.1) + ("rust-version-sync" ,rust-version-sync-0.8)))) + (home-page "https://github.com/vorner/signal-hook") + (synopsis "Unix signal handling") + (description "Unix signal handling.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-signal-hook-registry-1.0 (package (name "rust-signal-hook-registry") |