anchor.diff:      pytestCheckHook
     ];
   
  -  pythonImportsCheck = [ "aiogithubapi" ];
  +  postPatch = ''
  +    # Upstream is releasing with the help of a CI to PyPI, GitHub releases
  +    # are not in their focus
  +    substituteInPlace setup.py \
  +      --replace 'version="main",' 'version="${version}",'
  +  '';
  +
  +  pythonImportsCheck = [
  +    "aiogithubapi"
  +  ];
   
     meta = with lib; {
       description = "Python client for the GitHub API";
  
positive.code:     owner = "ludeeus";
      repo = pname;
      rev = version;
      sha256 = "sha256-sxWgLd+oQv9qNOpyAYXsBcqGbo/ugNXzGF5nbdcNLFw=";
    };
  
    postPatch = ''
      # Upstream is releasing with the help of a CI to PyPI, GitHub releases
      # are not in their focus
      substituteInPlace setup.py \
        --replace 'version="main",' 'version="${version}",'
    '';
  
    propagatedBuildInputs = [
      aiohttp
  
negative.code: 
  buildPythonPackage rec {
    pname = "aiogithubapi";
    version = "22.1.0";
    format = "setuptools";
  
    disabled = pythonOlder "3.8";
  
  