1{ buildPythonPackage 2, cirq-core 3, requests 4, pytestCheckHook 5, attrs 6, certifi 7, h11 8, httpcore 9, idna 10, httpx 11, iso8601 12, pydantic 13, pyjwt 14, pyquil 15, python-dateutil 16, pythonOlder 17, qcs-api-client 18, retrying 19, rfc3339 20, rfc3986 21, six 22, sniffio 23, toml 24}: 25 26buildPythonPackage rec { 27 pname = "cirq-rigetti"; 28 inherit (cirq-core) version src meta; 29 30 disabled = pythonOlder "3.7"; 31 32 sourceRoot = "${src.name}/${pname}"; 33 34 pythonRelaxDeps = [ 35 "attrs" 36 "certifi" 37 "h11" 38 "httpcore" 39 "httpx" 40 "idna" 41 "iso8601" 42 "pydantic" 43 "pyjwt" 44 "pyquil" 45 "qcs-api-client" 46 "rfc3986" 47 ]; 48 49 postPatch = '' 50 # Remove outdated test 51 rm cirq_rigetti/service_test.py 52 ''; 53 54 propagatedBuildInputs = [ 55 cirq-core 56 attrs 57 certifi 58 h11 59 httpcore 60 httpx 61 idna 62 iso8601 63 pydantic 64 pyjwt 65 pyquil 66 python-dateutil 67 qcs-api-client 68 retrying 69 rfc3339 70 rfc3986 71 six 72 sniffio 73 toml 74 ]; 75 76 nativeCheckInputs = [ 77 pytestCheckHook 78 ]; 79 80 disabledTestPaths = [ 81 # No need to test the version number 82 "cirq_rigetti/_version_test.py" 83 ]; 84 85 # cirq's importlib hook doesn't work here 86 #pythonImportsCheck = [ "cirq_rigetti" ]; 87}