gnu: radeontop: Don't use unstable tarball.

* gnu/packages/linux.scm (radeontop)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[home-page]: Move down to its conventional spot.
This commit is contained in:
Tobias Geerinckx-Rice 2019-06-09 03:46:49 +02:00
parent 88e1bce53e
commit ee861a54ab
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 10 additions and 8 deletions

View File

@ -4406,14 +4406,15 @@ developers.")
(package (package
(name "radeontop") (name "radeontop")
(version "1.2") (version "1.2")
(home-page "https://github.com/clbr/radeontop/") (source
(source (origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append home-page "archive/v" version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/clbr/radeontop.git")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"0jc3qs8m5hhbhxra4yslcq3vi179hvcwvdal80gsrgz6cj78zvfw")))) (sha256
(base32 "1b1m30r2nfwqkajqw6m01xmfhlq83z1qylyijxg7962mp9x2k0gw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
@ -4437,6 +4438,7 @@ developers.")
("libpciaccess" ,libpciaccess) ("libpciaccess" ,libpciaccess)
("libxcb" ,libxcb) ("libxcb" ,libxcb)
("ncurses" ,ncurses))) ("ncurses" ,ncurses)))
(home-page "https://github.com/clbr/radeontop/")
(synopsis "Usage monitor for AMD Radeon graphics") (synopsis "Usage monitor for AMD Radeon graphics")
(description "RadeonTop monitors resource consumption on supported AMD (description "RadeonTop monitors resource consumption on supported AMD
Radeon Graphics Processing Units (GPUs), either in real time as bar graphs on Radeon Graphics Processing Units (GPUs), either in real time as bar graphs on