aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/shellutils.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-10-28 00:49:41 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-10-28 02:34:07 +0100
commit31b619566dfb01b0deb8b127c7b24ef347de8b87 (patch)
tree4163961dbc5aaee8af99458667ed6d67f71160c7 /gnu/packages/shellutils.scm
parent6135735b52c7f328cdc1fe22ca5c288ef8f96165 (diff)
downloadguix-31b619566dfb01b0deb8b127c7b24ef347de8b87.tar
guix-31b619566dfb01b0deb8b127c7b24ef347de8b87.tar.gz
gnu: fzy: Don't use unstable tarball.
* gnu/packages/shellutils.scm (fzy)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/shellutils.scm')
-rw-r--r--gnu/packages/shellutils.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 425713a91f..d4076dae01 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -28,6 +28,7 @@
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (gnu packages autotools)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
@@ -136,13 +137,14 @@ environment variables of the current shell.")
(version "0.9")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/jhawthorn/fzy/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jhawthorn/fzy.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1xfgxqbkcpi2n4381kj3fq4026qs6by7xhl5gn0fgp3dh232c63j"))))
+ "1f1sh88ivdgnqaqha5ircfd9vb0xmss976qns022n0ddb91k5ka6"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags (list "CC=gcc"