racer: add pkg and vim plugin

This commit is contained in:
Arseniy Seroka
2014-11-23 22:42:22 +03:00
parent 24d450074e
commit ec8bfcb696
3 changed files with 52 additions and 1 deletions

View File

@@ -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 {