pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -15,9 +15,9 @@ buildPythonPackage rec {
|
||||
disabled = (pythonOlder "2.7");
|
||||
|
||||
propagatedBuildInputs = [ requests future ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ];
|
||||
++ lib.optionals (pythonOlder "3.4") [ enum34 ];
|
||||
|
||||
postPatch = (stdenv.lib.optionalString (!pythonOlder "3.4") ''
|
||||
postPatch = (lib.optionalString (!pythonOlder "3.4") ''
|
||||
sed -i -e '/"enum34",/d' setup.py
|
||||
'');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user