fzf: 0.23.1 -> 0.24.0

https://github.com/junegunn/fzf/releases/tag/0.24.0
This commit is contained in:
zowoq 2020-10-28 01:18:33 +10:00
parent 092aa94ca7
commit 023abd4ffb

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "fzf"; pname = "fzf";
version = "0.23.1"; version = "0.24.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "junegunn"; owner = "junegunn";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1x55y96i4b3gk9l2zlwb6ifsk8nxzfny3b73ly89g7kifwkb543k"; sha256 = "0a1jhlkv6z5msw8p3wccy3axwpdvpnri6qps9fmvz57gfm9a3jmr";
}; };
vendorSha256 = "0bd4fk15i292377mv5w57gzxjp21f0rcf1py9gd6v99rx1pviq66"; vendorSha256 = "0dd0qm1fxp3jnlrhfaas8fw87cj7rygaac35a9nk3xh2xsk7q35p";
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -19,6 +19,8 @@ buildGoModule rec {
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
# The vim plugin expects a relative path to the binary; patch it to abspath. # The vim plugin expects a relative path to the binary; patch it to abspath.
patchPhase = '' patchPhase = ''
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/fzf.vim sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/fzf.vim