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