nixpkgs/pkgs/development/libraries/libvterm-neovim/default.nix

35 lines
849 B
Nix
Raw Normal View History

2021-10-01 04:20:00 +00:00
{ lib
, stdenv
2018-05-16 05:55:26 +00:00
, fetchFromGitHub
, perl
, libtool
}:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "libvterm-neovim";
2020-01-14 12:23:37 +00:00
# Releases are not tagged, look at commit history to find latest release
version = "0.1.3";
2018-05-16 05:55:26 +00:00
src = fetchFromGitHub {
owner = "neovim";
repo = "libvterm";
2020-01-14 12:23:37 +00:00
rev = "65dbda3ed214f036ee799d18b2e693a833a0e591";
sha256 = "0r6yimzbkgrsi9aaxwvxahai2lzgjd1ysblr6m6by5w459853q3n";
2018-05-16 05:55:26 +00:00
};
2021-10-01 04:20:00 +00:00
nativeBuildInputs = [ perl libtool ];
2018-05-16 05:55:26 +00:00
makeFlags = [ "PREFIX=$(out)" ]
++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
2018-05-16 05:55:26 +00:00
enableParallelBuilding = true;
meta = with lib; {
2018-05-16 05:55:26 +00:00
description = "VT220/xterm/ECMA-48 terminal emulator library";
homepage = "http://www.leonerd.org.uk/code/libvterm/";
2018-05-16 05:55:26 +00:00
license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs ];
2018-05-16 05:55:26 +00:00
platforms = platforms.unix;
};
}