about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/wi/windowmaker/package.nix
blob: 2381c16f41ae0e6540dd94a120c20fd014cd3ba4 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{ lib
, stdenv
, fetchFromRepoOrCz
, autoreconfHook
, pkg-config
, imagemagick
, libX11
, libXext
, libXft
, libXinerama
, libXmu
, libXpm
, libXrandr
, libXres
, libexif
, libjpeg
, libpng
, libtiff
, giflib
, libwebp
, pango
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "windowmaker";
  version = "0.96.0";

  src = fetchFromRepoOrCz {
    repo = "wmaker-crm";
    rev = "wmaker-${finalAttrs.version}";
    hash = "sha256-6DS5KztCNWPQL6/qJ5vlkOup2ourxSNf6LLTFYpPWi8=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    giflib
    imagemagick
    libX11
    libXext
    libXft
    libXinerama
    libXmu
    libXpm
    libXrandr
    libXres
    libexif
    libjpeg
    libpng
    libtiff
    libwebp
    pango
  ];

  configureFlags = [
    "--enable-modelock"
    "--enable-randr"
    "--enable-webp"
    "--with-x"
  ];

  meta = {
    homepage = "http://windowmaker.org/";
    description = "NeXTSTEP-like window manager";
    longDescription = ''
      Window Maker is an X11 window manager originally designed to provide
      integration support for the GNUstep Desktop Environment. In every way
      possible, it reproduces the elegant look and feel of the NEXTSTEP user
      interface. It is fast, feature rich, easy to configure, and easy to
      use. It is also free software, with contributions being made by
      programmers from around the world.
    '';
    changelog = "https://www.windowmaker.org/news/";
    license = lib.licenses.gpl2Plus;
    mainProgram = "wmaker";
    maintainers = [ lib.maintainers.AndersonTorres ];
    platforms = lib.platforms.linux;
  };
})