2024-01-02 11:29:13 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nix-update-script,
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "eigenlayer";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.7.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Layr-Labs";
|
|
|
|
repo = "eigenlayer-cli";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-HsDuDe2ANxL+cTJ3mm1enLoKRewZ9Ey/YajpsLO66JA=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-aclRbQtGg6yQMJtaO1WjtHLXU7cE1HX1ZDckRIEtw6o=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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];
|
|
|
|
};
|
|
|
|
}
|