nixpkgs/pkgs/tools/X11/xdotool/default.nix

24 lines
844 B
Nix
Raw Normal View History

2015-09-12 12:12:57 +02:00
{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xextproto, libXi, libXinerama, libxkbcommon }:
2015-09-12 12:12:57 +02:00
stdenv.mkDerivation rec {
name = "xdotool-${version}";
2015-09-12 12:12:57 +02:00
version = "3.20150503.1";
src = fetchurl {
2015-09-12 12:12:57 +02:00
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
sha256 = "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8";
};
2015-09-12 12:12:57 +02:00
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ libX11 libXtst xextproto libXi libXinerama libxkbcommon ];
2015-09-12 12:12:57 +02:00
makeFlags = "PREFIX=$(out)";
meta = {
homepage = http://www.semicomplete.com/projects/xdotool/;
description = "Fake keyboard/mouse input, window management, and more";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}