anchor.diff:      })
     ];
   
  +  postPatch = ''
  +    substituteInPlace requirements.txt \
  +      --replace "freezegun~=0.3.15" "freezegun" \
  +      --replace "matplotlib~=3.0" "matplotlib" \
  +      --replace "networkx~=2.4" "networkx" \
  +      --replace "numpy~=1.16, < 1.19" "numpy" \
  +      --replace "protobuf~=3.12.0" "protobuf"
  +  '';
  +
     propagatedBuildInputs = [
       freezegun
       google_api_core
  
positive.code:   ];
  
    doCheck = true;
    # pythonImportsCheck = [ "cirq" "cirq.Ciruit" ];  # cirq's importlib hook doesn't work here
    dontUseSetuptoolsCheck = true;
    checkInputs = [
      pytestCheckHook
  
negative.code:   meta = with lib; {
      description = "A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.";
      homepage = "https://github.com/quantumlib/cirq";
      changelog = "https://github.com/quantumlib/Cirq/releases/tag/v${version}";
      license = licenses.asl20;
      maintainers = with maintainers; [ drewrisinger ];
    };
  