2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libpng, libX11, libXext, libXi, libXtst }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let version = "1.09"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "xautomation";
|
|
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.hoopajoo.net/static/projects/xautomation-${version}.tar.gz";
|
|
|
|
sha256 = "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libpng libX11 libXext libXi libXtst ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.hoopajoo.net/projects/xautomation.html";
|
|
|
|
description = "Control X from the command line for scripts, and do \"visual scraping\" to find things on the screen";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ vaibhavsagar ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|