2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromBitbucket
|
|
|
|
, xcbutil
|
|
|
|
, xcbutilkeysyms
|
|
|
|
, xcbutilwm
|
|
|
|
, xcb-util-cursor
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "dk";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.2";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromBitbucket {
|
|
|
|
owner = "natemaia";
|
|
|
|
repo = "dk";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-u1fZTcfGLwKFeRADU55MFYDvtSOaOg5qtWB90xYpVuY=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xcbutil
|
|
|
|
xcbutilkeysyms
|
|
|
|
xcbutilwm
|
|
|
|
xcb-util-cursor
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "-L/usr/X11R6/lib" "" \
|
|
|
|
--replace "-I/usr/X11R6/include" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "SES=$(out)/share/xsessions" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://bitbucket.org/natemaia/dk";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "List based tiling window manager in the vein of dwm, bspwm, and xmonad";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = lib.licenses.x11;
|
|
|
|
maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
})
|