1{
2 buildPythonPackage,
3 cirq-core,
4 requests,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "cirq-aqt";
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_aqt" ];
31
32 disabledTestPaths = [
33 # No need to test the version number
34 "cirq_aqt/_version_test.py"
35 ];
36}