2018-05-16 07:55:26 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, perl
|
|
|
|
, libtool
|
|
|
|
}:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-04-22 12:54:23 +02:00
|
|
|
pname = "libvterm-neovim";
|
|
|
|
version = "2018-11-26";
|
2018-05-16 07:55:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neovim";
|
|
|
|
repo = "libvterm";
|
2019-04-22 12:54:23 +02:00
|
|
|
rev = "f600f523545b7d4018ebf320e3273795dbe43c8a";
|
|
|
|
sha256 = "08lxd8xs9cg4axgq6bkb7afjxg3s29s1a3niqqm4wjb7iyi2jx5b";
|
2018-05-16 07:55:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
nativeBuildInputs = [ libtool ];
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VT220/xterm/ECMA-48 terminal emulator library";
|
|
|
|
homepage = http://www.leonerd.org.uk/code/libvterm/;
|
|
|
|
license = licenses.mit;
|
2019-07-03 11:27:39 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-05-16 07:55:26 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|