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.7";
src = fetchFromGitHub {
owner = "baskerville";
repo = "bspwm";
rev = version;
sha256 = "17cfvbrvzwwr9r72xgpn144k45xavzi0hnl2qqp9lhxflvirac0c";
};
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;
};
}