nckx pushed a commit to branch master in repository guix. commit 31b619566dfb01b0deb8b127c7b24ef347de8b87 Author: Tobias Geerinckx-Rice <m...@tobias.gr> Date: Sun Oct 28 00:49:41 2018 +0200
gnu: fzy: Don't use unstable tarball. * gnu/packages/shellutils.scm (fzy)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/shellutils.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 425713a..d4076da 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"