summary refs log tree commit diff
path: root/pkgs/development/libraries/libvterm
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-04 22:38:26 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-04 22:38:26 +0000
commit2e8ae96930240308d69341bc53973077c490cb89 (patch)
tree417e763b9bf897a93269d46e86eb288194acd18b /pkgs/development/libraries/libvterm
parent13a369476bfbec13962a7f061118d767adefa001 (diff)
downloadnixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar.gz
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar.bz2
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar.lz
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar.xz
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.tar.zst
nixpkgs-2e8ae96930240308d69341bc53973077c490cb89.zip
Updating vwm and its libraries.
svn path=/nixpkgs/trunk/; revision=18123
Diffstat (limited to 'pkgs/development/libraries/libvterm')
-rw-r--r--pkgs/development/libraries/libvterm/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvterm/default.nix b/pkgs/development/libraries/libvterm/default.nix
new file mode 100644
index 00000000000..b449d9c3ed3
--- /dev/null
+++ b/pkgs/development/libraries/libvterm/default.nix
@@ -0,0 +1,26 @@
+{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 = ''
+    ensureDir $out/include
+    ensureDir $out/lib
+  '';
+
+  buildInputs = [pkgconfig glib ncurses];
+
+  meta = {
+    homepage = http://libvterm.sourceforge.net/;
+    description = "Terminal emulator library to mimic both vt100 and rxvt";
+    license="GPLv2+";
+  };
+}