about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cirq-ft/default.nix
blob: 83a8392b9520490b7aef5393c0454b99495c035a (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
29
30
31
32
33
34
35
36
{ attrs
, buildPythonPackage
, cachetools
, cirq-core
, ipython
, ipywidgets
, nbconvert
, nbformat
, pytestCheckHook
}:

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

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

  propagatedBuildInputs = [
    attrs
    cachetools
    cirq-core
    ipython
    ipywidgets
    nbconvert
    nbformat
  ];

  nativeCheckInputs = [
    ipython
    pytestCheckHook
  ];

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

}