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