guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/15: gnu: emacs-pretty-mode: Don't use unstable tarball.


From: guix-commits
Subject: 09/15: gnu: emacs-pretty-mode: Don't use unstable tarball.
Date: Tue, 26 Nov 2019 13:58:11 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7335f4617c7ecc0805f46e07c77c2ab97314271c
Author: Efraim Flashner <address@hidden>
Date:   Tue Nov 26 20:46:27 2019 +0200

    gnu: emacs-pretty-mode: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-pretty-mode)[source]: Download using
    git-fetch.
---
 gnu/packages/emacs-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7d36c6d..788cbc7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8472,13 +8472,14 @@ been adapted to work with mu4e.")
     (version "2.0.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/akatov/pretty-mode/";
-                           "archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/akatov/pretty-mode/";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
+         "013fig9i4fyx16krp2vfv953p3rwdzr38zs6i50af4pqz4vrcfvh"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/akatov/pretty-mode";)
     (synopsis "Redisplay parts of the buffer as Unicode symbols")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]