aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libviper
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-22 21:33:24 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-22 21:33:24 +0000
commit202106305235b3bd0701e07740de5f5e75967310 (patch)
treef1d3ffa745ee48d5ab9e619047ee3bb482f9a0eb /pkgs/development/libraries/libviper
parentea2d78f2bd35104f81967f095a7f0b7bc29e371d (diff)
Adding vwm, the console window manager.
svn path=/nixpkgs/trunk/; revision=15255
Diffstat (limited to 'pkgs/development/libraries/libviper')
-rw-r--r--pkgs/development/libraries/libviper/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libviper/default.nix b/pkgs/development/libraries/libviper/default.nix
new file mode 100644
index 000000000000..10dee7d56384
--- /dev/null
+++ b/pkgs/development/libraries/libviper/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchurl, pkgconfig, glib, ncurses, gpm}:
+stdenv.mkDerivation {
+ name = "libviper-1.2.2";
+
+ src = fetchurl {
+ url = mirror://sourceforge/libviper/libviper-1.4.2.tar.gz;
+ sha256 = "06ff9i914cxi3ifnr5xfpfbvz46kx150jaxvr6rcha6ylglw48c9";
+ };
+
+ patchPhase = ''
+ sed -i -e s@/usr/local@$out@ -e /ldconfig/d -e '/cd vdk/d' Makefile
+ '';
+
+ preInstall = ''
+ ensureDir $out/include
+ ensureDir $out/lib
+ '';
+
+ buildInputs = [pkgconfig glib ncurses gpm];
+
+ meta = {
+ homepage = http://libviper.sourceforge.net/;
+ description = "Simple window creation and management facilities for the console";
+ license="GPLv2+";
+ };
+}