@@ -1,6 +1,7 @@
11{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
22, libtool, libuv, luaPackages, ncurses, perl, pkgconfig
33, unibilium, vimUtils, xsel, gperf, callPackage
4+, libvterm-neovim
45, withJemalloc ? true, jemalloc
56}:
67
@@ -8,35 +9,6 @@ with stdenv.lib;
89
910let
1011
11− # Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
12− neovimLibvterm = stdenv.mkDerivation rec {
13− name = "neovim-libvterm-${version}";
14− version = "2017-11-05";
15−
16− src = fetchFromGitHub {
17− owner = "neovim";
18− repo = "libvterm";
19− rev = "4ca7ebf7d25856e90bc9d9cc49412e80be7c4ea8";
20− sha256 = "05kyvvz8af90mvig11ya5xd8f4mbvapwyclyrihm9lwas706lzf6";
21− };
22−
23− buildInputs = [ perl ];
24− nativeBuildInputs = [ libtool ];
25−
26− makeFlags = [ "PREFIX=$(out)" ]
27− ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
28−
29− enableParallelBuilding = true;
30−
31− meta = {
32− description = "VT220/xterm/ECMA-48 terminal emulator library";
33− homepage = http://www.leonerd.org.uk/code/libvterm/;
34− license = licenses.mit;
35− maintainers = with maintainers; [ garbas ];
36− platforms = platforms.unix;
37− };
38− };
39−
4012 neovim = stdenv.mkDerivation rec {
4113 name = "neovim-unwrapped-${version}";
4214 version = "0.2.2";
@@ -55,7 +27,7 @@ let
5527 libuv
5628 libmsgpack
5729 ncurses
58− neovimLibvterm
30+ libvterm-neovim
5931 unibilium
6032 luaPackages.lua
6133 gperf