guix-commits
[Top][All Lists]
Advanced

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

24/41: gnu: xclip: Fetch sources from git.


From: guix-commits
Subject: 24/41: gnu: xclip: 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 2d8387c364a1c6bc9ede22922da54a7373d05ff1
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 29 22:13:13 2018 +0100

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

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 780fcd4..0ca541d 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -131,14 +131,15 @@ program.")
     (name "xclip")
     (version "0.13")
     (source
-      (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/astrand/xclip";
-                            "/archive/" version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-          (base32
-           "0n7pczk9vv30zf8qfln8ba3hnif9yfdxg0m84djac469wc28hnya"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/astrand/xclip.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f))                              ;there is no test suite



reply via email to

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