From 8643480e48da9f19928c17833be02cdaa9d2a649 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 25 Jan 2023 06:25:44 +1000 Subject: [PATCH] fzf: 0.36.0 -> 0.37.0 Diff: https://github.com/junegunn/fzf/compare/0.36.0...0.37.0 Changelog: https://github.com/junegunn/fzf/blob/0.37.0/CHANGELOG.md --- pkgs/tools/misc/fzf/default.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index 8e84b5d6fc7c..fa6df2cebff4 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -2,8 +2,6 @@ , lib , buildGoModule , fetchFromGitHub -, fetchpatch -, writeText , writeShellScriptBin , runtimeShell , installShellFiles @@ -26,13 +24,13 @@ let in buildGoModule rec { pname = "fzf"; - version = "0.36.0"; + version = "0.37.0"; src = fetchFromGitHub { owner = "junegunn"; repo = pname; rev = version; - hash = "sha256-1PKu8l4Mx17CpePUE0JEnLPNsUdJ0KvW6Lx6VZM27kI="; + hash = "sha256-m+tKNz7tUWkm/Vg9DhcfZyaBgZh+Mcf0mRfc5/SW2Os="; }; vendorHash = "sha256-MsMwBBualAwJzCrv/WNBJakv6LcKZYsDUqkNmivUMOQ="; @@ -47,16 +45,6 @@ buildGoModule rec { "-s" "-w" "-X main.version=${version} -X main.revision=${src.rev}" ]; - patches = [ - # fix for test failure on 32-bit platforms - # can be removed in the next release of fzf - # https://github.com/junegunn/fzf/issues/3127 - (fetchpatch { - url = "https://github.com/junegunn/fzf/commit/aa7361337d3f78ae1e32283ba395446025323abb.patch"; - hash = "sha256-ZmBdJa7eq9f58f2pL7QrtDSApkQJQBH/Em12J5xk3Q4="; - }) - ]; - # The vim plugin expects a relative path to the binary; patch it to abspath. postPatch = '' sed -i -e "s|expand(':h:h')|'$out'|" plugin/fzf.vim