2014-10-17 08:13:53 +01:00
|
|
|
{ stdenv, fetchurl, libX11, perl, libXtst, xextproto, libXi, libXinerama }:
|
2011-04-19 21:51:40 +01:00
|
|
|
|
2014-10-17 08:13:53 +01:00
|
|
|
let version = "2.20110530.1"; in
|
2011-04-19 21:51:40 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "xdotool-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://semicomplete.googlecode.com/files/xdotool-${version}.tar.gz";
|
2014-10-17 08:13:53 +01:00
|
|
|
sha256 = "0rxggg1cy7nnkwidx8x2w3c5f3pk6dh2b6q0q7hp069r3n5jrd77";
|
2011-04-19 21:51:40 +01:00
|
|
|
};
|
|
|
|
|
2014-10-17 08:13:53 +01:00
|
|
|
buildInputs = [ libX11 perl libXtst xextproto libXi libXinerama ];
|
2011-04-19 21:51:40 +01:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
export makeFlags="PREFIX=$out";
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.semicomplete.com/projects/xdotool/;
|
|
|
|
description = "Fake keyboard/mouse input, window management, and more";
|
2014-12-20 23:00:35 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2011-04-19 21:51:40 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|