diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 1fade4c0b1bc..5eb772dccf05 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -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"; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 58524a92d1a7..ee4484a3cb62 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -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: diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index ce39e6a488a7..62d8b5a519dd 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -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/,,