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

35 lines
878 B
Nix
Raw Normal View History

2018-05-16 06:55:26 +01:00
{ stdenv
, fetchFromGitHub
, perl
, libtool
}:
2019-08-13 22:52:01 +01: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 06:55:26 +01:00
src = fetchFromGitHub {
owner = "neovim";
repo = "libvterm";
2020-01-14 12:23:37 +00:00
rev = "65dbda3ed214f036ee799d18b2e693a833a0e591";
sha256 = "0r6yimzbkgrsi9aaxwvxahai2lzgjd1ysblr6m6by5w459853q3n";
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/";
2018-05-16 06:55:26 +01:00
license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs ];
2018-05-16 06:55:26 +01:00
platforms = platforms.unix;
};
}