diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-15 23:36:59 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-17 15:16:51 +0200 |
commit | 1514dfefed9e63936c4c66cbcfbf91117b170060 (patch) | |
tree | d9bb7d6035fab2fd76b6741c6c6675a105685ce6 /gnu/packages/suckless.scm | |
parent | 81acfe2c8f6ba3ec045077120d66b5ca3432a7c4 (diff) | |
download | guix-1514dfefed9e63936c4c66cbcfbf91117b170060.tar.gz |
gnu: libutf: Use GIT- helpers.
* gnu/packages/suckless (libutf)[source]: Use GIT-VERSION and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/suckless.scm')
-rw-r--r-- | gnu/packages/suckless.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 69177f4e00..bff7fc493b 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -634,14 +634,14 @@ colormap to stdout.") (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")))) |