1
0
forked from extern/nix-config
donovanglover-nix-config/packages/hyprland-autorename-workspaces/default.nix
Donovan Glover 3119b789f8
nix: Format with alejandra
Alejandra is written in Rust, has more tests than nixfmt, and handles
non-trivial code examples in Nix better.
2023-06-05 20:50:10 -04:00

26 lines
676 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprland-autoname-workspaces";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hyprland-community";
repo = pname;
rev = version;
sha256 = "sha256-+oJWPSN6VmUUpd5ZLrN5Sa9Yg6pqVlaQFSRnEkLpLt8=";
};
cargoSha256 = "sha256-wXQVcTQ6up34ZqJP5hDttFEqtz+hmyd1aWFnPlFvazA=";
meta = with lib; {
description = "Automatically rename the workspaces with icons of started applications";
homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces";
license = licenses.isc;
maintainers = with maintainers; [donovanglover];
};
}