depot/third_party/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

27 lines
459 B
Nix

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