2018-05-16 06:55:26 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, perl
|
|
|
|
, libtool
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-04-22 11:54:23 +01:00
|
|
|
pname = "libvterm-neovim";
|
2019-11-27 20:33:37 +00:00
|
|
|
version = "2019-10-08";
|
2018-05-16 06:55:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "neovim";
|
|
|
|
repo = "libvterm";
|
2019-11-27 20:33:37 +00:00
|
|
|
rev = "7c72294d84ce20da4c27362dbd7fa4b08cfc91da";
|
|
|
|
sha256 = "111qyxq33x74dwdnqcnzlv9j0n8hxyribd6ppwcsxmyrniyw9qrk";
|
2018-05-16 06:55:26 +01: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-09-16 09:21:22 +01:00
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
2018-05-16 06:55:26 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|