2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, patches
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxcb, xcbutilkeysyms, xcbutilwm
|
|
|
|
, libX11, xcbutil, xcbutilxrm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.3";
|
|
|
|
pname = "2bwm";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "venam";
|
|
|
|
repo = "2bwm";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Allow users set their own list of patches
|
|
|
|
inherit patches;
|
|
|
|
|
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
|
|
|
|
|
|
|
|
installPhase = "make install DESTDIR=$out PREFIX=\"\"";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/venam/2bwm";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Fast floating WM written over the XCB library and derived from mcwm";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|