diff options
author | Vaibhav Sagar <vaibhavsagar@gmail.com> | 2017-07-12 02:43:04 +0800 |
---|---|---|
committer | Vaibhav Sagar <vaibhavsagar@gmail.com> | 2017-07-12 14:13:10 +0800 |
commit | b9dfbeb82816689f0c42e78d462327032001af49 (patch) | |
tree | b6076b3f608af6a710126ca4e52a95075ad721d5 /pkgs/tools/X11/xautomation | |
parent | 5ba05aaab9adfe2cd1f701c52e85f78c471cd9b6 (diff) | |
download | nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar.gz nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar.bz2 nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar.lz nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar.xz nixlib-b9dfbeb82816689f0c42e78d462327032001af49.tar.zst nixlib-b9dfbeb82816689f0c42e78d462327032001af49.zip |
xautomation: init at 1.09
Diffstat (limited to 'pkgs/tools/X11/xautomation')
-rw-r--r-- | pkgs/tools/X11/xautomation/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xautomation/default.nix b/pkgs/tools/X11/xautomation/default.nix new file mode 100644 index 000000000000..79ef4cb56dcb --- /dev/null +++ b/pkgs/tools/X11/xautomation/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, libpng, libX11, libXext, libXi, libXtst }: + +let version = "1.09"; in +stdenv.mkDerivation { + name = "xautomation-${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; + }; +} |