You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 829B

123456789101112131415161718192021222324252627282930
  1. { stdenv, fetchFromGitHub, patches
  2. , libxcb, xcbutilkeysyms, xcbutilwm
  3. , libX11, xcbutil, xcbutilxrm }:
  4. stdenv.mkDerivation rec {
  5. version = "0.3";
  6. pname = "2bwm";
  7. src = fetchFromGitHub {
  8. owner = "venam";
  9. repo = "2bwm";
  10. rev = "v${version}";
  11. sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
  12. };
  13. # Allow users set their own list of patches
  14. inherit patches;
  15. buildInputs = [ libxcb xcbutilkeysyms xcbutilwm libX11 xcbutil xcbutilxrm ];
  16. installPhase = "make install DESTDIR=$out PREFIX=\"\"";
  17. meta = with stdenv.lib; {
  18. homepage = https://github.com/venam/2bwm;
  19. description = "A fast floating WM written over the XCB library and derived from mcwm";
  20. license = licenses.mit;
  21. maintainers = [ maintainers.sternenseemann ];
  22. platforms = platforms.unix;
  23. };
  24. }