{ lib, buildSMPlugin, fetchFromGitHub, runCommand }: let pname = "SteamTools"; src' = fetchFromGitHub { # transitional syntax fork that's been sitting in PRs for 4 years ww owner = "JoinedSenses"; repo = pname; rev = "0ce8122e5d2a453c5b4b23fb2871bc24b35e27fe"; hash = "sha256-Vq60/GxwlyfYgQKjnMR8CaeyfMApJIvvZWD94o4LwYc="; }; in buildSMPlugin /* rec */ { inherit pname; version = "2020-05-01"; src = runCommand "source" {} '' odir=$out/scripting/include mkdir -p $odir cp ${src'}/plugin/steamtools.inc $odir/ ''; }