504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
33 lines
888 B
Nix
33 lines
888 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "eigenlayer";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Layr-Labs";
|
|
repo = "eigenlayer-cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-zLTzDVXj2XTjgMuTLXVQStzDkkOGU2kCgIvBmJKohY4";
|
|
};
|
|
|
|
vendorHash = "sha256-gAW+yEj4aRHTuuZLrqQs8lebs9/O0uGxkHRK3B1TG+Q=";
|
|
|
|
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];
|
|
};
|
|
}
|