vimPlugins.sved: init
This commit is contained in:
parent
bc41317e24
commit
fdf77854b4
|
@ -1607,6 +1607,16 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sved = buildVimPluginFrom2Nix {
|
||||||
|
name = "sved-2019-01-25";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "peder2tm";
|
||||||
|
repo = "sved";
|
||||||
|
rev = "3362db72447e8ac812c7299c15ecfc9f41341713";
|
||||||
|
sha256 = "1r2nv069d6r2q6gbiz795x94mfjm9hnv05zka085hhq9a3yf1pgx";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
swift-vim = buildVimPluginFrom2Nix {
|
swift-vim = buildVimPluginFrom2Nix {
|
||||||
pname = "swift-vim";
|
pname = "swift-vim";
|
||||||
version = "2018-09-12";
|
version = "2018-09-12";
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
, xkb-switch, fzf, skim
|
, xkb-switch, fzf, skim
|
||||||
, python3, boost, icu, ncurses
|
, python3, boost, icu, ncurses
|
||||||
, ycmd, rake
|
, ycmd, rake
|
||||||
|
, gobject-introspection, glib, wrapGAppsHook
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, languagetool
|
, languagetool
|
||||||
, Cocoa, CoreFoundation, CoreServices
|
, Cocoa, CoreFoundation, CoreServices
|
||||||
|
@ -172,6 +173,35 @@ self: super: {
|
||||||
dependencies = with super; [ ultisnips ];
|
dependencies = with super; [ ultisnips ];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
sved = let
|
||||||
|
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
|
||||||
|
svedbackend = stdenv.mkDerivation {
|
||||||
|
name = "svedbackend-${super.sved.name}";
|
||||||
|
inherit (super.sved) src;
|
||||||
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
buildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
glib
|
||||||
|
(python3.withPackages(ps: with ps; [ pygobject3 pynvim dbus-python ]))
|
||||||
|
];
|
||||||
|
preferLocalBuild = true;
|
||||||
|
installPhase = ''
|
||||||
|
install -Dt $out/bin ftplugin/evinceSync.py
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in
|
||||||
|
super.sved.overrideAttrs(old: {
|
||||||
|
preferLocalBuild = true;
|
||||||
|
postPatch = ''
|
||||||
|
rm ftplugin/evinceSync.py
|
||||||
|
ln -s ${svedbackend}/bin/evinceSync.py ftplugin/evinceSync.py
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
description = "synctex support between vim/neovim and evince";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
vimshell-vim = super.vimshell-vim.overrideAttrs(old: {
|
vimshell-vim = super.vimshell-vim.overrideAttrs(old: {
|
||||||
dependencies = with super; [ vimproc-vim ];
|
dependencies = with super; [ vimproc-vim ];
|
||||||
});
|
});
|
||||||
|
|
|
@ -221,6 +221,7 @@ osyo-manga/vim-watchdogs
|
||||||
pangloss/vim-javascript
|
pangloss/vim-javascript
|
||||||
parsonsmatt/intero-neovim
|
parsonsmatt/intero-neovim
|
||||||
pearofducks/ansible-vim
|
pearofducks/ansible-vim
|
||||||
|
peder2tm/sved
|
||||||
peterhoeg/vim-qml
|
peterhoeg/vim-qml
|
||||||
phanviet/vim-monokai-pro
|
phanviet/vim-monokai-pro
|
||||||
plasticboy/vim-markdown
|
plasticboy/vim-markdown
|
||||||
|
|
Loading…
Reference in New Issue