From c2a2d364dff53daddaa036cf50bbaf9b7bd42d8c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 10 Nov 2018 23:27:03 +0100 Subject: [PATCH] gnu: cli-visualizer: Fetch sources from git. * gnu/packages/audio.scm (cli-visualizer)[source]: Fetch from git. --- gnu/packages/audio.scm | 11 ++++++----- 1 file 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)))