1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/X11/xdotool/default.nix
Lluís Batlle i Rossell 167912d19e Adding xdotool
svn path=/nixpkgs/trunk/; revision=26896
2011-04-19 20:51:40 +00:00

25 lines
733 B
Nix

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