mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
24 lines
844 B
Nix
24 lines
844 B
Nix
{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xextproto, libXi, libXinerama, libxkbcommon }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xdotool-${version}";
|
|
version = "3.20150503.1";
|
|
src = fetchurl {
|
|
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
|
|
sha256 = "1lcngsw33fy9my21rdiz1gs474bfdqcfxjrnfggbx4aypn1nhcp8";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
buildInputs = [ libX11 libXtst xextproto libXi libXinerama libxkbcommon ];
|
|
|
|
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;
|
|
};
|
|
}
|