slackdump: 3.0.3 -> 3.0.5 (#379390)
[NixPkgs.git] / pkgs / by-name / sw / swaymux / package.nix
blob47b075aa16b3cbb29f9e859da04e12674bb6a7f9
2   cmake,
3   fetchFromGitea,
4   lib,
5   nlohmann_json,
6   qt6,
7   stdenv,
8 }:
9 stdenv.mkDerivation (finalAttrs: {
10   version = "1.1";
11   pname = "swaymux";
13   src = fetchFromGitea {
14     rev = "v${finalAttrs.version}";
15     domain = "git.grimmauld.de";
16     owner = "Grimmauld";
17     repo = "swaymux";
18     hash = "sha256-OMJ9wKNuvD1Z9KV7Bp7aIA5gWbBl9PmTdGcGegE0vqM=";
19   };
21   buildInputs = [
22     qt6.qtwayland
23     nlohmann_json
24     qt6.qtbase
25   ];
26   nativeBuildInputs = [
27     cmake
28     qt6.wrapQtAppsHook
29   ];
31   doCheck = true;
33   meta = with lib; {
34     changelog = "https://git.grimmauld.de/Grimmauld/swaymux/commits/branch/main";
35     description = "Program to quickly navigate sway";
36     homepage = "https://git.grimmauld.de/Grimmauld/swaymux";
37     license = licenses.bsd3;
38     longDescription = ''
39       Swaymux allows the user to quickly navigate and administrate outputs, workspaces and containers in a tmux-style approach.
40     '';
41     mainProgram = "swaymux";
42     maintainers = with maintainers; [ grimmauld ];
43     platforms = platforms.linux;
44   };