summary refs log tree commit diff
path: root/pkgs/tools/X11/xdotool/default.nix
blob: c0acb2f70c84b8daa503a50840c3c53609967298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, libX11, perl, libXtst, xextproto, libXi }:

let version = "2.20101012.3049"; in
stdenv.mkDerivation {
  name = "xdotool-${version}";
  src = fetchurl {
    url = "http://semicomplete.googlecode.com/files/xdotool-${version}.tar.gz";
    sha256 = "0amkb1zvdk0gj7va3rjw9arbyj8pgprkdik05yl6rghq21q076ls";
  };

  buildInputs = [ libX11 perl libXtst xextproto libXi ];

  configurePhase = ''
    export makeFlags="PREFIX=$out";
  '';

  meta = {
    homepage = http://www.semicomplete.com/projects/xdotool/;
    description = "Fake keyboard/mouse input, window management, and more";
    license = "BSD";
    maintainers = with stdenv.lib.maintainers; [viric];
    platforms = with stdenv.lib.platforms; linux;
  };
}