summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/fs
diff options
context:
space:
mode:
authorFabián Heredia Montiel <fabianhjr@protonmail.com>2022-12-12 11:23:03 -0600
committerRobert Schütz <github@dotlambda.de>2022-12-15 00:28:46 -0800
commit6ea94a2cf8dd622c980cc2821d05fb20ff6daadf (patch)
tree1387a3df72b1c09c21348282a257699480e9e8f9 /pkgs/development/python-modules/fs
parentpython2Packages.scandir: revert removal (diff)
downloadnixpkgs-6ea94a2cf8dd622c980cc2821d05fb20ff6daadf.tar.gz
treewide: revert removal of references to pythonPackages.scandir
This reverts commit df79f4922ff0a6a8ae1b68d1a1b2d038bf44a961 Closes https://github.com/NixOS/nixpkgs/issues/205742
Diffstat (limited to 'pkgs/development/python-modules/fs')
-rw-r--r--pkgs/development/python-modules/fs/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fs/default.nix b/pkgs/development/python-modules/fs/default.nix
index ca4fb75af304..1d4326f74ee3 100644
--- a/pkgs/development/python-modules/fs/default.nix
+++ b/pkgs/development/python-modules/fs/default.nix
@@ -5,6 +5,7 @@
, setuptools
, six
, appdirs
+, scandir ? null
, backports_os ? null
, typing ? null
, pytz
@@ -35,6 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six appdirs pytz setuptools ]
++ lib.optionals (!isPy3k) [ backports_os ]
++ lib.optionals (!pythonAtLeast "3.6") [ typing ]
+ ++ lib.optionals (!pythonAtLeast "3.5") [ scandir ]
++ lib.optionals (!pythonAtLeast "3.5") [ enum34 ];
LC_ALL="en_US.utf-8";