depot/third_party/nixpkgs/pkgs/tools/X11/xautomation/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
807 B
Nix

{ stdenv, fetchurl, pkgconfig, libpng, libX11, libXext, libXi, libXtst }:
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";
};
nativeBuildInputs = [ pkgconfig ];
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";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ vaibhavsagar ];
platforms = with stdenv.lib.platforms; linux;
};
}