guix-commits
[Top][All Lists]
Advanced

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

61/203: gnu: emacs-pkg-info: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 45c6a66414e64fde23f9ed0e4343e8b375302227
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Apr 5 04:17:08 2019 +0200

    gnu: emacs-pkg-info: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-pkg-info)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5e51743..4348b38 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4455,15 +4455,15 @@ be removed from the front.  This type of data structure 
is sometimes called an
   (package
     (name "emacs-pkg-info")
     (version "0.6")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/lunaryorn/pkg-info.el/archive/";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lunaryorn/pkg-info.el.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0nk12dcppdyhav6m6yf7abpywyd7amxd4237zsfd32w4zxsx39k1"))))
     (build-system emacs-build-system)
     (propagated-inputs `(("emacs-epl" ,emacs-epl)))
     (home-page "https://github.com/lunaryorn/pkg-info.el";)



reply via email to

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