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

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

  sourceRoot = "${src.name}/${pname}";

  propagatedBuildInputs = [ cirq-core ];

  nativeCheckInputs = [ 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"
  ];
}