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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
865 B
Nix
Raw Normal View History

2021-08-15 21:28:37 +02:00
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, perl, libXtst, xorgproto, libXi, libXinerama, libxkbcommon, libXext }:
2015-09-12 12:12:57 +02:00
stdenv.mkDerivation rec {
pname = "xdotool";
2021-10-28 09:43:39 +02:00
version = "3.20211022.1";
2016-11-07 22:18:29 +01:00
2021-08-15 21:28:37 +02:00
src = fetchFromGitHub {
owner = "jordansissel";
repo = pname;
rev = "v${version}";
2021-10-28 09:43:39 +02:00
sha256 = "sha256-XFiaiHHtUSNFw+xhUR29+2RUHOa+Eyj1HHfjCUjwd9k=";
};
nativeBuildInputs = [ pkg-config perl ];
2021-08-15 21:28:37 +02:00
buildInputs = [ libX11 libXtst xorgproto libXi libXinerama libxkbcommon libXext ];
2016-11-07 22:18:29 +01:00
preBuild = ''
mkdir -p $out/lib
'';
makeFlags = [ "PREFIX=$(out)" ];
meta = {
homepage = "https://www.semicomplete.com/projects/xdotool/";
description = "Fake keyboard/mouse input, window management, and more";
2021-01-15 10:19:50 +01:00
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux;
};
}