1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/development/libraries/libvterm/default.nix
Tobias Geerinckx-Rice b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00

29 lines
682 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, ncurses }:
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 = ''
mkdir -p $out/include
mkdir -p $out/lib
'';
buildInputs = [ pkgconfig glib ncurses ];
meta = with stdenv.lib; {
homepage = http://libvterm.sourceforge.net/;
description = "Terminal emulator library to mimic both vt100 and rxvt";
license = with licenses; gpl2Plus;
platforms = platforms.linux;
};
}