1 { lib, stdenv, fetchFromGitHub, cmake, libnotify, libX11, xorgproto, nixosTests }:
5 version = "unstable-2020-07-17";
7 src = fetchFromGitHub {
10 rev = "a40a3505dd735b401d937203ab6d8d1978307d72";
11 sha256 = "0npmlnybblp82mfpinjbz7dhwqgpdqc1s63wc1zs8mlcs19pdh98";
18 cmakeBuildType = "MinSizeRel";
20 patches = [ ./0001-remove-flto.patch ];
23 substituteInPlace src/util.cc \
24 --replace "notify-send" "${libnotify}/bin/notify-send"
33 install -Dm0644 -t $out/share/wmderland/contrib $src/example/config
34 install -Dm0644 -t $out/share/xsessions $src/example/wmderland.desktop
38 tests.basic = nixosTests.wmderland;
39 providedSessions = [ "wmderland" ];
43 description = "Modern and minimal X11 tiling window manager";
44 homepage = "https://github.com/aesophor/wmderland";
45 license = licenses.mit;
46 platforms = libX11.meta.platforms;
47 maintainers = with maintainers; [ takagiy ];
48 mainProgram = "wmderland";