GNU bug report logs - #52320
[PATCH] rust-swayhide, rust-exitcode

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 5 Dec 2021 22:19:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52320 in the body.
You can then email your comments to 52320 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52320; Package guix-patches. (Sun, 05 Dec 2021 22:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 05 Dec 2021 22:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] rust-swayhide, rust-exitcode
Date: Sun, 05 Dec 2021 23:11:00 +0100
[0001-adding-rust-swayhide-and-rust-exitcode.patch (text/x-patch, inline)]
From 97b94864d3b5211f94c647167d0c2f460a34b2ea Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Sun, 5 Dec 2021 22:42:31 +0100
Subject: [PATCH] adding rust-swayhide and rust-exitcode

---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0a26c11a8e..7326812cbe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17305,6 +17305,23 @@ (define-public rust-event-listener-2
 blocking data structures.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-exitcode-1
+  (package
+    (name "rust-exitcode")
+    (version "1.1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "exitcode" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "14x1pgwx86x1gfc5zqgj04akr9pzg14w75d9cblc49vhnij3g1fy"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/benwilber/exitcode")
+    (synopsis "Preferred system exit codes as defined by sysexits.h")
+    (description "Preferred system exit codes as defined by sysexits.h")
+    (license license:asl2.0)))
+
 (define-public rust-exitfailure-0.5
   (package
     (name "rust-exitfailure")
@@ -51663,6 +51680,31 @@ (define-public rust-sval-derive-0.4
         ("rust-syn" ,rust-syn-1)
         ("rust-quote" ,rust-quote-1))))))
 
+(define-public rust-swayhide-0.2
+  (package
+    (name "rust-swayhide")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "swayhide" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0x172ffj0lfmbv5nix708l1mfsizxzy74gpxp5amvx0bbaq0p78s"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-exitcode" ,rust-exitcode-1)
+         ("rust-swayipc" ,rust-swayipc-2))))
+    (home-page "https://github.com/NomisIV/swayhide/")
+    (synopsis "Swallow windows on swaywm")
+    (description "swayhide hides the currently active terminal (by moving it
+to the scratchpad), then it executes the supplied command. When the child
+process has finished, the terminal is moved back. This is incredibly useful if
+your workflow includes opening graphical programs from the terminal, as the
+'locked' terminal won't have to take up any space.")
+    (license license:gpl3+)))
+
 (define-public rust-swayipc-2
   (package
     (name "rust-swayipc")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#52320; Package guix-patches. (Tue, 11 Jan 2022 21:24:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, 52320-done <at> debbugs.gnu.org
Subject: Re: [bug#52320] [PATCH] rust-swayhide, rust-exitcode
Date: Tue, 11 Jan 2022 22:23:35 +0100
Hello,

Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> From 97b94864d3b5211f94c647167d0c2f460a34b2ea Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves <at> ngraves.fr>
> Date: Sun, 5 Dec 2021 22:42:31 +0100
> Subject: [PATCH] adding rust-swayhide and rust-exitcode

Thanks. I normalized your commit messages, and renamed rust-swayhide-0.2
to swayhide, while moving it into "rust-apps.scm".

I also tweaked rust-exitcode-1 description (making it start with a full
sentence) and added a copyright line for you in both files.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 11 Jan 2022 21:24:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Tue, 11 Jan 2022 21:24:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Feb 2022 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 76 days ago.

Previous Next


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