gnu: emacs-erc-hl-nicks: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-erc-hl-nicks)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
Brian Leung 2019-06-15 04:29:50 +02:00 committed by Nicolas Goaziou
parent 51c12bf240
commit b27558e91c
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8640,13 +8640,13 @@ (define-public emacs-erc-hl-nicks
(version "1.3.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/leathekd/erc-hl-nicks"
"/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/leathekd/erc-hl-nicks")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1a1r2kc3688g8c2ybkpwh88kgmnqhg3h3032g2yn4zr9m0n3vpkr"))))
(base32 "0c82rxpl5v7bbxirf1ksg06xv5xcddh8nkrpj7i6nvfarwdfnk4f"))))
(build-system emacs-build-system)
(synopsis "Nickname highlighting for Emacs ERC")
(description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC