gnu: emacs-hierarchy: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-hierarchy)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:36:36 +02:00
parent afca2f41c2
commit 2b05c9ad5a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -9519,14 +9519,13 @@ (define-public emacs-hierarchy
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/DamienCassou/hierarchy/archive/"
"v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/DamienCassou/hierarchy.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1a463v5zk6zis2p8cs4mads3iyxh266yahi6j6y0paggfl2yhkc8"))))
(base32 "1kykbb1sil5cycfa5aj8dhsxc5yrx1641i2np5kwdjid6ahdlz5r"))))
(build-system emacs-build-system)
(home-page "https://github.com/DamienCassou/hierarchy")
(synopsis "Library to create and display hierarchy structures")