gnu: elogind: Use git-fetch.

* gnu/packages/freedesktop.scm (elogind)[source]: Use git-fetch.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Stefan Stefanović 2018-11-24 05:20:29 +01:00 committed by Marius Bakke
parent f19dfeeb26
commit 1f9b1d3d97
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 5 deletions

View File

@ -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