anchor.diff:  , nose
   , pyopenssl
   , iana-etc
  +, pytestCheckHook
   , libredirect
   }:
   
   buildPythonPackage rec {
     pname = "eventlet";
     version = "0.33.0";
  +  format = "setuptools";
   
  -  src = fetchPypi {
  -    inherit pname version;
  -    sha256 = "80144f489c1bb273a51b6f96ff9785a382d2866b9bab1f5bd748385019f4141f";
  +  src = fetchFromGitHub {
  +    owner = "eventlet";
  +    repo = pname;
  +    rev = "v${version}";
  +    hash = "sha256-kE/eYBbaTt1mPGoUIMhonvFBlQOdAfPU5GvCvPaRHvs=";
     };
   
  -  propagatedBuildInputs = [ dnspython greenlet pyopenssl six ]
  -    ++ lib.optional (pythonOlder "3.5") monotonic;
  +  propagatedBuildInputs = [
  +    dnspython
  +    greenlet
  +    pyopenssl
  +    six
  +  ] ++ lib.optional (pythonOlder "3.5") [
  +    monotonic
  +  ];
   
  -  checkInputs = [ nose ];
  +  checkInputs = [
  +    pytestCheckHook
  +    nose
  +  ];
   
     doCheck = !stdenv.isDarwin;
   
  
positive.code:     export EVENTLET_IMPORT_VERSION_ONLY=0
    '';
  
    checkPhase = ''
      runHook preCheck
  
      # test_fork-after_monkey_patch fails on aarch64 on hydra only
      #   AssertionError: Expected single line "pass" in stdout
      nosetests --exclude test_getaddrinfo --exclude test_hosts_no_network --exclude test_fork_after_monkey_patch
  
      runHook postCheck
    '';
  
    # unfortunately, it needs /etc/protocol to be present to not fail
    # pythonImportsCheck = [ "eventlet" ];
  
    meta = with lib; {
      homepage = "https://github.com/eventlet/eventlet/";
      description = "A concurrent networking library for Python";
      maintainers = with maintainers; [ SuperSandro2000 ];
      license = licenses.mit;
    };
  }
  
negative.code: { lib
  , stdenv
  , buildPythonPackage
  , fetchFromGitHub
  , pythonOlder
  , dnspython
  , greenlet
  