2015-12-03 05:58:00 +01:00
|
|
|
{ gestures ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig
|
2013-03-01 06:48:33 +01:00
|
|
|
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
|
|
|
, libXpm, librsvg, libpng, fribidi, perl
|
2015-12-03 05:58:00 +01:00
|
|
|
, libstroke ? null
|
2013-03-01 06:48:33 +01:00
|
|
|
}:
|
|
|
|
|
2015-12-03 05:58:00 +01:00
|
|
|
assert gestures -> libstroke != null;
|
|
|
|
|
2013-03-01 06:48:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fvwm-2.6.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.fvwm.org/pub/fvwm/version-2/${name}.tar.bz2";
|
|
|
|
sha256 = "1ks8igvmzm0m0sra05k8xzc8vkqy3gv1qskl6davw1irqnarjm11";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig cairo fontconfig freetype
|
|
|
|
libXft libXcursor libXinerama libXpm
|
|
|
|
librsvg libpng fribidi perl
|
2015-12-03 05:58:00 +01:00
|
|
|
] ++ stdenv.lib.optional gestures libstroke;
|
2013-03-01 06:48:33 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://fvwm.org";
|
|
|
|
description = "A multiple large virtual desktop window manager";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-03-01 06:48:33 +01:00
|
|
|
};
|
|
|
|
}
|