summary refs log tree commit diff
path: root/pkgs/tools/X11/xautomation/default.nix
blob: 0521b6f8b3b48f402a54df56727075abca29f44e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
  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 = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ vaibhavsagar ];
    platforms = with lib.platforms; linux;
  };
}