nixpkgs/pkgs/servers/gpm/default.nix
Lluís Batlle i Rossell 5103335a61 Making gpm crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=24879
2010-11-26 17:55:22 +00:00

24 lines
598 B
Nix

{ stdenv, fetchurl, flex, bison, ncurses }:
stdenv.mkDerivation rec {
name = "gpm-1.20.6";
src = fetchurl {
url = "http://www.nico.schottelius.org/software/gpm/archives/${name}.tar.bz2";
sha256 = "1990i19ddzn8gg5xwm53yn7d0mya885f48sd2hyvr7dvzyaw7ch8";
};
buildNativeInputs = [ flex bison ];
buildInputs = [ ncurses ];
preConfigure =
''
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
'';
meta = {
homepage = http://www.nico.schottelius.org/software/gpm/;
description = "A daemon that provides mouse support on the Linux console";
};
}