summary refs log tree commit diff
path: root/pkgs/tools/misc/xdo/default.nix
blob: f9928b6f140fb4d0a523e48b87a56e9197e93775 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }:

stdenv.mkDerivation rec {
   pname = "xdo";
   version = "0.5.7";

   src = fetchFromGitHub {
     owner = "baskerville";
     repo = "xdo";
     rev = version;
     sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9";
   };

   makeFlags = [ "PREFIX=$(out)" ];

   buildInputs = [ libxcb xcbutilwm xcbutil ];

   meta = with stdenv.lib; {
     description = "Small X utility to perform elementary actions on windows";
     homepage = "https://github.com/baskerville/xdo";
     maintainers = with maintainers; [ meisternu ];
     license = licenses.bsd2;
     platforms = platforms.linux;
   };
}