1{
2 buildPythonPackage,
3 cirq-core,
4 pytestCheckHook,
5}:
6
7buildPythonPackage rec {
8 pname = "cirq-web";
9 format = "setuptools";
10 inherit (cirq-core) version src meta;
11
12 sourceRoot = "${src.name}/${pname}";
13
14 propagatedBuildInputs = [ cirq-core ];
15
16 nativeCheckInputs = [ pytestCheckHook ];
17
18 # cirq's importlib hook doesn't work here
19 #pythonImportsCheck = [ "cirq_web" ];
20
21 disabledTestPaths = [
22 # No need to test the version number
23 "cirq_web/_version_test.py"
24 ];
25}