about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/xdo/default.nix
blob: c33e01fa0e7124cfaf0e81dff67c675ef38146a2 (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 {
   name = "xdo-${version}";
   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;
   };
}