nixpkgs/pkgs/by-name/hy/hyprland-activewindow/package.nix
2024-11-03 08:02:25 +00:00

25 lines
728 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hyprland-activewindow";
version = "1.0.5";
src = fetchFromGitHub {
owner = "FieldOfClay";
repo = "hyprland-activewindow";
rev = "v${version}";
hash = "sha256-oH3BsS0KqnNdYe7HWHlfRSiUJx+vC3IveN+mcEgwZLs=";
};
cargoHash = "sha256-B9ZOz4U6tvUfFzI5pOuhazTZJH89jpxwRc+tbfNEZAk=";
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";
};
}