@@ -2,7 +2,7 @@
22{ fetchurl, stdenv, python, go, cmake, vim, vimUtils, perl, ruby, unzip
33, which, fetchgit, llvmPackages
44, xkb_switch, rustracerd, fzf
5−, python3
5+, python3, boost, icu
66, Cocoa ? null
77}:
88
@@ -2113,4 +2113,26 @@ rec {
21132113 dependencies = [];
21142114
21152115 };
2116+
2117+ cpsm = buildVimPluginFrom2Nix { # created by nix#NixDerivation
2118+ name = "cpsm-2016-09-21";
2119+ src = fetchgit {
2120+ url = "git://github.com/nixprime/cpsm";
2121+ rev = "565ab53a66fa52c46d80adf6981b07f4bdffcb1d";
2122+ sha256 = "125gcnqrg2276sp715q924cxwjxwsv3j4m0n1zj17w9srnpn4r1k";
2123+ };
2124+ dependencies = [];
2125+ buildInputs = [
2126+ python3
2127+ stdenv
2128+ cmake
2129+ boost
2130+ icu
2131+ ];
2132+ buildPhase = ''
2133+ patchShebangs .
2134+ export PY3=ON
2135+ ./install.sh
2136+ '';
2137+ };
21162138}