85cb38094e
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/2bw1nsnhxb296d0kn7xdq6dvkpanixcx-devilspie2-0.43/bin/devilspie2 -h` got 0 exit code - ran `/nix/store/2bw1nsnhxb296d0kn7xdq6dvkpanixcx-devilspie2-0.43/bin/devilspie2 --help` got 0 exit code - ran `/nix/store/2bw1nsnhxb296d0kn7xdq6dvkpanixcx-devilspie2-0.43/bin/devilspie2 help` got 0 exit code - found 0.43 in filename of file in /nix/store/2bw1nsnhxb296d0kn7xdq6dvkpanixcx-devilspie2-0.43
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, lua, libwnck3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "devilspie2-${version}";
|
|
version = "0.43";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.savannah.gnu.org/releases/devilspie2/devilspie2_${version}-src.tar.gz";
|
|
sha256 = "0a7qjl2qd4099kkkbwa1y2fk48s21jlr409lf9mij7mlc9yc3zzc";
|
|
};
|
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
|
buildInputs = [ glib gtk lua libwnck3 ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
cp bin/devilspie2 $out/bin
|
|
cp devilspie2.1 $out/share/man/man1
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A window matching utility";
|
|
longDescription = ''
|
|
Devilspie2 is a window matching utility, allowing the user to
|
|
perform scripted actions on windows as they are created. For
|
|
example you can script a terminal program to always be
|
|
positioned at a specific screen position, or position a window
|
|
on a specific workspace.
|
|
'';
|
|
homepage = http://www.gusnan.se/devilspie2/;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.ebzzry ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|