gnu: cli-visualizer: Fetch sources from git.

* gnu/packages/audio.scm (cli-visualizer)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-10 23:27:03 +01:00
parent b249ff5d37
commit c2a2d364df
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3388,13 +3388,14 @@ (define-public cli-visualizer
(version "1.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/dpayne/cli-visualizer/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/dpayne/cli-visualizer.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"07zkm87f2fr8kc6531zrkya7q81sdanm6813y2f54mg13g41y6hi"))))
"0mirp8bk398di5xyq95iprmdyvplfghxqmrfj7jdnpy554vx7ppc"))))
(build-system gnu-build-system)
(native-inputs
`(("which" ,which)))