0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

vimPlugins.fugit2-nvim: init at 2024-12-19

This commit is contained in:
Austin Horstman 2024-12-23 20:52:49 -06:00
parent 0a4b89adfe
commit e8fe110d76
No known key found for this signature in database
3 changed files with 32 additions and 0 deletions

View file

@ -4236,6 +4236,18 @@ final: prev:
meta.homepage = "https://github.com/raghur/fruzzy/";
};
fugit2-nvim = buildVimPlugin {
pname = "fugit2.nvim";
version = "2024-12-19";
src = fetchFromGitHub {
owner = "SuperBo";
repo = "fugit2.nvim";
rev = "96f729a4bdcf44174c6168f4457b9f3f9229efa2";
sha256 = "151i92jzmwh2b2h6v85cfrdlnqa9ll49gcrvg1r3hi83yj4dygzr";
};
meta.homepage = "https://github.com/SuperBo/fugit2.nvim/";
};
fugitive-gitlab-vim = buildVimPlugin {
pname = "fugitive-gitlab.vim";
version = "2024-11-13";

View file

@ -33,6 +33,7 @@
jq,
khard,
languagetool,
libgit2,
llvmPackages,
meson,
neovim-unwrapped,
@ -1034,6 +1035,24 @@ in
nvimRequireCheck = "fuzzy_nvim";
};
fugit2-nvim = super.fugit2-nvim.overrideAttrs (oa: {
# Requires web-devicons but mini.icons can mock them up
nativeCheckInputs = oa.nativeCheckInputs ++ [
self.nvim-web-devicons
];
dependencies = with self; [
nui-nvim
plenary-nvim
];
# Patch libgit2 library dependency
postPatch = ''
substituteInPlace lua/fugit2/libgit2.lua \
--replace-fail \
'M.library_path = "libgit2"' \
'M.library_path = "${lib.getLib libgit2}/lib/libgit2${stdenv.hostPlatform.extensions.sharedLibrary}"'
'';
});
fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs {
# The plugin has a makefile which tries to run tests in a docker container.
# This prevents it.

View file

@ -350,6 +350,7 @@ https://github.com/megaannum/forms/,,
https://github.com/rubiin/fortune.nvim/,HEAD,
https://github.com/rafamadriz/friendly-snippets/,,
https://github.com/raghur/fruzzy/,,
https://github.com/SuperBo/fugit2.nvim/,HEAD,
https://github.com/shumphrey/fugitive-gitlab.vim/,,
https://github.com/BeneCollyridam/futhark-vim/,,
https://github.com/tzachar/fuzzy.nvim/,HEAD,