depot/third_party/nixpkgs/pkgs/by-name/ei/eigenlayer/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

33 lines
889 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "eigenlayer";
version = "0.8.0";
src = fetchFromGitHub {
owner = "Layr-Labs";
repo = "eigenlayer-cli";
rev = "v${version}";
hash = "sha256-bj1+gm11gYwvuut8tUrML7Sg1W5rmGH49tZ4u/76s84=";
};
vendorHash = "sha256-Hws6qlt0O/1xP94ghiIBIF/FwvYGu0fY8LWjVgAp/pQ=";
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];
};
}