nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

28 lines
465 B
Nix

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