2021-06-23 20:22:04 +02:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk, lua, libwnck }:
|
2015-09-09 23:11:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "devilspie2";
|
2018-02-26 05:00:19 +01:00
|
|
|
version = "0.43";
|
2015-09-09 23:11:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-01 18:07:00 +01:00
|
|
|
url = "https://download.savannah.gnu.org/releases/devilspie2/devilspie2_${version}-src.tar.gz";
|
2018-02-26 05:00:19 +01:00
|
|
|
sha256 = "0a7qjl2qd4099kkkbwa1y2fk48s21jlr409lf9mij7mlc9yc3zzc";
|
2015-09-09 23:11:56 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ intltool pkg-config ];
|
2021-06-23 20:22:04 +02:00
|
|
|
buildInputs = [ glib gtk lua libwnck ];
|
2015-09-09 23:11:56 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
cp bin/devilspie2 $out/bin
|
|
|
|
cp devilspie2.1 $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-03-20 02:02:30 +01:00
|
|
|
description = "A window matching utility";
|
2015-09-09 23:11:56 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-03-28 00:06:12 +01:00
|
|
|
homepage = "https://www.gusnan.se/devilspie2/";
|
2015-09-09 23:11:56 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ebzzry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|