19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
24 owner = "AlexandrePTJ";
27 hash = "sha256-wclBAgeDyAIw/nGF6lzIwbwdoZMBTu+tjxsnIxIkODM=";
31 # Backport the fix for an issue where LICENSE.txt ends up in /bin
32 # Remove in next release
34 url = "https://github.com/AlexandrePTJ/kemai/commit/e279679dd7308efebe004252d168d7308f3b99ce.patch";
35 hash = "sha256-5cmRRMVATf4ul4HhaQKiE0yTN2qd+MfNFQzGTLLpOyg=";
48 ] ++ lib.optional stdenv.hostPlatform.isLinux qtwayland;
50 "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"
51 "-DFETCHCONTENT_QUIET=OFF"
52 "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS"
55 nativeBuildInputs = [ cmake wrapQtAppsHook ];
58 updateScript = nix-update-script { };
62 description = "Kimai desktop client written in QT6";
63 homepage = "https://github.com/AlexandrePTJ/kemai";
64 license = licenses.mit;
65 maintainers = with maintainers; [ poelzi ];
66 platforms = platforms.unix;
67 broken = stdenv.hostPlatform.isDarwin;
68 mainProgram = "Kemai";