pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -14,8 +14,8 @@ buildPythonPackage rec {
|
||||
checkInputs = [ hypothesis mock ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
|
||||
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
++ lib.optionals (!isPy3k) [ funcsigs ]
|
||||
++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
|
||||
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||
checkPhase = ''
|
||||
|
||||
@@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
six
|
||||
toml
|
||||
wcwidth
|
||||
] ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
] ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
|
||||
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ buildPythonPackage rec {
|
||||
six
|
||||
toml
|
||||
wcwidth
|
||||
] ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
] ++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||
|
||||
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||
|
||||
|
||||
Reference in New Issue
Block a user