anchor.diff:    ] ++ lib.optionals isPy27 [ pathlib enum34 ];
   
     checkInputs = [
  -    pytest
  +    pytestCheckHook
     ];
   
  -  # ignore tests which require setup
  -  checkPhase = ''
  -    pytest --ignore tests/io_
  -  '';
  +  # Ignore tests which require setup, check again if disabledTestFiles can be used
  +  pytestFlagsArray = [ "--ignore tests/io_" ];
  +
  +  pythonImportsCheck = [ "slicedimage" ];
   
     meta = with lib; {
       description = "Library to access sliced imaging data";
  
positive.code: { lib
  , buildPythonPackage
  , fetchPypi
  , boto3
  , diskcache
  , enum34
  
negative.code:   pname = "slicedimage";
    version = "4.1.1";
  
    src = fetchFromGitHub {
      owner = "spacetx";
      repo = pname;
      rev = version;
      sha256 = "1vpg8varvfx0nj6xscdfm7m118hzsfz7qfzn28r9rsfvrhr0dlcw";
    };
  
    propagatedBuildInputs = [
  