1{
2 attrs,
3 buildPythonPackage,
4 cachetools,
5 cirq-core,
6 ipython,
7 ipywidgets,
8 nbconvert,
9 nbformat,
10 pytestCheckHook,
11 setuptools,
12}:
13
14buildPythonPackage rec {
15 pname = "cirq-ft";
16 pyproject = true;
17 inherit (cirq-core) version src meta;
18
19 sourceRoot = "${src.name}/${pname}";
20
21 nativeBuildInputs = [ setuptools ];
22
23 propagatedBuildInputs = [
24 attrs
25 cachetools
26 cirq-core
27 ipython
28 ipywidgets
29 nbconvert
30 nbformat
31 ];
32
33 nativeCheckInputs = [
34 ipython
35 pytestCheckHook
36 ];
37
38 disabledTests = [
39 # Upstream doesn't always adjust the version
40 "test_version"
41 ];
42
43 # cirq's importlib hook doesn't work here
44 #pythonImportsCheck = [ "cirq_ft" ];
45}