Subject: [PATCH v2] gnu: emacs-sway: Update to 0.7.

From: Nicolas Graves <[email-masked]>
Date: Thu, 14 Sep 2023 14:15:35 +0200

* gnu/packages/emacs-xyz.scm (emacs-sway): Update to 0.7.
---
 gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++--------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a4c6f45feb..c4de0e1d1f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12440,30 +12440,27 @@ (define-public emacs-counsel
     (license license:gpl3+)))
 
 (define-public emacs-sway
-  ;; Commit from Nicola's fork (dash free version with various improvments)
-  (let ((commit "838ef531a30fe616f0141adbdabc132d4edfd374")
-        (revision "0"))
-    (package
-      (name "emacs-sway")
-      (version (git-version "0.6.1" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/thblt/sway.el")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "0ddaz8my3z4ca2z81kf1h8773pyx8h0l0ra3ssqd1rq5j0041wdh"))))
-      (build-system emacs-build-system)
-      (home-page "https://github.com/thblt/sway.el")
-      (synopsis "Communication with the Sway window manager")
-      (description
-       "This is a basic library to control the Sway window manager from Emacs.
+  (package
+    (name "emacs-sway")
+    (version "0.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/thblt/sway.el")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1w29dkl7s835zgwnc4jx1cp84s6mmwbvlil8z2c31psy0rlajc6i"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/thblt/sway.el")
+    (synopsis "Communication with the Sway window manager")
+    (description
+     "This is a basic library to control the Sway window manager from Emacs.
 Its main use case is in combination with popup managers like Shackle, to
 use frames instead of windows while still giving focus to existing frames
 instead of duplicating them.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-public emacs-sweet-theme
   (let ((commit "78f741806ecebe01224bf54d09ad80e306652508")

base-commit: e5f7c14ef6c951f02ca710fad1869db3aedff4b5
-- 
2.41.0