anchor.diff:    version = "0.18.0";
     format = "setuptools";
   
  +  disabled = pythonOlder "3.7";
  +
     src = fetchFromGitHub {
       owner = pname;
       repo = "python-plugwise";
       rev = "refs/tags/v${version}";
       sha256 = "sha256-kpEs5LvUz61Wm2IUI6sNXx2R+vtuHq1Y6aaj+zLrr+Q=";
     };
  -
  -  postPatch = ''
  -    substituteInPlace setup.py \
  -      --replace "aiohttp==3.8.0" "aiohttp>=3.8.0"
  -  '';
   
     propagatedBuildInputs = [
       aiohttp
  
positive.code:     pytestCheckHook
    ];
  
    pythonImportsCheck = [ "plugwise" ];
  
    __darwinAllowLocalNetworking = true;
  
    meta = with lib; {
      description = "Python module for Plugwise Smiles, Stretch and USB stick";
      longDescription = ''
        XKNX is an asynchronous Python library for reading and writing KNX/IP
        packets. It provides support for KNX/IP routing and tunneling devices.
      '';
      homepage = "https://github.com/plugwise/python-plugwise";
      license = with licenses; [ mit ];
      maintainers = with maintainers; [ fab ];
  
negative.code: , pytest-asyncio
  , pytestCheckHook
  , python-dateutil
  , pythonOlder
  , pytz
  , semver
  }:
  