I need to create an environment with python 3.7.9 but this version is not in available as package. I found nixpgks-python but I don’t know how to add the github url as build input in my shell.nix script:
(builtins.getFlake "...") can be replaced with (builtins.fetchGit "https://github.com/cachix/nixpkgs-python.git")
However, there’s some caveats to using that, and I highly recommend moving to some lockfile schema when you can, such as npins, nvfetcher, or yes, flakes.