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

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

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

  build-system = [ setuptools ];

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