diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 18:33:40 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:44 +0100 |
commit | f6dac094c6343c5e140042dc342bd149ad83817b (patch) | |
tree | 88c4cf025a0fe522ef2b9c695d482c044630fae1 /gnu/packages/crates-io.scm | |
parent | 0a0340c934bfd324f505ccaabc2ad08a78a5d75b (diff) | |
download | guix-f6dac094c6343c5e140042dc342bd149ad83817b.tar.gz |
gnu: Add rust-signal-hook-0.3.
* gnu/packages/crates-io.scm (rust-signal-hook-0.3): New variable. (rust-signal-hook-0.1): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9b7b04bb46..922b1ff597 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36726,8 +36726,32 @@ words, like Python's shlex.") (license (list license:asl2.0 license:expat)))) +(define-public rust-signal-hook-0.3 + (package + (name "rust-signal-hook") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "signal-hook" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h628smm9y22qi3szpkg3xpj31hyvs4ps29nf8cnfvy6w0zmw3vq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)))) + (home-page "https://github.com/vorner/signal-hook") + (synopsis "Unix signal handling") + (description "This package provides Unix signal handling.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-signal-hook-0.1 (package + (inherit rust-signal-hook-0.3) (name "rust-signal-hook") (version "0.1.16") (source @@ -36739,7 +36763,6 @@ words, like Python's shlex.") (sha256 (base32 "1v85mgs4dbgw0765b9nx0jd8lamv55425aawjbhxz6cb870hhib0")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1) @@ -36750,11 +36773,7 @@ words, like Python's shlex.") ("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)))) + ("rust-version-sync" ,rust-version-sync-0.8)))))) (define-public rust-signal-hook-registry-1 (package |