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
50 lines
984 B
Nix
50 lines
984 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromBitbucket,
|
|
xcbutil,
|
|
xcbutilkeysyms,
|
|
xcbutilwm,
|
|
xcb-util-cursor,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dk";
|
|
version = "2.3";
|
|
|
|
src = fetchFromBitbucket {
|
|
owner = "natemaia";
|
|
repo = "dk";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-VkNF3F/NRQadBkbnbVmMZliIXRxFU0qqxOeQDX4UrJg=";
|
|
};
|
|
|
|
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";
|
|
description = "List based tiling window manager in the vein of dwm, bspwm, and xmonad";
|
|
license = lib.licenses.x11;
|
|
maintainers = with lib.maintainers; [ _3JlOy-PYCCKUi ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|