···
+
{ fetchurl, stdenv, python, cmake, vim, perl, ruby, unzip, which, fetchgit, clang }:
···
YouCompleteMe = stdenv.mkDerivation {
url = "https://github.com/Valloric/YouCompleteMe.git";
+
rev = "abfc3ee36adab11c0c0b9d086a164a69006fec79";
+
sha256 = "1d25dp5kgqickl06hqvx4j3z51zblhsn3q3by2hayyj3g2zps4gm";
+
name = "youcompleteme-git-abfc3ee";
+
buildInputs = [ python cmake clang.clang ];
···
+
cmake -G "Unix Makefiles" . $target/cpp -DPYTHON_LIBRARIES:PATH=${python}/lib/libpython2.7.so -DPYTHON_INCLUDE_DIR:PATH=${python}/include/python2.7 -DUSE_CLANG_COMPLETER=ON -DUSE_SYSTEM_LIBCLANG=ON
make -j -j''${NIX_BUILD_CORES} -l''${NIX_BUILD_CORES}}
···
syntastic = simpleDerivation rec {
name = "vim-syntastic-${version}";
url = "https://github.com/scrooloose/syntastic/archive/${version}.tar.gz";
+
sha256 = "0h8vfs6icpfwc41qx6n6rc1m35haxp2gaswg9fhcki2w2ikp6knb";
···
path = "vim-coffee-script";
+
command_T = simpleDerivation rec {
+
name = "vim-command-t-${version}";
+
url = "https://github.com/wincent/Command-T/archive/${version}.tar.gz";
+
sha256 = "ad8664292e6eee40fbe195d856d20d93a8630e8c0149317ad72cc39423630800";
buildInputs = [ perl ruby ];
···
+
eighties = simpleDerivation rec {
+
name = "vim-eighties-${version}";
+
url = "https://github.com/justincampbell/vim-eighties/archive/${version}.tar.gz";
sha256 = "0cjd9hbg2qd7jjkvyi15f9ysp7m3aa2sg8nvbf80yb890rfkwaqr";
···
tagbar = simpleDerivation rec {
name = "vim-tagbar-${version}";
meta = with stdenv.lib; {
···
url = "https://github.com/majutsushi/tagbar/archive/v${version}.tar.gz";
+
sha256 = "c061a7e0a45a166f4558b31e6c47b9fd701f5fa1319527b65a268ea054dea5fb";
···
vimproc = simpleDerivation rec {
+
version = "7788b5f934bc7460c1e9134b51fe5690b21de83c";
name = "vimproc-${version}";
meta = with stdenv.lib; {
···
platforms = platforms.unix;
+
url = "https://github.com/Shougo/vimproc.vim.git";
+
sha256 = "0ahmnzccf5rv8rwg7b6pfgxh8pcmq955aznjv64slyh0mjqmh6jl";