at master 767 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-web, 14 15 # tests 16 pytestCheckHook, 17}: 18 19buildPythonPackage { 20 pname = "cirq"; 21 pyproject = true; 22 inherit (cirq-core) version src meta; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 cirq-aqt 28 cirq-core 29 cirq-google 30 cirq-ionq 31 cirq-pasqal 32 cirq-web 33 ]; 34 35 # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 # Don't run submodule or development tool tests 39 disabledTestPaths = [ 40 "cirq-aqt" 41 "cirq-core" 42 "cirq-google" 43 "cirq-ionq" 44 "cirq-pasqal" 45 "cirq-web" 46 "dev_tools" 47 ]; 48}