22 stdenv.mkDerivation (finalAttrs: {
24 version = "unstable-2023-01-26";
26 src = fetchFromGitHub {
29 rev = "af4641847b578b233a6f06806f575b3f320d74da";
30 hash = "sha256-FUKR5nceEhm9GWa61hHO8+y4GBz7LYKXPB0OpQcQ674=";
34 ./000-dont-set-compiler.diff
58 # src/ewmh/ewmh.cpp:67:28: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list
59 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-c++11-narrowing";
64 install -Dm755 Hypr -t $out/bin
70 wrapProgram $out/bin/Hypr --prefix PATH : ${lib.makeBinPath [ xmodmap ]}
74 inherit (finalAttrs.src.meta) homepage;
75 description = "Tiling X11 window manager written in modern C++";
76 license = licenses.bsd3;
77 maintainers = with maintainers; [ AndersonTorres ];
78 inherit (libX11.meta) platforms;