Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
1001 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
libxcb,
python3,
}:
rustPlatform.buildRustPackage rec {
pname = "i3wsr";
version = "3.1.2";
src = fetchFromGitHub {
owner = "roosta";
repo = "i3wsr";
rev = "v${version}";
hash = "sha256-8cQM2M9XjS4FSSX1/WHqmTP842Ahd1XoaqOWSGSEE0s=";
};
cargoHash = "sha256-d+pFDvmfsuJbanUlheHxln9BY1HxU3UQE+pWRthGcc4=";
nativeBuildInputs = [ python3 ];
buildInputs = [ libxcb ];
# has not tests
doCheck = false;
meta = with lib; {
mainProgram = "i3wsr";
description = "Automatically change i3 workspace names based on their contents";
longDescription = ''
Automatically sets the workspace names to match the windows on the workspace.
The chosen name for a workspace is a user-defined composite of the WM_CLASS X11
window property for each window in a workspace.
'';
homepage = "https://github.com/roosta/i3wsr";
license = licenses.mit;
maintainers = [ maintainers.sebbadk ];
};
}