c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
27 lines
459 B
Nix
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"
|
|
];
|
|
}
|