From 3697b24251ae499ba54e480e3de29c2b58374f72 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 29 Jan 2024 11:03:37 +0200 Subject: [PATCH] gnu: swayr: Update to 0.27.3. * gnu/packages/rust-apps.scm (swayr): Update to 0.27.3. [arguments]: Don't skip the tests. Add cargo-test-flags. [cargo-inputs]: Add rust-peg-0.8. Replace rust-clap-3 with 4, rust-directories-4 with 5, rust-env-logger-0.9 with 0.10, rust-toml-0.5 with 0.8. Change-Id: Icbce815e9d6e7f470ac38e287e8a6f5625da49b4 --- gnu/packages/rust-apps.scm | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index c2ce1007a9..e92d902594 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -2454,37 +2454,41 @@ terminal won't have to take up any space.") (define-public swayr (package (name "swayr") - (version "0.18.0") + (version "0.27.3") (source (origin (method url-fetch) (uri (crate-uri "swayr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1m443lwbs3lm20kkviw60db56w9i59dm393z1sn6llpfi2xihh3h")))) + (base32 "1akmq1qa3v8jxn7qgwmr70dhgamb1mvn2jkqdawc6i8accz33gca")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:cargo-test-flags + '("--release" "--" + "--skip=config::test_load_swayr_config") + #:install-source? #f #:cargo-inputs - (("rust-clap" ,rust-clap-3) - ("rust-directories" ,rust-directories-4) - ("rust-env-logger" ,rust-env-logger-0.9) + (("rust-clap" ,rust-clap-4) + ("rust-directories" ,rust-directories-5) + ("rust-env-logger" ,rust-env-logger-0.10) ("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)))) + ("rust-toml" ,rust-toml-0.8)))) (home-page "https://sr.ht/~tsdh/swayr/") (synopsis "Window-switcher for the sway window manager") (description "This package provides a last-recently-used window-switcher for the sway -window manager. Swayr consists of a daemon, and a client. The swayrd daemon +window manager. Swayr consists of a daemon, and a client. The swayrd daemon records window/workspace creations, deletions, and focus changes using sway's -JSON IPC interface. The swayr client offers subcommands, and sends them to the +JSON IPC interface. The swayr client offers subcommands, and sends them to the daemon which executes them.") (license license:gpl3+)))