anchor.diff:      pytestCheckHook
     ];
   
  +  postPatch = ''
  +    # Upstream doesn't set a version for the pyproject.toml
  +    substituteInPlace pyproject.toml \
  +      --replace "0.0.0" "${version}" \
  +      --replace "--cov" ""
  +  '';
  +
     pythonImportsCheck = [ "wled" ];
   
     meta = with lib; {
  
positive.code: , fetchFromGitHub
  , aiohttp
  , backoff
  , packaging
  , yarl
  , aresponses
  
negative.code: 
  buildPythonPackage rec {
    pname = "wled";
    version = "0.5.0";
    disabled = pythonOlder "3.8";
    format = "pyproject";
  
    src = fetchFromGitHub {
      owner = "frenck";
      repo = "python-wled";
      rev = "v${version}";
      sha256 = "123806fmdihdf9y8dqp5rli5c4i9a74j9rmhay8m68igm1326d5f";
    };
  
    nativeBuildInputs = [
      poetry-core
    ];
  
    propagatedBuildInputs = [
      aiohttp
  