guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: emacs-ghub: Don't use unstable-tarball.


From: guix-commits
Subject: 05/09: gnu: emacs-ghub: Don't use unstable-tarball.
Date: Wed, 23 Jan 2019 03:51:41 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 0c662875b9c220f81b734daa9a78c4cae2ea7b52
Author: Efraim Flashner <address@hidden>
Date:   Wed Jan 23 10:07:28 2019 +0200

    gnu: emacs-ghub: Don't use unstable-tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-ghub)[source]: Use 'git-fetch'.
---
 gnu/packages/emacs-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 640ef2b..12d8137 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -477,14 +477,14 @@ deliver data to mobile and web apps.")
     (name "emacs-ghub")
     (version "2.0.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/magit/ghub/archive/v";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/magit/ghub";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0d0qj5r1bm2aidi61rigrdaycxnyb7y1ivb3h8rpvvapsf8sk7z0"))))
+                "1b5jrpj3z989r3mf4jfch8rnaaa5hyb2395xz3v37f0vsphd7s0y"))))
     (build-system emacs-build-system)
     (arguments
      `(#:phases



reply via email to

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