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 {
|
2017-06-12 20:25:00 +00:00
|
|
|
pname = "fvwm";
|
2018-06-11 21:11:03 +00:00
|
|
|
version = "2.6.8";
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
|
2018-06-11 21:11:03 +00:00
|
|
|
sha256 = "0hgkkdzcqjnaabvv9cnh0bz90nnjskbhjg9qnzpi2x0mbliwjdpv";
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
|
2017-09-14 19:24:37 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2013-03-01 05:48:33 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00: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
|
2015-12-03 04:58:00 +00:00
|
|
|
] ++ stdenv.lib.optional gestures libstroke;
|
2013-03-01 05:48:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://fvwm.org;
|
2013-03-01 05:48:33 +00:00
|
|
|
description = "A multiple large virtual desktop window manager";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-04-06 13:05:32 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ edanaher ];
|
2013-03-01 05:48:33 +00:00
|
|
|
};
|
|
|
|
}
|