diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index 2852a2c1e341..6e69e67c8392 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -2,7 +2,7 @@ { fetchurl, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip , which, fetchgit, llvmPackages , xkb_switch, rustracerd, fzf -, python3 +, python3, boost, icu , Cocoa ? null }: @@ -2113,4 +2113,26 @@ rec { dependencies = []; }; + + cpsm = buildVimPluginFrom2Nix { # created by nix#NixDerivation + name = "cpsm-2016-09-21"; + src = fetchgit { + url = "git://github.com/nixprime/cpsm"; + rev = "565ab53a66fa52c46d80adf6981b07f4bdffcb1d"; + sha256 = "125gcnqrg2276sp715q924cxwjxwsv3j4m0n1zj17w9srnpn4r1k"; + }; + dependencies = []; + buildInputs = [ + python3 + stdenv + cmake + boost + icu + ]; + buildPhase = '' + patchShebangs . + export PY3=ON + ./install.sh + ''; + }; } diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index 849baa492d0d..20f6afec41fe 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -171,3 +171,4 @@ "github:jiangmiao/auto-pairs" "github:editorconfig/editorconfig-vim" "github:heavenshell/vim-jsdoc" +"github:nixprime/cpsm" diff --git a/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm new file mode 100644 index 000000000000..ea360765925b --- /dev/null +++ b/pkgs/misc/vim-plugins/vim2nix/additional-nix-code/cpsm @@ -0,0 +1,12 @@ + buildInputs = [ + python3 + stdenv + cmake + boost + icu + ]; + buildPhase = '' + patchShebangs . + export PY3=ON + ./install.sh + '';