anchor.diff:      pytestCheckHook
     ];
   
  -  postPatch = ''
  -    substituteInPlace pyproject.toml \
  -      --replace 'PyYAML = "^5.4.0"' 'PyYAML = "*"'
  -  '';
  +  pytestFlagsArray = [
  +    "--asyncio-mode=legacy"
  +  ];
   
     disabledTestPaths = [
       # Test are not ported from hbmqtt yet
  -    "tests/test_cli.py"
       "tests/test_client.py"
     ];
   
  
positive.code:   src = fetchFromGitHub {
      owner = "Yakifo";
      repo = pname;
      rev = "8961b8fff57007a5d9907b98bc555f0519974ce9";
      hash = "sha256-3uwz4RSoa6KRC8mlVfeIMLPH6F2kOJjQjjXCrnVX0Jo=";
    };
  
    nativeBuildInputs = [
  
negative.code: 
  buildPythonPackage rec {
    pname = "amqtt";
    version = "unstable-2022-05-29";
    format = "pyproject";
  
    disabled = pythonOlder "3.7";
  