2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config, glib, ncurses }:
|
2015-05-24 17:55:47 +01:00
|
|
|
|
2009-11-04 22:38:26 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libvterm-0.99.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libvterm/${name}.tar.gz";
|
|
|
|
sha256 = "10gaqygmmwp0cwk3j8qflri5caf8vl3f7pwfl2svw5whv8wkn0k2";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr@$out@ -e /ldconfig/d Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-11-04 22:38:26 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ glib ncurses ];
|
2009-11-04 22:38:26 +00:00
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libvterm.sourceforge.net/";
|
2009-11-04 22:38:26 +00:00
|
|
|
description = "Terminal emulator library to mimic both vt100 and rxvt";
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2015-05-27 20:56:04 +01:00
|
|
|
platforms = platforms.linux;
|
2009-11-04 22:38:26 +00:00
|
|
|
};
|
|
|
|
}
|