guix-commits
[Top][All Lists]
Advanced

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

05/30: gnu: emacs-typescript-mode: Don't use unstable tarball.


From: guix-commits
Subject: 05/30: gnu: emacs-typescript-mode: Don't use unstable tarball.
Date: Tue, 25 Jun 2019 02:56:19 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit ac7b33eec773447cc14dedda28662a9129a5450d
Author: Brian Leung <address@hidden>
Date:   Sat Jun 15 03:05:37 2019 +0200

    gnu: emacs-typescript-mode: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-typescript-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 9f4a50c..8e5e3b5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5134,14 +5134,14 @@ features:
     (name "emacs-typescript-mode")
     (version "0.3")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/ananthakumaran/typescript.el";
-                    "/archive/v" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ananthakumaran/typescript.el";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1gqjirm8scf0wysm7x97zdfbs4qa5nqdl64jfbkd18iskv5mg3rj"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                "002f1xfhq43fjaqliwrgxspryfahpa82va5dw3p8kwil2xwvc6mh"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/ananthakumaran/typescript.el";)
     (synopsis "Emacs major mode for editing Typescript code")



reply via email to

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