depot/third_party/nixpkgs/pkgs/by-name/hy/hyprland-workspaces/package.nix

31 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-LkAENnk1H1p8g7KKtkkh1aBtjXyM5scOtTROUaXwJhw=";
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";
};
}