2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libX11, perl, libXtst, xorgproto, libXi, libXinerama, libxkbcommon }:
|
2011-04-19 20:51:40 +00:00
|
|
|
|
2015-09-12 10:12:57 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xdotool";
|
2016-11-07 21:18:29 +00:00
|
|
|
version = "3.20160805.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";
|
2016-11-07 21:18:29 +00:00
|
|
|
sha256 = "1a6c1zr86zb53352yxv104l76l8x21gfl2bgw6h21iphxpv5zgim";
|
2011-04-19 20:51:40 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ libX11 libXtst xorgproto libXi libXinerama libxkbcommon ];
|
2011-04-19 20:51:40 +00:00
|
|
|
|
2016-11-07 21:18:29 +00:00
|
|
|
preBuild = ''
|
|
|
|
mkdir -p $out/lib
|
|
|
|
'';
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2011-04-19 20:51:40 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.semicomplete.com/projects/xdotool/";
|
2011-04-19 20:51:40 +00:00
|
|
|
description = "Fake keyboard/mouse input, window management, and more";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [viric];
|
|
|
|
platforms = with lib.platforms; linux;
|
2011-04-19 20:51:40 +00:00
|
|
|
};
|
|
|
|
}
|