google-compute-engine: use pythonImportsCheck
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
@@ -51,11 +51,7 @@ buildPythonPackage rec {
|
|||||||
patchShebangs $out/bin/*
|
patchShebangs $out/bin/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "import google_compute_engine" ];
|
||||||
# this package has its own test suite, but they assume the ability to
|
|
||||||
# access resources like /sys/class/net causing them to fail in the sandbox
|
|
||||||
python -c 'import google_compute_engine'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Google Compute Engine tools and services";
|
description = "Google Compute Engine tools and services";
|
||||||
|
|||||||
Reference in New Issue
Block a user