2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
2022-09-09 14:08:57 +00:00
|
|
|
}:
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
let
|
2022-09-09 14:08:57 +00:00
|
|
|
pname = "swayest-workstyle";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.3.5";
|
2022-09-09 14:08:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lyr-7D1h";
|
|
|
|
repo = "swayest_workstyle";
|
|
|
|
rev = version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
2024-09-19 14:19:46 +00:00
|
|
|
in
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
inherit pname version src;
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-sLQPq3tyWq1TxxeFyg05qBt+KGI/vO0jLU7wJLiqcYA=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
meta = {
|
2022-09-09 14:08:57 +00:00
|
|
|
description = "Map sway workspace names to icons defined depending on the windows inside of the workspace";
|
|
|
|
homepage = "https://github.com/Lyr-7D1h/swayest_workstyle";
|
2024-09-19 14:19:46 +00:00
|
|
|
license = lib.licenses.mit;
|
2022-09-09 14:08:57 +00:00
|
|
|
mainProgram = "sworkstyle";
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
}
|