1{stdenv, fetchurl, libX11, glib, pkgconfig, libXmu }:
2
3stdenv.mkDerivation rec {
4
5 name = "wmctrl-1.07";
6
7 src = fetchurl {
8 url = "http://tomas.styblo.name/wmctrl/dist/${name}.tar.gz";
9 sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
10 };
11
12 buildInputs = [ libX11 libXmu glib pkgconfig ];
13
14 patches = [ ./64-bit-data.patch ];
15
16 meta = {
17 homepage = http://tomas.styblo.name/wmctrl/;
18 description = "Command line tool to interact with an EWMH/NetWM compatible X Window Manager";
19 license = stdenv.lib.licenses.gpl2;
20 platforms = with stdenv.lib.platforms; all;
21 };
22}