guix-commits
[Top][All Lists]
Advanced

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

115/203: gnu: emacs-gitpatch: Don't use unstable tarball.


From: guix-commits
Subject: 115/203: gnu: emacs-gitpatch: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:30 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 3a3a68eb4d5da031ff0a20ae32512c1c93d685be
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:30:32 2019 +0200

    gnu: emacs-gitpatch: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-gitpatch)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 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 a2428be..5de7b85 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7748,13 +7748,13 @@ internally.")
     (version "0.5.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/tumashu/gitpatch/archive/";
-                           "v" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tumashu/gitpatch.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
+        (base32 "1jj12pjwza6cq8a3kr8nqnmm3vxs0wam8h983irry4xr4ifywsn4"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/tumashu/gitpatch";)
     (synopsis "Mail git patch from Emacs")



reply via email to

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