{ lib, fetchFromGitHub, rustPlatform, }: rustPlatform.buildRustPackage { pname = "hopper-rs"; version = "v0.6.2-2-g73cb171"; src = fetchFromGitHub { owner = "bra1l0r"; repo = "hopper-rs"; rev = "73cb171e203cef6c9c444b69c43ceefa2da213e4"; hash = "sha256-QhDH03KHKtsh7Ch44TE02sr42i/CPD9BGK7QQ6PwHKc="; }; patches = [ ./hopper-lazy-resolve.patch ]; cargoHash = "sha256-bC5BlP3opYYHkK/mauF9qdTczTdmGQD7yEOCOMylNOc="; doCheck = false; meta = with lib; { description = "Lightweight Minecraft reverse proxy"; homepage = "https://github.com/bra1l0r/hopper-rs"; license = licenses.gpl3Only; mainProgram = "hopper"; }; }