1{ 2 buildPythonPackage, 3 cirq-core, 4 requests, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "cirq-ionq"; 11 pyproject = true; 12 inherit (cirq-core) version src meta; 13 14 sourceRoot = "${src.name}/${pname}"; 15 16 build-system = [ setuptools ]; 17 18 pythonRelaxDeps = [ 19 "requests" 20 ]; 21 22 dependencies = [ 23 cirq-core 24 requests 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 # cirq's importlib hook doesn't work here 30 #pythonImportsCheck = [ "cirq_ionq" ]; 31 32 disabledTestPaths = [ 33 # No need to test the version number 34 "cirq_ionq/_version_test.py" 35 ]; 36 37 disabledTests = [ 38 # DeprecationWarning: decompose_to_device was used but is deprecated. 39 "test_decompose_operation_deprecated" 40 ]; 41}