guix-commits
[Top][All Lists]
Advanced

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

165/203: gnu: emacs-npm-mode: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 32ce5382ef043e560ff9e531b9e129271c0c255f
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:36:54 2019 +0200

    gnu: emacs-npm-mode: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-npm-mode)[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 2ba7ac4..e0d4ff5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9672,13 +9672,13 @@ timestamps and date-time format strings library for 
Emacs.")
     (version "0.6.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/mojochao/npm-mode/archive/";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mojochao/npm-mode.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1kq1ww22dwf8c2i2b4z2ldbbmnihj65kb7n5vzvwkch9h4hxpqh5"))))
+        (base32 "1mh6nbffciw4yhv049kdhh796ysj1x21ndm3fwymhskb3dy0w1ss"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/mojochao/npm-mode";)
     (synopsis "Minor mode for working with @code{npm} projects")



reply via email to

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