{ lib, nlohmann_json, cmake, stdenv, qt6, qtbase, wrapQtAppsHook, qtwayland }: stdenv.mkDerivation { pname = "swaymux"; version = "0.1"; src = lib.cleanSource ../.; configurePhase = '' cmake . ''; buildPhase = '' make ''; installPhase = '' mkdir -p $out/bin mv swaymux $out/bin ''; buildInputs = [ qtbase qtwayland cmake nlohmann_json ]; nativeBuildInputs = [ wrapQtAppsHook ]; doCheck = true; meta = with lib; { description = "A program to quickly navigate sway"; longDescription = '' Swaymux allows the user to quickly navigate and administrate outputs, workspaces and containers in a tmux-style approach. ''; homepage = "https://git.grimmauld.de/Grimmauld/swaymux"; changelog = "https://git.grimmauld.de/Grimmauld/swaymux/commits/branch/main"; license = lib.licenses.bsd3; maintainers = [ maintainers.grimmauld ]; platforms = platforms.linux; }; }