{ lib, buildGoModule, fetchFromGitHub, nix-update-script, }: buildGoModule rec { pname = "eigenlayer"; version = "0.8.0"; src = fetchFromGitHub { owner = "Layr-Labs"; repo = "eigenlayer-cli"; rev = "v${version}"; hash = "sha256-bj1+gm11gYwvuut8tUrML7Sg1W5rmGH49tZ4u/76s84="; }; vendorHash = "sha256-Hws6qlt0O/1xP94ghiIBIF/FwvYGu0fY8LWjVgAp/pQ="; ldflags = ["-s" "-w"]; subPackages = ["cmd/eigenlayer"]; passthru.updateScript = nix-update-script {}; meta = with lib; { homepage = "https://www.eigenlayer.xyz/"; changelog = "https://github.com/Layr-Labs/eigenlayer-cli/releases/tag/${src.rev}"; description = "Utility that manages core operator functionalities like local keys, operator registration and updates"; mainProgram = "eigenlayer"; license = licenses.bsl11; maintainers = with maintainers; [selfuryon]; }; }