2015-09-12 10:12:57 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xextproto, libXi, libXinerama, libxkbcommon }:
|
2011-04-19 20:51:40 +00:00
|
|
|
|
2015-09-12 10:12:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2011-04-19 20:51:40 +00:00
|
|
|
name = "xdotool-${version}";
|
2015-09-12 10:12:57 +00:00
|
|
|
version = "3.20150503.1";
|
2011-04-19 20:51:40 +00:00
|
|
|
src = fetchurl {
|
2015-09-12 10:12:57 +00:00
|
|
|
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
|
|
|
|
sha256 = "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8";
|
2011-04-19 20:51:40 +00:00
|
|
|
};
|
|
|
|
|
2015-09-12 10:12:57 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
buildInputs = [ libX11 libXtst xextproto libXi libXinerama libxkbcommon ];
|
2011-04-19 20:51:40 +00:00
|
|
|
|
2015-09-12 10:12:57 +00:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
2011-04-19 20:51:40 +00:00
|
|
|
|
|
|
|
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 20:51:40 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|