fzf: 0.13.2 -> 0.13.3 (#17013)

This commit is contained in:
Miguel Madrid 2016-07-18 06:36:35 +02:00 committed by Franz Pletz
parent b1ff7f83ef
commit dc05af3284

View File

@ -2,7 +2,7 @@
buildGoPackage rec {
name = "fzf-${version}";
version = "0.13.2";
version = "0.13.3";
rev = "${version}";
goPackagePath = "github.com/junegunn/fzf";
@ -11,13 +11,13 @@ buildGoPackage rec {
inherit rev;
owner = "junegunn";
repo = "fzf";
sha256 = "12dr0wib2ajs64a8d3l3zmgj2y8rklkc3xrvgscxgiv29lrlmvfz";
sha256 = "0mfrlb91akzrj0qpjpaa9bkp6m9z95z56glamry73qy21vbnj58m";
};
buildInputs = [ ncurses ];
goDeps = ./deps.json;
patchPhase = ''
sed -i -e "s|expand('<sfile>:h:h').'/bin/fzf'|'$bin/bin/fzf'|" plugin/fzf.vim
sed -i -e "s|expand('<sfile>:h:h').'/bin/fzf-tmux'|'$bin/bin/fzf-tmux'|" plugin/fzf.vim
@ -28,4 +28,11 @@ buildGoPackage rec {
mkdir -p $out/share/vim-plugins
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name}
'';
meta = with stdenv.lib; {
homepage = https://github.com/junegunn/fzf;
description = "A command-line fuzzy finder written in Go";
license = licenses.mit;
platforms = platforms.unix;
};
}