686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
35 lines
831 B
Nix
35 lines
831 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, perl
|
|
, libtool
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libvterm-neovim";
|
|
# Releases are not tagged, look at commit history to find latest release
|
|
version = "0.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.leonerd.org.uk/code/libvterm/libvterm-${version}.tar.gz";
|
|
sha256 = "sha256-JaitnBVIU2jf0Kip3KGuyP6lwn2j+nTsUY1dN4fww5c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ perl libtool ];
|
|
|
|
makeFlags = [
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
"LIBTOOL=${libtool}/bin/libtool"
|
|
"PREFIX=$(out)"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "VT220/xterm/ECMA-48 terminal emulator library";
|
|
homepage = "http://www.leonerd.org.uk/code/libvterm/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|