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

stdenv.mkDerivation rec {
   name = "xdo-0.3";

   src = fetchurl {
     url = "https://github.com/baskerville/xdo/archive/0.3.tar.gz";
     sha256 = "128flaydag9ixsai87p85r84arg2pn1j9h3zgdjwlmbcpb8d4ia8";
   };

   prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';

   buildInputs = [ libxcb xcbutilwm ];

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