2017-03-24 14:25:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, patches
|
|
|
|
, libxcb, xcbutilkeysyms, xcbutilwm
|
|
|
|
, libX11, xcbutil, xcbutilxrm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.2";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "2bwm";
|
2017-03-24 14:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "venam";
|
|
|
|
repo = "2bwm";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1la1ixpm5knsj2gvdcmxzj1jfbzxvhmgzps4f5kbvx5047xc6ici";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Allow users set their own list of patches
|
|
|
|
inherit patches;
|
|
|
|
|
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
|
|
|
|
|
|
|
|
installPhase = "make install DESTDIR=$out PREFIX=\"\"";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/venam/2bwm;
|
2017-03-24 14:25:31 +00:00
|
|
|
description = "A fast floating WM written over the XCB library and derived from mcwm";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|