2018-12-31 04:40:47 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xorgproto, libXi, libXinerama, libxkbcommon }:
|
2011-04-19 22:51:40 +02:00
|
|
|
|
2015-09-12 12:12:57 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2011-04-19 22:51:40 +02:00
|
|
|
name = "xdotool-${version}";
|
2016-11-07 22:18:29 +01:00
|
|
|
version = "3.20160805.1";
|
|
|
|
|
2011-04-19 22:51:40 +02:00
|
|
|
src = fetchurl {
|
2015-09-12 12:12:57 +02:00
|
|
|
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
|
2016-11-07 22:18:29 +01:00
|
|
|
sha256 = "1a6c1zr86zb53352yxv104l76l8x21gfl2bgw6h21iphxpv5zgim";
|
2011-04-19 22:51:40 +02:00
|
|
|
};
|
|
|
|
|
2015-09-12 12:12:57 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
2018-12-31 04:40:47 +01:00
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi libXinerama libxkbcommon ];
|
2011-04-19 22:51:40 +02:00
|
|
|
|
2016-11-07 22:18:29 +01:00
|
|
|
preBuild = ''
|
|
|
|
mkdir -p $out/lib
|
|
|
|
'';
|
|
|
|
|
2015-09-12 12:12:57 +02:00
|
|
|
makeFlags = "PREFIX=$(out)";
|
2011-04-19 22:51:40 +02:00
|
|
|
|
|
|
|
meta = {
|
2018-06-27 22:12:57 +02:00
|
|
|
homepage = https://www.semicomplete.com/projects/xdotool/;
|
2011-04-19 22:51:40 +02:00
|
|
|
description = "Fake keyboard/mouse input, window management, and more";
|
2014-12-21 00:00:35 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2011-04-19 22:51:40 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|