guix-commits
[Top][All Lists]
Advanced

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

22/41: gnu: xcape: Fetch sources from git.


From: guix-commits
Subject: 22/41: gnu: xcape: Fetch sources from git.
Date: Thu, 29 Nov 2018 16:44:08 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 4bb74ed5f275e889477da2e0edc01c82b491d985
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 22:12:27 2018 +0100

    gnu: xcape: Fetch sources from git.
    
    * gnu/packages/xdisorg.scm (xcape)[source]: Fetch from git.
---
 gnu/packages/xdisorg.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index c54282b..1b05897 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -848,15 +848,15 @@ within a single process.")
   (package
     (name "xcape")
     (version "1.2")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/alols/"; name
-                            "/archive/v" version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-          (base32
-            "0898zc3vwxia00h9kfknpf7jygxgwggrx8v5mxc31w4lzn2dhzm2"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/alols/xcape.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "09a05cxgrip6nqy1qmwblamp2bhknqnqmxn7i2a1rgxa0nba95dm"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; no check target



reply via email to

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