Adding xdotool

svn path=/nixpkgs/trunk/; revision=26896
This commit is contained in:
Lluís Batlle i Rossell 2011-04-19 20:51:40 +00:00
parent b2c4b433b4
commit 167912d19e
2 changed files with 26 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -6998,6 +6998,8 @@ let
xdg_utils = callPackage ../tools/X11/xdg-utils { };
xdotool = callPackage ../tools/X11/xdotool { };
xen = callPackage ../applications/virtualization/xen { };
xfig = callPackage ../applications/graphics/xfig {