{ stdenv, fetchFromGitHub, libxcb, libXinerama , sxhkd, xcbutil, xcbutilkeysyms, xcbutilwm }: stdenv.mkDerivation rec { name = "bspwm-${version}"; version = "0.9.4"; src = fetchFromGitHub { owner = "baskerville"; repo = "bspwm"; rev = version; sha256 = "1srgsszp184zg123wdij0zp57c16m7lmal51rhflyx2c9fiiqm9l"; }; buildInputs = [ libxcb libXinerama xcbutil xcbutilkeysyms xcbutilwm ]; makeFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { description = "A tiling window manager based on binary space partitioning"; homepage = https://github.com/baskerville/bspwm; maintainers = with maintainers; [ meisternu epitrochoid ]; license = licenses.bsd2; platforms = platforms.linux; }; }