Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libvterm-neovim / default.nix
blob0e92d28046aa3b7322ad6b5c2a8a3d5180bbd2de
1 { lib
2 , stdenv
3 , fetchurl
4 , perl
5 , libtool
6 }:
8 stdenv.mkDerivation rec {
9   pname = "libvterm-neovim";
10   # Releases are not tagged, look at commit history to find latest release
11   version = "0.3.3";
13   src = fetchurl {
14     url = "https://launchpad.net/libvterm/trunk/v${lib.versions.majorMinor version}/+download/libvterm-${version}.tar.gz";
15     hash = "sha256-CRVvQ90hKL00fL7r5Q2aVx0yxk4M8Y0hEZeUav9yJuA=";
16   };
18   nativeBuildInputs = [ perl libtool ];
20   makeFlags = [
21     "CC=${stdenv.cc.targetPrefix}cc"
22     "LIBTOOL=${libtool}/bin/libtool"
23     "PREFIX=$(out)"
24   ];
26   enableParallelBuilding = true;
28   meta = with lib; {
29     description = "VT220/xterm/ECMA-48 terminal emulator library";
30     homepage = "http://www.leonerd.org.uk/code/libvterm/";
31     license = licenses.mit;
32     maintainers = with maintainers; [ rvolosatovs ];
33     platforms = platforms.unix;
34   };