gnu: emacs-markdown-mode: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-markdown-mode)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Brian Leung 2019-09-24 18:49:18 +02:00
parent f95ec65be3
commit 987d7b1c67
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9

View file

@ -5822,14 +5822,14 @@ (define-public emacs-markdown-mode
(name "emacs-markdown-mode")
(version "2.3")
(source (origin
(method url-fetch)
(uri (string-append "https://raw.githubusercontent.com/jrblevin"
"/markdown-mode/v" version
"/markdown-mode.el"))
(file-name (string-append "markdown-mode-" version ".el"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/jrblevin/markdown-mode.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"152whyrq3dqlqy5wv4mdd94kmal19hs5kwaxjcp2gp2r97lsmdmi"))))
"1zm1j4w0f3h01bmmpsv4j4mh6i13nnl8fcqlj2hsa1ncy1lgi8q7"))))
(build-system emacs-build-system)
(home-page "http://jblevins.org/projects/markdown-mode/")
(synopsis "Emacs Major mode for Markdown files")