at 25.11-pre 819 B view raw
1{ 2 buildPythonPackage, 3 4 # build-system 5 setuptools, 6 7 # dependencies 8 cirq-aqt, 9 cirq-core, 10 cirq-google, 11 cirq-ionq, 12 cirq-pasqal, 13 cirq-rigetti, 14 cirq-web, 15 16 # tests 17 pytestCheckHook, 18}: 19 20buildPythonPackage { 21 pname = "cirq"; 22 pyproject = true; 23 inherit (cirq-core) version src meta; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 cirq-aqt 29 cirq-core 30 cirq-google 31 cirq-ionq 32 cirq-pasqal 33 cirq-rigetti 34 cirq-web 35 ]; 36 37 # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here 38 nativeCheckInputs = [ pytestCheckHook ]; 39 40 # Don't run submodule or development tool tests 41 disabledTestPaths = [ 42 "cirq-aqt" 43 "cirq-core" 44 "cirq-google" 45 "cirq-ionq" 46 "cirq-pasqal" 47 "cirq-rigetti" 48 "cirq-web" 49 "dev_tools" 50 ]; 51}