2015-12-03 04:58:00 +00:00
|
|
|
{ gestures ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig
|
2013-03-01 05:48:33 +00:00
|
|
|
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
2015-12-05 16:15:20 +00:00
|
|
|
, libXpm, libXt, librsvg, libpng, fribidi, perl
|
2015-12-03 04:58:00 +00:00
|
|
|
, libstroke ? null
|
2013-03-01 05:48:33 +00:00
|
|
|
}:
|
|
|
|
|
2015-12-03 04:58:00 +00:00
|
|
|
assert gestures -> libstroke != null;
|
|
|
|
|
2013-03-01 05:48:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-06-19 10:10:00 +01:00
|
|
|
name = "fvwm-2.6.6";
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-19 10:10:00 +01:00
|
|
|
url = "https://github.com/fvwmorg/fvwm/releases/download/version-2_6_6/${name}.tar.gz";
|
|
|
|
sha256 = "c5de085ff25b2128a401a80225481e63335f815f84eea139f80a5f66e606dc2c";
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig cairo fontconfig freetype
|
2015-12-05 16:15:20 +00:00
|
|
|
libXft libXcursor libXinerama libXpm libXt
|
2013-03-01 05:48:33 +00:00
|
|
|
librsvg libpng fribidi perl
|
2015-12-03 04:58:00 +00:00
|
|
|
] ++ stdenv.lib.optional gestures libstroke;
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://fvwm.org";
|
|
|
|
description = "A multiple large virtual desktop window manager";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
}
|