GNU bug report logs - #56752
[PATCH 00/27] Add swayr and swayrbar.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Sun, 24 Jul 2022 21:02:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [bug#56752] [PATCH 26/27] gnu: Add swayr.
Date: Sun, 24 Jul 2022 21:47:52 +0000
* gnu/packages/rust-apps.scm (swayr): New variable.
---
 gnu/packages/rust-apps.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 0d5034ffb7..e15d505818 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1627,6 +1627,44 @@ (define-public swayhide
 terminal won't have to take up any space.")
     (license license:gpl3+)))
 
+(define-public swayr
+  (package
+    (name "swayr")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a79dwj0gy11w7skli7k9rwn3jxb5afirfkrmpymk2vp7lalwx8k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=config::test_load_swayr_config")
+       #:cargo-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-directories" ,rust-directories-4)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-peg" ,rust-peg-0.8)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-rt-format" ,rust-rt-format-0.3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-swayipc" ,rust-swayipc-3)
+        ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://sr.ht/~tsdh/swayr/")
+    (synopsis "LRU window-switcher (and more) for the sway window manager")
+    (description
+     "This package provides a LRU window-switcher (and more) for the sway window
+manager.")
+    (license license:gpl3+)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.37.1



-- 

Aleksandr Vityazev




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

Previous Next


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