2015-12-03 04:58:00 +00:00
|
|
|
{ gestures ? false
|
2021-01-19 06:50:56 +00:00
|
|
|
, lib, stdenv, fetchurl, pkg-config
|
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 {
|
2017-06-12 21:25:00 +01:00
|
|
|
pname = "fvwm";
|
2019-09-26 16:34:23 +01:00
|
|
|
version = "2.6.9";
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
|
2019-09-26 16:34:23 +01:00
|
|
|
sha256 = "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv";
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2013-03-01 05:48:33 +00:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
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
|
2021-01-15 13:21:58 +00:00
|
|
|
] ++ lib.optional gestures libstroke;
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://fvwm.org";
|
2013-03-01 05:48:33 +00:00
|
|
|
description = "A multiple large virtual desktop window manager";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ edanaher ];
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
}
|