{ depotdownloader, callPackage, fetchNuGet, ed }: depotdownloader.overrideAttrs ( { patches ? [] , buildInputs , nativeBuildInputs ? [] , passthru ? {} , version , ... }: let # see 2.7.3 below "SteamKit2" = callPackage ( { lib, buildDotnetModule , fetchFromGitHub, fetchNuGet , dotnetCorePackages , ed }: buildDotnetModule rec { pname = "SteamKit2"; version = "3.0.0-Beta.4"; src = fetchFromGitHub { owner = "SteamRE"; repo = "SteamKit"; rev = version; hash = "sha256-m4ppH3pTCeqs0PrUTVDErqq94CK0XCTWIvTLy1Ll2Cs="; }; projectFile = "SteamKit2/SteamKit2.sln"; nugetDeps = buildInputs; nativeBuildInputs = [ ed ]; dotnet-sdk = dotnetCorePackages.sdk_8_0; dotnet-runtime = dotnetCorePackages.runtime_8_0; patches = [ ./2_7/0001-NO-NO-AND-NO.patch ]; postPatch = '' # nuclear option because tests pull in extra deps rm -rf SteamKit2/Tests ed ${projectFile} <