2014-10-17 09:13:53 +02:00
|
|
|
{ stdenv, fetchurl, libX11, perl, libXtst, xextproto, libXi, libXinerama }:
|
2011-04-19 22:51:40 +02:00
|
|
|
|
2014-10-17 09:13:53 +02:00
|
|
|
let version = "2.20110530.1"; in
|
2011-04-19 22:51:40 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "xdotool-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://semicomplete.googlecode.com/files/xdotool-${version}.tar.gz";
|
2014-10-17 09:13:53 +02:00
|
|
|
sha256 = "0rxggg1cy7nnkwidx8x2w3c5f3pk6dh2b6q0q7hp069r3n5jrd77";
|
2011-04-19 22:51:40 +02:00
|
|
|
};
|
|
|
|
|
2014-10-17 09:13:53 +02:00
|
|
|
buildInputs = [ libX11 perl libXtst xextproto libXi libXinerama ];
|
2011-04-19 22:51:40 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|