depot/third_party/nixpkgs/pkgs/by-name/hy/hyprland-workspaces/package.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

28 lines
720 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprland-workspaces";
version = "2.0.2";
src = fetchFromGitHub {
owner = "FieldofClay";
repo = "hyprland-workspaces";
rev = "v${version}";
hash = "sha256-cTIh/UwtVVAWdJEcwOxKmYHBA6XXAaAQz/yW0Xs0y1k=";
};
cargoHash = "sha256-NPphNQ2FLUrYLbquc2IzxuEjfmov+IPa1ixS6VGomPs=";
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";
};
}