gnu: fzy: Don't use unstable tarball.

* gnu/packages/shellutils.scm (fzy)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
master
Tobias Geerinckx-Rice 2018-10-28 00:49:41 +02:00
parent 6135735b52
commit 31b619566d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 5 deletions

View File

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