anchor.diff:  
     propagatedBuildInputs = [
       kafka-python
  +  ] ++ lib.optionals (pythonOlder "3.7") [
  +    dataclasses
     ];
  -
  -  postPatch = ''
  -    substituteInPlace setup.py \
  -       --replace "kafka-python==1.4.6" "kafka-python"
  -  '';
   
     # checks require running kafka server
     doCheck = false;
  +
  +  pythonImportsCheck = [ "aiokafka" ];
   
     meta = with lib; {
       description = "Kafka integration with asyncio";
  
positive.code: { lib
  , buildPythonPackage
  , fetchFromGitHub
  , isPy27
  , kafka-python
  , cython
  , zlib
  
negative.code: 
  buildPythonPackage rec {
    pname = "aiokafka";
    version = "0.7.1";
    disabled = pythonOlder "3.6";
  
    src = fetchFromGitHub {
      owner = "aio-libs";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-D89ppIUliJJMDuCySrZUyN6Rlm01gFskz6ayHmqploc=";
    };
  
    nativeBuildInputs = [
  