1{
2 lib,
3 stdenv,
4 fetchFromRepoOrCz,
5 autoreconfHook,
6 callPackage,
7 pkg-config,
8 imagemagick,
9 libX11,
10 libXext,
11 libXft,
12 libXinerama,
13 libXmu,
14 libXpm,
15 libXrandr,
16 libXres,
17 libexif,
18 libjpeg,
19 libpng,
20 libtiff,
21 giflib,
22 libwebp,
23 pango,
24}:
25
26stdenv.mkDerivation (finalAttrs: {
27 pname = "windowmaker";
28 version = "0.96.0";
29
30 src = fetchFromRepoOrCz {
31 repo = "wmaker-crm";
32 rev = "wmaker-${finalAttrs.version}";
33 hash = "sha256-6DS5KztCNWPQL6/qJ5vlkOup2ourxSNf6LLTFYpPWi8=";
34 };
35
36 nativeBuildInputs = [
37 autoreconfHook
38 pkg-config
39 ];
40
41 buildInputs = [
42 giflib
43 imagemagick
44 libX11
45 libXext
46 libXft
47 libXinerama
48 libXmu
49 libXpm
50 libXrandr
51 libXres
52 libexif
53 libjpeg
54 libpng
55 libtiff
56 libwebp
57 pango
58 ];
59
60 configureFlags = [
61 "--enable-modelock"
62 "--enable-randr"
63 "--enable-webp"
64 "--with-x"
65 ];
66
67 passthru = {
68 dockapps = callPackage ./dockapps { };
69 };
70
71 meta = {
72 homepage = "http://windowmaker.org/";
73 description = "NeXTSTEP-like window manager";
74 longDescription = ''
75 Window Maker is an X11 window manager originally designed to provide
76 integration support for the GNUstep Desktop Environment. In every way
77 possible, it reproduces the elegant look and feel of the NEXTSTEP user
78 interface. It is fast, feature rich, easy to configure, and easy to
79 use. It is also free software, with contributions being made by
80 programmers from around the world.
81 '';
82 changelog = "https://www.windowmaker.org/news/";
83 license = lib.licenses.gpl2Plus;
84 mainProgram = "wmaker";
85 maintainers = [ ];
86 platforms = lib.platforms.unix;
87 };
88})