1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/X11/xdotool/default.nix

29 lines
881 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libX11, perl, libXtst, xorgproto, libXi, libXinerama, libxkbcommon }:
2015-09-12 11:12:57 +01:00
stdenv.mkDerivation rec {
pname = "xdotool";
2016-11-07 21:18:29 +00:00
version = "3.20160805.1";
src = fetchurl {
2015-09-12 11:12:57 +01:00
url = "https://github.com/jordansissel/xdotool/releases/download/v${version}/xdotool-${version}.tar.gz";
2016-11-07 21:18:29 +00:00
sha256 = "1a6c1zr86zb53352yxv104l76l8x21gfl2bgw6h21iphxpv5zgim";
};
2015-09-12 11:12:57 +01:00
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ libX11 libXtst xorgproto libXi libXinerama libxkbcommon ];
2016-11-07 21:18:29 +00:00
preBuild = ''
mkdir -p $out/lib
'';
2015-09-12 11:12:57 +01:00
makeFlags = "PREFIX=$(out)";
meta = {
2018-06-27 21:12:57 +01:00
homepage = https://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;
};
}