2015-12-02 20:58:00 -08:00
|
|
|
{ gestures ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig
|
2013-02-28 21:48:33 -08:00
|
|
|
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
2015-12-05 08:15:20 -08:00
|
|
|
, libXpm, libXt, librsvg, libpng, fribidi, perl
|
2015-12-02 20:58:00 -08:00
|
|
|
, libstroke ? null
|
2013-02-28 21:48:33 -08:00
|
|
|
}:
|
|
|
|
|
2015-12-02 20:58:00 -08:00
|
|
|
assert gestures -> libstroke != null;
|
|
|
|
|
2013-02-28 21:48:33 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2017-06-12 13:25:00 -07:00
|
|
|
pname = "fvwm";
|
2019-09-26 08:34:23 -07:00
|
|
|
version = "2.6.9";
|
2013-02-28 21:48:33 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
|
2019-09-26 08:34:23 -07:00
|
|
|
sha256 = "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv";
|
2013-02-28 21:48:33 -08:00
|
|
|
};
|
|
|
|
|
2017-09-14 12:24:37 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2013-02-28 21:48:33 -08:00
|
|
|
buildInputs = [
|
2017-09-14 12:24:37 -07:00
|
|
|
cairo fontconfig freetype
|
2015-12-05 08:15:20 -08:00
|
|
|
libXft libXcursor libXinerama libXpm libXt
|
2013-02-28 21:48:33 -08:00
|
|
|
librsvg libpng fribidi perl
|
2015-12-02 20:58:00 -08:00
|
|
|
] ++ stdenv.lib.optional gestures libstroke;
|
2013-02-28 21:48:33 -08:00
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://fvwm.org";
|
2013-02-28 21:48:33 -08:00
|
|
|
description = "A multiple large virtual desktop window manager";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-04-06 06:05:32 -07:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ edanaher ];
|
2013-02-28 21:48:33 -08:00
|
|
|
};
|
|
|
|
}
|