anchor.diff:      modeled
     ];
   
  -  checkInputs = [
  -    pytest
  -  ];
  +  postPatch = ''
  +    # Remove upstream's selfmade approach to collect the dependencies
  +    # https://github.com/userzimmermann/robotframework-tools/issues/1
  +    substituteInPlace setup.py --replace \
  +      "setup_requires=SETUP_REQUIRES + (zfg.SETUP_REQUIRES or [])," ""
  +  '';
   
  -  checkPhase = ''
  -    # tests require network
  -    pytest test --ignore test/remote/test_remote.py
  -  '';
  +  checkInputs = [ pytestCheckHook ];
  +  pytestFlagsArray = [ "test" ];
  +  pythonImportsCheck = [ "robottools" ];
   
     meta = with lib; {
       description = "Python Tools for Robot Framework and Test Libraries";
  -    homepage = "https://bitbucket.org/userzimmermann/robotframework-tools";
  -    license = licenses.gpl3;
  +    homepage = "https://github.com/userzimmermann/robotframework-tools";
  +    license = licenses.gpl3Plus;
       maintainers = [ maintainers.costrouc ];
     };
   }
  
positive.code:     sha256 = "0377ikajf6c3zcy3lc0kh4w9zmlqyplk2c2hb0yyc7h3jnfnya96";
    };
  
    nativeBuildInputs = [
      zetup
    ];
  
    propagatedBuildInputs = [
      robotframework
  
negative.code: , six
  , zetup
  , modeled
  , pytestCheckHook
  }:
  
  buildPythonPackage rec {
  