23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
33 lines
889 B
Nix
33 lines
889 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "eigenlayer";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Layr-Labs";
|
|
repo = "eigenlayer-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-a+I0lfO8l9xorEnW9rUBPhq+xgAwKVjzIdgQX5al/cY=";
|
|
};
|
|
|
|
vendorHash = "sha256-MWNHoUgnD1V1zeLwoos20eKIUGtFHao/k2yvowInkT0=";
|
|
|
|
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];
|
|
};
|
|
}
|