2017-03-24 14:25:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, patches
|
|
|
|
, libxcb, xcbutilkeysyms, xcbutilwm
|
|
|
|
, libX11, xcbutil, xcbutilxrm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-26 05:25:26 +00:00
|
|
|
version = "0.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "2bwm";
|
2017-03-24 14:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "venam";
|
|
|
|
repo = "2bwm";
|
|
|
|
rev = "v${version}";
|
2019-09-26 05:25:26 +00:00
|
|
|
sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
|
2017-03-24 14:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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; {
|
2020-04-01 01:11:51 +00: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;
|
|
|
|
};
|
|
|
|
}
|