depot/third_party/nixpkgs/pkgs/by-name/ei/eigenlayer/package.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

33 lines
889 B
Nix

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