aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 01:21:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:53 +0200
commit7b656f0ef5ebc4204a7f2c3c262e1fc9f425e49c (patch)
tree8b53281b302d96b1cbc5b93a6fc041dce23044b2 /gnu
parentb7fce0bf18c965b5ba6a9b486623dc0bfcce4422 (diff)
downloadpatches-7b656f0ef5ebc4204a7f2c3c262e1fc9f425e49c.tar
patches-7b656f0ef5ebc4204a7f2c3c262e1fc9f425e49c.tar.gz
gnu: Add rust-signal-hook-registry-1.2.
* gnu/packages/crates-io.scm (rust-signal-hook-registry-1.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1aab55c46f..a745c93d26 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13714,6 +13714,32 @@ 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
+ `(#: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")