2025-07-26 11:39:35 +02:00

32 lines
736 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprland-workspaces";
version = "2.0.4";
src = fetchFromGitHub {
owner = "FieldofClay";
repo = "hyprland-workspaces";
rev = "v${version}";
hash = "sha256-a5P99aSqhlZqClXAoaUNv/jmuM5duLDf+OzMeKGwDVI=";
};
cargoHash = "sha256-UoL1b+T4z2hAl7GOga68qwAyCtm+Xo+AbyORmwvsqkw=";
meta = with lib; {
description = "Multi-monitor aware Hyprland workspace widget";
homepage = "https://github.com/FieldofClay/hyprland-workspaces";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [
kiike
donovanglover
];
mainProgram = "hyprland-workspaces";
};
}