anchor.diff:      owner = "allenporter";
       repo = "python-google-nest-sdm";
       rev = version;
  -    sha256 = "sha256-qgowVCsSNa+Gt+fWnR1eMfkbtpZD7DS4ALZYz6KZZTM=";
  +    sha256 = "sha256-SDxYPncC/VVTbI4Ka/mgcVfU1KUNRXVvQl78LCoD/RQ=";
     };
   
     propagatedBuildInputs = [
  
positive.code:     pytestCheckHook
    ];
  
    postPatch = ''
      substituteInPlace tests/event_media_test.py \
        --replace "/bin/echo" "${coreutils}/bin/echo"
    '';
  
    pythonImportsCheck = [
      "google_nest_sdm"
    ];
  
    meta = with lib; {
      description = "Python module for Google Nest Device Access using the Smart Device Management API";
      homepage = "https://github.com/allenporter/python-google-nest-sdm";
      license = licenses.asl20;
      maintainers = with maintainers; [ fab ];
  
negative.code: 
  buildPythonPackage rec {
    pname = "google-nest-sdm";
    version = "1.7.0";
    format = "setuptools";
  
    disabled = pythonOlder "3.8";
  