about summary refs log tree commit diff
path: root/pkgs/tools/X11/wmctrl/default.nix
diff options
context:
space:
mode:
authorSergey Mironov <grrwlf@gmail.com>2013-07-26 18:15:22 +0400
committerVladimír Čunát <vcunat@gmail.com>2013-07-27 20:11:29 +0200
commit1fa3afeb9118200c8007b6bb06896cedfe6dce47 (patch)
tree59ce6b7f95649e0b72d2f8179a433ce540f94789 /pkgs/tools/X11/wmctrl/default.nix
parent75dedeb8bdaae815bb85fb155655e7372cee9b68 (diff)
wmctrl: command-line window-manipulation tool
Diffstat (limited to 'pkgs/tools/X11/wmctrl/default.nix')
-rw-r--r--pkgs/tools/X11/wmctrl/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/X11/wmctrl/default.nix b/pkgs/tools/X11/wmctrl/default.nix
new file mode 100644
index 0000000000000..901eab0d1a640
--- /dev/null
+++ b/pkgs/tools/X11/wmctrl/default.nix
@@ -0,0 +1,20 @@
+{stdenv, fetchurl, libX11, glib, pkgconfig, libXmu }:
+
+stdenv.mkDerivation rec {
+  
+  name = "wmctrl-1.07";
+ 
+  src = fetchurl {
+    url = "http://tomas.styblo.name/wmctrl/dist/${name}.tar.gz";
+    sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
+  };
+ 
+  buildInputs = [ libX11 libXmu glib pkgconfig ];
+
+  meta = {
+    homepage = http://tomas.styblo.name/wmctrl/;
+    description = "wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager";
+    license = "GPL";
+    platforms = with stdenv.lib.platforms; all;
+  };
+}