From 9176bf5487d12414074b85549d1b42afcd3a91ba Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 21:02:01 -0800 Subject: gnu: Add rust-signal-hook-registry-1.0. * gnu/packages/crates-io.scm (rust-signal-hook-registry-1.0): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5da0b4fc07..062189bd84 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8662,6 +8662,33 @@ (define-public rust-shlex-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-signal-hook-registry-1.0 + (package + (name "rust-signal-hook-registry") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "signal-hook-registry" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mw5v909fn99h5qb96ma4almlik80lr1c7xbakn24rql6bx4zvfd")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arc-swap" ,rust-arc-swap-0.3) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-signal-hook" ,rust-signal-hook-0.1) + ("rust-version-sync" ,rust-version-sync-0.8)))) + (home-page "https://github.com/vorner/signal-hook") + (synopsis "Backend crate for signal-hook") + (description "Backend crate for signal-hook.") + (license (list license:expat license:asl2.0)))) + (define-public rust-siphasher-0.2 (package (name "rust-siphasher") -- cgit v1.2.3