23 src = fetchFromGitHub {
26 rev = "39f84b01d662eb58b3d95791f59208c210afd4e7";
27 sha256 = "0dfbc2krd2rys1ji75ng2nl0ki8nhnylxljcp287bfb8qyz2m25p";
31 ./fix-setup-for-py3.patch
32 ./parameterize-runconfig-sc2path.patch
36 substituteInPlace "./pysc2/run_configs/platforms.py" \
37 --subst-var-by 'sc2path' '${sc2-headless}'
40 propagatedBuildInputs = [
56 description = "Starcraft II environment and library for training agents";
57 homepage = "https://github.com/deepmind/pysc2";
58 license = lib.licenses.asl20;
59 platforms = lib.platforms.linux;