mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
d4758c3f27
Changes: https://bazaar.launchpad.net/~libvterm/libvterm/trunk/changes/839?start_revid=839
36 lines
871 B
Nix
36 lines
871 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.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/libvterm/trunk/v${lib.versions.majorMinor version}/+download/libvterm-${version}.tar.gz";
|
|
hash = "sha256-CRVvQ90hKL00fL7r5Q2aVx0yxk4M8Y0hEZeUav9yJuA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|