nixpkgs/pkgs/development/libraries/libviper/default.nix

27 lines
649 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, glib, ncurses, gpm}:
stdenv.mkDerivation rec {
2013-12-13 20:46:34 +00:00
name = "libviper-1.4.6";
src = fetchurl {
url = "mirror://sourceforge/libviper/${name}.tar.gz";
2013-12-13 20:46:34 +00:00
sha256 = "1jvm7wdgw6ixyhl0pcfr9lnr9g6sg6whyrs9ihjiz0agvqrgvxwc";
};
patchPhase = ''
sed -i -e s@/usr/local@$out@ -e /ldconfig/d -e '/cd vdk/d' Makefile
'';
preInstall = ''
mkdir -p $out/include
mkdir -p $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+";
};
}