GNU bug report logs - #39453
[PATCH] gnu: Add rust-ctrlc.

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Thu, 6 Feb 2020 16:30:03 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39453: closed ([PATCH] gnu: Add rust-ctrlc.)
Date: Sat, 08 Feb 2020 19:28:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 8 Feb 2020 21:26:34 +0200
with message-id <20200208192634.GA7230 <at> E5400>
and subject line Re: [bug#39453] [PATCH] gnu: Add rust-ctrlc.
has caused the debbugs.gnu.org bug report #39453,
regarding [PATCH] gnu: Add rust-ctrlc.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39453: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39453
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH] gnu: Add rust-ctrlc.
Date: Thu,  6 Feb 2020 17:29:18 +0100
* gnu/packages/crates-io.scm (rust-ctrlc-3.1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 727e7c9510..a48d614df5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1159,6 +1159,32 @@ little-endian.")
      "Types and traits for working with bytes.")
     (license license:expat)))
 
+(define-public rust-ctrlc-3.1
+  (package
+    (name "rust-ctrlc")
+    (version "3.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ctrlc" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0pnv2g5q73xa0g4g9k31h2fkmk4dabznjhrkqs93d28v5f9920v3"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/Detegr/rust-ctrlc")
+    (synopsis "A simple easy to use wrapper around Ctrl-C signal")
+    (description
+     "Cross platform handling of Ctrl-C signals.  set_handler() allows setting
+a handler closure which is executed on Ctrl+C.  On Unix, this corresponds to
+a SIGINT signal. On windows, Ctrl+C corresponds to CTRL_C_EVENT or
+CTRL_BREAK_EVENT.  Setting a handler will start a new dedicated signal
+handling thread where we execute the handler each time we receive
+a Ctrl+C signal. There can only be one handler, you would typically set one
+at the start of your program.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-c2-chacha-0.2
   (package
     (name "rust-c2-chacha")
-- 
2.25.0



[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 39453-done <at> debbugs.gnu.org
Subject: Re: [bug#39453] [PATCH] gnu: Add rust-ctrlc.
Date: Sat, 8 Feb 2020 21:26:34 +0200
[Message part 4 (text/plain, inline)]
closed as requested


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.