2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libpng, libX11, libXext, libXi, libXtst }:
|
2017-07-11 20:43:04 +02:00
|
|
|
|
2021-07-14 17:10:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "xautomation";
|
2021-07-14 17:10:11 +02:00
|
|
|
version = "1.09";
|
2017-07-11 20:43:04 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.hoopajoo.net/static/projects/xautomation-${version}.tar.gz";
|
|
|
|
sha256 = "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf";
|
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-07-11 20:43:04 +02:00
|
|
|
buildInputs = [ libpng libX11 libXext libXi libXtst ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.hoopajoo.net/projects/xautomation.html";
|
2017-07-11 20:43:04 +02:00
|
|
|
description = "Control X from the command line for scripts, and do \"visual scraping\" to find things on the screen";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ vaibhavsagar ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2017-07-11 20:43:04 +02:00
|
|
|
};
|
|
|
|
}
|