presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / li / libvterm-neovim / package.nix
blob5f183515da980337fc80ab34ad77b726a0b5d609
2   lib,
3   stdenv,
4   fetchurl,
5   perl,
6   libtool,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "libvterm-neovim";
11   # Releases are not tagged, look at commit history to find latest release
12   version = "0.3.3";
14   src = fetchurl {
15     url = "https://launchpad.net/libvterm/trunk/v${lib.versions.majorMinor version}/+download/libvterm-${version}.tar.gz";
16     hash = "sha256-CRVvQ90hKL00fL7r5Q2aVx0yxk4M8Y0hEZeUav9yJuA=";
17   };
19   nativeBuildInputs = [
20     perl
21     libtool
22   ];
24   makeFlags = [
25     "CC=${stdenv.cc.targetPrefix}cc"
26     "LIBTOOL=${libtool}/bin/libtool"
27     "PREFIX=$(out)"
28   ];
30   enableParallelBuilding = true;
32   meta = with lib; {
33     description = "VT220/xterm/ECMA-48 terminal emulator library";
34     homepage = "http://www.leonerd.org.uk/code/libvterm/";
35     license = licenses.mit;
36     maintainers = with maintainers; [ rvolosatovs ];
37     platforms = platforms.unix;
38   };