summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-10 23:27:03 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-10 23:29:26 +0100
commitc2a2d364dff53daddaa036cf50bbaf9b7bd42d8c (patch)
tree5ff76bf5f96f4631493876cd9a9f08b89d40f59b /gnu
parentb249ff5d37311577d73ffd4999f6e6726e098a0f (diff)
downloadguix-c2a2d364dff53daddaa036cf50bbaf9b7bd42d8c.tar.gz
gnu: cli-visualizer: Fetch sources from git.
* gnu/packages/audio.scm (cli-visualizer)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 08e3c8b542..613e2a31b8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3388,13 +3388,14 @@ the following features:
     (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)))