From 9009ac12bf2a821eb5c7e8299fea2be6cc57fdfd Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Mon, 20 Jan 2020 01:21:34 +0300 Subject: [PATCH 157/275] gnu: Add rust-signal-hook-registry-1.2. * gnu/packages/crates-io.scm (rust-signal-hook-registry-1.2): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2823e9ac60..d9b452a7c4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13143,6 +13143,34 @@ words, like Python's shlex.") (description "Unix signal handling.") (license (list license:asl2.0 license:expat)))) +(define-public rust-signal-hook-registry-1.2 + (package + (name "rust-signal-hook-registry") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "signal-hook-registry" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0haz828bif1lbp3alx17zkcy5hwy15bbpmvks72j8iznx7npix4l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arc-swap" ,rust-arc-swap-0.4) + ("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:asl2.0 license:expat)))) + (define-public rust-signal-hook-registry-1.0 (package (name "rust-signal-hook-registry") -- 2.25.0