summary refs log tree commit diff
path: root/pkgs/development/python-modules/cirq-web/default.nix
blob: 5531716fc64c7b5a16c1fbdf25e3e1506e3c88d0 (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
{ buildPythonPackage
, cirq-core
, pytestCheckHook
}:

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

  sourceRoot = "source/${pname}";

  propagatedBuildInputs = [
    cirq-core
  ];

  checkInputs = [
    pytestCheckHook
  ];

  # cirq's importlib hook doesn't work here
  #pythonImportsCheck = [ "cirq_web" ];

  disabledTestPaths = [
    # No need to test the version number
    "cirq_web/_version_test.py"
  ];
}