8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
12 lines
No EOL
315 B
Nix
12 lines
No EOL
315 B
Nix
{ python3, runCommand, git }:
|
|
|
|
runCommand "update-python-libraries" {
|
|
buildInputs = [
|
|
(python3.withPackages(ps: with ps; [ packaging requests toolz ]))
|
|
git
|
|
];
|
|
} ''
|
|
cp ${./update-python-libraries.py} $out
|
|
patchShebangs $out
|
|
substituteInPlace $out --replace 'GIT = "git"' 'GIT = "${git}/bin/git"'
|
|
'' |