xdotool: 2.20110530.1 -> 3.20150503.1

Changed files
+14 -9
nixos
tests
pkgs
tools
X11
xdotool
+6
nixos/tests/chromium.nix
···
search --onlyvisible --name "startup done"
windowfocus --sync
windowactivate --sync
+
''}");
+
$machine->execute("${xdo "new-window" ''
key Ctrl+n
''}");
});
···
search --onlyvisible --name "new tab"
windowfocus --sync
windowactivate --sync
+
''}");
+
$machine->execute("${xdo "close-window" ''
key Ctrl+w
''}");
for (1..20) {
···
$machine->succeed("${xdo "submit-url" ''
search --sync --onlyvisible --name "sandbox status"
windowfocus --sync
+
''}");
+
$machine->succeed("${xdo "submit-url" ''
key --delay 1000 Ctrl+a Ctrl+c
''}");
+8 -9
pkgs/tools/X11/xdotool/default.nix
···
-
{ stdenv, fetchurl, libX11, perl, libXtst, xextproto, libXi, libXinerama }:
+
{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xextproto, libXi, libXinerama, libxkbcommon }:
-
let version = "2.20110530.1"; in
-
stdenv.mkDerivation {
+
stdenv.mkDerivation rec {
name = "xdotool-${version}";
+
version = "3.20150503.1";
src = fetchurl {
-
url = "http://semicomplete.googlecode.com/files/xdotool-${version}.tar.gz";
-
sha256 = "0rxggg1cy7nnkwidx8x2w3c5f3pk6dh2b6q0q7hp069r3n5jrd77";
+
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
+
sha256 = "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8";
};
-
buildInputs = [ libX11 perl libXtst xextproto libXi libXinerama ];
+
nativeBuildInputs = [ pkgconfig perl ];
+
buildInputs = [ libX11 libXtst xextproto libXi libXinerama libxkbcommon ];
-
configurePhase = ''
-
export makeFlags="PREFIX=$out";
-
'';
+
makeFlags = "PREFIX=$(out)";
meta = {
homepage = http://www.semicomplete.com/projects/xdotool/;