mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
vimPlugins.nvim-dbee: init at 2024-01-13 (#286517)
* vimPlugins.nvim-dbee: init at 2024-01-13 nvim-dbee looks for the go binary in paths returned bu M.dir() and M.bin() defined in lua/dbee/install/init.lua If we patch this path then it should be ok * Update pkgs/applications/editors/vim/plugins/overrides.nix Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --------- Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
parent
5d913ca7c7
commit
9bf92183f6
@ -7657,6 +7657,18 @@ final: prev:
|
||||
meta.homepage = "https://github.com/theHamsta/nvim-dap-virtual-text/";
|
||||
};
|
||||
|
||||
nvim-dbee = buildVimPlugin {
|
||||
pname = "nvim-dbee";
|
||||
version = "2024-01-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kndndrj";
|
||||
repo = "nvim-dbee";
|
||||
rev = "513708655383f9253cb6d46523a2152a8d13e775";
|
||||
hash = "sha256-HiceS+e8aQhrCUBqtLKwOZ2IRA7l0yHlHsF95rmMjhE=";
|
||||
};
|
||||
meta.homepage = "https://github.com/kndndrj/nvim-dbee/";
|
||||
};
|
||||
|
||||
nvim-docs-view = buildVimPlugin {
|
||||
pname = "nvim-docs-view";
|
||||
version = "2024-01-20";
|
||||
|
@ -19,6 +19,7 @@
|
||||
, dasht
|
||||
, deno
|
||||
, direnv
|
||||
, duckdb
|
||||
, fish
|
||||
, fzf
|
||||
, gawk
|
||||
@ -1027,8 +1028,30 @@
|
||||
passthru.python3Dependencies = [ python3.pkgs.mwclient ];
|
||||
};
|
||||
|
||||
nvim-dbee = super.nvim-dbee.overrideAttrs (oa: let
|
||||
dbee-go = buildGoModule {
|
||||
name = "nvim-dbee";
|
||||
src = "${oa.src}/dbee";
|
||||
vendorHash = "sha256-AItvgOehVskGLARJWDnJLtWM5YHKN/zn/FnZQ0evAtI=";
|
||||
buildInputs = [ duckdb ];
|
||||
};
|
||||
in {
|
||||
dependencies = [ self.nui-nvim ];
|
||||
|
||||
# nvim-dbee looks for the go binary in paths returned bu M.dir() and M.bin() defined in lua/dbee/install/init.lua
|
||||
postPatch = ''
|
||||
substituteInPlace lua/dbee/install/init.lua \
|
||||
--replace-fail 'return vim.fn.stdpath("data") .. "/dbee/bin"' 'return "${dbee-go}/bin"'
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
mkdir $target/bin
|
||||
ln -s ${dbee-go}/bin/dbee $target/bin/dbee
|
||||
'';
|
||||
});
|
||||
|
||||
nvim-navic = super.nvim-navic.overrideAttrs {
|
||||
dependencies = with self; [ nvim-lspconfig ];
|
||||
dependencies = [ self.nvim-lspconfig ];
|
||||
};
|
||||
|
||||
nvim-spectre = super.nvim-spectre.overrideAttrs (old:
|
||||
|
@ -644,6 +644,7 @@ https://github.com/leoluz/nvim-dap-go/,HEAD,
|
||||
https://github.com/mfussenegger/nvim-dap-python/,HEAD,
|
||||
https://github.com/rcarriga/nvim-dap-ui/,,
|
||||
https://github.com/theHamsta/nvim-dap-virtual-text/,,
|
||||
https://github.com/kndndrj/nvim-dbee/,HEAD,
|
||||
https://github.com/amrbashir/nvim-docs-view/,HEAD,
|
||||
https://github.com/allendang/nvim-expand-expr/,,
|
||||
https://github.com/vijaymarupudi/nvim-fzf/,,
|
||||
|
Loading…
Reference in New Issue
Block a user