{ lib, fetchFromGitHub, gerbilPackages, gerbil-support, gerbil, ... }: rec { pname = "gerbil-ethereum"; version = "unstable-2023-10-06"; git-version = "0.1-1-g08b08fc"; softwareName = "Gerbil-ethereum"; gerbil-package = "clan/ethereum"; version-path = "version"; gerbilInputs = with gerbilPackages; [ gerbil-utils gerbil-crypto gerbil-poo gerbil-persist gerbil-leveldb ]; pre-src = { fun = fetchFromGitHub; owner = "mighty-gerbils"; repo = "gerbil-ethereum"; rev = "08b08fce8c83cb59bfb532eebb1c7a2dd4bd57ab"; sha256 = "1sy7l869d2xqhq2qflsmkvr343jfhzsq43ixx75rqfpr3cdljz0b"; }; postInstall = '' cp scripts/{croesus.prv,genesis.json,logback.xml,yolo-evm.conf,yolo-kevm.conf,run-ethereum-test-net.ss} $out/gerbil/lib/clan/ethereum/scripts/ mkdir -p $out/bin cat > $out/bin/run-ethereum-test-net <