aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-06-15 03:05:37 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-06-25 08:48:20 +0200
commitac7b33eec773447cc14dedda28662a9129a5450d (patch)
tree8f44686e66fb97f34155be64e549e50f46616112
parent81547708cd0a58776b28fd77fda4c4cac16a1487 (diff)
downloadguix-ac7b33eec773447cc14dedda28662a9129a5450d.tar
guix-ac7b33eec773447cc14dedda28662a9129a5450d.tar.gz
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.
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9f4a50c1f7..8e5e3b5395 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")