Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 28 lines 504 B view raw
1{ lib 2, buildPythonPackage 3, cirq-core 4, cirq-google 5 # test inputs 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "cirq"; 11 inherit (cirq-core) version src meta; 12 13 propagatedBuildInputs = [ 14 cirq-core 15 cirq-google 16 ]; 17 18 # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here 19 checkInputs = [ pytestCheckHook ]; 20 21 # Don't run submodule or development tool tests 22 disabledTestPaths = [ 23 "cirq-google" 24 "cirq-core" 25 "dev_tools" 26 ]; 27 28}