mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
1,014 B
Nix
37 lines
1,014 B
Nix
{ cmake
|
|
, fetchFromGitea
|
|
, lib
|
|
, nlohmann_json
|
|
, qt6
|
|
, stdenv
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.1";
|
|
pname = "swaymux";
|
|
|
|
src = fetchFromGitea {
|
|
rev = "v${finalAttrs.version}";
|
|
domain = "git.grimmauld.de";
|
|
owner = "Grimmauld";
|
|
repo = "swaymux";
|
|
hash = "sha256-OMJ9wKNuvD1Z9KV7Bp7aIA5gWbBl9PmTdGcGegE0vqM=";
|
|
};
|
|
|
|
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 = "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;
|
|
};
|
|
})
|