1{ python3, runCommand, git }: 2 3runCommand "update-python-libraries" { 4 buildInputs = [ 5 (python3.withPackages(ps: with ps; [ packaging requests toolz ])) 6 git 7 ]; 8} '' 9 cp ${./update-python-libraries.py} $out 10 patchShebangs $out 11 substituteInPlace $out --replace 'GIT = "git"' 'GIT = "${git}/bin/git"' 12''