anchor.diff:      rev = "v${version}";
       sha256 = "sha256-CJroqJIi5DpmR8i1lr8OJ+234615PhpVUsqK91XOT3E=";
     };
  -  checkInputs = [ pytest pytest-runner ];
  -  propagatedBuildInputs = [ parse six ] ++ lib.optional (pythonOlder "3.4") enum34;
  +
  +  propagatedBuildInputs = [
  +    parse
  +    six
  +  ];
  +
  +  checkInputs = [
  +    pytestCheckHook
  +  ];
   
     postPatch = ''
       substituteInPlace pytest.ini \
  
positive.code:       --replace "--junit-xml=build/testing/report.xml" ""
    '';
  
    checkPhase = ''
      py.test tests
    '';
  
    meta = with lib; {
      homepage = "https://github.com/jenisys/parse_type";
      description = "Simplifies to build parse types based on the parse module";
      license = licenses.bsd3;
      maintainers = with maintainers; [ alunduil ];
    };
  
negative.code: { lib
  , buildPythonPackage
  , fetchFromGitHub
  , parse
  , pytestCheckHook
  , pythonOlder
  , six
  }:
  
  buildPythonPackage rec {
  