Merge pull request #82578 from eyJhb/coc-npm
vimPlugins.coc-*: add npm dependencies
This commit is contained in:
commit
48b799e365
pkgs
development/node-packages
composition-v10.nixcomposition-v12.nixcomposition-v13.nixnode-packages-v10.jsonnode-packages-v10.nixshell-generate.nix
misc/vim-plugins
|
@ -14,4 +14,4 @@ in
|
|||
import ./node-packages-v10.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ in
|
|||
import ./node-packages-v12.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,4 +14,4 @@ in
|
|||
import ./node-packages-v13.nix {
|
||||
inherit (pkgs) fetchurl fetchgit;
|
||||
inherit nodeEnv;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,37 @@
|
|||
, "browserify"
|
||||
, "castnow"
|
||||
, "clean-css"
|
||||
, "coc-css"
|
||||
, "coc-emmet"
|
||||
, "coc-eslint"
|
||||
, "coc-git"
|
||||
, "coc-go"
|
||||
, "coc-highlight"
|
||||
, "coc-html"
|
||||
, "coc-imselect"
|
||||
, "coc-java"
|
||||
, "coc-jest"
|
||||
, "coc-json"
|
||||
, "coc-lists"
|
||||
, "coc-metals"
|
||||
, "coc-pairs"
|
||||
, "coc-prettier"
|
||||
, "coc-python"
|
||||
, "coc-r-lsp"
|
||||
, "coc-rls"
|
||||
, "coc-smartf"
|
||||
, "coc-snippets"
|
||||
, "coc-solargraph"
|
||||
, "coc-stylelint"
|
||||
, "coc-tabnine"
|
||||
, "coc-tslint"
|
||||
, "coc-tslint-plugin"
|
||||
, "coc-tsserver"
|
||||
, "coc-vetur"
|
||||
, "coc-vimtex"
|
||||
, "coc-wxml"
|
||||
, "coc-yaml"
|
||||
, "coc-yank"
|
||||
, "coffee-script"
|
||||
, "coinmon"
|
||||
, "configurable-http-proxy"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,5 +4,5 @@ mkShell {
|
|||
buildInputs = [
|
||||
bash nodePackages.node2nix
|
||||
];
|
||||
NODE_NIXPKGS_PATH = ./.;
|
||||
NODE_NIXPKGS_PATH = builtins.toString ../../../.;
|
||||
}
|
||||
|
|
|
@ -126,6 +126,78 @@ self: super: {
|
|||
'';
|
||||
});
|
||||
|
||||
coc-css = buildVimPluginFrom2Nix {
|
||||
pname = "coc-css";
|
||||
version = nodePackages.coc-css.version;
|
||||
src = "${nodePackages.coc-css}/lib/node_modules/coc-css";
|
||||
};
|
||||
|
||||
coc-emmet = buildVimPluginFrom2Nix {
|
||||
pname = "coc-emmet";
|
||||
version = nodePackages.coc-emmet.version;
|
||||
src = "${nodePackages.coc-emmet}/lib/node_modules/coc-emmet";
|
||||
};
|
||||
|
||||
coc-eslint = buildVimPluginFrom2Nix {
|
||||
pname = "coc-eslint";
|
||||
version = nodePackages.coc-eslint.version;
|
||||
src = "${nodePackages.coc-eslint}/lib/node_modules/coc-eslint";
|
||||
};
|
||||
|
||||
coc-git = buildVimPluginFrom2Nix {
|
||||
pname = "coc-git";
|
||||
version = nodePackages.coc-git.version;
|
||||
src = "${nodePackages.coc-git}/lib/node_modules/coc-git";
|
||||
};
|
||||
|
||||
coc-highlight = buildVimPluginFrom2Nix {
|
||||
pname = "coc-highlight";
|
||||
version = nodePackages.coc-highlight.version;
|
||||
src = "${nodePackages.coc-highlight}/lib/node_modules/coc-highlight";
|
||||
};
|
||||
|
||||
coc-html = buildVimPluginFrom2Nix {
|
||||
pname = "coc-html";
|
||||
version = nodePackages.coc-html.version;
|
||||
src = "${nodePackages.coc-html}/lib/node_modules/coc-html";
|
||||
};
|
||||
|
||||
coc-imselect = buildVimPluginFrom2Nix {
|
||||
pname = "coc-imselect";
|
||||
version = nodePackages.coc-imselect.version;
|
||||
src = "${nodePackages.coc-imselect}/lib/node_modules/coc-imselect";
|
||||
};
|
||||
|
||||
coc-java = buildVimPluginFrom2Nix {
|
||||
pname = "coc-java";
|
||||
version = nodePackages.coc-java.version;
|
||||
src = "${nodePackages.coc-java}/lib/node_modules/coc-java";
|
||||
};
|
||||
|
||||
coc-jest = buildVimPluginFrom2Nix {
|
||||
pname = "coc-jest";
|
||||
version = nodePackages.coc-jest.version;
|
||||
src = "${nodePackages.coc-jest}/lib/node_modules/coc-jest";
|
||||
};
|
||||
|
||||
coc-json = buildVimPluginFrom2Nix {
|
||||
pname = "coc-json";
|
||||
version = nodePackages.coc-json.version;
|
||||
src = "${nodePackages.coc-json}/lib/node_modules/coc-json";
|
||||
};
|
||||
|
||||
coc-lists = buildVimPluginFrom2Nix {
|
||||
pname = "coc-lists";
|
||||
version = nodePackages.coc-lists.version;
|
||||
src = "${nodePackages.coc-lists}/lib/node_modules/coc-lists";
|
||||
};
|
||||
|
||||
coc-metals = buildVimPluginFrom2Nix {
|
||||
pname = "coc-metals";
|
||||
version = nodePackages.coc-metals.version;
|
||||
src = "${nodePackages.coc-metals}/lib/node_modules/coc-metals";
|
||||
};
|
||||
|
||||
# Only official releases contains the required index.js file
|
||||
# NB: Make sure you pick a rev from the release branch!
|
||||
coc-nvim = buildVimPluginFrom2Nix rec {
|
||||
|
@ -139,12 +211,114 @@ self: super: {
|
|||
};
|
||||
};
|
||||
|
||||
coc-pairs = buildVimPluginFrom2Nix {
|
||||
pname = "coc-pairs";
|
||||
version = nodePackages.coc-pairs.version;
|
||||
src = "${nodePackages.coc-pairs}/lib/node_modules/coc-pairs";
|
||||
};
|
||||
|
||||
coc-prettier = buildVimPluginFrom2Nix {
|
||||
pname = "coc-prettier";
|
||||
version = nodePackages.coc-prettier.version;
|
||||
src = "${nodePackages.coc-prettier}/lib/node_modules/coc-prettier";
|
||||
};
|
||||
|
||||
coc-python = buildVimPluginFrom2Nix {
|
||||
pname = "coc-python";
|
||||
version = nodePackages.coc-python.version;
|
||||
src = "${nodePackages.coc-python}/lib/node_modules/coc-python";
|
||||
};
|
||||
|
||||
coc-r-lsp = buildVimPluginFrom2Nix {
|
||||
pname = "coc-r-lsp";
|
||||
version = nodePackages.coc-r-lsp.version;
|
||||
src = "${nodePackages.coc-r-lsp}/lib/node_modules/coc-r-lsp";
|
||||
};
|
||||
|
||||
coc-rls = buildVimPluginFrom2Nix {
|
||||
pname = "coc-rls";
|
||||
version = nodePackages.coc-rls.version;
|
||||
src = "${nodePackages.coc-rls}/lib/node_modules/coc-rls";
|
||||
};
|
||||
|
||||
coc-smartf = buildVimPluginFrom2Nix {
|
||||
pname = "coc-smartf";
|
||||
version = nodePackages.coc-smartf.version;
|
||||
src = "${nodePackages.coc-smartf}/lib/node_modules/coc-smartf";
|
||||
};
|
||||
|
||||
coc-snippets = buildVimPluginFrom2Nix {
|
||||
pname = "coc-snippets";
|
||||
version = nodePackages.coc-snippets.version;
|
||||
src = "${nodePackages.coc-snippets}/lib/node_modules/coc-snippets";
|
||||
};
|
||||
|
||||
coc-solargraph = buildVimPluginFrom2Nix {
|
||||
pname = "coc-solargraph";
|
||||
version = nodePackages.coc-solargraph.version;
|
||||
src = "${nodePackages.coc-solargraph}/lib/node_modules/coc-solargraph";
|
||||
};
|
||||
|
||||
coc-stylelint = buildVimPluginFrom2Nix {
|
||||
pname = "coc-stylelint";
|
||||
version = nodePackages.coc-stylelint.version;
|
||||
src = "${nodePackages.coc-stylelint}/lib/node_modules/coc-stylelint";
|
||||
};
|
||||
|
||||
coc-tabnine = buildVimPluginFrom2Nix {
|
||||
pname = "coc-tabnine";
|
||||
version = nodePackages.coc-tabnine.version;
|
||||
src = "${nodePackages.coc-tabnine}/lib/node_modules/coc-tabnine";
|
||||
};
|
||||
|
||||
coc-tslint = buildVimPluginFrom2Nix {
|
||||
pname = "coc-tslint";
|
||||
version = nodePackages.coc-tslint.version;
|
||||
src = "${nodePackages.coc-tslint}/lib/node_modules/coc-tslint";
|
||||
};
|
||||
|
||||
coc-tslint-plugin = buildVimPluginFrom2Nix {
|
||||
pname = "coc-tslint-plugin";
|
||||
version = nodePackages.coc-tslint-plugin.version;
|
||||
src = "${nodePackages.coc-tslint-plugin}/lib/node_modules/coc-tslint-plugin";
|
||||
};
|
||||
|
||||
coc-tsserver = buildVimPluginFrom2Nix {
|
||||
pname = "coc-tsserver";
|
||||
version = nodePackages.coc-tsserver.version;
|
||||
src = "${nodePackages.coc-tsserver}/lib/node_modules/coc-tsserver";
|
||||
};
|
||||
|
||||
coc-vetur = buildVimPluginFrom2Nix {
|
||||
pname = "coc-vetur";
|
||||
version = nodePackages.coc-vetur.version;
|
||||
src = "${nodePackages.coc-vetur}/lib/node_modules/coc-vetur";
|
||||
};
|
||||
|
||||
coc-vimtex = buildVimPluginFrom2Nix {
|
||||
pname = "coc-vimtex";
|
||||
version = nodePackages.coc-vimtex.version;
|
||||
src = "${nodePackages.coc-vimtex}/lib/node_modules/coc-vimtex";
|
||||
};
|
||||
|
||||
coc-wxml = buildVimPluginFrom2Nix {
|
||||
pname = "coc-wxml";
|
||||
version = nodePackages.coc-wxml.version;
|
||||
src = "${nodePackages.coc-wxml}/lib/node_modules/coc-wxml";
|
||||
};
|
||||
|
||||
coc-yaml = buildVimPluginFrom2Nix {
|
||||
pname = "coc-yaml";
|
||||
version = nodePackages.coc-yaml.version;
|
||||
src = "${nodePackages.coc-yaml}/lib/node_modules/coc-yaml";
|
||||
};
|
||||
|
||||
coc-yank = buildVimPluginFrom2Nix {
|
||||
pname = "coc-yank";
|
||||
version = nodePackages.coc-yank.version;
|
||||
src = "${nodePackages.coc-yank}/lib/node_modules/coc-yank";
|
||||
};
|
||||
|
||||
command-t = super.command-t.overrideAttrs(old: {
|
||||
buildInputs = [ ruby rake ];
|
||||
buildPhase = ''
|
||||
|
|
Loading…
Reference in New Issue