fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchurl, pkg-config, glib, ncurses }:
2
3stdenv.mkDerivation rec {
4 pname = "libvterm";
5 version = "0.99.7";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/libvterm/${pname}-${version}.tar.gz";
9 sha256 = "10gaqygmmwp0cwk3j8qflri5caf8vl3f7pwfl2svw5whv8wkn0k2";
10 };
11
12 preInstall = ''
13 mkdir -p $out/include $out/lib
14 '';
15
16 postPatch = ''
17 substituteInPlace Makefile \
18 --replace "gcc" "${stdenv.cc.targetPrefix}cc" \
19 --replace "ldconfig" "" \
20 --replace "/usr" "$out"
21
22 makeFlagsArray+=("PKG_CFG=`${stdenv.cc.targetPrefix}pkg-config --cflags glib-2.0`")
23 '';
24
25 # For headers
26 propagatedBuildInputs = [ glib ];
27
28 strictDeps = true;
29
30 nativeBuildInputs = [ pkg-config ];
31 buildInputs = [ ncurses ];
32
33 meta = with lib; {
34 homepage = "http://libvterm.sourceforge.net/";
35 description = "Terminal emulator library to mimic both vt100 and rxvt";
36 license = licenses.gpl2Plus;
37 platforms = platforms.linux;
38 };
39}