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