1 { lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk, lua, libwnck }:
3 stdenv.mkDerivation rec {
8 url = "https://download.savannah.gnu.org/releases/devilspie2/devilspie2-${version}.tar.xz";
9 sha256 = "Cp8erdKyKjGBY+QYAGXUlSIboaQ60gIepoZs0RgEJkA=";
12 nativeBuildInputs = [ intltool pkg-config ];
13 buildInputs = [ glib gtk lua libwnck ];
16 mkdir -p $out/bin $out/share/man/man1
17 cp bin/devilspie2 $out/bin
18 cp devilspie2.1 $out/share/man/man1
22 description = "A window matching utility";
24 Devilspie2 is a window matching utility, allowing the user to
25 perform scripted actions on windows as they are created. For
26 example you can script a terminal program to always be
27 positioned at a specific screen position, or position a window
28 on a specific workspace.
30 homepage = "https://www.nongnu.org/devilspie2/";
31 license = licenses.gpl3;
32 maintainers = [ maintainers.ebzzry ];
33 platforms = platforms.linux;
34 mainProgram = "devilspie2";