gnu: libutf: Use GIT- helpers.

* gnu/packages/suckless (libutf)[source]: Use GIT-VERSION and GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2020-05-15 23:36:59 +02:00
parent ca39ee94dc
commit 259da51495
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -634,14 +634,14 @@ (define-public libutf
(commit "ff4c60635e1f455b0a0b4200f8183fbd5a88225b"))
(package
(name "libutf")
(version (string-append "0.0.0-" revision "." (string-take commit 7)))
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cls/libutf")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(sha256
(base32
"1ih5vjavilzggyr1j1z6w1z12c2fs5fg77cfnv7ami5ivsy3kg3d"))))