Skip to content

Commit 81e35c1

Browse files
committed
python312Packages.cirq-rigetti: fix build
1 parent ffc4248 commit 81e35c1

File tree

1 file changed

+2
-17
lines changed
  • pkgs/development/python-modules/cirq-rigetti

1 file changed

+2
-17
lines changed

pkgs/development/python-modules/cirq-rigetti/default.nix

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
11
{
2-
lib,
32
buildPythonPackage,
43
cirq-core,
5-
fetchpatch2,
4+
setuptools,
65
pyquil,
7-
pytestCheckHook,
8-
pythonOlder,
96
qcs-sdk-python,
10-
setuptools,
7+
pytestCheckHook,
118
}:
129

1310
buildPythonPackage rec {
1411
pname = "cirq-rigetti";
1512
pyproject = true;
1613
inherit (cirq-core) version src;
1714

18-
disabled = pythonOlder "3.10";
19-
20-
patches = [
21-
# https://github.com/quantumlib/Cirq/pull/6734
22-
(fetchpatch2 {
23-
name = "fix-rigetti-check-for-aspen-family-device-kind.patch";
24-
url = "https://github.com/quantumlib/Cirq/commit/dd395fb71fb7f92cfd34f008bf2a98fc70b57fae.patch";
25-
stripLen = 1;
26-
hash = "sha256-EWB2CfMS2+M3zNFX5PwFNtEBdgJkNVUVNd+I/E6n9kI=";
27-
})
28-
];
29-
3015
sourceRoot = "${src.name}/${pname}";
3116

3217
pythonRelaxDeps = [ "pyquil" ];

0 commit comments

Comments
 (0)