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

* gnu/packages/emacs-xyz.scm (emacs-nginx-mode)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:22:56 +02:00
parent 4f8fd64cf5
commit 4ccf99d65b
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 7 deletions

View File

@ -5887,14 +5887,13 @@ extensibility.")
(version "1.1.9") (version "1.1.9")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/ajc/nginx-mode/archive/v" (url "https://github.com/ajc/nginx-mode.git")
version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "17dh5pr3gh6adrbqx588gimxbb2fr7iv2qrxv6r48w2727l344xs"))))
"0bzyrj6zz1hm67bkhw23bam7qc869s3zg7m1rb1c3aa4n0aw90cq"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/ajc/nginx-mode") (home-page "https://github.com/ajc/nginx-mode")
(synopsis "Emacs major mode for editing nginx config files") (synopsis "Emacs major mode for editing nginx config files")