depot/third_party/nixpkgs/pkgs/development/python-modules/cirq-ft/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

37 lines
549 B
Nix

{ attrs
, buildPythonPackage
, cachetools
, cirq-core
, ipython
, ipywidgets
, nbconvert
, nbformat
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq-ft";
format = "setuptools";
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" ];
}