1 { lib, stdenv, fetchFromGitHub, patches
2 , libxcb, xcbutilkeysyms, xcbutilwm
3 , libX11, xcbutil, xcbutilxrm }:
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
16 # Allow users set their own list of patches
19 buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
21 installPhase = "make install DESTDIR=$out PREFIX=\"\"";
24 homepage = "https://github.com/venam/2bwm";
25 description = "Fast floating WM written over the XCB library and derived from mcwm";
26 license = licenses.mit;
27 maintainers = [ maintainers.sternenseemann ];
28 platforms = platforms.unix;