summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:38:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:51:21 +0200
commitd49d05342889f3a28c10bdc7d752835058b80309 (patch)
tree5e86a428ee2d8a6deb7f082597b23f28e440e85f
parentf5350a07dc1556a8d8e06dc0e316bd8d0f5bc6fa (diff)
downloadguix-d49d05342889f3a28c10bdc7d752835058b80309.tar.gz
gnu: emacs-magit: Update to 2.13.1.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 2.13.1.
[source]: Use 'git-fetch'.
-rw-r--r--gnu/packages/emacs-xyz.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2897099d0f..fce56ea517 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -250,15 +250,16 @@ on stdout instead of using a socket as the Emacsclient does.")
 (define-public emacs-magit
   (package
     (name "emacs-magit")
-    (version "2.13.0")
+    (version "2.13.1")
     (source (origin
-             (method url-fetch)
-             (uri (string-append
-                   "https://github.com/magit/magit/releases/download/"
-                   version "/magit-" version ".tar.gz"))
+             (method git-fetch)
+             (uri (git-reference
+                    (url "https://github.com/magit/magit")
+                    (commit version)))
+             (file-name (git-file-name name version))
              (sha256
               (base32
-               "1ygaah3dd3nxpyd17297xgvdcgr7pgzzwlmpnmchki0kiwgg3sbc"))))
+               "1kmjjcvhcb21qi6kmrlhf92ync8va5l41n9ban8kj25h7dbqyiym"))))
     (build-system gnu-build-system)
     (native-inputs `(("texinfo" ,texinfo)
                      ("emacs" ,emacs-minimal)))