nixpkgs/pkgs/by-name/ei/eigenlayer/package.nix
2024-10-28 10:17:46 +00:00

34 lines
890 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "eigenlayer";
version = "0.10.8";
src = fetchFromGitHub {
owner = "Layr-Labs";
repo = "eigenlayer-cli";
rev = "v${version}";
hash = "sha256-/8fLIdD14k8KgUdlfEHU+xSovFj6f0FfaweZKegihyQ=";
};
vendorHash = "sha256-7KC99PqAPfGnm7yA4nfAlC7V4NhCEYDyPxY7CdOdwno=";
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];
};
}