1 { lib, stdenv, fetchFromGitHub, fetchpatch,
2 libX11, libXinerama, libXrandr, libXpm, libXft, imlib2 }:
8 src = fetchFromGitHub {
11 sha256 = "1m7dsmmlhq2qipim659cp9aqlriz1cwrrgspl8baa5pncln0gd5c";
12 rev = "b7b8ff812d28c79cb22a73db2739989996fdc6c2";
16 # Pull patch pending upstream inclusion to fix build on
17 # -fno-common toolchain like upstream gcc-10:
18 # https://github.com/xorg62/wmfs/pull/104
20 name = "fno-common.patch";
21 url = "https://github.com/xorg62/wmfs/commit/e4ec12618f4689d791892ebb49df9610a25d24d3.patch";
22 sha256 = "0qvwry9sikvr85anzha9x4gcx0r2ckwdxqw2in2l6bl9z9d9c0w2";
35 preConfigure = "substituteInPlace configure --replace '-lxft' '-lXft'";
38 "PREFIX=${placeholder "out"}"
39 "XDG_CONFIG_DIR=${placeholder "out"}/etc/xdg"
40 "MANPREFIX=${placeholder "out"}/share/man"
44 description = "Window manager from scratch";
45 license = licenses.bsd2;
46 maintainers = [ maintainers.balsoft ];
47 platforms = platforms.linux;