swaymux/nix/package.nix

32 lines
836 B
Nix
Raw Normal View History

2024-03-28 14:09:10 +01:00
{ cmake
, fetchFromGitea
, lib
, nlohmann_json
, qt6
, stdenv
}:
stdenv.mkDerivation (finalAttrs: {
2024-04-02 19:23:12 +02:00
version = "1.1";
2024-03-28 14:09:10 +01:00
pname = "swaymux";
src = lib.cleanSource ../.;
buildInputs = [ qt6.qtwayland nlohmann_json qt6.qtbase];
nativeBuildInputs = [ cmake qt6.wrapQtAppsHook ];
doCheck = true;
meta = with lib; {
changelog = "https://git.grimmauld.de/Grimmauld/swaymux/commits/branch/main";
description = "A program to quickly navigate sway";
homepage = "https://git.grimmauld.de/Grimmauld/swaymux";
license = licenses.bsd3;
longDescription = ''
Swaymux allows the user to quickly navigate and administrate outputs, workspaces and containers in a tmux-style approach.
'';
mainProgram = "swaymux";
maintainers = with maintainers; [ grimmauld ];
platforms = platforms.linux;
};
})