Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "op-geth"; 9 version = "1.101305.3"; 10 11 src = fetchFromGitHub { 12 owner = "ethereum-optimism"; 13 repo = "op-geth"; 14 rev = "v${version}"; 15 hash = "sha256-AKVwwvt77FZlm7089EeayYVRYLo7c3v6LFVpsQN68Zk="; 16 fetchSubmodules = true; 17 }; 18 19 subPackages = [ 20 "cmd/abidump" 21 "cmd/abigen" 22 "cmd/bootnode" 23 "cmd/clef" 24 "cmd/devp2p" 25 "cmd/ethkey" 26 "cmd/evm" 27 "cmd/faucet" 28 "cmd/geth" 29 "cmd/p2psim" 30 "cmd/rlpdump" 31 "cmd/utils" 32 ]; 33 34 vendorHash = "sha256-pcIydpKWZt3vwShwzGlPKGq+disdxYFOB8gxHou3mVU="; 35 36 ldflags = [ 37 "-s" 38 "-w" 39 ]; 40 41 meta = with lib; { 42 description = ""; 43 homepage = "https://github.com/ethereum-optimism/op-geth"; 44 license = licenses.gpl3Only; 45 maintainers = with maintainers; [ happysalada ]; 46 }; 47}