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

25 lines
728 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hyprland-activewindow";
version = "1.0.3";
src = fetchFromGitHub {
owner = "FieldOfClay";
repo = "hyprland-activewindow";
rev = "v${version}";
hash = "sha256-kRxA2DLbbABPJFwv/L7yeNJ8eqNUbuV6U/PB5iJNoAw=";
};
cargoHash = "sha256-s3Ho0+OzuLuWqFvaBu9NLXoasByHSuun9eJGAAISOJc=";
meta = with lib; {
description = "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";
};
}