anchor.diff:  { lib, buildPythonPackage, fetchFromGitHub, isPy3k
  -, filelock, protobuf, numpy, pytest, mock, typing-extensions
  +, filelock, protobuf, numpy, pytestCheckHook, mock, typing-extensions
   , cupy, cudaSupport ? false
   }:
   
  
positive.code:     typing-extensions
    ] ++ lib.optionals cudaSupport [ cupy ];
  
    # avoid gpu tests
    checkPhase = ''
      pytest tests/chainer_tests/utils_tests -k 'not gpu and not cupy and not ideep'
    '';
  
    meta = with lib; {
      description = "A flexible framework of neural networks for deep learning";
  
negative.code:   };
  
    checkInputs = [
      pytestCheckHook
      mock
    ];
  
  