2009-04-22 22:33:24 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, ncurses, gpm}:
|
2009-11-04 22:38:26 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-13 20:46:34 +00:00
|
|
|
name = "libviper-1.4.6";
|
2009-04-22 22:33:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-11-04 22:38:26 +00:00
|
|
|
url = "mirror://sourceforge/libviper/${name}.tar.gz";
|
2013-12-13 20:46:34 +00:00
|
|
|
sha256 = "1jvm7wdgw6ixyhl0pcfr9lnr9g6sg6whyrs9ihjiz0agvqrgvxwc";
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s@/usr/local@$out@ -e /ldconfig/d -e '/cd vdk/d' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/include
|
|
|
|
mkdir -p $out/lib
|
2009-04-22 22:33:24 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig glib ncurses gpm];
|
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-04-22 22:33:24 +01:00
|
|
|
homepage = http://libviper.sourceforge.net/;
|
|
|
|
description = "Simple window creation and management facilities for the console";
|
2015-05-27 20:56:04 +01:00
|
|
|
license = with licenses; gpl2Plus;
|
2009-04-22 22:33:24 +01:00
|
|
|
};
|
|
|
|
}
|