about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cirq/default.nix
blob: f8afdcbbb050be6407ef94d0d37bcb44af19bd9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, cirq-core
, cirq-google
  # test inputs
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "cirq";
  inherit (cirq-core) version src meta;

  propagatedBuildInputs = [
    cirq-core
    cirq-google
  ];

  # pythonImportsCheck = [ "cirq" "cirq.Circuit" ];  # cirq's importlib hook doesn't work here
  checkInputs = [ pytestCheckHook ];

  # Don't run submodule or development tool tests
  disabledTestPaths = [
    "cirq-google"
    "cirq-core"
    "dev_tools"
  ];

}