summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-08 10:10:06 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-08 10:10:06 +0100
commit4e8294688877ebe2c312b0939421f895755ae52f (patch)
tree64de989234da791fb144392787dfb804055bfa4f /gnu/packages
parentec618c2005a1dc5e5154d25e9599313cea1ce6e9 (diff)
downloadguix-4e8294688877ebe2c312b0939421f895755ae52f.tar.gz
gnu: cmus: Fetch sources from git.
* gnu/packages/music.scm (cmus)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/music.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index af7589c23d..fe4d9df085 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -309,14 +309,14 @@ playing your music.")
     (name "cmus")
     (version "2.7.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/" name "/" name "/archive/v"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/cmus/cmus.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0raixgjavkm7hxppzsc5zqbfbh2bhjcmbiplhnsxsmyj8flafyc1"))))
+                "0xd96py21bl869qlv1353zw7xsgq6v5s8szr0ldr63zj5fgc2ps5"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; cmus does not include tests