2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
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;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-Dk6rAiz7PXUfyy9fWMtSVRjaWWl66n38gTNyWKqeqkU=";
|
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
|
|
|
|
|
|
|
doCheck = false; # No tests
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Map sway workspace names to icons defined depending on the windows inside of the workspace";
|
|
|
|
homepage = "https://github.com/Lyr-7D1h/swayest_workstyle";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ miangraham ];
|
|
|
|
mainProgram = "sworkstyle";
|
|
|
|
};
|
|
|
|
}
|