depot/third_party/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

25 lines
488 B
Nix

{
buildPythonPackage,
cirq-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cirq-web";
format = "setuptools";
inherit (cirq-core) version src meta;
sourceRoot = "${src.name}/${pname}";
propagatedBuildInputs = [ 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"
];
}