diff options
author | Arseniy Seroka <ars.seroka@gmail.com> | 2014-11-23 22:42:22 +0300 |
---|---|---|
committer | Arseniy Seroka <ars.seroka@gmail.com> | 2014-11-24 02:41:36 +0300 |
commit | ec8bfcb6962807600c54ee230f3ec7c33fcd9097 (patch) | |
tree | e9c61ea9740f972e8881bfe2543547a36744eaa0 /pkgs/misc | |
parent | 24d450074ec89ab0d39798ecafb52881f4f1a46b (diff) | |
download | nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar.gz nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar.bz2 nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar.lz nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar.xz nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.tar.zst nixlib-ec8bfcb6962807600c54ee230f3ec7c33fcd9097.zip |
racer: add pkg and vim plugin
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/vim-plugins/default.nix | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index ecb3fbc1d57a..7988b112c76d 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -1,5 +1,5 @@ # TODO check that no license information gets lost -{ fetchurl, bash, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, fetchzip, llvmPackages, zip }: +{ fetchurl, bash, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, fetchzip, llvmPackages, zip, racerRust }: /* Typical plugin files: @@ -595,6 +595,26 @@ rec { }; }; + racer = buildVimPlugin { + name = "racer-git-2014-11-24"; + src = fetchgit { + url = https://github.com/phildawes/racer; + rev = "50655ffd509bea09ea9b310970dedfeaf5a33cf3"; + sha256 = "0bd456i4nz12z39ljnw1kjg8mcflvm7rjql2r80fb038c7rd6xi1"; + }; + buildPhase = '' + find . -type f -not -name 'racer.vim' -exec rm -rf {} \; + mkdir plugin + mv ./editors/racer.vim plugin/racer.vim + rm -rf editors images src + ''; + /*patches = [ ./racer.patch ];*/ + meta = { + homepage = https://github.com/phildawes/racer; + maintainers = [ stdenv.lib.maintainers.jagajaga ]; + }; + }; + rainbow_parentheses = buildVimPlugin { name = "rainbow_parentheses"; src = fetchgit { |