nixpkgs/pkgs/applications/window-managers/fvwm/default.nix

34 lines
970 B
Nix
Raw Normal View History

{ 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
, libstroke ? null
2013-03-01 05:48:33 +00:00
}:
assert gestures -> libstroke != null;
2013-03-01 05:48:33 +00:00
stdenv.mkDerivation rec {
pname = "fvwm";
version = "2.6.7";
name = "${pname}-${version}";
2013-03-01 05:48:33 +00:00
src = fetchurl {
url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${name}.tar.gz";
sha256 = "01654d5abdcde6dac131cae9befe5cf6f01f9f7524d097c3b0f316e39f84ef73";
2013-03-01 05:48:33 +00:00
};
buildInputs = [
pkgconfig 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
] ++ stdenv.lib.optional gestures libstroke;
2013-03-01 05:48:33 +00:00
meta = {
homepage = "http://fvwm.org";
description = "A multiple large virtual desktop window manager";
license = stdenv.lib.licenses.gpl2Plus;
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
};
}