Unverified Commit 72c2b8bc authored by Enric Morales's avatar Enric Morales
Browse files

hyprland-activewindow: init at 1.0.1



fix(hyprland-activewindow): resolve review issues

- avoid using repo = pname
- removal of period at end of description
- wrong homepage
- change platform to platforms.linux, since Hyprland is specific to Linux.

Co-authored-by: default avatarDonovan Glover <donovan@dglover.co>

Add donovanglover as co-maintainer
parent ea24372d
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "hyprland-activewindow";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "FieldOfClay";
    repo = "hyprland-activewindow";
    rev = "v${version}";
    hash = "sha256-8pzm8uIyvlz4nHbxtmbMblFIj38M2VsenaKzJ9di1Do=";
  };

  cargoHash = "sha256-wIF0qa1dyZlcsLPL2TflFQFPm4Pe9TWHe1F2L1YccZ8=";

  meta = with lib; {
    description = "A multi-monitor-aware Hyprland workspace widget helper";
    homepage = "https://github.com/FieldofClay/hyprland-activewindow";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ kiike donovanglover ];
    mainProgram = "hyprland-activewindow";
  };
}