nixpkgs/pkgs/tools/X11/keynav/default.nix
2014-09-26 00:30:07 +02:00

29 lines
869 B
Nix

{ stdenv, fetchurl, pkgconfig, libX11, xextproto, libXtst, libXi, libXext
, libXinerama, glib, cairo, xdotool }:
stdenv.mkDerivation rec {
name = "keynav-0.20101014.3067";
src = fetchurl {
url = "https://semicomplete.googlecode.com/files/${name}.tar.gz";
sha256 = "05jpq17xqccv97mrqq2rgm4jwq4s8lkyq49rfaq7sz4gbnq1832k";
};
buildInputs = [ pkgconfig libX11 xextproto libXtst libXi libXext libXinerama
glib cairo xdotool ];
installPhase =
''
mkdir -p $out/bin $out/share/keynav/doc
cp keynav $out/bin
cp keynavrc $out/share/keynav/doc
'';
meta = with stdenv.lib; {
description = "Generate X11 mouse clicks from keyboard";
homepage = http://www.semicomplete.com/projects/keynav/;
license = licenses.bsd3;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}