diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-04-19 20:51:40 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-04-19 20:51:40 +0000 |
commit | 167912d19efa7ac32ad791d5740eb631c2fd376f (patch) | |
tree | 70cde35bfcfbeea5cea3e7f15196d1c7e390ddfa /pkgs/tools/X11/xdotool | |
parent | b2c4b433b467f8a8df03555fa610e133af4f7fb2 (diff) |
Adding xdotool
svn path=/nixpkgs/trunk/; revision=26896
Diffstat (limited to 'pkgs/tools/X11/xdotool')
-rw-r--r-- | pkgs/tools/X11/xdotool/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xdotool/default.nix b/pkgs/tools/X11/xdotool/default.nix new file mode 100644 index 000000000000..c0acb2f70c84 --- /dev/null +++ b/pkgs/tools/X11/xdotool/default.nix @@ -0,0 +1,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; + }; +} |