nixpkgs/pkgs/applications/window-managers/bspwm/default.nix

28 lines
753 B
Nix

{ stdenv, fetchFromGitHub, libxcb, libXinerama
, xcbutil, xcbutilkeysyms, xcbutilwm
}:
stdenv.mkDerivation rec {
name = "bspwm-${version}";
version = "0.9.5";
src = fetchFromGitHub {
owner = "baskerville";
repo = "bspwm";
rev = version;
sha256 = "09h3g1rxxjyw861mk32lj774nmwkx8cwxq4wfgmf4dpbizymvhhr";
};
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 rvolosatovs ];
license = licenses.bsd2;
platforms = platforms.linux;
};
}