Commit 0615b063 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.cirq-rigetti: fix build with qcs-sdk-python 0.20

parent 6e4f23a9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  cirq-core,
  fetchpatch2,
  lib,
  pytestCheckHook,
  attrs,
@@ -31,6 +32,16 @@ buildPythonPackage rec {

  disabled = pythonOlder "3.7";

  patches = [
    # https://github.com/quantumlib/Cirq/pull/6734
    (fetchpatch2 {
      name = "fix-rigetti-check-for-aspen-family-device-kind.patch";
      url = "https://github.com/quantumlib/Cirq/commit/dd395fb71fb7f92cfd34f008bf2a98fc70b57fae.patch";
      stripLen = 1;
      hash = "sha256-EWB2CfMS2+M3zNFX5PwFNtEBdgJkNVUVNd+I/E6n9kI=";
    })
  ];

  sourceRoot = "${src.name}/${pname}";

  pythonRelaxDeps = [