vimPlugins: move vim2nix into nixpkgs repo

This commit is contained in:
Arseniy Seroka
2016-01-10 13:19:06 +03:00
parent ada9b3b666
commit 4a0a0592db
18 changed files with 391 additions and 17 deletions
+11 -14
View File
@@ -14,8 +14,7 @@ in
# TL;DR
# Add your plugin to ./vim-plugin-names
# Generate via `vim-plugin-names-to-nix`
# If plugin is complicated then create a PR to
# https://github.com/jagajaga/vim-addon-vim2nix/tree/master/additional-nix-code
# If plugin is complicated then make changes to ./vim2nix/additional-nix-code
# This attrs contains two sections:
# The first contains plugins added manually, the second contains plugins
@@ -28,9 +27,18 @@ rec {
# which recreates this the following derivations based on ./vim-plugin-names
pluginnames2nix = vimUtils.pluginnames2Nix {
name = "vim-plugin-names-to-nix";
namefiles = [./vim-plugin-names]; };
namefiles = [./vim-plugin-names];
};
# Section I
vim-addon-vim2nix = vim2nix;
vim2nix = buildVimPluginFrom2Nix { # use it to update plugins
name = "vim2nix";
src = ./vim2nix;
dependencies = ["vim-addon-manager"];
};
# Section II
# Update with vimUtils.vimPlugins.pluginnames2Nix command
@@ -324,17 +332,6 @@ rec {
};
vim-addon-vim2nix = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-addon-vim2nix-2016-01-09";
src = fetchgit {
url = "git://github.com/JagaJaga/vim-addon-vim2nix";
rev = "9146b942f51d2682bf0ca00ad74c324340a61b60";
sha256 = "2e35baf96ae172d2dac8b86b299ff2c87c14a5b4a4a6864dcce17e7e9ed04861";
};
dependencies = ["vim-addon-manager"];
};
vim-nix = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "vim-nix-2015-12-10";
src = fetchgit {