2014-09-25 23:28:42 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, xextproto, libXtst, libXi, libXext
|
|
|
|
, libXinerama, glib, cairo, xdotool }:
|
2007-08-04 14:21:09 +01:00
|
|
|
|
2009-10-28 14:06:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-26 21:00:06 +01:00
|
|
|
name = "keynav-0.20110708.0";
|
2009-10-28 14:06:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-25 23:28:42 +01:00
|
|
|
url = "https://semicomplete.googlecode.com/files/${name}.tar.gz";
|
2014-09-26 21:00:06 +01:00
|
|
|
sha256 = "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z";
|
2009-10-28 14:06:56 +00:00
|
|
|
};
|
2007-08-04 14:21:09 +01:00
|
|
|
|
2014-09-25 23:28:42 +01:00
|
|
|
buildInputs = [ pkgconfig libX11 xextproto libXtst libXi libXext libXinerama
|
|
|
|
glib cairo xdotool ];
|
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
|
|
|
|
2014-09-25 23:28:42 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Generate X11 mouse clicks from keyboard";
|
2014-09-25 23:28:42 +01:00
|
|
|
homepage = http://www.semicomplete.com/projects/keynav/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
2007-08-04 14:21:09 +01:00
|
|
|
};
|
|
|
|
}
|