Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7buildGoModule rec { 8 pname = "eigenlayer"; 9 version = "0.13.2"; 10 11 src = fetchFromGitHub { 12 owner = "Layr-Labs"; 13 repo = "eigenlayer-cli"; 14 rev = "v${version}"; 15 hash = "sha256-08Fu2PiYNBJr7vRX4LaxMiR4ke86rqTFHfi0k+A8t6c="; 16 }; 17 18 vendorHash = "sha256-gFWUxC2pTMx3QVbIkqpCrsA2ZTQpal89pEJv11uCMJ8="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 ]; 24 subPackages = [ "cmd/eigenlayer" ]; 25 26 passthru.updateScript = nix-update-script { }; 27 28 meta = with lib; { 29 homepage = "https://www.eigenlayer.xyz/"; 30 changelog = "https://github.com/Layr-Labs/eigenlayer-cli/releases/tag/${src.rev}"; 31 description = "Utility that manages core operator functionalities like local keys, operator registration and updates"; 32 mainProgram = "eigenlayer"; 33 license = licenses.bsl11; 34 maintainers = with maintainers; [ selfuryon ]; 35 }; 36}