@@ -83,7 +83,9 @@ let vimHelpTags = ''
8383 }
8484 '';
8585
86− buildVimPlugin = a@{name, src, path, buildPhase ? "", ...} : stdenv.mkDerivation (a // {
86+ buildVimPlugin = a@{name, namePrefix ? "vimplugin-", src, path, buildPhase ? "", ...}: stdenv.mkDerivation (a // {
87+ name = namePrefix + name;
88+
8789 inherit buildPhase;
8890
8991 installPhase = ''
@@ -114,7 +116,7 @@ in rec
114116 sha256 = "1yxrxskxnr2da5awm59ra4s9wg67rimcbazvln9bayg9saxs540d";
115117 };
116118
117− name = "youcompleteme-20140929"; # commit date
119+ name = "vimplugin-youcompleteme-20140929"; # commit date
118120 buildInputs = [ python cmake clang.clang ];
119121
120122 configurePhase = ":";
@@ -153,7 +155,7 @@ in rec
153155
154156 syntastic = buildVimPlugin rec {
155157 version = "3.4.0";
156− name = "vim-syntastic-${version}";
158+ name = "syntastic-${version}";
157159
158160 src = fetchurl {
159161 url = "https://github.com/scrooloose/syntastic/archive/${version}.tar.gz";
@@ -164,7 +166,7 @@ in rec
164166 };
165167
166168 coffeeScript = buildVimPlugin {
167− name = "vim-coffee-script-v002";
169+ name = "coffee-script-v002";
168170 src = fetchurl {
169171 url = "https://github.com/vim-scripts/vim-coffee-script/archive/v002.tar.gz";
170172 sha256 = "1xln6i6jbbihcyp5bsdylr2146y41hmp2xf7wi001g2ymj1zdsc0";
@@ -174,7 +176,7 @@ in rec
174176
175177 command_T = buildVimPlugin rec {
176178 version = "1.8";
177− name = "vim-command-t-${version}";
179+ name = "command-t-${version}";
178180 src = fetchurl {
179181 url = "https://github.com/wincent/Command-T/archive/${version}.tar.gz";
180182 sha256 = "ad8664292e6eee40fbe195d856d20d93a8630e8c0149317ad72cc39423630800";
@@ -191,7 +193,7 @@ in rec
191193
192194 eighties = buildVimPlugin rec {
193195 version = "1.0.4";
194− name = "vim-eighties-${version}";
196+ name = "eighties-${version}";
195197 src = fetchurl {
196198 url = "https://github.com/justincampbell/vim-eighties/archive/${version}.tar.gz";
197199 sha256 = "0cjd9hbg2qd7jjkvyi15f9ysp7m3aa2sg8nvbf80yb890rfkwaqr";
@@ -207,7 +209,7 @@ in rec
207209 };
208210
209211 golang = buildVimPlugin {
210− name = "vim-golang-20131127";
212+ name = "golang-20131127";
211213 src = fetchgit {
212214 url = "https://github.com/jnwhiteh/vim-golang.git";
213215 rev = "832d64e5a813511ed52217aa24f0255c49671bab";
@@ -224,7 +226,7 @@ in rec
224226 };
225227
226228 ipython = buildVimPlugin {
227− name = "vim-ipython-ff8f88f3fe518851a91dc88aaa5a75f8f352a960";
229+ name = "ipython-ff8f88f3fe518851a91dc88aaa5a75f8f352a960";
228230 src = fetchurl {
229231 url = "https://github.com/ivanov/vim-ipython/archive/ff8f88f3fe518851a91dc88aaa5a75f8f352a960.tar.gz";
230232 sha256 = "0hlx526dm8amrvh41kwnmgvvdzs6sh5yc5sfq4nk1zjkfcp1ah5j";
@@ -241,7 +243,7 @@ in rec
241243 };
242244
243245 taglist = buildVimPlugin {
244− name = "vim-taglist-4.6";
246+ name = "taglist-4.6";
245247 meta = with stdenv.lib; {
246248 description = "Source code browser plugin";
247249 homepage = "http://www.vim.org/scripts/script.php?script_id=273";
@@ -266,7 +268,7 @@ in rec
266268
267269 tagbar = buildVimPlugin rec {
268270 version = "2.6.1";
269− name = "vim-tagbar-${version}";
271+ name = "tagbar-${version}";
270272
271273 meta = with stdenv.lib; {
272274 description = "A vim plugin for browsing the tags of source code files";
@@ -285,7 +287,7 @@ in rec
285287 };
286288
287289 xdebug = buildVimPlugin {
288− name = "vim-xdebug-a4980fa65f7f159780593ee37c178281691ba2c4";
290+ name = "xdebug-a4980fa65f7f159780593ee37c178281691ba2c4";
289291 src = fetchurl {
290292 url = "https://github.com/joonty/vim-xdebug/archive/a4980fa65f7f159780593ee37c178281691ba2c4.tar.gz";
291293 sha256 = "1348gzp0zhc2wifvs5vmf92m9y8ik8ldnvy7bawsxahy8hmhiksk";
@@ -354,7 +356,7 @@ in rec
354356
355357 colorsamplerpack = buildVimPlugin rec {
356358 version = "2012.10.28";
357− name = "vim-colorsamplerpack-${version}";
359+ name = "colorsamplerpack-${version}";
358360
359361 setSourceRoot = "sourceRoot=.";
360362 src = fetchurl {
@@ -370,7 +372,7 @@ in rec
370372
371373 yankring = buildVimPlugin rec {
372374 version = "18.0";
373− name = "vim-yankring-${version}";
375+ name = "yankring-${version}";
374376
375377 setSourceRoot = "sourceRoot=.";
376378 src = fetchurl {
@@ -386,7 +388,7 @@ in rec
386388
387389 ctrlp = buildVimPlugin rec {
388390 version = "1.79";
389− name = "vim-ctrlp-${version}";
391+ name = "ctrlp-${version}";
390392
391393 setSourceRoot = "sourceRoot=.";
392394 src = fetchurl {
@@ -402,7 +404,7 @@ in rec
402404
403405 alternate = stdenv.mkDerivation rec {
404406 version = "2.18";
405− name = "vim-a-${version}";
407+ name = "alternate-${version}";
406408
407409 src = fetchurl {
408410 url = "http://www.vim.org/scripts/download_script.php?src_id=7218";
@@ -417,7 +419,7 @@ in rec
417419 };
418420
419421 vundle = buildVimPlugin {
420− name = "vundle-vim-git-0b28e334";
422+ name = "vundle-git-0b28e334";
421423 src = fetchgit {
422424 url = "https://github.com/gmarik/Vundle.vim.git";
423425 rev = "0b28e334e65b6628b0a61c412fcb45204a2f2bab";
@@ -427,7 +429,7 @@ in rec
427429 };
428430
429431 tslime = buildVimPlugin {
430− name = "tslime-vim-git-e801a32b";
432+ name = "tslime-git-e801a32b";
431433 src = fetchgit {
432434 url = "https://github.com/jgdavey/tslime.vim.git";
433435 rev = "e801a32b27d83cb5d91afbf7c3d71bb6220f32bd";
@@ -448,7 +450,7 @@ in rec
448450 };
449451
450452 fugitive = buildVimPlugin {
451− name = "vim-fugitive-git-90ee6fb5";
453+ name = "fugitive-git-90ee6fb5";
452454 src = fetchgit {
453455 url = "https://github.com/tpope/vim-fugitive.git";
454456 rev = "90ee6fb5d255d14d9f12f2469f92ee50149f5b44";
@@ -458,7 +460,7 @@ in rec
458460 };
459461
460462 extradite = buildVimPlugin {
461− name = "vim-extradite-git-af4f3a51";
463+ name = "extradite-git-af4f3a51";
462464 src = fetchgit {
463465 url = "https://github.com/int3/vim-extradite.git";
464466 rev = "af4f3a51b6b654d655121b93c0cd9d8fe9a0c85d";
@@ -478,7 +480,7 @@ in rec
478480 };
479481
480482 airline = buildVimPlugin {
481− name = "vim-airline-git-2114e702";
483+ name = "airline-git-2114e702";
482484 src = fetchgit {
483485 url = "https://github.com/bling/vim-airline.git";
484486 rev = "2114e7025188a941e5c63b1f942d576adb98d8a4";
@@ -518,7 +520,7 @@ in rec
518520 };
519521
520522 commentary = buildVimPlugin {
521− name = "vim-commentary-git-8b4df6ca";
523+ name = "commentary-git-8b4df6ca";
522524 src = fetchgit {
523525 url = "https://github.com/tpope/vim-commentary.git";
524526 rev = "8b4df6ca0ba9cd117d97a8fd26b44b2439d5e3f1";
@@ -558,7 +560,7 @@ in rec
558560 };
559561
560562 haskellConceal = buildVimPlugin {
561− name = "vim-haskellConceal-git-73a8d712";
563+ name = "haskellConceal-git-73a8d712";
562564 src = fetchgit {
563565 url = "https://github.com/begriffs/vim-haskellConceal.git";
564566 rev = "73a8d712d3342b2ffdc087b12924f1cf81053860";
@@ -568,7 +570,7 @@ in rec
568570 };
569571
570572 ghcmod = buildVimPlugin {
571− name = "ghcmod-vim-git-0c4e9428";
573+ name = "ghcmod-git-0c4e9428";
572574 src = fetchgit {
573575 url = "https://github.com/eagletmt/ghcmod-vim.git";
574576 rev = "0c4e94281e57c475752e799adc261f7d5e4ab124";
@@ -589,7 +591,7 @@ in rec
589591 };
590592
591593 hoogle = buildVimPlugin {
592− name = "vim-hoogle-git-81f28318";
594+ name = "hoogle-git-81f28318";
593595 src = fetchgit {
594596 url = "https://github.com/Twinside/vim-hoogle.git";
595597 rev = "81f28318b0d4174984c33df99db7752891c5c4e9";
@@ -599,7 +601,7 @@ in rec
599601 };
600602
601603 hdevtools = buildVimPlugin {
602− name = "vim-hdevtools-git-474947c5";
604+ name = "hdevtools-git-474947c5";
603605 src = fetchgit {
604606 url = "https://github.com/bitc/vim-hdevtools.git";
605607 rev = "474947c52ff9c93dd36f3c49de90bd9a78f0baa1";
@@ -609,7 +611,7 @@ in rec
609611 };
610612
611613 stylishHaskell = buildVimPlugin {
612− name = "vim-stylish-haskell-git-453fd203";
614+ name = "stylish-haskell-git-453fd203";
613615 src = fetchgit {
614616 url = "https://github.com/nbouscal/vim-stylish-haskell.git";
615617 rev = "453fd203aee3d7305ea8e4088ff53bd1f5933d75";
@@ -619,7 +621,7 @@ in rec
619621 };
620622
621623 wombat256 = buildVimPlugin {
622− name = "wombat256-vim-git-8734ba45";
624+ name = "wombat256-git-8734ba45";
623625 src = fetchgit {
624626 url = "https://github.com/vim-scripts/wombat256.vim.git";
625627 rev = "8734ba45dcf5e38c4d2686b35c94f9fcb30427e2";
@@ -629,7 +631,7 @@ in rec
629631 };
630632
631633 tmuxNavigator = buildVimPlugin {
632− name = "vim-tmux-navigator-git-3de98bfc";
634+ name = "tmux-navigator-git-3de98bfc";
633635 src = fetchgit {
634636 url = "https://github.com/christoomey/vim-tmux-navigator.git";
635637 rev = "3de98bfcee1289ce8edc6daf9a18f243180c7168";
@@ -639,7 +641,7 @@ in rec
639641 };
640642
641643 pathogen = buildVimPlugin {
642− name = "vim-pathogen-git-3de98bfc";
644+ name = "pathogen-git-3de98bfc";
643645 src = fetchgit {
644646 url = "https://github.com/tpope/vim-pathogen.git";
645647 rev = "91e6378908721d20514bbe5d18d292a0a15faf0c";