treewide: revert removal of references to pythonPackages.scandir

This reverts commit df79f4922f

Closes https://github.com/NixOS/nixpkgs/issues/205742
This commit is contained in:
Fabián Heredia Montiel
2022-12-15 00:28:46 -08:00
committed by Robert Schütz
parent 8549e49c18
commit 6ea94a2cf8
2 changed files with 4 additions and 1 deletions
@@ -3,6 +3,7 @@
, fetchPypi
, six
, pythonOlder
, scandir ? null
, glibcLocales
, mock
, typing
@@ -18,7 +19,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ six ]
++ lib.optionals (pythonOlder "3.5") [ typing ];
++ lib.optionals (pythonOlder "3.5") [ scandir typing ];
checkInputs = [ glibcLocales ]
++ lib.optional (pythonOlder "3.3") mock;