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