It requires Python2 scons. But after fixing this, it fails with a different error.
error: unknown hash algorithm '', at /home/s1691654/git/nixpkgs/pkgs/build-support/fetchurl/default. (use '--show-trace' to show detailed location information)