Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
865 B
Nix
47 lines
865 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
patches,
|
|
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=\"\"";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/venam/2bwm";
|
|
description = "Fast floating WM written over the XCB library and derived from mcwm";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|