guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/22: gnu: cmus: Fetch sources from git.


From: Ricardo Wurmus
Subject: 22/22: gnu: cmus: Fetch sources from git.
Date: Thu, 8 Nov 2018 04:11:15 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 4e8294688877ebe2c312b0939421f895755ae52f
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 8 10:10:06 2018 +0100

    gnu: cmus: Fetch sources from git.
    
    * gnu/packages/music.scm (cmus)[source]: Fetch from git.
---
 gnu/packages/music.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index af7589c..fe4d9df 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]