summary refs log tree commit diff
path: root/gnu/packages/music.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 10:02:40 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 10:03:06 +0100
commit1410e178bb66479de1ae859b03f8a00be6ddfdd3 (patch)
tree6a03c9e10d134a161d312a521dd46152d792ff0f /gnu/packages/music.scm
parent487e3f5a807581c5b1558590e3f54cd06b7214d7 (diff)
downloadguix-1410e178bb66479de1ae859b03f8a00be6ddfdd3.tar.gz
gnu: pianobar: Fetch sources from git.
* gnu/packages/music.scm (pianobar)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r--gnu/packages/music.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c405ea8511..be988b107a 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2443,13 +2443,14 @@ tune-in sender list from @url{http://opml.radiotime.com}.")
     (name "pianobar")
     (version "2016.06.02")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/PromyLOPh/"
-                                  name "/archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/PromyLOPh/pianobar.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1hi5rr6jcr0kwf4xfz007ndwkjkp287lhwlsgfz6iryqa5n6jzcp"))))
+                "058fbdxp7n35hxwy3b8slfy4pb4n63cb173vfmywqa06wh1dv6f6"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; no tests