btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / hy / hyprland-autoname-workspaces / package.nix
blob9655ad5c230872319100af086c62f3d6580b4efe
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "hyprland-autoname-workspaces";
8   version = "1.1.15";
10   src = fetchFromGitHub {
11     owner = "hyprland-community";
12     repo = "hyprland-autoname-workspaces";
13     rev = version;
14     hash = "sha256-oXVKee3YAMXtVJBqJGt1SpH0KFzvIB278EN69A2OeXY=";
15   };
17   cargoHash = "sha256-Ub7jU9c0I/w4h1DBFvimP7SjkabkP9EF+qtHAPtdPFI=";
19   doCheck = false;
21   meta = with lib; {
22     description = "Automatically rename workspaces with icons of started applications";
23     homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces";
24     license = licenses.isc;
25     maintainers = with maintainers; [ donovanglover ];
26     mainProgram = "hyprland-autoname-workspaces";
27     platforms = platforms.linux;
28   };