2020-04-24 23:36:52 +00:00
|
|
|
{ gestures ? false
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib, stdenv, fetchurl, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
|
|
|
|
, libXpm, libXt, librsvg, libpng, fribidi, perl
|
|
|
|
, libstroke ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert gestures -> libstroke != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fvwm";
|
|
|
|
version = "2.6.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
cairo fontconfig freetype
|
|
|
|
libXft libXcursor libXinerama libXpm libXt
|
|
|
|
librsvg libpng fribidi perl
|
2021-01-17 00:15:33 +00:00
|
|
|
] ++ lib.optional gestures libstroke;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://fvwm.org";
|
|
|
|
description = "A multiple large virtual desktop window manager";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ edanaher ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|