2022-07-28 04:29:46 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, cairo
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, fribidi
|
|
|
|
, libXcursor
|
|
|
|
, libXft
|
|
|
|
, libXinerama
|
|
|
|
, libXpm
|
|
|
|
, libXt
|
|
|
|
, libpng
|
|
|
|
, librsvg
|
|
|
|
, libstroke
|
|
|
|
, libxslt
|
|
|
|
, perl
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, enableGestures ? false
|
|
|
|
}:
|
2015-12-03 04:58:00 +00:00
|
|
|
|
2013-03-01 05:48:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-06-12 20:25:00 +00:00
|
|
|
pname = "fvwm";
|
2019-09-26 15:34:23 +00:00
|
|
|
version = "2.6.9";
|
2013-03-01 05:48:33 +00:00
|
|
|
|
2021-04-01 11:56:25 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fvwmorg";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-07-28 04:29:46 +00:00
|
|
|
hash = "sha256-sBVOrrl2WrZ2wWN/r1kDUtR+tPwXgDoSJDaxGeFkXJI=";
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
|
2021-04-01 11:56:25 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2022-07-28 04:29:46 +00:00
|
|
|
|
2013-03-01 05:48:33 +00:00
|
|
|
buildInputs = [
|
2021-04-01 11:56:25 +00:00
|
|
|
cairo
|
|
|
|
fontconfig
|
|
|
|
freetype
|
2022-07-28 04:29:46 +00:00
|
|
|
fribidi
|
2021-04-01 11:56:25 +00:00
|
|
|
libXcursor
|
2022-07-28 04:29:46 +00:00
|
|
|
libXft
|
2021-04-01 11:56:25 +00:00
|
|
|
libXinerama
|
|
|
|
libXpm
|
|
|
|
libXt
|
|
|
|
libpng
|
2022-07-28 04:29:46 +00:00
|
|
|
librsvg
|
|
|
|
libxslt
|
2021-04-01 11:56:25 +00:00
|
|
|
perl
|
|
|
|
readline
|
|
|
|
] ++ lib.optional enableGestures libstroke;
|
|
|
|
|
2022-07-28 04:29:46 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-mandoc"
|
|
|
|
"--disable-htmldoc"
|
|
|
|
];
|
2013-03-01 05:48:33 +00:00
|
|
|
|
2022-07-28 04:29:46 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://fvwm.org";
|
2013-03-01 05:48:33 +00:00
|
|
|
description = "A multiple large virtual desktop window manager";
|
2022-07-28 04:29:46 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ edanaher ];
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
}
|