nixpkgs/pkgs/by-name/ei/eigenlayer/package.nix
2024-06-08 09:54:11 +00:00

34 lines
889 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "eigenlayer";
version = "0.8.2";
src = fetchFromGitHub {
owner = "Layr-Labs";
repo = "eigenlayer-cli";
rev = "v${version}";
hash = "sha256-VC2qUHdFulOCYuAb8vHxc+9GJV/3iiKO1hJS/7gj278=";
};
vendorHash = "sha256-+VKjsHFqWVqOxzC49GToxymD5AyI0j1ZDXQW2YnJysw=";
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];
};
}