summary refs log tree commit diff
diff options
context:
space:
mode:
authorFeng Shu <tumashu@163.com>2018-12-15 08:29:34 +0800
committerArun Isaac <arunisaac@systemreboot.net>2018-12-15 11:52:35 +0530
commitda19696ec6be8a9f2f448994e82c3093526e0ea9 (patch)
tree9dd435323ede17da081c2dc1b9295f078abe7c17
parent1827e8db9342ca43af355eaa87acddbc807d72cf (diff)
downloadguix-da19696ec6be8a9f2f448994e82c3093526e0ea9.tar.gz
gnu: emacs-switch-window: Update to 1.6.2.
* gnu/packages/emacs.scm (emacs-switch-window): Update to 1.6.2.
[source]: Use git-fetch.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
-rw-r--r--gnu/packages/emacs.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 98b1c6ddd3..74ee863dd8 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -6882,16 +6882,17 @@ built on top of XELB.")
 (define-public emacs-switch-window
   (package
     (name "emacs-switch-window")
-    (version "1.5.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dimitri/switch-window/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
+    (version "1.6.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dimitri/switch-window")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0rci96asgamr6qp6nkyr5vwrnslswjxcjd96yccy4aivh0g66yfg"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/dimitri/switch-window")
     (synopsis "Emacs window switch tool")