mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
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
This commit is contained in:
parent
eb95aa0392
commit
8643480e48
@ -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('<sfile>:h:h')|'$out'|" plugin/fzf.vim
|
||||
|
Loading…
Reference in New Issue
Block a user