blob: 497799e0a2af0689ec65b2d2179168fc4c4a4e07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ python3, runCommand, git, nix }:
runCommand "update-python-libraries" {
buildInputs = [
nix
(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"'
''
|