2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "hyprland-workspaces";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "2.0.2";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FieldofClay";
|
|
|
|
repo = "hyprland-workspaces";
|
|
|
|
rev = "v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-cTIh/UwtVVAWdJEcwOxKmYHBA6XXAaAQz/yW0Xs0y1k=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
cargoHash = "sha256-NPphNQ2FLUrYLbquc2IzxuEjfmov+IPa1ixS6VGomPs=";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Multi-monitor aware Hyprland workspace widget";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/FieldofClay/hyprland-workspaces";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ kiike donovanglover ];
|
|
|
|
mainProgram = "hyprland-workspaces";
|
|
|
|
};
|
|
|
|
}
|