2023-10-19 13:55:26 +00:00
|
|
|
{ attrs
|
|
|
|
, buildPythonPackage
|
|
|
|
, cachetools
|
|
|
|
, cirq-core
|
|
|
|
, ipython
|
|
|
|
, ipywidgets
|
|
|
|
, nbconvert
|
|
|
|
, nbformat
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cirq-ft";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-10-19 13:55:26 +00:00
|
|
|
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" ];
|
|
|
|
|
|
|
|
}
|