2009-10-28 14:06:56 +00:00
|
|
|
{ stdenv, fetchurl, libX11, xextproto, libXtst, imake, libXi, libXext }:
|
2007-08-04 14:21:09 +01:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "keynav-20070903";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.semicomplete.com/files/keynav/${name}.tar.gz";
|
|
|
|
sha256 = "037mbgm78jwy0qd0z691pgx4zcpkk5544fx8ajm2mx4y80k2d9kk";
|
|
|
|
};
|
2007-08-04 14:21:09 +01:00
|
|
|
|
|
|
|
buildInputs = [libX11 xextproto libXtst imake libXi libXext];
|
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
NIX_LDFLAGS = "-lXext";
|
2008-03-17 06:28:22 +00:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/bin $out/share/keynav/doc
|
|
|
|
cp keynav $out/bin
|
|
|
|
cp keynavrc $out/share/keynav/doc
|
|
|
|
'';
|
2007-08-04 14:21:09 +01:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
meta = {
|
|
|
|
description = "A tool to generate X11 mouse clicks from keyboard.";
|
2007-08-04 14:21:09 +01:00
|
|
|
};
|
|
|
|
}
|