From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 52320@debbugs.gnu.org
Subject: [bug#52320] [PATCH] rust-swayhide, rust-exitcode
Date: Sun, 05 Dec 2021 23:11:00 +0100 [thread overview]
Message-ID: <877dcibss2.fsf@ngraves.fr> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-adding-rust-swayhide-and-rust-exitcode.patch --]
[-- Type: text/x-patch, Size: 2596 bytes --]
From 97b94864d3b5211f94c647167d0c2f460a34b2ea Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@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
next reply other threads:[~2021-12-05 22:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-05 22:11 Nicolas Graves via Guix-patches via [this message]
2022-01-11 21:23 ` [bug#52320] [PATCH] rust-swayhide, rust-exitcode Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dcibss2.fsf@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=52320@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.