depot/third_party/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

27 lines
470 B
Nix

{ buildPythonPackage
, cirq-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq-web";
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"
];
}