Merge pull request #299286 from LordGrimmauld/swaymux

swaymux: init at 1.0
This commit is contained in:
Pol Dellaiera 2024-03-27 14:10:32 +01:00 committed by GitHub
commit ccae573b1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 44 additions and 0 deletions

View File

@ -7465,6 +7465,13 @@
githubId = 201997;
name = "Eric Seidel";
};
grimmauld = {
name = "Sören Bender";
email = "soeren@benjos.de";
github = "LordGrimmauld";
githubId = 49513131;
matrix = "@grimmauld:grimmauld.de";
};
grindhold = {
name = "grindhold";
email = "grindhold+nix@skarphed.org";

View File

@ -0,0 +1,37 @@
{ cmake
, fetchFromGitea
, lib
, nlohmann_json
, qt6
, stdenv
}:
stdenv.mkDerivation (finalAttrs: {
version = "1.0";
pname = "swaymux";
src = fetchFromGitea {
rev = "v${finalAttrs.version}";
domain = "git.grimmauld.de";
owner = "Grimmauld";
repo = "swaymux";
hash = "sha256-M85pqfYnYeVPTZXKtjg/ks5LUl3u2onG9Nfn8Xs+BSA=";
};
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;
};
})