vimPlugins.himalaya-vim: fix source due to repo split (#195927)
Previously the Vim plugin was a part of the main repository, but the author has elected to split out the project and move away from GitHub to an open source Git forge @ https://git.sr.ht/~soywod/himalaya-vim/ As such, the previous plugin is currently broken, but now it can be updated indepentently. Co-authored-by: figsoda <figsoda@pm.me>
This commit is contained in:
parent
a700962b73
commit
a79542fa48
@ -3501,6 +3501,17 @@ final: prev:
|
||||
meta.homepage = "https://github.com/travitch/hasksyn/";
|
||||
};
|
||||
|
||||
himalaya-vim = buildVimPluginFrom2Nix {
|
||||
pname = "himalaya-vim";
|
||||
version = "2022-10-10";
|
||||
src = fetchgit {
|
||||
url = "https://git.sr.ht/~soywod/himalaya-vim";
|
||||
rev = "747ff2a6055839cb5b403b540883515af37b7117";
|
||||
sha256 = "sha256-0WP9JoKN/A5bmnRjQJnquk3mRC7NEflUAdqki7+zqBU=";
|
||||
};
|
||||
meta.homepage = "https://git.sr.ht/~soywod/himalaya-vim";
|
||||
};
|
||||
|
||||
hiPairs = buildVimPluginFrom2Nix {
|
||||
pname = "hiPairs";
|
||||
version = "2020-12-10";
|
||||
|
@ -471,20 +471,14 @@ self: super: {
|
||||
dependencies = with self; [ lush-nvim ];
|
||||
});
|
||||
|
||||
himalaya-vim = buildVimPluginFrom2Nix {
|
||||
pname = "himalaya-vim";
|
||||
inherit (himalaya) src version;
|
||||
dependencies = with self; [ himalaya ];
|
||||
configurePhase = ''
|
||||
cd vim
|
||||
himalaya-vim = super.himalaya-vim.overrideAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace plugin/himalaya.vim \
|
||||
--replace 'if !executable("himalaya")' 'if v:false'
|
||||
--replace "if !executable('himalaya')" "if v:false"
|
||||
substituteInPlace autoload/himalaya/request.vim \
|
||||
--replace "'himalaya" "'${himalaya}/bin/himalaya"
|
||||
'';
|
||||
postFixup = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s ${himalaya}/bin/himalaya $out/bin/himalaya
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
||||
jedi-vim = super.jedi-vim.overrideAttrs (old: {
|
||||
# checking for python3 support in vim would be neat, too, but nobody else seems to care
|
||||
|
@ -293,6 +293,7 @@ https://github.com/MrcJkb/haskell-tools.nvim/,HEAD,
|
||||
https://github.com/neovimhaskell/haskell-vim/,,
|
||||
https://github.com/wenzel-hoffman/haskell-with-unicode.vim/,HEAD,
|
||||
https://github.com/travitch/hasksyn/,,
|
||||
https://git.sr.ht/~soywod/himalaya-vim,,
|
||||
https://github.com/Yggdroot/hiPairs/,,
|
||||
https://github.com/mpickering/hlint-refactor-vim/,,
|
||||
https://github.com/edluffy/hologram.nvim/,,
|
||||
|
Loading…
Reference in New Issue
Block a user