02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
38 lines
549 B
Nix
38 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" ];
|
|
|
|
}
|