python2.pkgs.configparser: keep at 4.0.2 for python 2

This commit is contained in:
Frederik Rietdijk
2020-06-11 10:00:25 +02:00
parent 91e035056a
commit 9dfb5e4155
2 changed files with 30 additions and 1 deletions
+4 -1
View File
@@ -2278,7 +2278,10 @@ in {
colander = callPackage ../development/python-modules/colander { };
# Backported version of the ConfigParser library of Python 3.3
configparser = callPackage ../development/python-modules/configparser { };
configparser = if pythonOlder "3.6" then
callPackage ../development/python-modules/configparser/4.nix { }
else
callPackage ../development/python-modules/configparser { };
ColanderAlchemy = callPackage ../development/python-modules/colanderalchemy { };