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

28 lines
495 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"
];
}