guix-commits
[Top][All Lists]
Advanced

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

15/15: gnu: emacs-shift-number: Don't use unstable tarball.


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

efraim pushed a commit to branch master
in repository guix.

commit 67057b1baf9640979d5a230caa0d59ede3829594
Author: Efraim Flashner <address@hidden>
Date:   Tue Nov 26 20:57:33 2019 +0200

    gnu: emacs-shift-number: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-shift-number)[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 f124dc3..3862cce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14276,13 +14276,14 @@ compilation/grep buffers.  Works with @code{wgrep}, 
@code{ack}, @code{ag},
     (version "0.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/alezost/shift-number.el";
-                           "/archive/" "v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/alezost/shift-number.el";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1g79m0hqn9jgpm565vvh8pdfzndc4vw7xisnh5qysj55qfg8cb1x"))))
+         "0zlwmzsxkv4mkggylxfx2fkrwgz7dz3zbg2gkn2rxcpy2k2gla64"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/alezost/shift-number.el";)
     (synopsis "Increase or decrease the number at point")



reply via email to

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