pkgs/development/python-modules: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-24 01:29:22 +01:00
parent 2f34b4b883
commit a4bbfba80d
211 changed files with 525 additions and 546 deletions

View File

@@ -13,9 +13,9 @@ buildPythonPackage rec {
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy pysam matplotlib ];
checkPhase = stdenv.lib.optionalString isPy27 ''
checkPhase = lib.optionalString isPy27 ''
${python.interpreter} python2/test/test_general.py
'' + stdenv.lib.optionalString isPy3k ''
'' + lib.optionalString isPy3k ''
${python.interpreter} python3/test/test_general.py
'';