{ lib , buildGoModule , fetchFromGitHub , libpcap }: buildGoModule rec { pname = "optimism"; version = "1.1.4"; src = fetchFromGitHub { owner = "ethereum-optimism"; repo = "optimism"; rev = "op-node/v${version}"; hash = "sha256-UDNqD3gA27qqaJYbpgOWoL0AeLb7OZRCRJcGNKRq67g="; fetchSubmodules = true; }; subPackages = [ "op-node/cmd" "op-proposer/cmd" "op-batcher/cmd" ]; vendorHash = "sha256-OGOdU6X3dcAu4BDpG62bK8LaMo+NuzFOUSjdPNhRGZM="; buildInputs = [ libpcap ]; ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Optimism is Ethereum, scaled"; homepage = "https://github.com/ethereum-optimism/optimism"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; }; }