summary refs log tree commit diff
path: root/pkgs/applications/window-managers/fvwm/default.nix
blob: 07c3573fb2a77e3febf6df11c245b8f1db4f7737 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ autoreconfHook, enableGestures ? false, lib, stdenv, fetchFromGitHub
, pkg-config, cairo, fontconfig, freetype, libXft, libXcursor, libXinerama
, libXpm, libXt, librsvg, libpng, fribidi, perl, libstroke, readline, libxslt }:

stdenv.mkDerivation rec {
  pname = "fvwm";
  version = "2.6.9";

  src = fetchFromGitHub {
    owner = "fvwmorg";
    repo = pname;
    rev = version;
    sha256 = "14jwckhikc9n4h93m00pzjs7xm2j0dcsyzv3q5vbcnknp6p4w5dh";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [
    cairo
    fontconfig
    freetype
    libXft
    libXcursor
    libXinerama
    libXpm
    libXt
    librsvg
    libpng
    fribidi
    perl
    readline
    libxslt
  ] ++ lib.optional enableGestures libstroke;

  configureFlags = [ "--enable-mandoc" "--disable-htmldoc" ];

  meta = {
    homepage = "http://fvwm.org";
    description = "A multiple large virtual desktop window manager";
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ edanaher ];
  };
}