guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: elogind: Use git-fetch.


From: guix-commits
Subject: 02/03: gnu: elogind: Use git-fetch.
Date: Thu, 6 Dec 2018 14:24:29 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 1f9b1d3d974c3f77a8fce950bd07c5006595aaa2
Author: Stefan Stefanović <address@hidden>
Date:   Sat Nov 24 05:20:29 2018 +0100

    gnu: elogind: Use git-fetch.
    
    * gnu/packages/freedesktop.scm (elogind)[source]: Use git-fetch.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/freedesktop.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 293916c..af8297a 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -229,13 +229,14 @@ the freedesktop.org XDG Base Directory specification.")
     (name "elogind")
     (version "232.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/elogind/elogind/";
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/elogind/elogind";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qcxian48z2dj5gfmp7brrngdydqf2jm00f4rjr5sy1myh8fy931"))
+                "06qqs6yfcwg8aiinqqvy5374pys6sspmvsrqz93c724hqq38d93z"))
               (patches (search-patches "elogind-glibc-2.27.patch"))
               (modules '((guix build utils)))
               (snippet



reply via email to

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