mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
dk: init at 1.9
This commit is contained in:
parent
2089380fb1
commit
017dc5f595
45
pkgs/applications/window-managers/dk/default.nix
Normal file
45
pkgs/applications/window-managers/dk/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromBitbucket
|
||||
, xcbutil
|
||||
, xcbutilkeysyms
|
||||
, xcbutilwm
|
||||
, xcb-util-cursor
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dk";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "natemaia";
|
||||
repo = "dk";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-OodD2z9C4oGTK6ynAXRlEZSzzdzIkVjmq5vLdUcht1U=";
|
||||
};
|
||||
|
||||
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 = "A 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;
|
||||
};
|
||||
})
|
@ -30072,6 +30072,8 @@ with pkgs;
|
||||
|
||||
amazon-ecr-credential-helper = callPackage ../tools/admin/amazon-ecr-credential-helper { };
|
||||
|
||||
dk = callPackage ../applications/window-managers/dk { };
|
||||
|
||||
docker-credential-gcr = callPackage ../tools/admin/docker-credential-gcr { };
|
||||
|
||||
docker-credential-helpers = callPackage ../tools/admin/docker-credential-helpers { };
|
||||
|
Loading…
Reference in New Issue
Block a user